SynthSwapper
Functions:
Function constructor()
constructor()Function initialize()
initialize()Function swapSynth(bytes32 sourceKey, uint256 synthAmount, bytes32 destKey) → uint256
swapSynth(bytes32 sourceKey, uint256 synthAmount, bytes32 destKey) → uint256Parameters:
Return Values:
Function swapSynthToToken(contract ISwap swap, contract IERC20 tokenFrom, uint8 tokenFromIndex, uint8 tokenToIndex, uint256 tokenFromAmount, uint256 minAmount, uint256 deadline, address recipient) → contract IERC20, uint256
swapSynthToToken(contract ISwap swap, contract IERC20 tokenFrom, uint8 tokenFromIndex, uint8 tokenToIndex, uint256 tokenFromAmount, uint256 minAmount, uint256 deadline, address recipient) → contract IERC20, uint256Parameters:
Function withdraw(contract IERC20 token, address recipient, uint256 withdrawAmount, bool shouldDestroy)
withdraw(contract IERC20 token, address recipient, uint256 withdrawAmount, bool shouldDestroy)Parameters:
Function destroy()
destroy()Last updated
Was this helpful?
