Superform v1
Ask or search…
K

E2E Flows

Users can deposit tokens from any supported chain (the "source chain") to vault(s) on another chain or multiple chains (the "destination chain(s)"). The entire E2E process only requires the user to sign a single transaction. Any additional transactions required are executed by Keepers. The process is chain and token-agnostic. Deposit time and cost vary based on the number of bridges used, the number of swaps involved, and the number of target vaults. After successfully depositing into a vault, the user will be minted SuperPositions on the source chain. Users can withdraw tokens from any chain where their SuperPositions are held (representing vaults on any supported chain), to any supported chain. The entire E2E process only requires the user to sign a single transaction. Any additional transactions required are executed by Keepers. Deposit time and cost vary based on the number of bridges used, the number of swaps involved, and the number of target vaults. SuperPositions are optimistically burnt, and deposited tokens are sent back to the user. If a withdrawal failure occurs, SuperPositions will be re-minted to the user.
For the sake of simplicity, all examples will:
  • Consider actions on a single vault only, however, the examples are easily generalizable to multiple vault actions
  • Assume that retain4626 is set to FALSE
  • Assume liquidity and data were successfully bridged
  • Routes did not expire
Last modified 2mo ago