LogoLogo
Block ExplorerDiscordTwitterMirror
  • What Is Canto?
  • Free Public Infrastructure
    • NOTE
    • Canto Lending Market
    • Canto DEX
  • Canto Neofinance
    • Overview
    • Application Specific Dollar
  • User Guides
    • Connecting to Canto
    • Bridging Assets
      • Bridging to Canto
      • Bridging from Canto
      • Synapse Bridge
      • Celer cBridge
    • Providing Liquidity
    • Lending & Borrowing
    • Staking
    • Governance
  • EVM Development
    • Overview
    • Quickstart Guide
    • NOTE, DEX, and Lending Market
    • Contract Secured Revenue (CSR)
    • Verifying Contracts
    • Contract Addresses
    • Testnet
  • Running a Node
    • Validators
      • Quickstart Guide
      • Useful Commands
      • Snapshots
      • FAQ
      • Troubleshooting
      • Uptime
      • Slashing
    • Archive Node
    • Graph Node (Subgraphs)
  • Technical Reference
    • Application Specific Dollar
      • asdOFT
      • asdRouter
      • asdUSDC
    • Liquidity Coordinator
      • VotingEscrow
      • GaugeController
      • LendingLedger
      • LiquidityGauge
    • Architecture & Design
      • Onboarding Module
      • Gravity Bridge
      • NOTE Design
      • Canto Lending Protocol
      • IBC Token Recovery
    • Governance
      • Governance Module
      • GovShuttle Module
      • Lending Market Governance
    • Tokenomics
    • Audits
Powered by GitBook
On this page
  • Getting Started
  • Minting
  • Withdrawals
  1. Technical Reference

Application Specific Dollar

Application Specific Dollar is a Canto-native protocol that allows teams to earn yield on user deposits by deploying white-label stablecoins backed by NOTE. asD V2 consists of the following contracts:

  • asdOFT – an asD token. Each asD instance exists as a deployment of this contract.

  • asdRouter – enables asD tokens to be minted from other chains with USDC deposits.

  • asdUSDC – a wrapper for whitelisted representations of USDC.

Getting Started

To create an asD token, deploy the asdOFT contract using your development tool of choice.

To enable bridging of an asD token to other networks:

  • Deploy a generic OFT on each network you wish to support.

  • Call setPeer on all OFT deployments (including the asD token on Canto) to link them.

Minting

To mint an asD token, call the mint method on the asD token contract.

To mint by depositing USDC from another network, first obtain a whitelisted USDC OFT on the origin network (by wrapping or swapping). Then call the LayerZero send method on the OFT passing the composeMsg paramater.

The asdRouter contract handles swapping USDC for NOTE, minting the asD token, and bridging it back to the specified network and address.

Withdrawals

To retrieve an asD token's underlying NOTE, call the burn method on the asD token contract.

If the token was minted with a USDC deposit, the withdrawal must be made manually:

  1. If necessary, bridge the asD OFT back to Canto.

  2. Unwrap (burn) the asD token to retrieve the underlying NOTE.

  3. Swap the NOTE for USDC.

  4. Bridge USDC back to the origin chain.

PreviousGraph Node (Subgraphs)NextasdOFT

Last updated 1 year ago