Application Specific Dollar
Last updated
Last updated
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.
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.
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.
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:
If necessary, bridge the asD OFT back to Canto.
Swap the NOTE for USDC.
Bridge USDC back to the origin chain.
Unwrap () the asD token to retrieve the underlying NOTE.