Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelycs committed Jun 25, 2019
1 parent 9f225a1 commit 8f3c456
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/constant/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const ChangeTokenType_Abi = { 'type': 'function', 'name': 'ChangeTokenTyp
export const DexTradeCancelOrder_Abi = { 'type': 'function', 'name': 'DexTradeCancelOrder', 'inputs': [{ 'name': 'orderId', 'type': 'bytes' }] };
export const DexFundUserDeposit_Abi = { 'type': 'function', 'name': 'DexFundUserDeposit', 'inputs': [] };
export const DexFundUserWithdraw_Abi = { 'type': 'function', 'name': 'DexFundUserWithdraw', 'inputs': [ { 'name': 'token', 'type': 'tokenId' }, { 'name': 'amount', 'type': 'uint256' } ] };
export const DexFundNewOrder_Abi = { 'type': 'function', 'name': 'DexFundNewOrder', 'inputs': [ { 'name': 'tradeToken', 'type': 'tokenId' }, { 'name': 'quoteToken', 'type': 'tokenId' }, { 'name': 'side', 'type': 'bool' }, { 'name': 'orderType', 'type': 'int8' }, { 'name': 'price', 'type': 'string' }, { 'name': 'quantity', 'type': 'uint256' } ] };
export const DexFundNewOrder_Abi = { 'type': 'function', 'name': 'DexFundNewOrder', 'inputs': [ { 'name': 'tradeToken', 'type': 'tokenId' }, { 'name': 'quoteToken', 'type': 'tokenId' }, { 'name': 'side', 'type': 'bool' }, { 'name': 'orderType', 'type': 'uint8' }, { 'name': 'price', 'type': 'string' }, { 'name': 'quantity', 'type': 'uint256' } ] };
export const DexFundNewMarket_Abi = { 'type': 'function', 'name': 'DexFundNewMarket', 'inputs': [ { 'name': 'tradeToken', 'type': 'tokenId' }, { 'name': 'quoteToken', 'type': 'tokenId' } ] };
export const DexFundConfigMineMarket_Abi = { 'type': 'function', 'name': 'DexFundConfigMineMarket', 'inputs': [ { 'name': 'allowMine', 'type': 'bool' }, { 'name': 'tradeToken', 'type': 'tokenId' }, { 'name': 'quoteToken', 'type': 'tokenId' } ] };
export const DexFundPledgeForVx_Abi = { 'type': 'function', 'name': 'DexFundPledgeForVx', 'inputs': [ { 'name': 'actionType', 'type': 'uint8' }, { 'name': 'amount', 'type': 'uint256' } ] };
Expand Down
30 changes: 15 additions & 15 deletions test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,32 +196,32 @@ const BLOCK_LIST = {
tokenId: 'tti_5649544520544f4b454e6e40'
},
DexFundNewOrder: {
accountAddress: 'vite_553462bca137bac29f440e9af4ab2e2c1bb82493e41d2bc8b2',
accountAddress: 'vite_ab24ef68b84e642c0ddca06beec81c9acb1977bbd7da27a87a',
amount: '0',
blockType: 2,
confirmedHash: 'fdebcfc46031d4cb3fbdb3297cb6225dbbca5a64abdc72c2e89af99f40067340',
confirmedTimes: '68983',
data: 'jLGFggAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ODKDGc+38GrHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZJVEUgVE9LRU4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALMTAuMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=',
confirmedHash: '77497b96b235050f741d23d566aac3c80d9bd38b6f59eae30e1f747edb899fcc',
confirmedTimes: '845',
data: 'FHkn7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnNvMg1+0cKHGvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZJVEUgVE9LRU4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApoiQa9iwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALMzAuMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=',
difficulty: null,
fee: '0',
fromAddress: 'vite_553462bca137bac29f440e9af4ab2e2c1bb82493e41d2bc8b2',
fromAddress: 'vite_ab24ef68b84e642c0ddca06beec81c9acb1977bbd7da27a87a',
fromBlockHash: '0000000000000000000000000000000000000000000000000000000000000000',
hash: 'ffaddb74e83c248737dc70b3db0ecc035e9f9f72879a1ad50455a8cdfece17f5',
height: '106',
hash: '3fda1e52ab8d2a6093f9bd75960d0bed5dd5871826ffb83a1a72419acd616c4b',
height: '18',
logHash: null,
nonce: null,
prevHash: '156a47de8b5a690562278360e41e337ee4f1b4aa8d979f377beb0cc70f939032',
producer: 'vite_553462bca137bac29f440e9af4ab2e2c1bb82493e41d2bc8b2',
publicKey: '8Np6DQ78vi8A/QnuvbMWta8QGK7ZThBgxpRGR1QoWDo=',
prevHash: 'ea1e9f2c8df30207e5ab9528594756eb5b9de92de8f22c4ac5338f9da3a81f83',
producer: 'vite_ab24ef68b84e642c0ddca06beec81c9acb1977bbd7da27a87a',
publicKey: 'WHZinxslscE+WaIqrUjGu2scOvorgD4Q+DQOOcDBv4M=',
quota: '17980',
quotaUsed: '17980',
receiveBlockHash: '2ce2331f2c569e7f6b6b1a4922e9d25fbe3a12183dbff7cf1a1bfbeac17f7274',
receiveBlockHeight: '588',
receiveBlockHash: '68a954bfce3fa642b115efe1e5f3b0b6d6de3aa29b187c9243ca8f77ecafb9da',
receiveBlockHeight: '19',
sendBlockList: null,
signature: 'joniUikcYSQtwRL3ZvvTd4QbYcaFfcHxJSIW5/8a5l/qxxhOnHU0hFUU95P1MaLJU0niiDA5q8DNx9f36PLuAQ==',
timestamp: 1560317223,
signature: 'u5kFuOExibr1pN8F6Rfi9Y/6Yv+qUQYKCipIWfTsh7hRH1vjqQkJRifnhpgiKlFg3R54GPklgdTWbffkPcOYAg==',
timestamp: 1561442497,
toAddress: 'vite_0000000000000000000000000000000000000006e82b8ba657',
tokenId: 'tti_3838328319cfb7f06ac7b082'
tokenId: 'tti_2736f320d7ed1c2871af1d9d'
},
DexTradeCancelOrder: {
accountAddress: 'vite_553462bca137bac29f440e9af4ab2e2c1bb82493e41d2bc8b2',
Expand Down

0 comments on commit 8f3c456

Please sign in to comment.