SiloRouter

SiloRouter

Silo Router is a utility contract that aims to improve UX. It can batch any number or combination of actions (Deposit, Withdraw, Borrow, Repay) and execute them in a single transaction.

SiloRouter requires only first action asset to be approved

Methods

execute

function execute(SiloRouter.Action[] _actions) external payable

Execute actions

User can bundle any combination and number of actions. It's possible to do multiple deposits, withdraws etc. For that reason router may need to send multiple tokens back to the user.

Parameters

siloRouterPing

function siloRouterPing() external pure returns (bool)

Returns

wrappedNativeToken

function wrappedNativeToken() external view returns (contract IWrappedNativeToken)

Returns

Last updated