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

PreviousGraph Node (Subgraphs)NextasdOFT

Last updated 1 year ago

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

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

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

  • – a wrapper for whitelisted representations of USDC.

Getting Started

To create an asD token, using your development tool of choice.

To enable bridging of an asD token to other networks:

  • Deploy a on each network you wish to support.

  • (including the asD token on Canto) to link them.

Minting

To mint an asD token, call the 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 on the OFT passing the .

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 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. Swap the NOTE for USDC.

  3. Bridge USDC back to the origin chain.

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

Application Specific Dollar
NOTE
asdOFT
asdRouter
asdUSDC
generic OFT
Call setPeer on all OFT deployments
LayerZero send method
burn
deploy the asdOFT contract
mint
burn
composeMsg paramater