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:

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.

Last updated