What it offers
- deposit: Deposit assets into Autopool
- withdraw: Withdraw assets from Autopool
- redeem: Redeem Autopool shares
Notes
- Autopools are ERC-4626 vaults. Autopilot automatically rebalances across DeFi venues.
Its names in a program
On Ethereum,Tokemak is a namespace: its contracts need no import.
Deployments
ABI
AutopoolABI
import AutopoolABI from "./protocols/tokemak/AutopoolABI.json";
deposit(uint256 assets, address receiver) returns (uint256 shares)withdraw(uint256 assets, address receiver, address owner) returns (uint256 shares)redeem(uint256 shares, address receiver, address owner) returns (uint256 assets)totalAssets() view returns (uint256)convertToShares(uint256 assets) view returns (uint256)convertToAssets(uint256 shares) view returns (uint256)
Next steps
- Protocols: the other protocols, by what they do.
- Protocols and tokens: calling a contract by its namespace, or through its ABI.
- Glossary: the words these pages use, in plain terms.
