Instant Liquidity

How It Works

Aureo utilizes a Direct Mint-and-Burn mechanism rather than a traditional Order Book or Liquidity Pool (AMM). This guarantees zero slippage on the price execution relative to the Oracle, ensuring you always get the fair market rate.

The Mechanism

A. The Buy Process (Minting)

1

User approves and sends USDC

The user (or the AI Agent) initiates a purchase by approving and sending USDC to the contract.

2

Contract fetches the latest Oracle Price

The contract retrieves the current gold price from the Oracle (in 18 decimals) to perform the precise conversion.

3

Contract mints mGOLD based on calculation

The contract calculates the gold amount from the provided USDC and mints mGOLD tokens to the buyer.

// From AureoRWAPool.sol
function buyGold(uint256 _usdcAmount) external {
    uint256 currentPrice = getGoldPrice18Decimals();
    // Calculate Gold Amount: (USDC * 1e12 * 1e18) / Price
    uint256 goldAmount = (_usdcAmount * 1e12 * 1e18) / currentPrice;
    mGold.mint(msg.sender, goldAmount);
}