Core
Structs & enums used in the contract
Functions
executeActions
The main function for interaction with Core contract. For smart contract integration without Router contract, this function should be used.
Parameter
Description
actions
Array of actions to be executed on Core contract.
requiredOutputs
Array of required token amounts to be returned after the execution of all the actions from actions
array.
account
Address of the user that receives the resulting tokens.
actualOutputs
Array of actual token amounts to be returned after the execution of all the actions from actions
array (note: only tokens from requiredOutputs
are listed).
Last updated