Compare commits
No commits in common. "0f70b58c78ffee10f8257f9488753f977f03d20d" and "29c58b36afaa2b4fca317187699daddc80911a13" have entirely different histories.
0f70b58c78
...
29c58b36af
5
cli.js
5
cli.js
@ -1627,10 +1627,7 @@ async function main() {
|
|||||||
const { currency, amount, netId, deposit } = parseNote(noteString);
|
const { currency, amount, netId, deposit } = parseNote(noteString);
|
||||||
|
|
||||||
await init({ rpc: program.rpc, noteNetId: netId, currency, amount });
|
await init({ rpc: program.rpc, noteNetId: netId, currency, amount });
|
||||||
|
|
||||||
const depositInfo = await loadDepositData({ amount, currency, deposit });
|
const depositInfo = await loadDepositData({ amount, currency, deposit });
|
||||||
const withdrawInfo = await loadWithdrawalData({ amount, currency, deposit });
|
|
||||||
|
|
||||||
const depositDate = new Date(depositInfo.timestamp * 1000);
|
const depositDate = new Date(depositInfo.timestamp * 1000);
|
||||||
console.log('\n=============Deposit=================');
|
console.log('\n=============Deposit=================');
|
||||||
console.log('Deposit :', amount, currency.toUpperCase());
|
console.log('Deposit :', amount, currency.toUpperCase());
|
||||||
@ -1644,7 +1641,7 @@ async function main() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log('=====================================', '\n');
|
console.log('=====================================', '\n');
|
||||||
|
const withdrawInfo = await loadWithdrawalData({ amount, currency, deposit });
|
||||||
const withdrawalDate = new Date(withdrawInfo.timestamp * 1000);
|
const withdrawalDate = new Date(withdrawInfo.timestamp * 1000);
|
||||||
console.log('\n=============Withdrawal==============');
|
console.log('\n=============Withdrawal==============');
|
||||||
console.log('Withdrawal :', withdrawInfo.amount, currency);
|
console.log('Withdrawal :', withdrawInfo.amount, currency);
|
||||||
|
5
package-lock.json
generated
5
package-lock.json
generated
@ -1400,9 +1400,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"es5-ext": {
|
"es5-ext": {
|
||||||
"version": "0.10.53",
|
"version": "git+https://github.com/medikoo/es5-ext.git#3ddd2066b19e7c25a782869a304ae35d8188c8f1",
|
||||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",
|
"from": "git+https://github.com/medikoo/es5-ext.git#3ddd2066b19e7c25a782869a304ae35d8188c8f1",
|
||||||
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",
|
|
||||||
"requires": {
|
"requires": {
|
||||||
"es6-iterator": "~2.0.3",
|
"es6-iterator": "~2.0.3",
|
||||||
"es6-symbol": "~3.1.3",
|
"es6-symbol": "~3.1.3",
|
||||||
|
18
package.json
18
package.json
@ -10,21 +10,21 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tornado/circomlib": "0.0.20-p2",
|
|
||||||
"@tornado/fixed-merkle-tree": "0.6.1-p1",
|
|
||||||
"@tornado/gas-price-oracle": "0.5.2-p1",
|
|
||||||
"@tornado/snarkjs": "0.1.20-p2",
|
|
||||||
"@tornado/web3-providers-http": "1.6.5-p1",
|
|
||||||
"@tornado/websnark": "0.0.4-p1",
|
|
||||||
"axios": "^0.19.2",
|
"axios": "^0.19.2",
|
||||||
"bignumber.js": "^9.0.0",
|
"bignumber.js": "^9.0.0",
|
||||||
"circom": "0.0.35",
|
"circom": "0.0.35",
|
||||||
|
"@tornado/circomlib": "0.0.20-p2",
|
||||||
"commander": "^5.1.0",
|
"commander": "^5.1.0",
|
||||||
"dotenv": "^8.6.0",
|
"dotenv": "^8.2.0",
|
||||||
"es5-ext": "0.10.53",
|
"@tornado/fixed-merkle-tree": "0.6.1-p1",
|
||||||
|
"@tornado/gas-price-oracle": "0.5.2-p1",
|
||||||
"private-ip": "^2.3.3",
|
"private-ip": "^2.3.3",
|
||||||
|
"@tornado/snarkjs": "0.1.20-p2",
|
||||||
"socks-proxy-agent": "^6.1.1",
|
"socks-proxy-agent": "^6.1.1",
|
||||||
"web3": "^1.6.1"
|
"web3": "^1.6.1",
|
||||||
|
"es5-ext": "0.10.53",
|
||||||
|
"@tornado/web3-providers-http": "1.6.5-p1",
|
||||||
|
"@tornado/websnark": "0.0.4-p1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.0.0"
|
"eslint": "^7.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user