aboutsummaryrefslogtreecommitdiffstats
path: root/packages/types
diff options
context:
space:
mode:
authorRemco Bloemen <remco@wicked.ventures>2018-06-22 13:03:42 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-26 07:19:07 +0800
commit7b0c13c1219fbe2d47b540476eaebb1f6358213d (patch)
tree7b81f105b09ed2ea458513c94297486e7efc3319 /packages/types
parenta98ecc05af5b264f981087005bb3fa041d5c8756 (diff)
downloaddexon-sol-tools-7b0c13c1219fbe2d47b540476eaebb1f6358213d.tar.gz
dexon-sol-tools-7b0c13c1219fbe2d47b540476eaebb1f6358213d.tar.zst
dexon-sol-tools-7b0c13c1219fbe2d47b540476eaebb1f6358213d.zip
WIP
Diffstat (limited to 'packages/types')
-rw-r--r--packages/types/src/index.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index e5a0f41a9..88abdc1e7 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -152,18 +152,18 @@ export interface ECSignature {
}
export enum AssetProxyId {
- INVALID,
- ERC20,
- ERC721,
+ INVALID = '0x00000000',
+ ERC20 = '0xf47261b0',
+ ERC721 = '0x08e937fa',
}
export interface ERC20AssetData {
- assetProxyId: AssetProxyId;
+ assetProxyId: string;
tokenAddress: string;
}
export interface ERC721AssetData {
- assetProxyId: AssetProxyId;
+ assetProxyId: string;
tokenAddress: string;
tokenId: BigNumber;
receiverData: string;