change erc20token address for test
MODIFY
test/config.js
test/config.js
@@ -10,7 +10,8 @@ module.exports = {
},
pos: {
parent: {
- erc20: '0x655f2166b0709cd575202630952d71e2bb0d61af',
+ erc20: '0x3f152b63ec5ca5831061b2dccfb29a874c317502',
+ // erc20: '0x655f2166b0709cd575202630952d71e2bb0d61af',
erc721: '0x16f7ef3774c59264c46e5063b1111bcfd6e7a72f',
// erc721: '0x5a08d01e07714146747950CE07BB0f741445D1b8',
erc1155: '0x2e3Ef7931F2d0e4a7da3dea950FF3F19269d9063',
@@ -18,7 +19,8 @@ module.exports = {
},
child: {
erc721: '0xbD88C3A7c0e242156a46Fbdf87141Aa6D0c0c649',
- erc20: '0xfe4F5145f6e09952a5ba9e956ED0C25e3Fa4c7F1',
+ // erc20: '0xfe4F5145f6e09952a5ba9e956ED0C25e3Fa4c7F1',
+ erc20: '0xA0D9f8282cD48d22Fd875E43Be32793124f8eD47',
weth: '0x714550C2C1Ea08688607D86ed8EeF4f5E4F22323',
erc1155: '0xA07e45A987F19E25176c877d98388878622623FA',
},

MODIFY
test/debug.js
test/debug.js
@@ -44,10 +44,10 @@ const execute = async () => {
// return console.log(await client.isDeposited('0x05b6d0d2280557c04de48d395f1f4ea9deb498fabb9bb09b9aec929db5ce62fa'));
- const balance = await mumbaiERC20Token.getBalance(
- from
- );
- return console.log("balance", balance);
+ // const balance = await goerliERC20Token.getBalance(
+ // from
+ // );
+ // return console.log("balance", balance);
// const tokens = await goerliERC721Token.getAllTokens(
// from
@@ -66,17 +66,17 @@ const execute = async () => {
// return console.log('tx', tx);
- // var tx = await goerliERC20Token.approveMax({
- // // returnTransaction: true
- // });
+ var tx = await goerliERC20Token.deposit(1000000000, from, {
+ // returnTransaction: true
+ });
// var tx = await mumbaiERC20Token.transfer(10,to,{
// // returnTransaction: true
// });
- setProofApi("https://apis.matic.network")
+ // setProofApi("https://apis.matic.network")
- var result = await service.network.getBlockIncluded("testnet", 1000);
+ // var result = await service.network.getBlockIncluded("testnet", 1000);
- return console.log("result", result);
+ // return console.log("result", result);
// const tx = await goerliERC20Token.withdrawExitFaster(
// '0x1c20c41b9d97d1026aa456a21f13725df63edec1b1f43aacb180ebcc6340a2d3', {

MODIFY
test/package-lock.json
test/package-lock.json
}
},
"@maticnetwork/maticjs-web3": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/@maticnetwork/maticjs-web3/-/maticjs-web3-0.5.0.tgz",
- "integrity": "sha512-qg3QJWCVqucHpTS1RCXI2mgNCrRCoCm9ClwG/nKsGJzwSFFAXIFl/+/lWuhJ7DXe8SYYt0JxfDOBSbHatwWOSQ==",
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/@maticnetwork/maticjs-web3/-/maticjs-web3-0.8.0.tgz",
+ "integrity": "sha512-GydUqhwwNVnCMfko9ERIgKP56sJq+FQJ+p34wilRDeVz1ca9n+a22yL84X2BYbjgD+o/f27L0tuAYS2/Cz6NjA==",
"requires": {
"web3": "^1.6.0"
}
}
},
"web3": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3/-/web3-1.6.0.tgz",
- "integrity": "sha512-rWpXnO88MiVX5yTRqMBCVKASxc7QDkXZZUl1D48sKlbX4dt3BAV+nVMVUKCBKiluZ5Bp8pDrVCUdPx/jIYai5Q==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3/-/web3-1.6.1.tgz",
+ "integrity": "sha512-c299lLiyb2/WOcxh7TinwvbATaMmrgNIeAzbLbmOKHI0LcwyfsB1eu2ReOIrfrCYDYRW2KAjYr7J7gHawqDNPQ==",
"requires": {
- "web3-bzz": "1.6.0",
- "web3-core": "1.6.0",
- "web3-eth": "1.6.0",
- "web3-eth-personal": "1.6.0",
- "web3-net": "1.6.0",
- "web3-shh": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-bzz": "1.6.1",
+ "web3-core": "1.6.1",
+ "web3-eth": "1.6.1",
+ "web3-eth-personal": "1.6.1",
+ "web3-net": "1.6.1",
+ "web3-shh": "1.6.1",
+ "web3-utils": "1.6.1"
}
},
"web3-bzz": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.6.0.tgz",
- "integrity": "sha512-ugYV6BsinwhIi0CsLWINBz4mqN9wR9vNG0WmyEbdECjxcPyr6vkaWt4qi0zqlUxEnYAwGj4EJXNrbjPILntQTQ==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.6.1.tgz",
+ "integrity": "sha512-JbnFNbRlwwHJZPtVuCxo7rC4U4OTg+mPsyhjgPQJJhS0a6Y54OgVWYk9UA/95HqbmTJwTtX329gJoSsseEfrng==",
"requires": {
"@types/node": "^12.12.6",
"got": "9.6.0",
},
"dependencies": {
"@types/node": {
- "version": "12.20.36",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.36.tgz",
- "integrity": "sha512-+5haRZ9uzI7rYqzDznXgkuacqb6LJhAti8mzZKWxIXn/WEtvB+GHVJ7AuMwcN1HMvXOSJcrvA6PPoYHYOYYebA=="
+ "version": "12.20.37",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.37.tgz",
+ "integrity": "sha512-i1KGxqcvJaLQali+WuypQnXwcplhtNtjs66eNsZpp2P2FL/trJJxx/VWsM0YCL2iMoIJrbXje48lvIQAQ4p2ZA=="
}
}
},
"web3-core": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.6.0.tgz",
- "integrity": "sha512-o0WsLrJ2yD+HAAc29lGMWJef/MutTyuzpJC0UzLJtIAQJqtpDalzWINEu4j8XYXGk34N/V6vudtzRPo23QEE6g==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.6.1.tgz",
+ "integrity": "sha512-m+b7UfYvU5cQUAh6NRfxRzH/5B3to1AdEQi1HIQt570cDWlObOOmoO9tY6iJnI5w4acxIO19LqjDMqEJGBYyRQ==",
"requires": {
"@types/bn.js": "^4.11.5",
"@types/node": "^12.12.6",
"bignumber.js": "^9.0.0",
- "web3-core-helpers": "1.6.0",
- "web3-core-method": "1.6.0",
- "web3-core-requestmanager": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-core-helpers": "1.6.1",
+ "web3-core-method": "1.6.1",
+ "web3-core-requestmanager": "1.6.1",
+ "web3-utils": "1.6.1"
},
"dependencies": {
"@types/node": {
- "version": "12.20.36",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.36.tgz",
- "integrity": "sha512-+5haRZ9uzI7rYqzDznXgkuacqb6LJhAti8mzZKWxIXn/WEtvB+GHVJ7AuMwcN1HMvXOSJcrvA6PPoYHYOYYebA=="
+ "version": "12.20.37",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.37.tgz",
+ "integrity": "sha512-i1KGxqcvJaLQali+WuypQnXwcplhtNtjs66eNsZpp2P2FL/trJJxx/VWsM0YCL2iMoIJrbXje48lvIQAQ4p2ZA=="
}
}
},
"web3-core-helpers": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.6.0.tgz",
- "integrity": "sha512-H/IAH/0mrgvad/oxVKiAMC7qDzMrPPe/nRKmJOoIsupRg9/frvL62kZZiHhqVD1HMyyswbQFC69QRl7JqWzvxg==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.6.1.tgz",
+ "integrity": "sha512-om2PZvK1uoWcgMq6JfcSx3241LEIVF6qi2JuHz2SLKiKEW5UsBUaVx0mNCmcZaiuYQCyOsLS3r33q5AdM+v8ng==",
"requires": {
- "web3-eth-iban": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-eth-iban": "1.6.1",
+ "web3-utils": "1.6.1"
}
},
"web3-core-method": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.6.0.tgz",
- "integrity": "sha512-cHekyEil4mtcCOk6Q1Zh4y+2o5pTwsLIxP6Bpt4BRtZgdsyPiadYJpkLAVT/quch5xN7Qs5ZwG5AvRCS3VwD2g==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.6.1.tgz",
+ "integrity": "sha512-szH5KyIWIaULQDBdDvevQUCHV9lsExJ/oV0ePqK+w015D2SdMPMuhii0WB+HCePaksWO+rr/GAypvV9g2T3N+w==",
"requires": {
- "@ethereumjs/common": "^2.4.0",
"@ethersproject/transactions": "^5.0.0-beta.135",
- "web3-core-helpers": "1.6.0",
- "web3-core-promievent": "1.6.0",
- "web3-core-subscriptions": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-core-helpers": "1.6.1",
+ "web3-core-promievent": "1.6.1",
+ "web3-core-subscriptions": "1.6.1",
+ "web3-utils": "1.6.1"
}
},
"web3-core-promievent": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.6.0.tgz",
- "integrity": "sha512-ZzsevjMXWkhqW9dnVfTfb1OUcK7jKcKPvPIbQ4boJccNgvNZPZKlo8xB4pkAX38n4c59O5mC7Lt/z2QL/M5CeQ==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.6.1.tgz",
+ "integrity": "sha512-byJ5s2MQxrWdXd27pWFmujfzsTZK4ik8rDgIV1RFDFc+rHZ2nZhq+VWk7t/Nkrj7EaVXncEgTdPEHc18nx+ocQ==",
"requires": {
"eventemitter3": "4.0.4"
},
}
},
"web3-core-requestmanager": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.6.0.tgz",
- "integrity": "sha512-CY5paPdiDXKTXPWaEUZekDfUXSuoE2vPxolwqzsvKwFWH5+H1NaXgrc+D5HpufgSvTXawTw0fy7IAicg8+PWqA==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.6.1.tgz",
+ "integrity": "sha512-4y7etYEUtkfflyYVBfN1oJtCbVFNhNX1omlEYzezhTnPj3/dT7n+dhUXcqvIhx9iKA13unGfpFge80XNFfcB8A==",
"requires": {
"util": "^0.12.0",
- "web3-core-helpers": "1.6.0",
- "web3-providers-http": "1.6.0",
- "web3-providers-ipc": "1.6.0",
- "web3-providers-ws": "1.6.0"
+ "web3-core-helpers": "1.6.1",
+ "web3-providers-http": "1.6.1",
+ "web3-providers-ipc": "1.6.1",
+ "web3-providers-ws": "1.6.1"
}
},
"web3-core-subscriptions": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.6.0.tgz",
- "integrity": "sha512-kY9WZUY/m1URSOv3uTLshoZD9ZDiFKReIzHuPUkxFpD5oYNmr1/aPQNPCrrMxKODR7UVX/D90FxWwCYqHhLaxQ==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.6.1.tgz",
+ "integrity": "sha512-WZwxsYttIojyGQ5RqxuQcKg0IJdDCFpUe4EncS3QKZwxPqWzGmgyLwE0rm7tP+Ux1waJn5CUaaoSCBxWGSun1g==",
"requires": {
"eventemitter3": "4.0.4",
- "web3-core-helpers": "1.6.0"
+ "web3-core-helpers": "1.6.1"
},
"dependencies": {
"eventemitter3": {
}
},
"web3-eth": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.6.0.tgz",
- "integrity": "sha512-qJMvai//r0be6I9ghU24/152f0zgJfYC23TMszN3Y6jse1JtjCBP2TlTibFcvkUN1RRdIUY5giqO7ZqAYAmp7w==",
- "requires": {
- "web3-core": "1.6.0",
- "web3-core-helpers": "1.6.0",
- "web3-core-method": "1.6.0",
- "web3-core-subscriptions": "1.6.0",
- "web3-eth-abi": "1.6.0",
- "web3-eth-accounts": "1.6.0",
- "web3-eth-contract": "1.6.0",
- "web3-eth-ens": "1.6.0",
- "web3-eth-iban": "1.6.0",
- "web3-eth-personal": "1.6.0",
- "web3-net": "1.6.0",
- "web3-utils": "1.6.0"
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.6.1.tgz",
+ "integrity": "sha512-kOV1ZgCKypSo5BQyltRArS7ZC3bRpIKAxSgzl7pUFinUb/MxfbM9KGeNxUXoCfTSErcCQJaDjcS6bSre5EMKuQ==",
+ "requires": {
+ "web3-core": "1.6.1",
+ "web3-core-helpers": "1.6.1",
+ "web3-core-method": "1.6.1",
+ "web3-core-subscriptions": "1.6.1",
+ "web3-eth-abi": "1.6.1",
+ "web3-eth-accounts": "1.6.1",
+ "web3-eth-contract": "1.6.1",
+ "web3-eth-ens": "1.6.1",
+ "web3-eth-iban": "1.6.1",
+ "web3-eth-personal": "1.6.1",
+ "web3-net": "1.6.1",
+ "web3-utils": "1.6.1"
}
},
"web3-eth-abi": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.6.0.tgz",
- "integrity": "sha512-fImomGE9McuTMJLwK8Tp0lTUzXqCkWeMm00qPVIwpJ/h7lCw9UFYV9+4m29wSqW6FF+FIZKwc6UBEf9dlx3orA==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.6.1.tgz",
+ "integrity": "sha512-svhYrAlXP9XQtV7poWKydwDJq2CaNLMtmKydNXoOBLcQec6yGMP+v20pgrxF2H6wyTK+Qy0E3/5ciPOqC/VuoQ==",
"requires": {
"@ethersproject/abi": "5.0.7",
- "web3-utils": "1.6.0"
+ "web3-utils": "1.6.1"
}
},
"web3-eth-accounts": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.6.0.tgz",
- "integrity": "sha512-2f6HS4KIH4laAsNCOfbNX3dRiQosqSY2TRK86C8jtAA/QKGdx+5qlPfYzbI2RjG81iayb2+mVbHIaEaBGZ8sGw==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.6.1.tgz",
+ "integrity": "sha512-rGn3jwnuOKwaQRu4SiShz0YAQ87aVDBKs4HO43+XTCI1q1Y1jn3NOsG3BW9ZHaOckev4+zEyxze/Bsh2oEk24w==",
"requires": {
- "@ethereumjs/common": "^2.3.0",
- "@ethereumjs/tx": "^3.2.1",
+ "@ethereumjs/common": "^2.5.0",
+ "@ethereumjs/tx": "^3.3.2",
"crypto-browserify": "3.12.0",
"eth-lib": "0.2.8",
"ethereumjs-util": "^7.0.10",
"scrypt-js": "^3.0.1",
"uuid": "3.3.2",
- "web3-core": "1.6.0",
- "web3-core-helpers": "1.6.0",
- "web3-core-method": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-core": "1.6.1",
+ "web3-core-helpers": "1.6.1",
+ "web3-core-method": "1.6.1",
+ "web3-utils": "1.6.1"
},
"dependencies": {
"eth-lib": {
}
},
"web3-eth-contract": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.6.0.tgz",
- "integrity": "sha512-ZUtO77zFnxuFtrc+D+iJ3AzNgFXAVcKnhEYN7f1PNz/mFjbtE6dJ+ujO0mvMbxIZF02t9IZv0CIXRpK0rDvZAw==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.6.1.tgz",
+ "integrity": "sha512-GXqTe3mF6kpbOAakiNc7wtJ120/gpuKMTZjuGFKeeY8aobRLfbfgKzM9IpyqVZV2v5RLuGXDuurVN2KPgtu3hQ==",
"requires": {
"@types/bn.js": "^4.11.5",
- "web3-core": "1.6.0",
- "web3-core-helpers": "1.6.0",
- "web3-core-method": "1.6.0",
- "web3-core-promievent": "1.6.0",
- "web3-core-subscriptions": "1.6.0",
- "web3-eth-abi": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-core": "1.6.1",
+ "web3-core-helpers": "1.6.1",
+ "web3-core-method": "1.6.1",
+ "web3-core-promievent": "1.6.1",
+ "web3-core-subscriptions": "1.6.1",
+ "web3-eth-abi": "1.6.1",
+ "web3-utils": "1.6.1"
}
},
"web3-eth-ens": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.6.0.tgz",
- "integrity": "sha512-AG24PNv9qbYHSpjHcU2pViOII0jvIR7TeojJ2bxXSDqfcgHuRp3NZGKv6xFvT4uNI4LEQHUhSC7bzHoNF5t8CA==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.6.1.tgz",
+ "integrity": "sha512-ngprtbnoRgxg8s1wXt9nXpD3h1P+p7XnKXrp/8GdFI9uDmrbSQPRfzBw86jdZgOmy78hAnWmrHI6pBInmgi2qQ==",
"requires": {
"content-hash": "^2.5.2",
"eth-ens-namehash": "2.0.8",
- "web3-core": "1.6.0",
- "web3-core-helpers": "1.6.0",
- "web3-core-promievent": "1.6.0",
- "web3-eth-abi": "1.6.0",
- "web3-eth-contract": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-core": "1.6.1",
+ "web3-core-helpers": "1.6.1",
+ "web3-core-promievent": "1.6.1",
+ "web3-eth-abi": "1.6.1",
+ "web3-eth-contract": "1.6.1",
+ "web3-utils": "1.6.1"
}
},
"web3-eth-iban": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.6.0.tgz",
- "integrity": "sha512-HM/bKBS/e8qg0+Eh7B8C/JVG+GkR4AJty17DKRuwMtrh78YsonPj7GKt99zS4n5sDLFww1Imu/ZIk3+K5uJCjw==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.6.1.tgz",
+ "integrity": "sha512-91H0jXZnWlOoXmc13O9NuQzcjThnWyAHyDn5Yf7u6mmKOhpJSGF/OHlkbpXt1Y4v2eJdEPaVFa+6i8aRyagE7Q==",
"requires": {
"bn.js": "^4.11.9",
- "web3-utils": "1.6.0"
+ "web3-utils": "1.6.1"
}
},
"web3-eth-personal": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.6.0.tgz",
- "integrity": "sha512-8ohf4qAwbShf4RwES2tLHVqa+pHZnS5Q6tV80sU//bivmlZeyO1W4UWyNn59vu9KPpEYvLseOOC6Muxuvr8mFQ==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.6.1.tgz",
+ "integrity": "sha512-ItsC89Ln02+irzJjK6ALcLrMZfbVUCqVbmb/ieDKJ+eLW3pNkBNwoUzaydh92d5NzxNZgNxuQWVdlFyYX2hkEw==",
"requires": {
"@types/node": "^12.12.6",
- "web3-core": "1.6.0",
- "web3-core-helpers": "1.6.0",
- "web3-core-method": "1.6.0",
- "web3-net": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-core": "1.6.1",
+ "web3-core-helpers": "1.6.1",
+ "web3-core-method": "1.6.1",
+ "web3-net": "1.6.1",
+ "web3-utils": "1.6.1"
},
"dependencies": {
"@types/node": {
- "version": "12.20.36",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.36.tgz",
- "integrity": "sha512-+5haRZ9uzI7rYqzDznXgkuacqb6LJhAti8mzZKWxIXn/WEtvB+GHVJ7AuMwcN1HMvXOSJcrvA6PPoYHYOYYebA=="
+ "version": "12.20.37",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.37.tgz",
+ "integrity": "sha512-i1KGxqcvJaLQali+WuypQnXwcplhtNtjs66eNsZpp2P2FL/trJJxx/VWsM0YCL2iMoIJrbXje48lvIQAQ4p2ZA=="
}
}
},
"web3-net": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.6.0.tgz",
- "integrity": "sha512-LFfG95ovTT2sNHkO1TEfsaKpYcxOSUtbuwHQ0K3G0e5nevKDJkPEFIqIcob40yiwcWoqEjENJP9Bjk8CRrZ99Q==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.6.1.tgz",
+ "integrity": "sha512-gpnqKEIwfUHh5ik7wsQFlCje1DfcmGv+Sk7LCh1hCqn++HEDQxJ/mZCrMo11ZZpZHCH7c87imdxTg96GJnRxDw==",
"requires": {
- "web3-core": "1.6.0",
- "web3-core-method": "1.6.0",
- "web3-utils": "1.6.0"
+ "web3-core": "1.6.1",
+ "web3-core-method": "1.6.1",
+ "web3-utils": "1.6.1"
}
},
"web3-providers-http": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.6.0.tgz",
- "integrity": "sha512-sNxHFNv3lnxpmULt34AS6M36IYB/Hzm2Et4yPNzdP1XE644D8sQBZQZaJQdTaza5HfrlwoqU6AOK935armqGuA==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.6.1.tgz",
+ "integrity": "sha512-xBoKOJxu10+kO3ikamXmBfrWZ/xpQOGy0ocdp7Y81B17En5TXELwlmMXt1UlIgWiyYDhjq4OwlH/VODYqHXy3A==",
"requires": {
- "web3-core-helpers": "1.6.0",
+ "web3-core-helpers": "1.6.1",
"xhr2-cookies": "1.1.0"
}
},
"web3-providers-ipc": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.6.0.tgz",
- "integrity": "sha512-ETYdfhpGiGoWpmmSJnONvnPfd3TPivHEGjXyuX+L5FUsbMOVZj9MFLNIS19Cx/YGL8UWJ/8alLJoTcWSIdz/aA==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.6.1.tgz",
+ "integrity": "sha512-anyoIZlpMzwEQI4lwylTzDrHsVp20v0QUtSTp2B5jInBinmQtyCE7vnbX20jEQ4j5uPwfJabKNtoJsk6a3O4WQ==",
"requires": {
"oboe": "2.1.5",
- "web3-core-helpers": "1.6.0"
+ "web3-core-helpers": "1.6.1"
}
},
"web3-providers-ws": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.6.0.tgz",
- "integrity": "sha512-eNRmlhOPCpuVYwBrKBBQRLGPFb4U1Uo44r9EWV69Cpo4gP6XeBTl6nkawhLz6DS0fq79apyPfItJVuSfAy77pA==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.6.1.tgz",
+ "integrity": "sha512-FWMEFYb4rYFYRgSFBf/O1Ex4p/YKSlN+JydCtdlJwRimd89qm95CTfs4xGjCskwvXMjV2sarH+f1NPwJXicYpg==",
"requires": {
"eventemitter3": "4.0.4",
- "web3-core-helpers": "1.6.0",
+ "web3-core-helpers": "1.6.1",
"websocket": "^1.0.32"
},
"dependencies": {
}
},
"web3-shh": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.6.0.tgz",
- "integrity": "sha512-ymN0OFL81WtEeSyb+PFpuUv39fR3frGwsZnIg5EVPZvrOIdaDSFcGSLDmafUt0vKSubvLMVYIBOCskRD6YdtEQ==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.6.1.tgz",
+ "integrity": "sha512-oP00HbAtybLCGlLOZUYXOdeB9xq88k2l0TtStvKBtmFqRt+zVk5TxEeuOnVPRxNhcA2Un8RUw6FtvgZlWStu9A==",
"requires": {
- "web3-core": "1.6.0",
- "web3-core-method": "1.6.0",
- "web3-core-subscriptions": "1.6.0",
- "web3-net": "1.6.0"
+ "web3-core": "1.6.1",
+ "web3-core-method": "1.6.1",
+ "web3-core-subscriptions": "1.6.1",
+ "web3-net": "1.6.1"
}
},
"web3-utils": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.6.0.tgz",
- "integrity": "sha512-bgCAWAeQnJF035YTFxrcHJ5mGEfTi/McsjqldZiXRwlHK7L1PyOqvXiQLE053dlzvy1kdAxWl/sSSfLMyNUAXg==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.6.1.tgz",
+ "integrity": "sha512-RidGKv5kOkcerI6jQqDFDoTllQQqV+rPhTzZHhmbqtFObbYpU93uc+yG1LHivRTQhA6llIx67iudc/vzisgO+w==",
"requires": {
"bn.js": "^4.11.9",
"ethereum-bloom-filters": "^1.0.6",

MODIFY
test/package.json
test/package.json
},
"dependencies": {
"@maticnetwork/maticjs-ethers": "^0.3.0",
- "@maticnetwork/maticjs-web3": "^0.5.0",
+ "@maticnetwork/maticjs-web3": "^0.8.0",
"@truffle/hdwallet-provider": "^1.5.1-alpha.1",
"mochapack": "^2.1.2"
}

change erc20token address for test