What you can do
| mint-usdf | Mint USDF from USDT at 1:1 | approve the USDF Minting Contract for USDT, then call deposit(amount). 100 USDT gives 100 USDF. Use BNB Chain USDT (18 decimals). |
| stake-usdf | Stake USDF to receive asUSDF | approve the asUSDF Earn Contract for USDF, then call deposit(amount). Check the exchangePrice() to see the asUSDF value. |
| unstake-asusdf | Turn asUSDF back into USDF | call requestWithdraw(amount) on the asUSDF Earn Contract, wait about 2 hours, then claimWithdraw([requestId]) once the request is finished. |
| redeem-usdf | Redeem USDF for USDT | approve the USDF Minting Contract for USDF if required, call requestWithdraw(amount), wait 1 to 2 days (up to 7 for large amounts), then claimWithdraw([requestId]). A 0.1% fee applies. Swapping on PancakeSwap is the instant alternative with swap fees. |
| check-position | Read USDF and asUSDF balances and the asUSDF value | balanceOf(user) on USDF and asUSDF, and exchangePrice() on the asUSDF Earn Contract. Value of asUSDF in USDF = asUSDF balance x exchangePrice, scaled by the contract's EXCHANGE_PRICE_DECIMALS. |
Yield comes from delta-neutral strategies on centralized exchanges. Their performance and custody are outside the contract, and the APY is not guaranteed.
The minting contract has custody functions for a Ceffu address (transferToCeffu). Funds can leave the contract for off-chain custody.
Redemptions are not instant. Plan for 1 to 2 days, or up to 7 days for large amounts, before USDT arrives. Swapping on DEXes is faster but has slippage and fees.
The contracts are pausable and upgradeable (UUPS and beacon-style proxies with role-based admin). Pauses and upgrades are controlled by admin roles and a timelock address.
Contracts
Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).USDF tokentoken on bsc0x5A110fC00474038f6c02E89C707D638602EA44B5
write approve(address,uint256)
Approve a spender (the USDF minting contract to redeem, or the asUSDF contract to stake) to pull USDF. Required before deposit or requestWithdraw on those contracts.
read balanceOf(address)
USDF balance of an address, in 18 decimals.
write send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)
Send USDF cross-chain through LayerZero (the token is an OFT). Pass the SendParam struct (destination endpoint id, recipient as bytes32, amount, minimum amount, extra options, compose message, OFT command), a MessagingFee (native fee, LZ token fee) and a refund address. Quote the fee first with quoteSend.
USDF Minting Contract (proxy)other on bsc0xC271fc70dD9E678ac1AB632f797894fe4BE2C345
write deposit(uint256)
Mint USDF by depositing USDT at a 1:1 ratio. Argument: USDT amount in the USDT token's base units (check decimals() on BNB Chain). Approve this contract for the USDT first. Fails when USDT deposits are disabled.
write requestWithdraw(uint256)
Start a redemption of USDF for USDT. Argument: USDF amount. A redemption fee of 0.1% applies on Aster. Processing takes 1 to 2 days, up to 7 days for large amounts. Claim the payout with claimWithdraw once processed.
write claimWithdraw(uint256[])
Claim finished redemptions. Argument: the list of request IDs to claim.
read USDT()
Address of the USDT token used for minting and redeeming.
read USDTDepositEnabled()
True when minting USDF from USDT is open.
read withdrawEnabled()
True when redemptions can be requested.
asUSDF tokentoken on bsc0x917AF46B3C3c6e1Bb7286B9F59637Fb7C65851Fb
read balanceOf(address)
asUSDF balance of an address, in 18 decimals. Multiply by the exchange price on the Earn contract to get the USDF value.
asUSDF Earn Contract (proxy)vault on bsc0xdB57a53C428a9faFcbFefFB6dd80d0f427543695
write deposit(uint256)
Stake USDF and receive asUSDF. Argument: USDF amount in base units (18 decimals for USDF). Approve this contract for USDF first. Holding asUSDF earns yield through the rising exchange price.
write requestWithdraw(uint256)
Start unstaking asUSDF back to USDF. Argument: amount to unstake. A waiting period of about 2 hours applies before the claim. There is no fee on asUSDF mint or withdrawal, per the FAQ.
write claimWithdraw(uint256[])
Claim finished asUSDF withdrawals. Argument: the list of request IDs to claim, after the waiting period.
read exchangePrice()
Current exchange price (net asset value) of asUSDF, scaled by EXCHANGE_PRICE_DECIMALS. Use it to value asUSDF.
read asUSDF()
Address of the asUSDF token.
read USDF()
Address of the USDF token that this contract stakes.
read withdrawEnabled()
True when withdrawal requests are open.