Adapters
AdapterActions
addPools
function addPools(struct PoolInput[] pools) externalAdd pools to router adapter storage. Allowed only for MarginlyPoolAdmin owner
Parameters
Name
Type
Description
pools
struct PoolInput[]
New pool parameters
transferRouterAdapterOwnership
function transferRouterAdapterOwnership(uint256 dexIdx, address to) externalSet a new owner of a Marginly router adapter contract. Allowed only for MarginlyPoolAdmin owner
Parameters
Name
Type
Description
dexIdx
uint256
Index of a dex
to
address
Address of a new Marginly router adapter owner
acceptRouterAdapterOwnership
function acceptRouterAdapterOwnership(uint256 dexIdx) externalAccepts ownership of adapter. Needed for new pools addition
Parameters
Name
Type
Description
dexIdx
uint256
Index of a dex
Last updated
