Use lib @tornado/tornado-oracles to fetch token prices and gas & bump relayer version to 4.1.5
This commit is contained in:
parent
4a996ddb91
commit
776d1a832d
1
.npmrc
Normal file
1
.npmrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
@tornado:registry=https://git.tornado.ws/api/packages/tornado-packages/npm/
|
@ -1,181 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{ "internalType": "contract MultiWrapper", "name": "_multiWrapper", "type": "address" },
|
|
||||||
{ "internalType": "contract IOracle[]", "name": "existingOracles", "type": "address[]" },
|
|
||||||
{ "internalType": "enum OffchainOracle.OracleType[]", "name": "oracleTypes", "type": "uint8[]" },
|
|
||||||
{ "internalType": "contract IERC20[]", "name": "existingConnectors", "type": "address[]" },
|
|
||||||
{ "internalType": "contract IERC20", "name": "wBase", "type": "address" }
|
|
||||||
],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "constructor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{ "indexed": false, "internalType": "contract IERC20", "name": "connector", "type": "address" }
|
|
||||||
],
|
|
||||||
"name": "ConnectorAdded",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{ "indexed": false, "internalType": "contract IERC20", "name": "connector", "type": "address" }
|
|
||||||
],
|
|
||||||
"name": "ConnectorRemoved",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{ "indexed": false, "internalType": "contract MultiWrapper", "name": "multiWrapper", "type": "address" }
|
|
||||||
],
|
|
||||||
"name": "MultiWrapperUpdated",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{ "indexed": false, "internalType": "contract IOracle", "name": "oracle", "type": "address" },
|
|
||||||
{
|
|
||||||
"indexed": false,
|
|
||||||
"internalType": "enum OffchainOracle.OracleType",
|
|
||||||
"name": "oracleType",
|
|
||||||
"type": "uint8"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "OracleAdded",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{ "indexed": false, "internalType": "contract IOracle", "name": "oracle", "type": "address" },
|
|
||||||
{
|
|
||||||
"indexed": false,
|
|
||||||
"internalType": "enum OffchainOracle.OracleType",
|
|
||||||
"name": "oracleType",
|
|
||||||
"type": "uint8"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "OracleRemoved",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
|
|
||||||
{ "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
|
|
||||||
],
|
|
||||||
"name": "OwnershipTransferred",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [{ "internalType": "contract IERC20", "name": "connector", "type": "address" }],
|
|
||||||
"name": "addConnector",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{ "internalType": "contract IOracle", "name": "oracle", "type": "address" },
|
|
||||||
{ "internalType": "enum OffchainOracle.OracleType", "name": "oracleKind", "type": "uint8" }
|
|
||||||
],
|
|
||||||
"name": "addOracle",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "connectors",
|
|
||||||
"outputs": [{ "internalType": "contract IERC20[]", "name": "allConnectors", "type": "address[]" }],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{ "internalType": "contract IERC20", "name": "srcToken", "type": "address" },
|
|
||||||
{ "internalType": "contract IERC20", "name": "dstToken", "type": "address" },
|
|
||||||
{ "internalType": "bool", "name": "useWrappers", "type": "bool" }
|
|
||||||
],
|
|
||||||
"name": "getRate",
|
|
||||||
"outputs": [{ "internalType": "uint256", "name": "weightedRate", "type": "uint256" }],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{ "internalType": "contract IERC20", "name": "srcToken", "type": "address" },
|
|
||||||
{ "internalType": "bool", "name": "useSrcWrappers", "type": "bool" }
|
|
||||||
],
|
|
||||||
"name": "getRateToEth",
|
|
||||||
"outputs": [{ "internalType": "uint256", "name": "weightedRate", "type": "uint256" }],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "multiWrapper",
|
|
||||||
"outputs": [{ "internalType": "contract MultiWrapper", "name": "", "type": "address" }],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "oracles",
|
|
||||||
"outputs": [
|
|
||||||
{ "internalType": "contract IOracle[]", "name": "allOracles", "type": "address[]" },
|
|
||||||
{ "internalType": "enum OffchainOracle.OracleType[]", "name": "oracleTypes", "type": "uint8[]" }
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "owner",
|
|
||||||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [{ "internalType": "contract IERC20", "name": "connector", "type": "address" }],
|
|
||||||
"name": "removeConnector",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{ "internalType": "contract IOracle", "name": "oracle", "type": "address" },
|
|
||||||
{ "internalType": "enum OffchainOracle.OracleType", "name": "oracleKind", "type": "uint8" }
|
|
||||||
],
|
|
||||||
"name": "removeOracle",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "renounceOwnership",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [{ "internalType": "contract MultiWrapper", "name": "_multiWrapper", "type": "address" }],
|
|
||||||
"name": "setMultiWrapper",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
|
|
||||||
"name": "transferOwnership",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
}
|
|
||||||
]
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "relay",
|
"name": "relay",
|
||||||
"version": "4.1.4",
|
"version": "4.1.5",
|
||||||
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
|
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "node src/server.js",
|
"server": "node src/server.js",
|
||||||
@ -19,16 +19,16 @@
|
|||||||
"author": "tornado.cash",
|
"author": "tornado.cash",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@tornado/circomlib": "^0.0.21",
|
||||||
|
"@tornado/tornado-oracles": "1.2.2",
|
||||||
"ajv": "^6.12.5",
|
"ajv": "^6.12.5",
|
||||||
"async-mutex": "^0.2.4",
|
"async-mutex": "^0.2.4",
|
||||||
"bull": "^3.12.1",
|
"bull": "^3.12.1",
|
||||||
"circomlib": "git+https://github.com/tornadocash/circomlib.git#3b492f9801573eebcfe1b6c584afe8a3beecf2b4",
|
|
||||||
"concurrently": "^8.2.0",
|
"concurrently": "^8.2.0",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"eth-ens-namehash": "^2.0.8",
|
"eth-ens-namehash": "^2.0.8",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"fixed-merkle-tree": "^0.4.0",
|
"fixed-merkle-tree": "^0.4.0",
|
||||||
"gas-price-oracle": "^0.4.7",
|
|
||||||
"ioredis": "^4.14.1",
|
"ioredis": "^4.14.1",
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"torn-token": "1.0.6",
|
"torn-token": "1.0.6",
|
||||||
|
@ -7,8 +7,7 @@ module.exports = {
|
|||||||
redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379',
|
redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379',
|
||||||
httpRpcUrl: process.env.HTTP_RPC_URL,
|
httpRpcUrl: process.env.HTTP_RPC_URL,
|
||||||
wsRpcUrl: process.env.WS_RPC_URL,
|
wsRpcUrl: process.env.WS_RPC_URL,
|
||||||
oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://mainnet.infura.io/',
|
oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://api.securerpc.com/v1',
|
||||||
offchainOracleAddress: '0x07D91f5fb9Bf7798734C3f606dB065549F6893bb',
|
|
||||||
aggregatorAddress: process.env.AGGREGATOR,
|
aggregatorAddress: process.env.AGGREGATOR,
|
||||||
minerMerkleTreeHeight: 20,
|
minerMerkleTreeHeight: 20,
|
||||||
privateKey: process.env.PRIVATE_KEY,
|
privateKey: process.env.PRIVATE_KEY,
|
||||||
@ -21,8 +20,6 @@ module.exports = {
|
|||||||
governanceAddress: '0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce',
|
governanceAddress: '0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce',
|
||||||
tornadoGoerliProxy: '0x454d870a72e29d5E5697f635128D18077BD04C60',
|
tornadoGoerliProxy: '0x454d870a72e29d5E5697f635128D18077BD04C60',
|
||||||
gasLimits: {
|
gasLimits: {
|
||||||
[jobType.TORNADO_WITHDRAW]: 390000,
|
|
||||||
WITHDRAW_WITH_EXTRA: 700000,
|
|
||||||
[jobType.MINING_REWARD]: 455000,
|
[jobType.MINING_REWARD]: 455000,
|
||||||
[jobType.MINING_WITHDRAW]: 400000,
|
[jobType.MINING_WITHDRAW]: 400000,
|
||||||
},
|
},
|
||||||
|
@ -1,41 +1,13 @@
|
|||||||
const { offchainOracleAddress } = require('./config')
|
const { setSafeInterval, RelayerError, logRelayerError } = require('./utils')
|
||||||
const {
|
|
||||||
getArgsForOracle,
|
|
||||||
setSafeInterval,
|
|
||||||
toChecksumAddress,
|
|
||||||
toBN,
|
|
||||||
RelayerError,
|
|
||||||
logRelayerError,
|
|
||||||
} = require('./utils')
|
|
||||||
const { redis } = require('./modules/redis')
|
const { redis } = require('./modules/redis')
|
||||||
const web3 = require('./modules/web3')('oracle')
|
const { TokenPriceOracle } = require('@tornado/tornado-oracles')
|
||||||
|
const { oracleRpcUrl } = require('./config')
|
||||||
|
|
||||||
const offchainOracleABI = require('../abis/OffchainOracle.abi.json')
|
const priceOracle = new TokenPriceOracle(oracleRpcUrl)
|
||||||
|
|
||||||
const offchainOracle = new web3.eth.Contract(offchainOracleABI, offchainOracleAddress)
|
|
||||||
const { tokenAddresses, oneUintAmount, currencyLookup } = getArgsForOracle()
|
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
try {
|
try {
|
||||||
const ethPrices = {}
|
const ethPrices = await priceOracle.fetchPrices()
|
||||||
for (let i = 0; i < tokenAddresses.length; i++) {
|
|
||||||
try {
|
|
||||||
const isWrap =
|
|
||||||
toChecksumAddress(tokenAddresses[i]) ===
|
|
||||||
toChecksumAddress('0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643')
|
|
||||||
|
|
||||||
const price = await offchainOracle.methods.getRateToEth(tokenAddresses[i], isWrap).call()
|
|
||||||
const numerator = toBN(oneUintAmount[i])
|
|
||||||
const denominator = toBN(10).pow(toBN(18)) // eth decimals
|
|
||||||
const priceFormatted = toBN(price).mul(numerator).div(denominator)
|
|
||||||
ethPrices[currencyLookup[tokenAddresses[i]]] = priceFormatted.toString()
|
|
||||||
} catch (e) {
|
|
||||||
console.error('cant get price of ', tokenAddresses[i])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!Object.values(ethPrices).length) {
|
|
||||||
throw new RelayerError('Can`t update prices', 1)
|
|
||||||
}
|
|
||||||
await redis.hmset('prices', ethPrices)
|
await redis.hmset('prices', ethPrices)
|
||||||
console.log('Wrote following prices to redis', ethPrices)
|
console.log('Wrote following prices to redis', ethPrices)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
29
src/utils.js
29
src/utils.js
@ -1,15 +1,7 @@
|
|||||||
const { instances, netId } = require('./config')
|
const { instances, netId } = require('./config')
|
||||||
const { poseidon } = require('circomlib')
|
const { poseidon } = require('@tornado/circomlib')
|
||||||
const { toBN, toChecksumAddress, BN, fromWei, isAddress, toWei } = require('web3-utils')
|
const { toBN, toChecksumAddress, BN, fromWei, isAddress, toWei } = require('web3-utils')
|
||||||
|
|
||||||
const TOKENS = {
|
|
||||||
torn: {
|
|
||||||
tokenAddress: '0x77777FeDdddFfC19Ff86DB637967013e6C6A116C',
|
|
||||||
symbol: 'TORN',
|
|
||||||
decimals: 18,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
const addressMap = new Map()
|
const addressMap = new Map()
|
||||||
const instance = instances[`netId${netId}`]
|
const instance = instances[`netId${netId}`]
|
||||||
|
|
||||||
@ -61,24 +53,6 @@ function when(source, event) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function getArgsForOracle() {
|
|
||||||
const tokens = {
|
|
||||||
...instances.netId1,
|
|
||||||
...TOKENS,
|
|
||||||
}
|
|
||||||
const tokenAddresses = []
|
|
||||||
const oneUintAmount = []
|
|
||||||
const currencyLookup = {}
|
|
||||||
Object.entries(tokens).map(([currency, data]) => {
|
|
||||||
if (currency !== 'eth') {
|
|
||||||
tokenAddresses.push(data.tokenAddress)
|
|
||||||
oneUintAmount.push(toBN('10').pow(toBN(data.decimals.toString())).toString())
|
|
||||||
currencyLookup[data.tokenAddress] = currency
|
|
||||||
}
|
|
||||||
})
|
|
||||||
return { tokenAddresses, oneUintAmount, currencyLookup }
|
|
||||||
}
|
|
||||||
|
|
||||||
function fromDecimals(value, decimals) {
|
function fromDecimals(value, decimals) {
|
||||||
value = value.toString()
|
value = value.toString()
|
||||||
let ether = value.toString()
|
let ether = value.toString()
|
||||||
@ -155,7 +129,6 @@ module.exports = {
|
|||||||
poseidonHash2,
|
poseidonHash2,
|
||||||
sleep,
|
sleep,
|
||||||
when,
|
when,
|
||||||
getArgsForOracle,
|
|
||||||
fromDecimals,
|
fromDecimals,
|
||||||
toBN,
|
toBN,
|
||||||
toChecksumAddress,
|
toChecksumAddress,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
const MerkleTree = require('fixed-merkle-tree')
|
const MerkleTree = require('fixed-merkle-tree')
|
||||||
const { GasPriceOracle } = require('gas-price-oracle')
|
const { TornadoFeeOracleV4, bump } = require('@tornado/tornado-oracles')
|
||||||
const { Utils, Controller } = require('tornado-anonymity-mining')
|
const { Utils, Controller } = require('tornado-anonymity-mining')
|
||||||
|
|
||||||
const swapABI = require('../abis/swap.abi.json')
|
const swapABI = require('../abis/swap.abi.json')
|
||||||
@ -46,7 +46,7 @@ let txManager
|
|||||||
let controller
|
let controller
|
||||||
let swap
|
let swap
|
||||||
let minerContract
|
let minerContract
|
||||||
const gasPriceOracle = new GasPriceOracle({ defaultRpc: oracleRpcUrl })
|
const feeOracle = new TornadoFeeOracleV4(netId, oracleRpcUrl)
|
||||||
|
|
||||||
async function fetchTree() {
|
async function fetchTree() {
|
||||||
const elements = await redis.get('tree:elements')
|
const elements = await redis.get('tree:elements')
|
||||||
@ -118,51 +118,22 @@ function checkFee({ data }) {
|
|||||||
return checkMiningFee(data)
|
return checkMiningFee(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getGasPrice() {
|
|
||||||
const block = await web3.eth.getBlock('latest')
|
|
||||||
|
|
||||||
if (block && block.baseFeePerGas) {
|
|
||||||
return toBN(block.baseFeePerGas)
|
|
||||||
}
|
|
||||||
|
|
||||||
const { fast } = await gasPriceOracle.gasPrices()
|
|
||||||
return toBN(toWei(fast.toString(), 'gwei'))
|
|
||||||
}
|
|
||||||
|
|
||||||
async function checkTornadoFee({ args, contract }) {
|
async function checkTornadoFee({ args, contract }) {
|
||||||
const { currency, amount, decimals } = getInstance(contract)
|
const { currency, amount, decimals } = getInstance(contract)
|
||||||
const [fee, refund] = [args[4], args[5]].map(toBN)
|
const [userProvidedFee, refund] = [args[4], args[5]]
|
||||||
const gasPrice = await getGasPrice()
|
|
||||||
|
|
||||||
const ethPrice = await redis.hget('prices', currency)
|
const ethPrice = await redis.hget('prices', currency)
|
||||||
const expense = gasPrice.mul(toBN(gasLimits[jobType.TORNADO_WITHDRAW]))
|
const relayerEstimatedFee = await feeOracle.calculateWithdrawalFeeViaRelayer(
|
||||||
|
'relayer_withdrawal_check_v4',
|
||||||
const feePercent = toBN(fromDecimals(amount, decimals))
|
{},
|
||||||
.mul(toBN(parseInt(tornadoServiceFee * 1e10)))
|
tornadoServiceFee,
|
||||||
.div(toBN(1e10 * 100))
|
currency,
|
||||||
|
amount,
|
||||||
let desiredFee
|
decimals,
|
||||||
switch (currency) {
|
refund,
|
||||||
case 'eth': {
|
ethPrice,
|
||||||
desiredFee = expense.add(feePercent)
|
|
||||||
break
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
desiredFee = expense
|
|
||||||
.add(refund)
|
|
||||||
.mul(toBN(10 ** decimals))
|
|
||||||
.div(toBN(ethPrice))
|
|
||||||
desiredFee = desiredFee.add(feePercent)
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log(
|
|
||||||
'sent fee, desired fee, feePercent',
|
|
||||||
fromWei(fee.toString()),
|
|
||||||
fromWei(desiredFee.toString()),
|
|
||||||
fromWei(feePercent.toString()),
|
|
||||||
)
|
)
|
||||||
if (fee.lt(desiredFee)) {
|
if (toBN(relayerEstimatedFee).gt(toBN(userProvidedFee))) {
|
||||||
throw new RelayerError(
|
throw new RelayerError(
|
||||||
'Provided fee is not enough. Probably it is a Gas Price spike, try to resubmit.',
|
'Provided fee is not enough. Probably it is a Gas Price spike, try to resubmit.',
|
||||||
0,
|
0,
|
||||||
@ -171,12 +142,12 @@ async function checkTornadoFee({ args, contract }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function checkMiningFee({ args }) {
|
async function checkMiningFee({ args }) {
|
||||||
const gasPrice = await getGasPrice()
|
const gasPrice = await feeOracle.getGasPriceInHex()
|
||||||
const ethPrice = await redis.hget('prices', 'torn')
|
const ethPrice = await redis.hget('prices', 'torn')
|
||||||
const isMiningReward = currentJob.data.type === jobType.MINING_REWARD
|
const isMiningReward = currentJob.data.type === jobType.MINING_REWARD
|
||||||
const providedFee = isMiningReward ? toBN(args.fee) : toBN(args.extData.fee)
|
const providedFee = isMiningReward ? toBN(args.fee) : toBN(args.extData.fee)
|
||||||
|
|
||||||
const expense = gasPrice.mul(toBN(gasLimits[currentJob.data.type]))
|
const expense = toBN(gasPrice).mul(toBN(gasLimits[currentJob.data.type]))
|
||||||
const expenseInTorn = expense.mul(toBN(1e18)).div(toBN(ethPrice))
|
const expenseInTorn = expense.mul(toBN(1e18)).div(toBN(ethPrice))
|
||||||
// todo make aggregator for ethPrices and rewardSwap data
|
// todo make aggregator for ethPrices and rewardSwap data
|
||||||
const balance = await swap.methods.tornVirtualBalance().call()
|
const balance = await swap.methods.tornVirtualBalance().call()
|
||||||
@ -233,12 +204,17 @@ async function getTxObject({ data }) {
|
|||||||
calldata = contract.methods.withdraw(data.proof, ...data.args).encodeABI()
|
calldata = contract.methods.withdraw(data.proof, ...data.args).encodeABI()
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
const incompleteTx = {
|
||||||
value: data.args[5],
|
value: data.args[5],
|
||||||
to: contract._address,
|
to: contract._address,
|
||||||
data: calldata,
|
data: calldata,
|
||||||
gasLimit: gasLimits['WITHDRAW_WITH_EXTRA'],
|
|
||||||
}
|
}
|
||||||
|
const [gasPrice, gasLimit] = await Promise.all([
|
||||||
|
feeOracle.getGasPrice('relayer_withdrawal'),
|
||||||
|
feeOracle.getGasLimit(incompleteTx, 'relayer_withdrawal'),
|
||||||
|
])
|
||||||
|
|
||||||
|
return Object.assign({ gasLimit, gasPrice }, incompleteTx)
|
||||||
} else {
|
} else {
|
||||||
const method = data.type === jobType.MINING_REWARD ? 'reward' : 'withdraw'
|
const method = data.type === jobType.MINING_REWARD ? 'reward' : 'withdraw'
|
||||||
const calldata = minerContract.methods[method](data.proof, data.args).encodeABI()
|
const calldata = minerContract.methods[method](data.proof, data.args).encodeABI()
|
||||||
|
473
yarn.lock
473
yarn.lock
@ -65,6 +65,21 @@
|
|||||||
"@ethersproject/properties" "^5.4.0"
|
"@ethersproject/properties" "^5.4.0"
|
||||||
"@ethersproject/strings" "^5.4.0"
|
"@ethersproject/strings" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449"
|
||||||
|
integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/address" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/constants" "^5.7.0"
|
||||||
|
"@ethersproject/hash" "^5.7.0"
|
||||||
|
"@ethersproject/keccak256" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/abstract-provider@5.4.1", "@ethersproject/abstract-provider@^5.4.0":
|
"@ethersproject/abstract-provider@5.4.1", "@ethersproject/abstract-provider@^5.4.0":
|
||||||
version "5.4.1"
|
version "5.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.4.1.tgz#e404309a29f771bd4d28dbafadcaa184668c2a6e"
|
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.4.1.tgz#e404309a29f771bd4d28dbafadcaa184668c2a6e"
|
||||||
@ -78,6 +93,19 @@
|
|||||||
"@ethersproject/transactions" "^5.4.0"
|
"@ethersproject/transactions" "^5.4.0"
|
||||||
"@ethersproject/web" "^5.4.0"
|
"@ethersproject/web" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef"
|
||||||
|
integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/networks" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/transactions" "^5.7.0"
|
||||||
|
"@ethersproject/web" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/abstract-signer@5.4.1", "@ethersproject/abstract-signer@^5.4.0":
|
"@ethersproject/abstract-signer@5.4.1", "@ethersproject/abstract-signer@^5.4.0":
|
||||||
version "5.4.1"
|
version "5.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.4.1.tgz#e4e9abcf4dd4f1ba0db7dff9746a5f78f355ea81"
|
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.4.1.tgz#e4e9abcf4dd4f1ba0db7dff9746a5f78f355ea81"
|
||||||
@ -89,6 +117,17 @@
|
|||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
"@ethersproject/properties" "^5.4.0"
|
"@ethersproject/properties" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2"
|
||||||
|
integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abstract-provider" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/address@5.4.0", "@ethersproject/address@^5.4.0":
|
"@ethersproject/address@5.4.0", "@ethersproject/address@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.4.0.tgz#ba2d00a0f8c4c0854933b963b9a3a9f6eb4a37a3"
|
resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.4.0.tgz#ba2d00a0f8c4c0854933b963b9a3a9f6eb4a37a3"
|
||||||
@ -100,6 +139,17 @@
|
|||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
"@ethersproject/rlp" "^5.4.0"
|
"@ethersproject/rlp" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/address@5.7.0", "@ethersproject/address@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37"
|
||||||
|
integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/keccak256" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/rlp" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/address@>=5.0.0-beta.128", "@ethersproject/address@^5.0.4":
|
"@ethersproject/address@>=5.0.0-beta.128", "@ethersproject/address@^5.0.4":
|
||||||
version "5.0.4"
|
version "5.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.0.4.tgz#8669bcbd02f4b64f4cede0a10e84df6d964ec9d3"
|
resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.0.4.tgz#8669bcbd02f4b64f4cede0a10e84df6d964ec9d3"
|
||||||
@ -119,6 +169,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@ethersproject/bytes" "^5.4.0"
|
"@ethersproject/bytes" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c"
|
||||||
|
integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/basex@5.4.0", "@ethersproject/basex@^5.4.0":
|
"@ethersproject/basex@5.4.0", "@ethersproject/basex@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.4.0.tgz#0a2da0f4e76c504a94f2b21d3161ed9438c7f8a6"
|
resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.4.0.tgz#0a2da0f4e76c504a94f2b21d3161ed9438c7f8a6"
|
||||||
@ -127,6 +184,14 @@
|
|||||||
"@ethersproject/bytes" "^5.4.0"
|
"@ethersproject/bytes" "^5.4.0"
|
||||||
"@ethersproject/properties" "^5.4.0"
|
"@ethersproject/properties" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b"
|
||||||
|
integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/bignumber@5.4.1", "@ethersproject/bignumber@^5.4.0":
|
"@ethersproject/bignumber@5.4.1", "@ethersproject/bignumber@^5.4.0":
|
||||||
version "5.4.1"
|
version "5.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.4.1.tgz#64399d3b9ae80aa83d483e550ba57ea062c1042d"
|
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.4.1.tgz#64399d3b9ae80aa83d483e550ba57ea062c1042d"
|
||||||
@ -136,6 +201,15 @@
|
|||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
bn.js "^4.11.9"
|
bn.js "^4.11.9"
|
||||||
|
|
||||||
|
"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2"
|
||||||
|
integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
bn.js "^5.2.1"
|
||||||
|
|
||||||
"@ethersproject/bignumber@>=5.0.0-beta.130", "@ethersproject/bignumber@^5.0.7":
|
"@ethersproject/bignumber@>=5.0.0-beta.130", "@ethersproject/bignumber@^5.0.7":
|
||||||
version "5.0.7"
|
version "5.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.0.7.tgz#720b3e3df3e125a99669ee869478106d0afe7b76"
|
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.0.7.tgz#720b3e3df3e125a99669ee869478106d0afe7b76"
|
||||||
@ -152,6 +226,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d"
|
||||||
|
integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/bytes@>=5.0.0-beta.129", "@ethersproject/bytes@^5.0.4":
|
"@ethersproject/bytes@>=5.0.0-beta.129", "@ethersproject/bytes@^5.0.4":
|
||||||
version "5.0.4"
|
version "5.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.0.4.tgz#328d9d929a3e970964ecf5d62e12568a187189f1"
|
resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.0.4.tgz#328d9d929a3e970964ecf5d62e12568a187189f1"
|
||||||
@ -166,6 +247,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@ethersproject/bignumber" "^5.4.0"
|
"@ethersproject/bignumber" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e"
|
||||||
|
integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/constants@>=5.0.0-beta.128", "@ethersproject/constants@^5.0.4":
|
"@ethersproject/constants@>=5.0.0-beta.128", "@ethersproject/constants@^5.0.4":
|
||||||
version "5.0.4"
|
version "5.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.0.4.tgz#9ddaa5f3c738a94e5adc4b3f71b36206fa5cdf88"
|
resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.0.4.tgz#9ddaa5f3c738a94e5adc4b3f71b36206fa5cdf88"
|
||||||
@ -189,6 +277,22 @@
|
|||||||
"@ethersproject/properties" "^5.4.0"
|
"@ethersproject/properties" "^5.4.0"
|
||||||
"@ethersproject/transactions" "^5.4.0"
|
"@ethersproject/transactions" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/contracts@5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e"
|
||||||
|
integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abi" "^5.7.0"
|
||||||
|
"@ethersproject/abstract-provider" "^5.7.0"
|
||||||
|
"@ethersproject/abstract-signer" "^5.7.0"
|
||||||
|
"@ethersproject/address" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/constants" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/transactions" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/hash@5.4.0", "@ethersproject/hash@^5.4.0":
|
"@ethersproject/hash@5.4.0", "@ethersproject/hash@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.4.0.tgz#d18a8e927e828e22860a011f39e429d388344ae0"
|
resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.4.0.tgz#d18a8e927e828e22860a011f39e429d388344ae0"
|
||||||
@ -203,6 +307,21 @@
|
|||||||
"@ethersproject/properties" "^5.4.0"
|
"@ethersproject/properties" "^5.4.0"
|
||||||
"@ethersproject/strings" "^5.4.0"
|
"@ethersproject/strings" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7"
|
||||||
|
integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abstract-signer" "^5.7.0"
|
||||||
|
"@ethersproject/address" "^5.7.0"
|
||||||
|
"@ethersproject/base64" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/keccak256" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/hash@>=5.0.0-beta.128":
|
"@ethersproject/hash@>=5.0.0-beta.128":
|
||||||
version "5.0.4"
|
version "5.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.0.4.tgz#385642786405d236f3d2f1acdfaf250ab519cdac"
|
resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.0.4.tgz#385642786405d236f3d2f1acdfaf250ab519cdac"
|
||||||
@ -231,6 +350,24 @@
|
|||||||
"@ethersproject/transactions" "^5.4.0"
|
"@ethersproject/transactions" "^5.4.0"
|
||||||
"@ethersproject/wordlists" "^5.4.0"
|
"@ethersproject/wordlists" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf"
|
||||||
|
integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abstract-signer" "^5.7.0"
|
||||||
|
"@ethersproject/basex" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/pbkdf2" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/sha2" "^5.7.0"
|
||||||
|
"@ethersproject/signing-key" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
"@ethersproject/transactions" "^5.7.0"
|
||||||
|
"@ethersproject/wordlists" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/json-wallets@5.4.0", "@ethersproject/json-wallets@^5.4.0":
|
"@ethersproject/json-wallets@5.4.0", "@ethersproject/json-wallets@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.4.0.tgz#2583341cfe313fc9856642e8ace3080154145e95"
|
resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.4.0.tgz#2583341cfe313fc9856642e8ace3080154145e95"
|
||||||
@ -250,6 +387,25 @@
|
|||||||
aes-js "3.0.0"
|
aes-js "3.0.0"
|
||||||
scrypt-js "3.0.1"
|
scrypt-js "3.0.1"
|
||||||
|
|
||||||
|
"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360"
|
||||||
|
integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abstract-signer" "^5.7.0"
|
||||||
|
"@ethersproject/address" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/hdnode" "^5.7.0"
|
||||||
|
"@ethersproject/keccak256" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/pbkdf2" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/random" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
"@ethersproject/transactions" "^5.7.0"
|
||||||
|
aes-js "3.0.0"
|
||||||
|
scrypt-js "3.0.1"
|
||||||
|
|
||||||
"@ethersproject/keccak256@5.4.0", "@ethersproject/keccak256@^5.4.0":
|
"@ethersproject/keccak256@5.4.0", "@ethersproject/keccak256@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.4.0.tgz#7143b8eea4976080241d2bd92e3b1f1bf7025318"
|
resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.4.0.tgz#7143b8eea4976080241d2bd92e3b1f1bf7025318"
|
||||||
@ -258,6 +414,14 @@
|
|||||||
"@ethersproject/bytes" "^5.4.0"
|
"@ethersproject/bytes" "^5.4.0"
|
||||||
js-sha3 "0.5.7"
|
js-sha3 "0.5.7"
|
||||||
|
|
||||||
|
"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a"
|
||||||
|
integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
js-sha3 "0.8.0"
|
||||||
|
|
||||||
"@ethersproject/keccak256@>=5.0.0-beta.127", "@ethersproject/keccak256@^5.0.3":
|
"@ethersproject/keccak256@>=5.0.0-beta.127", "@ethersproject/keccak256@^5.0.3":
|
||||||
version "5.0.3"
|
version "5.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.0.3.tgz#f094a8fca3bb913c044593c4f382be424292e588"
|
resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.0.3.tgz#f094a8fca3bb913c044593c4f382be424292e588"
|
||||||
@ -271,6 +435,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.4.1.tgz#503bd33683538b923c578c07d1c2c0dd18672054"
|
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.4.1.tgz#503bd33683538b923c578c07d1c2c0dd18672054"
|
||||||
integrity sha512-DZ+bRinnYLPw1yAC64oRl0QyVZj43QeHIhVKfD/+YwSz4wsv1pfwb5SOFjz+r710YEWzU6LrhuSjpSO+6PeE4A==
|
integrity sha512-DZ+bRinnYLPw1yAC64oRl0QyVZj43QeHIhVKfD/+YwSz4wsv1pfwb5SOFjz+r710YEWzU6LrhuSjpSO+6PeE4A==
|
||||||
|
|
||||||
|
"@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892"
|
||||||
|
integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==
|
||||||
|
|
||||||
"@ethersproject/logger@>=5.0.0-beta.129", "@ethersproject/logger@^5.0.5":
|
"@ethersproject/logger@>=5.0.0-beta.129", "@ethersproject/logger@^5.0.5":
|
||||||
version "5.0.5"
|
version "5.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.0.5.tgz#e3ba3d0bcf9f5be4da5f043b1e328eb98b80002f"
|
resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.0.5.tgz#e3ba3d0bcf9f5be4da5f043b1e328eb98b80002f"
|
||||||
@ -283,6 +452,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.7.0":
|
||||||
|
version "5.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6"
|
||||||
|
integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/pbkdf2@5.4.0", "@ethersproject/pbkdf2@^5.4.0":
|
"@ethersproject/pbkdf2@5.4.0", "@ethersproject/pbkdf2@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.4.0.tgz#ed88782a67fda1594c22d60d0ca911a9d669641c"
|
resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.4.0.tgz#ed88782a67fda1594c22d60d0ca911a9d669641c"
|
||||||
@ -291,6 +467,14 @@
|
|||||||
"@ethersproject/bytes" "^5.4.0"
|
"@ethersproject/bytes" "^5.4.0"
|
||||||
"@ethersproject/sha2" "^5.4.0"
|
"@ethersproject/sha2" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102"
|
||||||
|
integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/sha2" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/properties@5.4.1", "@ethersproject/properties@^5.4.0":
|
"@ethersproject/properties@5.4.1", "@ethersproject/properties@^5.4.0":
|
||||||
version "5.4.1"
|
version "5.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.4.1.tgz#9f051f976ce790142c6261ccb7b826eaae1f2f36"
|
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.4.1.tgz#9f051f976ce790142c6261ccb7b826eaae1f2f36"
|
||||||
@ -298,6 +482,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30"
|
||||||
|
integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/properties@>=5.0.0-beta.131", "@ethersproject/properties@^5.0.3":
|
"@ethersproject/properties@>=5.0.0-beta.131", "@ethersproject/properties@^5.0.3":
|
||||||
version "5.0.3"
|
version "5.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.0.3.tgz#991aef39a5f87d4645cee76cec4df868bfb08be6"
|
resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.0.3.tgz#991aef39a5f87d4645cee76cec4df868bfb08be6"
|
||||||
@ -330,6 +521,32 @@
|
|||||||
bech32 "1.1.4"
|
bech32 "1.1.4"
|
||||||
ws "7.4.6"
|
ws "7.4.6"
|
||||||
|
|
||||||
|
"@ethersproject/providers@5.7.2":
|
||||||
|
version "5.7.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb"
|
||||||
|
integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abstract-provider" "^5.7.0"
|
||||||
|
"@ethersproject/abstract-signer" "^5.7.0"
|
||||||
|
"@ethersproject/address" "^5.7.0"
|
||||||
|
"@ethersproject/base64" "^5.7.0"
|
||||||
|
"@ethersproject/basex" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/constants" "^5.7.0"
|
||||||
|
"@ethersproject/hash" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/networks" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/random" "^5.7.0"
|
||||||
|
"@ethersproject/rlp" "^5.7.0"
|
||||||
|
"@ethersproject/sha2" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
"@ethersproject/transactions" "^5.7.0"
|
||||||
|
"@ethersproject/web" "^5.7.0"
|
||||||
|
bech32 "1.1.4"
|
||||||
|
ws "7.4.6"
|
||||||
|
|
||||||
"@ethersproject/random@5.4.0", "@ethersproject/random@^5.4.0":
|
"@ethersproject/random@5.4.0", "@ethersproject/random@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.4.0.tgz#9cdde60e160d024be39cc16f8de3b9ce39191e16"
|
resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.4.0.tgz#9cdde60e160d024be39cc16f8de3b9ce39191e16"
|
||||||
@ -338,6 +555,14 @@
|
|||||||
"@ethersproject/bytes" "^5.4.0"
|
"@ethersproject/bytes" "^5.4.0"
|
||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c"
|
||||||
|
integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/rlp@5.4.0", "@ethersproject/rlp@^5.4.0":
|
"@ethersproject/rlp@5.4.0", "@ethersproject/rlp@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.4.0.tgz#de61afda5ff979454e76d3b3310a6c32ad060931"
|
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.4.0.tgz#de61afda5ff979454e76d3b3310a6c32ad060931"
|
||||||
@ -346,6 +571,14 @@
|
|||||||
"@ethersproject/bytes" "^5.4.0"
|
"@ethersproject/bytes" "^5.4.0"
|
||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304"
|
||||||
|
integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/rlp@^5.0.3":
|
"@ethersproject/rlp@^5.0.3":
|
||||||
version "5.0.3"
|
version "5.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.0.3.tgz#841a5edfdf725f92155fe74424f5510c9043c13a"
|
resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.0.3.tgz#841a5edfdf725f92155fe74424f5510c9043c13a"
|
||||||
@ -363,6 +596,15 @@
|
|||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
hash.js "1.1.7"
|
hash.js "1.1.7"
|
||||||
|
|
||||||
|
"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb"
|
||||||
|
integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
hash.js "1.1.7"
|
||||||
|
|
||||||
"@ethersproject/signing-key@5.4.0", "@ethersproject/signing-key@^5.4.0":
|
"@ethersproject/signing-key@5.4.0", "@ethersproject/signing-key@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.4.0.tgz#2f05120984e81cf89a3d5f6dec5c68ee0894fbec"
|
resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.4.0.tgz#2f05120984e81cf89a3d5f6dec5c68ee0894fbec"
|
||||||
@ -375,6 +617,18 @@
|
|||||||
elliptic "6.5.4"
|
elliptic "6.5.4"
|
||||||
hash.js "1.1.7"
|
hash.js "1.1.7"
|
||||||
|
|
||||||
|
"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3"
|
||||||
|
integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
bn.js "^5.2.1"
|
||||||
|
elliptic "6.5.4"
|
||||||
|
hash.js "1.1.7"
|
||||||
|
|
||||||
"@ethersproject/signing-key@^5.0.4":
|
"@ethersproject/signing-key@^5.0.4":
|
||||||
version "5.0.4"
|
version "5.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.0.4.tgz#a5334ce8a52d4e9736dc8fb6ecc384704ecf8783"
|
resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.0.4.tgz#a5334ce8a52d4e9736dc8fb6ecc384704ecf8783"
|
||||||
@ -396,6 +650,18 @@
|
|||||||
"@ethersproject/sha2" "^5.4.0"
|
"@ethersproject/sha2" "^5.4.0"
|
||||||
"@ethersproject/strings" "^5.4.0"
|
"@ethersproject/strings" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/solidity@5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8"
|
||||||
|
integrity sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/keccak256" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/sha2" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/strings@5.4.0", "@ethersproject/strings@^5.4.0":
|
"@ethersproject/strings@5.4.0", "@ethersproject/strings@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.4.0.tgz#fb12270132dd84b02906a8d895ae7e7fa3d07d9a"
|
resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.4.0.tgz#fb12270132dd84b02906a8d895ae7e7fa3d07d9a"
|
||||||
@ -405,6 +671,15 @@
|
|||||||
"@ethersproject/constants" "^5.4.0"
|
"@ethersproject/constants" "^5.4.0"
|
||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2"
|
||||||
|
integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/constants" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/strings@>=5.0.0-beta.130", "@ethersproject/strings@^5.0.4":
|
"@ethersproject/strings@>=5.0.0-beta.130", "@ethersproject/strings@^5.0.4":
|
||||||
version "5.0.4"
|
version "5.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.0.4.tgz#67cda604eee3ffcc004cb9f3bd03516e1c7b09a0"
|
resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.0.4.tgz#67cda604eee3ffcc004cb9f3bd03516e1c7b09a0"
|
||||||
@ -429,6 +704,21 @@
|
|||||||
"@ethersproject/rlp" "^5.4.0"
|
"@ethersproject/rlp" "^5.4.0"
|
||||||
"@ethersproject/signing-key" "^5.4.0"
|
"@ethersproject/signing-key" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b"
|
||||||
|
integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/address" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/constants" "^5.7.0"
|
||||||
|
"@ethersproject/keccak256" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/rlp" "^5.7.0"
|
||||||
|
"@ethersproject/signing-key" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/transactions@^5.0.0-beta.135":
|
"@ethersproject/transactions@^5.0.0-beta.135":
|
||||||
version "5.0.5"
|
version "5.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.0.5.tgz#9a966f9ef4817b1752265d4efee0f1e9fd6aeaad"
|
resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.0.5.tgz#9a966f9ef4817b1752265d4efee0f1e9fd6aeaad"
|
||||||
@ -453,6 +743,15 @@
|
|||||||
"@ethersproject/constants" "^5.4.0"
|
"@ethersproject/constants" "^5.4.0"
|
||||||
"@ethersproject/logger" "^5.4.0"
|
"@ethersproject/logger" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/units@5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1"
|
||||||
|
integrity sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/constants" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/wallet@5.4.0":
|
"@ethersproject/wallet@5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.4.0.tgz#fa5b59830b42e9be56eadd45a16a2e0933ad9353"
|
resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.4.0.tgz#fa5b59830b42e9be56eadd45a16a2e0933ad9353"
|
||||||
@ -474,6 +773,27 @@
|
|||||||
"@ethersproject/transactions" "^5.4.0"
|
"@ethersproject/transactions" "^5.4.0"
|
||||||
"@ethersproject/wordlists" "^5.4.0"
|
"@ethersproject/wordlists" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/wallet@5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d"
|
||||||
|
integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abstract-provider" "^5.7.0"
|
||||||
|
"@ethersproject/abstract-signer" "^5.7.0"
|
||||||
|
"@ethersproject/address" "^5.7.0"
|
||||||
|
"@ethersproject/bignumber" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/hash" "^5.7.0"
|
||||||
|
"@ethersproject/hdnode" "^5.7.0"
|
||||||
|
"@ethersproject/json-wallets" "^5.7.0"
|
||||||
|
"@ethersproject/keccak256" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/random" "^5.7.0"
|
||||||
|
"@ethersproject/signing-key" "^5.7.0"
|
||||||
|
"@ethersproject/transactions" "^5.7.0"
|
||||||
|
"@ethersproject/wordlists" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/web@5.4.0", "@ethersproject/web@^5.4.0":
|
"@ethersproject/web@5.4.0", "@ethersproject/web@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.4.0.tgz#49fac173b96992334ed36a175538ba07a7413d1f"
|
resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.4.0.tgz#49fac173b96992334ed36a175538ba07a7413d1f"
|
||||||
@ -485,6 +805,17 @@
|
|||||||
"@ethersproject/properties" "^5.4.0"
|
"@ethersproject/properties" "^5.4.0"
|
||||||
"@ethersproject/strings" "^5.4.0"
|
"@ethersproject/strings" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/web@5.7.1", "@ethersproject/web@^5.7.0":
|
||||||
|
version "5.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae"
|
||||||
|
integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/base64" "^5.7.0"
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
|
||||||
"@ethersproject/wordlists@5.4.0", "@ethersproject/wordlists@^5.4.0":
|
"@ethersproject/wordlists@5.4.0", "@ethersproject/wordlists@^5.4.0":
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.4.0.tgz#f34205ec3bbc9e2c49cadaee774cf0b07e7573d7"
|
resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.4.0.tgz#f34205ec3bbc9e2c49cadaee774cf0b07e7573d7"
|
||||||
@ -496,6 +827,17 @@
|
|||||||
"@ethersproject/properties" "^5.4.0"
|
"@ethersproject/properties" "^5.4.0"
|
||||||
"@ethersproject/strings" "^5.4.0"
|
"@ethersproject/strings" "^5.4.0"
|
||||||
|
|
||||||
|
"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0":
|
||||||
|
version "5.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5"
|
||||||
|
integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/bytes" "^5.7.0"
|
||||||
|
"@ethersproject/hash" "^5.7.0"
|
||||||
|
"@ethersproject/logger" "^5.7.0"
|
||||||
|
"@ethersproject/properties" "^5.7.0"
|
||||||
|
"@ethersproject/strings" "^5.7.0"
|
||||||
|
|
||||||
"@iden3/bigarray@0.0.2":
|
"@iden3/bigarray@0.0.2":
|
||||||
version "0.0.2"
|
version "0.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/@iden3/bigarray/-/bigarray-0.0.2.tgz#6fc4ba5be18daf8a26ee393f2fb62b80d98c05e9"
|
resolved "https://registry.yarnpkg.com/@iden3/bigarray/-/bigarray-0.0.2.tgz#6fc4ba5be18daf8a26ee393f2fb62b80d98c05e9"
|
||||||
@ -547,6 +889,54 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
defer-to-connect "^1.0.1"
|
defer-to-connect "^1.0.1"
|
||||||
|
|
||||||
|
"@tornado/circomlib@^0.0.21":
|
||||||
|
version "0.0.21"
|
||||||
|
resolved "https://git.tornado.ws/api/packages/tornado-packages/npm/%40tornado%2Fcircomlib/-/0.0.21/circomlib-0.0.21.tgz#0f49e8dfe6d98ed19c31e9a81f7ecaa3c226c26a"
|
||||||
|
integrity sha512-gfyJqxscC0jYxKO31VkDGwczJ75a1MLUOqd7fc4+bhMNhaG8fDA9FK5Qpr9FifMuy2cd18L0p3xGNzu2HFqhrg==
|
||||||
|
dependencies:
|
||||||
|
"@tornado/snarkjs" "0.1.20-p2"
|
||||||
|
blake-hash "^1.1.0"
|
||||||
|
blake2b "^2.1.3"
|
||||||
|
typedarray-to-buffer "^3.1.5"
|
||||||
|
web3 "^1.2.11"
|
||||||
|
|
||||||
|
"@tornado/gas-price-oracle@^0.5.3":
|
||||||
|
version "0.5.3"
|
||||||
|
resolved "https://git.tornado.ws/api/packages/tornado-packages/npm/%40tornado%2Fgas-price-oracle/-/0.5.3/gas-price-oracle-0.5.3.tgz#fb5423dddee2f52edbc16174c5ddce90bea5413d"
|
||||||
|
integrity sha512-LpVfPiPIz3FOmJdiqJf/yoeO5n9/Pd5jgtdY+6hB9lNW0AiWhylhpScojICViS+3OL9QC8CoTlgr+kbfGeO9pQ==
|
||||||
|
dependencies:
|
||||||
|
axios "^0.21.2"
|
||||||
|
bignumber.js "^9.0.0"
|
||||||
|
node-cache "^5.1.2"
|
||||||
|
|
||||||
|
"@tornado/snarkjs@0.1.20-p2":
|
||||||
|
version "0.1.20-p2"
|
||||||
|
resolved "https://git.tornado.ws/api/packages/tornado-packages/npm/%40tornado%2Fsnarkjs/-/0.1.20-p2/snarkjs-0.1.20-p2.tgz#e25a1d4ca8305887202d02cb38077795108f1ec3"
|
||||||
|
integrity sha512-3E+tmJXtYj7GE8DZ13IBTgqkgplembU/qxYczIOxyxxEYBRAubccr9hFMrAjCaYBh/Rq94lDd5G4SE/l08IrNA==
|
||||||
|
dependencies:
|
||||||
|
big-integer "^1.6.43"
|
||||||
|
chai "^4.2.0"
|
||||||
|
escape-string-regexp "^1.0.5"
|
||||||
|
eslint "^5.16.0"
|
||||||
|
keccak "^2.0.0"
|
||||||
|
yargs "^12.0.5"
|
||||||
|
|
||||||
|
"@tornado/tornado-config@^2.0.0":
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://git.tornado.ws/api/packages/tornado-packages/npm/%40tornado%2Ftornado-config/-/2.0.0/tornado-config-2.0.0.tgz#52bbc179ecb2385f71b4d56e060b68e7dd6fb8b4"
|
||||||
|
integrity sha512-7EkpWNfEm34VEOrbLnPpvd/aUJYnA1L+6/qx2fZ/AfmuJFkjSZ18Z4jvVGNY7ktKIhTu3/Tbze+9l3eNueCNIA==
|
||||||
|
|
||||||
|
"@tornado/tornado-oracles@1.2.2":
|
||||||
|
version "1.2.2"
|
||||||
|
resolved "https://git.tornado.ws/api/packages/tornado-packages/npm/%40tornado%2Ftornado-oracles/-/1.2.2/tornado-oracles-1.2.2.tgz#454be0f34b27aa659b2d590dfbcd721246545a16"
|
||||||
|
integrity sha512-JJoUAkQLV7bVrU2YMFt9d+TB5BovrvQubg8n0V0ZGcTDv/bz2H3EWwStz6Tvl+wUAnPuNnEeS934vkOvgFtEew==
|
||||||
|
dependencies:
|
||||||
|
"@tornado/gas-price-oracle" "^0.5.3"
|
||||||
|
"@tornado/tornado-config" "^2.0.0"
|
||||||
|
"@types/node" "^20.5.1"
|
||||||
|
bignumber.js "^9.1.1"
|
||||||
|
ethers "5.7"
|
||||||
|
|
||||||
"@types/bn.js@^4.11.3", "@types/bn.js@^4.11.5":
|
"@types/bn.js@^4.11.3", "@types/bn.js@^4.11.5":
|
||||||
version "4.11.6"
|
version "4.11.6"
|
||||||
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c"
|
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c"
|
||||||
@ -569,6 +959,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.62.tgz#733923d73669188d35950253dd18a21570085d2b"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.62.tgz#733923d73669188d35950253dd18a21570085d2b"
|
||||||
integrity sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==
|
integrity sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==
|
||||||
|
|
||||||
|
"@types/node@^20.5.1":
|
||||||
|
version "20.5.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.3.tgz#fa52c147f405d56b2f1dd8780d840aa87ddff629"
|
||||||
|
integrity sha512-ITI7rbWczR8a/S6qjAW7DMqxqFMjjTo61qZVWJ1ubPvbIQsL5D/TvwjYEalM8Kthpe3hTzOGrF2TGbAu2uyqeA==
|
||||||
|
|
||||||
"@types/pbkdf2@^3.0.0":
|
"@types/pbkdf2@^3.0.0":
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/pbkdf2/-/pbkdf2-3.1.0.tgz#039a0e9b67da0cdc4ee5dab865caa6b267bb66b1"
|
resolved "https://registry.yarnpkg.com/@types/pbkdf2/-/pbkdf2-3.1.0.tgz#039a0e9b67da0cdc4ee5dab865caa6b267bb66b1"
|
||||||
@ -614,7 +1009,7 @@ acorn@^7.1.1:
|
|||||||
aes-js@3.0.0:
|
aes-js@3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d"
|
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d"
|
||||||
integrity sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=
|
integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==
|
||||||
|
|
||||||
ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.5, ajv@^6.9.1:
|
ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.5, ajv@^6.9.1:
|
||||||
version "6.12.5"
|
version "6.12.5"
|
||||||
@ -830,10 +1225,10 @@ big-integer@^1.6.42, big-integer@^1.6.43, big-integer@^1.6.48:
|
|||||||
resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.48.tgz#8fd88bd1632cba4a1c8c3e3d7159f08bb95b4b9e"
|
resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.48.tgz#8fd88bd1632cba4a1c8c3e3d7159f08bb95b4b9e"
|
||||||
integrity sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w==
|
integrity sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w==
|
||||||
|
|
||||||
bignumber.js@^9.0.0:
|
bignumber.js@^9.0.0, bignumber.js@^9.1.1:
|
||||||
version "9.0.0"
|
version "9.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.0.tgz#805880f84a329b5eac6e7cb6f8274b6d82bdf075"
|
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6"
|
||||||
integrity sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==
|
integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==
|
||||||
|
|
||||||
binary-extensions@^2.0.0:
|
binary-extensions@^2.0.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
@ -892,11 +1287,16 @@ bn.js@4.11.6:
|
|||||||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215"
|
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215"
|
||||||
integrity sha1-UzRK2xRhehP26N0s4okF0cC6MhU=
|
integrity sha1-UzRK2xRhehP26N0s4okF0cC6MhU=
|
||||||
|
|
||||||
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.10.0, bn.js@^4.11.0, bn.js@^4.11.1, bn.js@^4.11.6, bn.js@^4.11.9, bn.js@^4.4.0, bn.js@^4.8.0:
|
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.10.0, bn.js@^4.11.0, bn.js@^4.11.1, bn.js@^4.11.6, bn.js@^4.4.0, bn.js@^4.8.0:
|
||||||
version "4.11.9"
|
version "4.11.9"
|
||||||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828"
|
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828"
|
||||||
integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==
|
integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==
|
||||||
|
|
||||||
|
bn.js@^4.11.9:
|
||||||
|
version "4.12.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
|
||||||
|
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
|
||||||
|
|
||||||
bn.js@^5.1.1:
|
bn.js@^5.1.1:
|
||||||
version "5.1.3"
|
version "5.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.3.tgz#beca005408f642ebebea80b042b4d18d2ac0ee6b"
|
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.3.tgz#beca005408f642ebebea80b042b4d18d2ac0ee6b"
|
||||||
@ -907,6 +1307,11 @@ bn.js@^5.1.2:
|
|||||||
resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002"
|
resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002"
|
||||||
integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==
|
integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==
|
||||||
|
|
||||||
|
bn.js@^5.2.1:
|
||||||
|
version "5.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70"
|
||||||
|
integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==
|
||||||
|
|
||||||
body-parser@1.19.0, body-parser@^1.16.0:
|
body-parser@1.19.0, body-parser@^1.16.0:
|
||||||
version "1.19.0"
|
version "1.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
|
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
|
||||||
@ -1372,6 +1777,11 @@ clone-response@^1.0.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
mimic-response "^1.0.0"
|
mimic-response "^1.0.0"
|
||||||
|
|
||||||
|
clone@2.x:
|
||||||
|
version "2.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
|
||||||
|
integrity sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==
|
||||||
|
|
||||||
cluster-key-slot@^1.1.0:
|
cluster-key-slot@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz#30474b2a981fb12172695833052bc0d01336d10d"
|
resolved "https://registry.yarnpkg.com/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz#30474b2a981fb12172695833052bc0d01336d10d"
|
||||||
@ -2228,6 +2638,42 @@ ethereumjs-util@^7.0.3:
|
|||||||
ethjs-util "0.1.6"
|
ethjs-util "0.1.6"
|
||||||
rlp "^2.2.4"
|
rlp "^2.2.4"
|
||||||
|
|
||||||
|
ethers@5.7:
|
||||||
|
version "5.7.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e"
|
||||||
|
integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==
|
||||||
|
dependencies:
|
||||||
|
"@ethersproject/abi" "5.7.0"
|
||||||
|
"@ethersproject/abstract-provider" "5.7.0"
|
||||||
|
"@ethersproject/abstract-signer" "5.7.0"
|
||||||
|
"@ethersproject/address" "5.7.0"
|
||||||
|
"@ethersproject/base64" "5.7.0"
|
||||||
|
"@ethersproject/basex" "5.7.0"
|
||||||
|
"@ethersproject/bignumber" "5.7.0"
|
||||||
|
"@ethersproject/bytes" "5.7.0"
|
||||||
|
"@ethersproject/constants" "5.7.0"
|
||||||
|
"@ethersproject/contracts" "5.7.0"
|
||||||
|
"@ethersproject/hash" "5.7.0"
|
||||||
|
"@ethersproject/hdnode" "5.7.0"
|
||||||
|
"@ethersproject/json-wallets" "5.7.0"
|
||||||
|
"@ethersproject/keccak256" "5.7.0"
|
||||||
|
"@ethersproject/logger" "5.7.0"
|
||||||
|
"@ethersproject/networks" "5.7.1"
|
||||||
|
"@ethersproject/pbkdf2" "5.7.0"
|
||||||
|
"@ethersproject/properties" "5.7.0"
|
||||||
|
"@ethersproject/providers" "5.7.2"
|
||||||
|
"@ethersproject/random" "5.7.0"
|
||||||
|
"@ethersproject/rlp" "5.7.0"
|
||||||
|
"@ethersproject/sha2" "5.7.0"
|
||||||
|
"@ethersproject/signing-key" "5.7.0"
|
||||||
|
"@ethersproject/solidity" "5.7.0"
|
||||||
|
"@ethersproject/strings" "5.7.0"
|
||||||
|
"@ethersproject/transactions" "5.7.0"
|
||||||
|
"@ethersproject/units" "5.7.0"
|
||||||
|
"@ethersproject/wallet" "5.7.0"
|
||||||
|
"@ethersproject/web" "5.7.1"
|
||||||
|
"@ethersproject/wordlists" "5.7.0"
|
||||||
|
|
||||||
ethers@^5.4.6:
|
ethers@^5.4.6:
|
||||||
version "5.4.6"
|
version "5.4.6"
|
||||||
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.4.6.tgz#fe0a023956b5502c947f58e82fbcf9a73e5e75b6"
|
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.4.6.tgz#fe0a023956b5502c947f58e82fbcf9a73e5e75b6"
|
||||||
@ -2605,9 +3051,9 @@ fnv-plus@^1.3.1:
|
|||||||
integrity sha512-Gz1EvfOneuFfk4yG458dJ3TLJ7gV19q3OM/vVvvHf7eT02Hm1DleB4edsia6ahbKgAYxO9gvyQ1ioWZR+a00Yw==
|
integrity sha512-Gz1EvfOneuFfk4yG458dJ3TLJ7gV19q3OM/vVvvHf7eT02Hm1DleB4edsia6ahbKgAYxO9gvyQ1ioWZR+a00Yw==
|
||||||
|
|
||||||
follow-redirects@^1.14.0:
|
follow-redirects@^1.14.0:
|
||||||
version "1.15.0"
|
version "1.15.2"
|
||||||
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4"
|
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
|
||||||
integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==
|
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
|
||||||
|
|
||||||
forever-agent@~0.6.1:
|
forever-agent@~0.6.1:
|
||||||
version "0.6.1"
|
version "0.6.1"
|
||||||
@ -3264,7 +3710,7 @@ js-sha3@0.5.7, js-sha3@^0.5.7:
|
|||||||
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7"
|
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7"
|
||||||
integrity sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=
|
integrity sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=
|
||||||
|
|
||||||
js-sha3@^0.8.0:
|
js-sha3@0.8.0, js-sha3@^0.8.0:
|
||||||
version "0.8.0"
|
version "0.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"
|
resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"
|
||||||
integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==
|
integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==
|
||||||
@ -3777,6 +4223,13 @@ node-addon-api@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32"
|
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32"
|
||||||
integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==
|
integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==
|
||||||
|
|
||||||
|
node-cache@^5.1.2:
|
||||||
|
version "5.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/node-cache/-/node-cache-5.1.2.tgz#f264dc2ccad0a780e76253a694e9fd0ed19c398d"
|
||||||
|
integrity sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==
|
||||||
|
dependencies:
|
||||||
|
clone "2.x"
|
||||||
|
|
||||||
node-fetch@^2.6.7:
|
node-fetch@^2.6.7:
|
||||||
version "2.6.7"
|
version "2.6.7"
|
||||||
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
|
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
|
||||||
|
Loading…
Reference in New Issue
Block a user