diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-10 04:17:25 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-10 05:07:27 +0800 |
commit | 1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98 (patch) | |
tree | 9c7a18ff6016343f0371d3700badd944d62bc343 /packages/contracts/src/2.0.0/forwarder/interfaces/IAssets.sol | |
parent | b9d8d2d5e3e7aa5f14ae2fd2019460890497bb7e (diff) | |
download | dexon-sol-tools-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar dexon-sol-tools-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.gz dexon-sol-tools-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.bz2 dexon-sol-tools-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.lz dexon-sol-tools-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.xz dexon-sol-tools-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.zst dexon-sol-tools-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.zip |
Change withdrawERC20 => withdrawAsset, reuse transfer logic
Diffstat (limited to 'packages/contracts/src/2.0.0/forwarder/interfaces/IAssets.sol')
-rw-r--r-- | packages/contracts/src/2.0.0/forwarder/interfaces/IAssets.sol | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/contracts/src/2.0.0/forwarder/interfaces/IAssets.sol b/packages/contracts/src/2.0.0/forwarder/interfaces/IAssets.sol index 9b0d995eb..1e034c003 100644 --- a/packages/contracts/src/2.0.0/forwarder/interfaces/IAssets.sol +++ b/packages/contracts/src/2.0.0/forwarder/interfaces/IAssets.sol @@ -21,13 +21,13 @@ pragma solidity 0.4.24; contract IAssets { - /// @dev Withdraws ERC20 tokens from this contract. The contract requires a ZRX balance in order to + /// @dev Withdraws assets from this contract. The contract requires a ZRX balance in order to /// function optimally, and this function allows the ZRX to be withdrawn by owner. It may also be - /// used to withdraw tokens that were accidentally sent to this contract. - /// @param token Address of ERC20 token to withdraw. + /// used to withdraw assets that were accidentally sent to this contract. + /// @param assetData Byte array encoded for the respective asset proxy. /// @param amount Amount of ERC20 token to withdraw. - function withdrawERC20( - address token, + function withdrawAsset( + bytes assetData, uint256 amount ) external; |