Compare commits

...

15 Commits

Author SHA1 Message Date
smart_ex 4dea68f716 update readme 2022-06-24 17:21:40 +10:00
smart_ex 1c3381e280 add index.d.ts to package.json, update readme 2022-06-24 17:21:40 +10:00
smart_ex 7bded95560 bump version 1.0.7 2022-06-22 20:29:30 +10:00
smart_ex b531347384 Basic types definition for torn-token package 2022-06-22 20:29:30 +10:00
Danil Kovtonyuk 456beaafca
feat: add contracts 2022-02-16 19:58:18 +10:00
Danil Kovtonyuk fe5777039d add sidechains 2022-01-12 14:16:36 +01:00
Danil Kovtonyuk 3bf91737c3 add instances
add instances
2021-03-29 16:44:46 +03:00
nikdementev 1f1930761f
fix: bump version 2021-03-01 21:57:04 +03:00
nikdementev 5af074d946
fix: instance dai 2021-03-01 21:56:26 +03:00
nikdementev 9f12a5de72 fix: update dai instance 2021-03-01 15:38:57 +03:00
nikdementev 27f3d1b8db feat: dai instance for testnet 2021-02-27 12:15:30 +03:00
poma e65817d298
fix ci 2020-12-16 00:53:25 +03:00
poma 470271d838
update ci 2020-12-16 00:00:16 +03:00
poma 81324e82c0
npm badge 2020-12-15 21:57:49 +03:00
poma c4d0c44ed1
tidy 2020-12-15 21:53:16 +03:00
10 changed files with 303 additions and 157 deletions

View File

@ -1,2 +0,0 @@
PRIVATE_KEY=
INFURA_TOKEN=97c8bf358b9942a9853fab1ba93dc5b3

View File

@ -22,5 +22,6 @@
"object-curly-spacing": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
"require-await": "error"
}
},
"ignorePatterns": ["*.d.ts"]
}

View File

