LogoLogo
TwitterGithub
OpenEden Documentation
OpenEden Documentation
  • 👋Welcome To OpenEden
  • 🔵TBILL
    • Introduction
    • Product Structuring
    • Investor Onboarding
    • Subscriptions
    • Redemptions
    • Fees
    • Token Price
    • Risks
    • Trust & Transparency
    • Smart Contract Addresses
    • On-chain Governance & Controls (I)
    • Off-chain Governance & Controls (II)
    • FAQ
    • Legal
      • User Agreement
      • AML/CFT Policy
      • Cookie Policy
      • Electronic Signature Policy
      • Privacy Policy
  • 🟣USDO
    • Introduction
      • Product Structuring
      • Bankruptcy Remoteness
      • USDO Reserves
      • Eligibility
        • Prohibited Jurisdictions
        • Onboarding Steps
      • Service Providers
    • USDO Token
      • Minting Workflow
      • Redemption Workflow
      • Cut-Off Time
      • Bonus Multiplier
      • Fees
      • Reserve Assets
    • cUSDO Token
    • Collateralization Ratio
    • Transparency
    • Risks
      • Smart Contract Risk
      • Reserve Asset Risk
    • FAQs
    • Developers
      • Integration Guide
      • Contracts
    • Legal
      • User Agreement
      • Cookie Policy
      • Electronic Signature Policy
      • Privacy Policy
    • Guides
      • USDO Instant Mint via Etherscan
      • USDO Redemption via Etherscan
Powered by GitBook
On this page
  1. USDO
  2. Guides

USDO Instant Mint via Etherscan

PreviousGuidesNextUSDO Redemption via Etherscan

Last updated 26 days ago

Step 1: Granting USDO Express Contract Allowance to spend Asset Token (USDC or TBILL)

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:

  1. Head over to USDC token Contract on Etherescan:

  2. Navigate to Contract Tab > Write as Proxy

  3. Connect to Web3 Wallet

  4. Expand the approve function and populate the following parameters:

    1. 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)

    2. 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)

  5. Proceed to click on the write button and you will be prompted to sign the transaction on your connected wallet.

  6. Allowance can also be checked by looking at the method:

    1. owner - Your wallet address

    2. spender - USDO Express Smart Contract Address

Step 2: Instant Minting USDO

Head over to OpenEden's USDO Express Smart contract and initiate the instant mint.

Example for a USDC mint on the Ethereum network:

  1. Navigate to Contract Tab > Write as Proxy

  2. Connect to Web3 Wallet

  3. Expand the instantMint() method and populate the following parameters:

    1. underlying - This will be the collateral token which will be used to mint USDO. It will be USDC(eth) token for our example 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

    2. to - This will be the address to mint the USDO to. This will be your wallet address.

    3. 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)

SC Address \ Network
Ethereum
Base

USDC Token

TBILL Token

-

USDO Express Smart Contract Address

Head over to OpenEden's USDO Express Smart contract on Etherescan:

🟣
https://etherscan.io/address/0x80e49d1bdce8f80c38e88dd5c4c004ddb9b4e887#writeProxyContract#F5
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
0xdd50C053C096CB04A3e3362E2b622529EC5f2e8a
0x80e49D1bdCE8F80c38E88Dd5C4c004dDb9B4E887
0x5076f96169d7cC15AFc084c60C68182C8F1732a7
https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48#writeProxyContract
allowance()