ISynapseBridge

Methods

deposit

function deposit(address to, uint256 chainId, contract IERC20 token, uint256 amount) external nonpayable

Parameters

NameTypeDescription

to

address

undefined

chainId

uint256

undefined

token

contract IERC20

undefined

amount

uint256

undefined

depositAndSwap

function depositAndSwap(address to, uint256 chainId, contract IERC20 token, uint256 amount, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 minDy, uint256 deadline) external nonpayable

Parameters

NameTypeDescription

to

address

undefined

chainId

uint256

undefined

token

contract IERC20

undefined

amount

uint256

undefined

tokenIndexFrom

uint8

undefined

tokenIndexTo

uint8

undefined

minDy

uint256

undefined

deadline

uint256

undefined

redeem

function redeem(address to, uint256 chainId, contract IERC20 token, uint256 amount) external nonpayable

Parameters

NameTypeDescription

to

address

undefined

chainId

uint256

undefined

token

contract IERC20

undefined

amount

uint256

undefined

redeemAndRemove

function redeemAndRemove(address to, uint256 chainId, contract IERC20 token, uint256 amount, uint8 liqTokenIndex, uint256 liqMinAmount, uint256 liqDeadline) external nonpayable

Parameters

NameTypeDescription

to

address

undefined

chainId

uint256

undefined

token

contract IERC20

undefined

amount

uint256

undefined

liqTokenIndex

uint8

undefined

liqMinAmount

uint256

undefined

liqDeadline

uint256

undefined

redeemAndSwap

function redeemAndSwap(address to, uint256 chainId, contract IERC20 token, uint256 amount, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 minDy, uint256 deadline) external nonpayable

Parameters

NameTypeDescription

to

address

undefined

chainId

uint256

undefined

token

contract IERC20

undefined

amount

uint256

undefined

tokenIndexFrom

uint8

undefined

tokenIndexTo

uint8

undefined

minDy

uint256

undefined

deadline

uint256

undefined

redeemv2

function redeemv2(bytes32 to, uint256 chainId, contract IERC20 token, uint256 amount) external nonpayable

Parameters

NameTypeDescription

to

bytes32

undefined

chainId

uint256

undefined

token

contract IERC20

undefined

amount

uint256

undefined

Last updated