@ -35,9 +35,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
- name: NPM login
# NPM doesn't understand env vars and needs auth file lol
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
@ -78,7 +75,7 @@ jobs:
uses: appleboy/telegram-action@0.0.7
if: failure()
with:
message: ❗ Failed to publish [${{ steps.vars.outputs.repo_name }}](https://github.com/${{ github.repository }}/actions) because of ${{ env.GITHUB_ACTOR }}
message: ❗ Failed to publish [${{ steps.vars.outputs.repo_name }}](https://github.com/${{ github.repository }}/actions) because of ${{ github.actor }}
format: markdown
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}

View File

@ -2,3 +2,4 @@
build
scripts
contracts/ECDSA.sol
*.d.ts

View File

@ -1,6 +1,6 @@
# Tornado.cash token (TORN) [![Build Status](https://github.com/tornadocash/torn-token/workflows/build/badge.svg)](https://github.com/tornadocash/torn-token/actions)
# Tornado.cash token (TORN) [![Build Status](https://github.com/tornadocash/torn-token/workflows/build/badge.svg)](https://github.com/tornadocash/torn-token/actions) [![npm](https://img.shields.io/npm/v/torn-token)](https://www.npmjs.com/package/torn-token)
## Dependencies
## Requirements
1. node 12
2. yarn
@ -9,35 +9,9 @@
```bash
$ yarn
$ cp .env.example .env
$ yarn test
```
## Deploying
## Licence
Deploy to Kovan:
```bash
$ yarn deploy:kovan
```
## Mainnet deploy instructions
1. in torn-token repo `cp .env.example .env`
2. Specify deployment `PRIVATE_KEY` in the `.env`. It will be the owner during deployment.
3. Specify gas price in `truffle.js`
4. `yarn deploy:mainnet`
5. go to [mining](https://github.com/tornadocash/tornado-anonymity-mining) repo
6. `cp .env.example .env`
7. Specify private key and TORN address
8. yarn `yarn deploy:mainnet`
9. go to [governance](https://github.com/tornadocash/governance) repo
10. ...
11. ...
12. ...
13. in this repo modify the `config.js` file. Put all addresses that you got during deployment
14. set `ONLY_INITIALIZE` to `true` and `TORN_TO_INITIALIZE` to the token address
15. `yarn deploy:mainnet`
MIT

223
config.js
View File

@ -32,11 +32,17 @@ module.exports = {
rewardSwap: { address: 'reward-swap.contract.tornadocash.eth', poolWeight: 1e11 },
tornadoTrees: { address: 'tornado-trees.contract.tornadocash.eth', levels: 20 },
tornadoProxy: { address: 'tornado-proxy.contract.tornadocash.eth' },
tornadoProxyLight: { address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17' },
rewardVerifier: { address: 'reward-verifier.contract.tornadocash.eth' },
treeUpdateVerifier: { address: 'tree-update-verifier.contract.tornadocash.eth' },
withdrawVerifier: { address: 'withdraw-verifier.contract.tornadocash.eth' },
poseidonHasher2: { address: 'poseidon2.contract.tornadocash.eth' },
poseidonHasher3: { address: 'poseidon3.contract.tornadocash.eth' },
feeManager: { address: 'fee-manager.contract.tornadocash.eth' },
tornadoStakingRewards: { address: 'staking-rewards.contract.tornadocash.eth' },
relayerRegistry: { address: 'relayer-registry.contract.tornadocash.eth' },
tornadoRouter: { address: 'tornado-router.contract.tornadocash.eth' },
instanceRegistry: { address: 'instance-registry.contract.tornadocash.eth' },
deployer: { address: 'deployer.contract.tornadocash.eth' },
vesting: {
team1: {
@ -91,8 +97,8 @@ module.exports = {
instanceAddress: {
100: '0xD4B88Df4D29F5CedD6857912842cff3b20C8Cfa3',
1000: '0xFD8610d20aA15b7B2E3Be39B396a1bC3516c7144',
10000: '0xF60dD140cFf0706bAE9Cd734Ac3ae76AD9eBC32A',
100000: undefined,
10000: '0x07687e702b410Fa43f4cB4Af7FA097918ffD2730',
100000: '0x23773E65ed146A459791799d01336DB287f25334',
},
tokenAddress: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
symbol: 'DAI',
@ -101,9 +107,9 @@ module.exports = {
cdai: {
instanceAddress: {
5000: '0x22aaA7720ddd5388A3c0A3333430953C68f1849b',
50000: '0xBA214C1c1928a32Bffe790263E38B4Af9bFCD659',
500000: '0xb1C8094B234DcE6e03f10a5b673c1d8C69739A00',
5000000: undefined,
50000: '0x03893a7c7463AE47D46bc7f091665f1893656003',
500000: '0x2717c5e28cf931547B621a5dddb772Ab6A35B701',
5000000: '0xD21be7248e0197Ee08E0c20D4a96DEBdaC3D20Af',
},
tokenAddress: '0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643',
symbol: 'cDAI',
@ -120,17 +126,6 @@ module.exports = {
symbol: 'USDC',
decimals: 6,
},
cusdc: {
instanceAddress: {
5000: '0xaEaaC358560e11f52454D997AAFF2c5731B6f8a6',
50000: '0x1356c899D8C9467C7f71C195612F8A395aBf2f0a',
500000: '0xA60C772958a3eD56c1F15dD055bA37AC8e523a0D',
5000000: undefined,
},
tokenAddress: '0x39AA39c021dfbaE8faC545936693aC917d5E7563',
symbol: 'cUSDC',
decimals: 8,
},
usdt: {
instanceAddress: {
100: '0x169AD27A470D064DEDE56a2D3ff727986b15D52B',
@ -142,73 +137,17 @@ module.exports = {
symbol: 'USDT',
decimals: 6,
},
},
netId42: {
eth: {
wbtc: {
instanceAddress: {
0.1: '0x8b3f5393bA08c24cc7ff5A66a832562aAB7bC95f',
1: '0xD6a6AC46d02253c938B96D12BE439F570227aE8E',
10: '0xe1BE96331391E519471100c3c1528B66B8F4e5a7',
100: '0xd037E0Ac98Dab2fCb7E296c69C6e52767Ae5414D',
0.1: '0x178169B423a011fff22B9e3F3abeA13414dDD0F1',
1: '0x610B717796ad172B316836AC95a2ffad065CeaB4',
10: '0xbB93e510BbCD0B7beb5A853875f9eC60275CF498',
100: undefined,
},
symbol: 'ETH',
decimals: 18,
},
dai: {
instanceAddress: {
100: '0xdf2d3cC5F361CF95b3f62c4bB66deFe3FDE47e3D',
1000: '0xD96291dFa35d180a71964D0894a1Ae54247C4ccD',
10000: '0xb192794f72EA45e33C3DF6fe212B9c18f6F45AE3',
100000: undefined,
},
tokenAddress: '0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa',
symbol: 'DAI',
decimals: 18,
},
cdai: {
instanceAddress: {
5000: '0x6Fc9386ABAf83147b3a89C36D422c625F44121C8',
50000: '0x7182EA067e0f050997444FCb065985Fd677C16b6',
500000: '0xC22ceFd90fbd1FdEeE554AE6Cc671179BC3b10Ae',
5000000: undefined,
},
tokenAddress: '0xe7bc397DBd069fC7d0109C0636d06888bb50668c',
symbol: 'cDAI',
tokenAddress: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
symbol: 'WBTC',
decimals: 8,
},
usdc: {
instanceAddress: {
100: '0x137E2B6d185018e7f09f6cf175a970e7fC73826C',
1000: '0xcC7f1633A5068E86E3830e692e3e3f8f520525Af',
10000: '0x28C8f149a0ab8A9bdB006B8F984fFFCCE52ef5EF',
100000: undefined,
},
tokenAddress: '0x75B0622Cec14130172EaE9Cf166B92E5C112FaFF',
symbol: 'USDC',
decimals: 6,
},
cusdc: {
instanceAddress: {
5000: '0xc0648F28ABA385c8a1421Bbf1B59e3c474F89cB0',
50000: '0x0C53853379c6b1A7B74E0A324AcbDD5Eabd4981D',
500000: '0xf84016A0E03917cBe700D318EB1b7a53e6e3dEe1',
5000000: undefined,
},
tokenAddress: '0xcfC9bB230F00bFFDB560fCe2428b4E05F3442E35',
symbol: 'cUSDC',
decimals: 8,
},
usdt: {
instanceAddress: {
100: '0x327853Da7916a6A0935563FB1919A48843036b42',
1000: '0x531AA4DF5858EA1d0031Dad16e3274609DE5AcC0',
10000: '0x0958275F0362cf6f07D21373aEE0cf37dFe415dD',
100000: '0x14aEd24B67EaF3FF28503eB92aeb217C47514364',
},
tokenAddress: '0x03c5F29e9296006876d8DF210BCFfD7EA5Db1Cf1',
symbol: 'USDT',
decimals: 6,
},
},
netId5: {
eth: {
@ -221,6 +160,132 @@ module.exports = {
symbol: 'ETH',
decimals: 18,
},
dai: {
instanceAddress: {
100: '0x76D85B4C0Fc497EeCc38902397aC608000A06607',
1000: '0xCC84179FFD19A1627E79F8648d09e095252Bc418',
10000: '0xD5d6f8D9e784d0e26222ad3834500801a68D027D',
100000: '0x407CcEeaA7c95d2FE2250Bf9F2c105aA7AAFB512',
},
tokenAddress: '0xdc31Ee1784292379Fbb2964b3B9C4124D8F89C60',
symbol: 'DAI',
decimals: 18,
},
cdai: {
instanceAddress: {
5000: '0x833481186f16Cece3f1Eeea1a694c42034c3a0dB',
50000: '0xd8D7DE3349ccaA0Fde6298fe6D7b7d0d34586193',
500000: '0x8281Aa6795aDE17C8973e1aedcA380258Bc124F9',
5000000: '0x57b2B8c82F065de8Ef5573f9730fC1449B403C9f',
},
tokenAddress: '0x822397d9a55d0fefd20F5c4bCaB33C5F65bd28Eb',
symbol: 'cDAI',
decimals: 8,
},
usdc: {
instanceAddress: {
100: '0x05E0b5B40B7b66098C2161A5EE11C5740A3A7C45',
1000: '0x23173fE8b96A4Ad8d2E17fB83EA5dcccdCa1Ae52',
10000: undefined,
100000: undefined,
},
tokenAddress: '0xD87Ba7A50B2E7E660f678A895E4B72E7CB4CCd9C',
symbol: 'USDC',
decimals: 6,
},
usdt: {
instanceAddress: {
100: '0x538Ab61E8A9fc1b2f93b3dd9011d662d89bE6FE6',
1000: '0x94Be88213a387E992Dd87DE56950a9aef34b9448',
10000: undefined,
100000: undefined,
},
tokenAddress: '0xb7FC2023D96AEa94Ba0254AA5Aeb93141e4aad66',
symbol: 'USDT',
decimals: 6,
},
wbtc: {
instanceAddress: {
0.1: '0x242654336ca2205714071898f67E254EB49ACdCe',
1: '0x776198CCF446DFa168347089d7338879273172cF',
10: '0xeDC5d01286f99A066559F60a585406f3878a033e',
100: undefined,
},
tokenAddress: '0xC04B0d3107736C32e19F1c62b2aF67BE61d63a05',
symbol: 'WBTC',
decimals: 8,
},
},
netId10: {
eth: {
instanceAddress: {
0.1: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
1: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
10: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
},
symbol: 'ETH',
decimals: 18,
},
},
netId56: {
bnb: {
instanceAddress: {
0.1: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
1: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
10: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
},
symbol: 'BNB',
decimals: 18,
},
},
netId100: {
xdai: {
instanceAddress: {
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
1000: '0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178',
10000: '0xaf4c0B70B2Ea9FB7487C7CbB37aDa259579fe040',
100000: '0xa5C2254e4253490C54cef0a4347fddb8f75A4998',
},
symbol: 'xDAI',
decimals: 18,
},
},
netId137: {
matic: {
instanceAddress: {
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
1000: '0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178',
10000: '0xaf4c0B70B2Ea9FB7487C7CbB37aDa259579fe040',
100000: '0xa5C2254e4253490C54cef0a4347fddb8f75A4998',
},
symbol: 'MATIC',
decimals: 18,
},
},
netId42161: {
eth: {
instanceAddress: {
0.1: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
1: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
10: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
},
symbol: 'ETH',
decimals: 18,
},
},
netId43114: {
avax: {
instanceAddress: {
10: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
500: '0xaf8d1839c3c67cf571aa74B5c12398d4901147B3',
},
symbol: 'AVAX',
decimals: 18,
},
},
},
}

109
index.d.ts vendored Normal file
View File

@ -0,0 +1,109 @@
export const torn: Torn
export const governance: Address
export const governanceImpl: Address
export const voucher: Voucher
export const miningV2: Mining
export const rewardSwap: RewardSwap
export const tornadoTrees: TornadoTrees
export const tornadoProxy: Address
export const tornadoProxyLight: Address
export const rewardVerifier: Address
export const treeUpdateVerifier: Address
export const withdrawVerifier: Address
export const poseidonHasher2: Address
export const poseidonHasher3: Address
export const feeManager: Address
export const tornadoStakingRewards: Address
export const relayerRegistry: Address
export const tornadoRouter: Address
export const instanceRegistry: Address
export const deployer: Address
export const vesting: Vesting
export const instances: Instances
export type availableIds = 1 | 5 | 10 | 56 | 100 | 137 | 42161 | 43114
export type availableTokens = 'eth' | 'dai' | 'cdai' | 'usdc' | 'usdt' | 'wbtc' | 'xdai' | 'matic' | 'avax' | 'bnb'
export type netIds = `netId${availableIds}`
export type Address = {
address: string
}
export type Instances = {
[p in netIds]: NetInstances;
};
export type NetInstances = {
[p in availableTokens]?: TInstance;
}
export type TInstance = {
instanceAddress: InstanceAddress
tokenAddress?: string
symbol: string
decimals: number
}
export type InstanceAddress = {
'0.1'?: string
'1'?: string
'10'?: string
'100'?: string
'500'?: string
'1000'?: string
'5000'?: string
'10000'?: string
'50000'?: string
'100000'?: string
'500000'?: string
'5000000'?: string
}
export type Mining = Address & {
initialBalance: string
rates: Rate[]
}
export type Rate = {
instance: string
value: string
}
export type RewardSwap = Address & {
poolWeight: number
}
export type Torn = Address & {
cap: string
pausePeriod: number
distribution: { [key: string]: Distribution }
}
export type Distribution = {
to: string
amount: string
}
export type TornadoTrees = Address & {
levels: number
}
export interface Vesting {
team1: Governance;
team2: Governance;
team3: Governance;
team4: Governance;
team5: Governance;
governance: Governance;
}
export type Governance = Address & {
cliff: number
duration: number
beneficiary?: string
}
export type Voucher = Address & {
duration: number
}

View File

@ -1,14 +1,21 @@
{
"name": "torn-token",
"version": "1.0.0",
"version": "1.0.8",
"main": "config.js",
"repository": "https://github.com/tornadocash/torn-token.git",
"author": "Tornadocash team <hello@tornado.cash>",
"license": "MIT",
"keywords": [
"web3",
"ethereum",
"solidity"
],
"files": [
"config.js",
"contracts/*"
"contracts/*",
"index.d.ts"
],
"types": "index.d.ts",
"scripts": {
"compile": "truffle compile",
"coverage": "yarn compile && truffle run coverage",
@ -18,15 +25,6 @@
"prettier:check": "prettier --check . --config .prettierrc",
"prettier:fix": "prettier --write . --config .prettierrc",
"lint": "yarn eslint && yarn prettier:check",
"deploy:mainnet": "truffle migrate --network mainnet",
"deploy:kovan": "truffle migrate --network kovan",
"deploy:dev": "truffle migrate --skip-dry-run --network test",
"init:mainnet": "truffle migrate -f 2 --to 2 --network mainnet",
"init:kovan": "truffle migrate -f 2 --to 2 --network kovan",
"init:test": "truffle migrate -f 2 --to 2 --network test",
"voucher:mainnet": "truffle migrate -f 3 --network mainnet",
"voucher:kovan": "truffle migrate -f 3 --network kovan",
"voucher:dev": "truffle migrate -f 3 --skip-dry-run --network test",
"verify": "truffle run verify --network $NETWORK"
},
"devDependencies": {
@ -48,9 +46,9 @@
},
"dependencies": {
"@openzeppelin/contracts": "^3.1.0",
"dotenv": "^8.2.0",
"eth-sig-util": "^2.5.3",
"ethereumjs-util": "^7.0.3",
"web3": "^1.2.11"
"web3": "^1.2.11",
"web3-utils": "^1.7.3"
}
}

View File

@ -1,8 +1,3 @@
require('dotenv').config()
const HDWalletProvider = require('truffle-hdwallet-provider')
const utils = require('web3-utils')
const { PRIVATE_KEY, INFURA_TOKEN } = process.env
module.exports = {
// Uncommenting the defaults below
// provides for an easier quick-start with Ganache.
@ -21,24 +16,6 @@ module.exports = {
// port: 8544,
// network_id: '*',
// },
mainnet: {
provider: () => new HDWalletProvider(PRIVATE_KEY, `https://mainnet.infura.io/v3/${INFURA_TOKEN}`),
network_id: 1,
gas: 6000000,
gasPrice: utils.toWei('100', 'gwei'),
// confirmations: 0,
// timeoutBlocks: 200,
skipDryRun: true,
},
kovan: {
provider: () => new HDWalletProvider(PRIVATE_KEY, `https://kovan.infura.io/v3/${INFURA_TOKEN}`),
network_id: 42,
gas: 6000000,
gasPrice: utils.toWei('1', 'gwei'),
// confirmations: 0,
// timeoutBlocks: 200,
skipDryRun: true,
},
coverage: {
host: 'localhost',
network_id: '*',

View File

@ -357,6 +357,13 @@
dependencies:
"@types/node" "*"
"@types/bn.js@^5.1.0":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.0.tgz#32c5d271503a12653c62cf4d2b45e6eab8cebc68"
integrity sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==
dependencies:
"@types/node" "*"
"@types/color-name@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
@ -1452,11 +1459,6 @@ dom-walk@^0.1.0:
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84"
integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==
dotenv@^8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
drbg.js@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/drbg.js/-/drbg.js-1.0.1.tgz#3e36b6c42b37043823cdbc332d58f31e2445480b"
@ -1950,6 +1952,17 @@ ethereumjs-util@^7.0.3:
ethjs-util "0.1.6"
rlp "^2.2.4"
ethereumjs-util@^7.1.0:
version "7.1.4"
resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.4.tgz#a6885bcdd92045b06f596c7626c3e89ab3312458"
integrity sha512-p6KmuPCX4mZIqsQzXfmSx9Y0l2hqf+VkAiwSisW3UKUFdk8ZkAt+AYaor83z2nSi6CU2zSsXMlD80hAbNEGM0A==
dependencies:
"@types/bn.js" "^5.1.0"
bn.js "^5.1.2"
create-hash "^1.1.2"
ethereum-cryptography "^0.1.3"
rlp "^2.2.4"
ethers@4.0.0-beta.3:
version "4.0.0-beta.3"
resolved "https://registry.yarnpkg.com/ethers/-/ethers-4.0.0-beta.3.tgz#15bef14e57e94ecbeb7f9b39dd0a4bd435bc9066"
@ -5833,6 +5846,19 @@ web3-utils@1.2.6:
underscore "1.9.1"
utf8 "3.0.0"
web3-utils@^1.7.3:
version "1.7.3"
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.7.3.tgz#b214d05f124530d8694ad364509ac454d05f207c"
integrity sha512-g6nQgvb/bUpVUIxJE+ezVN+rYwYmlFyMvMIRSuqpi1dk6ApDD00YNArrk7sPcZnjvxOJ76813Xs2vIN2rgh4lg==
dependencies:
bn.js "^4.11.9"
ethereum-bloom-filters "^1.0.6"
ethereumjs-util "^7.1.0"
ethjs-unit "0.1.6"
number-to-bn "1.7.0"
randombytes "^2.1.0"
utf8 "3.0.0"
web3@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.1.tgz#5d8158bcca47838ab8c2b784a2dee4c3ceb4179b"