SynthSwapper
Functions:
Function constructor()
Function initialize()
Function swapSynth(bytes32 sourceKey, uint256 synthAmount, bytes32 destKey) → uint256
Parameters:
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
Parameters:
Function withdraw(contract IERC20 token, address recipient, uint256 withdrawAmount, bool shouldDestroy)
Parameters:
Function destroy()
Last updated
Was this helpful?
