USDO Instant Mint via Etherscan
Last updated
Last updated
Head over to USDC's official smart contract or TBILL token smart contract address and grant allowance to USDO Express.
Example for a USDC mint on the Ethereum network:
Head over to USDC token Contract on Etherescan: https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48#writeProxyContract
Navigate to Contract Tab > Write as Proxy
Connect to Web3 Wallet
Expand the approve
function and populate the following parameters:
spender
- this parameter indicates the address you wish to grant approval to draw down your usdc balance, this should be set to OpenEden's USDO Express Smart Contract Address.
(Note: refer to the table below for the contract address, or the case of ethereum network, the spender address will be 0x80e49D1bdCE8F80c38E88Dd5C4c004dDb9B4E887
)
value
- the amount of usdc you would like to grant approval to draw down for instant minting.
(Note: This should be in 6 decimal places for USDC and 18 decimal places for TBILL, an example would be to grant 1,000,000 USDC in allowance, use 1000000000000
)
Proceed to click on the write button and you will be prompted to sign the transaction on your connected wallet.
Allowance can also be checked by looking at the allowance()
method:
owner
- Your wallet address
spender
- USDO Express Smart Contract Address
Head over to OpenEden's USDO Express Smart contract and initiate the instant mint.
Example for a USDC mint on the Ethereum network:
Head over to OpenEden's USDO Express Smart contract on Etherescan: https://etherscan.io/address/0x80e49d1bdce8f80c38e88dd5c4c004ddb9b4e887#writeProxyContract#F5
Navigate to Contract Tab > Write as Proxy
Connect to Web3 Wallet
Expand the instantMint()
method and populate the following parameters:
underlying
- This will be the collateral token which will be used to mint USDO. It will be USDC(eth) token for our example 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
to
- This will be the address to mint the USDO to. This will be your wallet address.
amt
- The amount in underlying token units to be minted
(Note: This should be in 6 decimal places for USDC and 18 decimal places for TBILL, an example would be to mint 1,000,000 USDC worth of USDO, use 1000000000000
)
USDC Token
TBILL Token
-
USDO Express Smart Contract Address