Skip to main content
Liquidity routing protocol with Autopilot Autopools that automatically deploy and rebalance liquidity across DeFi destinations.

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