diff --git a/package.json b/package.json index 4f8ce3ffe8..93d90a3744 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@types/uuid": "^8.3.4", "@uniswap/sdk": "3.0.2", "@uniswap/sdk-core": "^3.0.0", - "@uniswap/smart-order-router": "^2.5.26", + "@uniswap/smart-order-router": "^3.28.7", "@uniswap/v3-core": "^1.0.0", "@uniswap/v3-periphery": "^1.1.1", "@uniswap/v3-sdk": "^3.7.0", diff --git a/src/chains/binance-smart-chain/binance-smart-chain.ts b/src/chains/binance-smart-chain/binance-smart-chain.ts index 2cbe94c2c1..85981bb7b8 100644 --- a/src/chains/binance-smart-chain/binance-smart-chain.ts +++ b/src/chains/binance-smart-chain/binance-smart-chain.ts @@ -10,6 +10,7 @@ import { SushiswapConfig } from '../../connectors/sushiswap/sushiswap.config'; import { ConfigManagerV2 } from '../../services/config-manager-v2'; import { OpenoceanConfig } from '../../connectors/openocean/openocean.config'; import { EVMController } from '../ethereum/evm.controllers'; +import {UniswapConfig} from "../../connectors/uniswap/uniswap.config"; export class BinanceSmartChain extends EthereumBase implements Ethereumish { private static _instances: { [name: string]: BinanceSmartChain }; @@ -113,6 +114,13 @@ export class BinanceSmartChain extends EthereumBase implements Ethereumish { 'binance-smart-chain', this._chain ); + } else if (reqSpender === 'uniswap') { + spender = UniswapConfig.config.uniswapV3SmartOrderRouterAddress( + 'binance-smart-chain', + this._chain + ); + } else if (reqSpender === 'uniswapLP') { + spender = UniswapConfig.config.uniswapV3NftManagerAddress('binance-smart-chain', this._chain); } else { spender = reqSpender; } diff --git a/src/chains/ethereum/ethereum.ts b/src/chains/ethereum/ethereum.ts index 6375c53e3f..ca4b1ab5c7 100644 --- a/src/chains/ethereum/ethereum.ts +++ b/src/chains/ethereum/ethereum.ts @@ -182,6 +182,7 @@ export class Ethereum extends EthereumBase implements Ethereumish { let spender: string; if (reqSpender === 'uniswap') { spender = UniswapConfig.config.uniswapV3SmartOrderRouterAddress( + this.chainName, this._chain, ); } else if (reqSpender === 'pancakeswap') { @@ -196,7 +197,9 @@ export class Ethereum extends EthereumBase implements Ethereumish { this._chain, ); } else if (reqSpender === 'uniswapLP') { - spender = UniswapConfig.config.uniswapV3NftManagerAddress(this._chain); + spender = UniswapConfig.config.uniswapV3NftManagerAddress( + this.chainName, + this._chain); } else if (reqSpender === 'carbonamm') { spender = CarbonConfig.config.carbonContractsConfig( 'ethereum', diff --git a/src/chains/polygon/polygon.ts b/src/chains/polygon/polygon.ts index 8439824d72..f85117ea70 100644 --- a/src/chains/polygon/polygon.ts +++ b/src/chains/polygon/polygon.ts @@ -75,10 +75,11 @@ export class Polygon extends EthereumBase implements Ethereumish { let spender: string; if (reqSpender === 'uniswap') { spender = UniswapConfig.config.uniswapV3SmartOrderRouterAddress( + 'polygon', this._chain ); } else if (reqSpender === 'uniswapLP') { - spender = UniswapConfig.config.uniswapV3NftManagerAddress(this._chain); + spender = UniswapConfig.config.uniswapV3NftManagerAddress('polygon', this._chain); } else if (reqSpender === 'quickswap') { spender = QuickswapConfig.config.routerAddress(this._chain); } else if (reqSpender === 'sushiswap') { diff --git a/src/connectors/uniswap/uniswap.config.ts b/src/connectors/uniswap/uniswap.config.ts index b098972037..ef3239c862 100644 --- a/src/connectors/uniswap/uniswap.config.ts +++ b/src/connectors/uniswap/uniswap.config.ts @@ -6,15 +6,15 @@ export namespace UniswapConfig { gasLimitEstimate: number; ttl: number; maximumHops: number; - uniswapV3SmartOrderRouterAddress: (network: string) => string; - uniswapV3NftManagerAddress: (network: string) => string; - uniswapV3FactoryAddress: (network: string) => string; + uniswapV3SmartOrderRouterAddress: (chain: string, network: string) => string; + uniswapV3NftManagerAddress: (chain: string, network: string) => string; + uniswapV3FactoryAddress: (chain: string, network: string) => string; tradingTypes: (type: string) => Array; chainType: string; availableNetworks: Array; useRouter?: boolean; feeTier?: string; - quoterContractAddress: (network: string) => string; + quoterContractAddress: (chain: string, network: string) => string; } export const config: NetworkConfig = { @@ -26,17 +26,37 @@ export namespace UniswapConfig { ), ttl: ConfigManagerV2.getInstance().get(`uniswap.ttl`), maximumHops: ConfigManagerV2.getInstance().get(`uniswap.maximumHops`), - uniswapV3SmartOrderRouterAddress: (network: string) => + uniswapV3SmartOrderRouterAddress: (chain: string, network: string) => ConfigManagerV2.getInstance().get( - `uniswap.contractAddresses.${network}.uniswapV3SmartOrderRouterAddress` + 'uniswap.contractAddresses.' + + chain + + '.' + + network + + '.uniswapV3SmartOrderRouterAddress' ), - uniswapV3NftManagerAddress: (network: string) => + uniswapV3NftManagerAddress: (chain: string, network: string) => ConfigManagerV2.getInstance().get( - `uniswap.contractAddresses.${network}.uniswapV3NftManagerAddress` + 'uniswap.contractAddresses.' + + chain + + '.' + + network + + '.uniswapV3NftManagerAddress' ), - uniswapV3FactoryAddress: (network: string) => + uniswapV3FactoryAddress: (chain: string, network: string) => ConfigManagerV2.getInstance().get( - `uniswap.contractAddresses.${network}.uniswapV3FactoryAddress` + 'uniswap.contractAddresses.' + + chain + + '.' + + network + + '.uniswapV3FactoryAddress' + ), + quoterContractAddress: (chain: string, network: string) => + ConfigManagerV2.getInstance().get( + 'uniswap.contractAddresses.' + + chain + + '.' + + network + + '.uniswapV3QuoterV2ContractAddress' ), tradingTypes: (type: string) => { return type === 'swap' ? ['AMM'] : ['AMM_LP']; @@ -45,30 +65,16 @@ export namespace UniswapConfig { availableNetworks: [ { chain: 'ethereum', - networks: Object.keys( - ConfigManagerV2.getInstance().get('uniswap.contractAddresses') - ).filter((network) => - Object.keys( - ConfigManagerV2.getInstance().get('ethereum.networks') - ).includes(network) - ), + networks: ['mainnet', 'goerli', 'arbitrum', 'optimism'], }, - { - chain: 'polygon', - networks: Object.keys( - ConfigManagerV2.getInstance().get('uniswap.contractAddresses') - ).filter((network) => - Object.keys( - ConfigManagerV2.getInstance().get('polygon.networks') - ).includes(network) - ), + { chain: 'polygon', + networks: ['mainnet', 'mumbai'] + }, + { chain: 'binance-smart-chain', + networks: ['mainnet'] }, ], useRouter: ConfigManagerV2.getInstance().get(`uniswap.useRouter`), feeTier: ConfigManagerV2.getInstance().get(`uniswap.feeTier`), - quoterContractAddress: (network: string) => - ConfigManagerV2.getInstance().get( - `uniswap.contractAddresses.${network}.uniswapV3QuoterV2ContractAddress` - ), }; } diff --git a/src/connectors/uniswap/uniswap.lp.helper.ts b/src/connectors/uniswap/uniswap.lp.helper.ts index b59dd78b0f..73e0ae7b2b 100644 --- a/src/connectors/uniswap/uniswap.lp.helper.ts +++ b/src/connectors/uniswap/uniswap.lp.helper.ts @@ -44,8 +44,8 @@ export class UniswapLPHelper { provider: this.ethereum.provider, }); this._router = - UniswapConfig.config.uniswapV3SmartOrderRouterAddress(network); - this._nftManager = UniswapConfig.config.uniswapV3NftManagerAddress(network); + UniswapConfig.config.uniswapV3SmartOrderRouterAddress(chain, network); + this._nftManager = UniswapConfig.config.uniswapV3NftManagerAddress(chain, network); this._ttl = UniswapConfig.config.ttl; this._routerAbi = require('@uniswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json').abi; diff --git a/src/connectors/uniswap/uniswap.ts b/src/connectors/uniswap/uniswap.ts index eb1b99b90f..2fc9831dc4 100644 --- a/src/connectors/uniswap/uniswap.ts +++ b/src/connectors/uniswap/uniswap.ts @@ -14,7 +14,7 @@ import { Pool, SwapQuoter, Trade as UniswapV3Trade, - Route + Route, } from '@uniswap/v3-sdk'; import { abi as IUniswapV3PoolABI } from '@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol/IUniswapV3Pool.json'; import { abi as IUniswapV3FactoryABI } from '@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Factory.sol/IUniswapV3Factory.json'; @@ -37,15 +37,17 @@ import { logger } from '../../services/logger'; import { percentRegexp } from '../../services/config-manager-v2'; import { Ethereum } from '../../chains/ethereum/ethereum'; import { Polygon } from '../../chains/polygon/polygon'; +import { BinanceSmartChain } from "../../chains/binance-smart-chain/binance-smart-chain"; import { ExpectedTrade, Uniswapish } from '../../services/common-interfaces'; import { getAddress } from 'ethers/lib/utils'; export class Uniswap implements Uniswapish { private static _instances: { [name: string]: Uniswap }; - private chain: Ethereum | Polygon; + private chain: Ethereum | Polygon | BinanceSmartChain; private _alphaRouter: AlphaRouter | null; private _router: string; private _routerAbi: ContractInterface; + private _v3Factory: string; private _gasLimitEstimate: number; private _ttl: number; private _maximumHops: number; @@ -55,14 +57,15 @@ export class Uniswap implements Uniswapish { private readonly _useRouter: boolean; private readonly _feeTier: FeeAmount; private readonly _quoterContractAddress: string; - private readonly _factoryAddress: string; private constructor(chain: string, network: string) { const config = UniswapConfig.config; if (chain === 'ethereum') { this.chain = Ethereum.getInstance(network); - } else { + } else if (chain === 'polygon') { this.chain = Polygon.getInstance(network); + } else { + this.chain = BinanceSmartChain.getInstance(network); } this.chainId = this.chain.chainId; this._ttl = UniswapConfig.config.ttl; @@ -77,7 +80,8 @@ export class Uniswap implements Uniswapish { } this._routerAbi = routerAbi.abi; this._gasLimitEstimate = UniswapConfig.config.gasLimitEstimate; - this._router = config.uniswapV3SmartOrderRouterAddress(network); + this._router = config.uniswapV3SmartOrderRouterAddress(chain, network); + this._v3Factory = config.uniswapV3FactoryAddress(chain, network); if (config.useRouter === false && config.feeTier == null) { throw new Error('Must specify fee tier if not using router'); @@ -91,8 +95,7 @@ export class Uniswap implements Uniswapish { this._feeTier = config.feeTier ? FeeAmount[config.feeTier as keyof typeof FeeAmount] : FeeAmount.MEDIUM; - this._quoterContractAddress = config.quoterContractAddress(network); - this._factoryAddress = config.uniswapV3FactoryAddress(network); + this._quoterContractAddress = config.quoterContractAddress(chain, network); } public static getInstance(chain: string, network: string): Uniswap { @@ -442,7 +445,7 @@ export class Uniswap implements Uniswapish { poolId?: string ): Promise { const uniswapFactory = new Contract( - this._factoryAddress, + this._v3Factory, IUniswapV3FactoryABI, this.chain.provider ); diff --git a/src/services/connection-manager.ts b/src/services/connection-manager.ts index f369abd576..4678657afd 100644 --- a/src/services/connection-manager.ts +++ b/src/services/connection-manager.ts @@ -188,14 +188,14 @@ export async function getConnector( let connectorInstance: ConnectorUnion; if ( - (chain === 'ethereum' || chain === 'polygon') && + (chain === 'ethereum' || chain === 'polygon' || chain === 'binance-smart-chain') && connector === 'uniswap' ) { connectorInstance = Uniswap.getInstance(chain, network); } else if (chain === 'polygon' && connector === 'quickswap') { connectorInstance = Quickswap.getInstance(chain, network); } else if ( - (chain === 'ethereum' || chain === 'polygon') && + (chain === 'ethereum' || chain === 'polygon' || chain === 'binance-smart-chain') && connector === 'uniswapLP' ) { connectorInstance = UniswapLP.getInstance(chain, network); diff --git a/src/services/schema/uniswap-schema.json b/src/services/schema/uniswap-schema.json index 89a9c23ef9..d982b1b7de 100644 --- a/src/services/schema/uniswap-schema.json +++ b/src/services/schema/uniswap-schema.json @@ -13,20 +13,24 @@ "contractAddresses": { "type": "object", "patternProperties": { - "^\\w+$": { + "[\\w-]+$": { "type": "object", - "properties": { - "uniswapV3SmartOrderRouterAddress": { "type": "string" }, - "uniswapV3NftManagerAddress": { "type": "string" }, - "uniswapV3QuoterV2ContractAddress": { "type": "string" }, - "uniswapV3FactoryAddress": { "type": "string" } + "patternProperties": { + "^\\w+$": { + "type": "object", + "properties": { + "uniswapV3SmartOrderRouterAddress": { "type": "string" }, + "uniswapV3NftManagerAddress": { "type": "string" }, + "uniswapV3QuoterV2ContractAddress": { "type": "string" }, + "uniswapV3FactoryAddress": { "type": "string" } + }, + "required": [ + "uniswapV3SmartOrderRouterAddress", + "uniswapV3NftManagerAddress" + ], + "additionalProperties": false + } }, - "required": [ - "uniswapV3SmartOrderRouterAddress", - "uniswapV3NftManagerAddress", - "uniswapV3QuoterV2ContractAddress", - "uniswapV3FactoryAddress" - ], "additionalProperties": false } }, diff --git a/src/templates/uniswap.yml b/src/templates/uniswap.yml index 0d910d0a7b..2245a06ed6 100644 --- a/src/templates/uniswap.yml +++ b/src/templates/uniswap.yml @@ -24,33 +24,51 @@ useRouter: false feeTier: 'MEDIUM' contractAddresses: - mainnet: - uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' - uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' - uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' - uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' - goerli: - uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' - uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' - uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' - uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' - arbitrum: - uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' - uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' - uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' - uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' - optimism: - uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' - uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' - uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' - uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' - base: - uniswapV3SmartOrderRouterAddress: '0x2626664c2603336E57B271c5C0b26F421741e481' - uniswapV3NftManagerAddress: '0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1' - uniswapV3QuoterV2ContractAddress: '0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a' - uniswapV3FactoryAddress: '0x33128a8fC17869897dcE68Ed026d694621f6FDfD' - sepolia: - uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' - uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' - uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' - uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + ethereum: + mainnet: + uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' + uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' + uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' + uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + goerli: + uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' + uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' + uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' + uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + arbitrum: + uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' + uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' + uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' + uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + optimism: + uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' + uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' + uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' + uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + base: + uniswapV3SmartOrderRouterAddress: '0x2626664c2603336E57B271c5C0b26F421741e481' + uniswapV3NftManagerAddress: '0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1' + uniswapV3QuoterV2ContractAddress: '0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a' + uniswapV3FactoryAddress: '0x33128a8fC17869897dcE68Ed026d694621f6FDfD' + sepolia: + uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' + uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' + uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' + uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + polygon: + mainnet: + uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' + uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' + uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' + uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + mumbai: + uniswapV3SmartOrderRouterAddress: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45' + uniswapV3NftManagerAddress: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88' + uniswapV3QuoterV2ContractAddress: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e' + uniswapV3FactoryAddress: '0x1F98431c8aD98523631AE4a59f267346ea31F984' + binance-smart-chain: + mainnet: + uniswapV3SmartOrderRouterAddress: '0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2' + uniswapV3NftManagerAddress: '0x7b8A01B39D58278b5DE7e48c8449c9f4F5170613' + uniswapV3QuoterV2ContractAddress: '0x78D78E420Da98ad378D7799bE8f4AF69033EB077' + uniswapV3FactoryAddress: '0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7' diff --git a/test/connectors/uniswap/bsc.uniswap.lp.routes.test.ts b/test/connectors/uniswap/bsc.uniswap.lp.routes.test.ts new file mode 100644 index 0000000000..94892f403d --- /dev/null +++ b/test/connectors/uniswap/bsc.uniswap.lp.routes.test.ts @@ -0,0 +1,442 @@ +import express from 'express'; +import { Express } from 'express-serve-static-core'; +import request from 'supertest'; +import { UniswapLP } from '../../../src/connectors/uniswap/uniswap.lp'; +import { AmmLiquidityRoutes } from '../../../src/amm/amm.routes'; +import { patch, unpatch } from '../../../test/services/patch'; +import { patchEVMNonceManager } from '../../evm.nonce.mock'; +import {BinanceSmartChain} from "../../../src/chains/binance-smart-chain/binance-smart-chain"; + +let app: Express; +let binanceSmartChain: BinanceSmartChain; +let uniswap: UniswapLP; + +beforeAll(async () => { + app = express(); + app.use(express.json()); + binanceSmartChain = BinanceSmartChain.getInstance('mainnet'); + patchEVMNonceManager(binanceSmartChain.nonceManager); + await binanceSmartChain.init(); + + uniswap = UniswapLP.getInstance('binance-smart-chain', 'mainnet'); + await uniswap.init(); + app.use('/amm/liquidity', AmmLiquidityRoutes.router); +}); + +beforeEach(() => { + patchEVMNonceManager(binanceSmartChain.nonceManager); +}); + +afterEach(() => { + unpatch(); +}); + +afterAll(async () => { + await binanceSmartChain.close(); +}); + +const address: string = '0x242532ebDfcc760f2Ddfe8378eB51f5F847CE5bD'; + +const patchGetWallet = () => { + patch(binanceSmartChain, 'getWallet', () => { + return { + address: address, + }; + }); +}; + +const patchInit = () => { + patch(uniswap, 'init', async () => { + return; + }); +}; + +const patchStoredTokenList = () => { + patch(binanceSmartChain, 'tokenList', () => { + return [ + { + chainId: 56, + name: 'WBNB', + symbol: 'WBNB', + address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', + decimals: 18, + }, + { + chainId: 56, + name: 'DAI', + symbol: 'DAI', + address: '0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3', + decimals: 18, + }, + ]; + }); +}; + +const patchGetTokenBySymbol = () => { + patch(binanceSmartChain, 'getTokenBySymbol', (symbol: string) => { + if (symbol === 'WBNB') { + return { + chainId: 56, + name: 'WBNB', + symbol: 'WBNB', + address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', + decimals: 18, + }; + } else { + return { + chainId: 56, + name: 'DAI', + symbol: 'DAI', + address: '0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3', + decimals: 18, + }; + } + }); +}; + +const patchGetTokenByAddress = () => { + patch(uniswap, 'getTokenByAddress', () => { + return { + chainId: 56, + name: 'WBNB', + symbol: 'WBNB', + address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', + decimals: 18, + }; + }); +}; + +const patchGasPrice = () => { + patch(binanceSmartChain, 'gasPrice', () => 100); +}; + +const patchGetNonce = () => { + patch(binanceSmartChain.nonceManager, 'getNonce', () => 21); +}; + +const patchAddPosition = () => { + patch(uniswap, 'addPosition', () => { + return { nonce: 21, hash: '000000000000000' }; + }); +}; + +const patchRemovePosition = () => { + patch(uniswap, 'reducePosition', () => { + return { nonce: 21, hash: '000000000000000' }; + }); +}; + +const patchCollectFees = () => { + patch(uniswap, 'collectFees', () => { + return { nonce: 21, hash: '000000000000000' }; + }); +}; + +const patchPosition = () => { + patch(uniswap, 'getPosition', () => { + return { + token0: 'DAI', + token1: 'WBNB', + fee: 300, + lowerPrice: '1', + upperPrice: '5', + amount0: '1', + amount1: '1', + unclaimedToken0: '1', + unclaimedToken1: '1', + }; + }); +}; + +describe('POST /liquidity/add', () => { + it('should return 200 when all parameter are OK', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patchGasPrice(); + patchAddPosition(); + patchGetNonce(); + + await request(app) + .post(`/amm/liquidity/add`) + .send({ + address: address, + token0: 'DAI', + token1: 'WBNB', + amount0: '1', + amount1: '1', + fee: 'LOW', + lowerPrice: '1', + upperPrice: '5', + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 500 for unrecognized token0 symbol', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + + await request(app) + .post(`/amm/liquidity/add`) + .send({ + address: address, + token0: 'DOGE', + token1: 'WBNB', + amount0: '1', + amount1: '1', + fee: 'LOW', + lowerPrice: '1', + upperPrice: '5', + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 404 for invalid fee tier', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/liquidity/add`) + .send({ + address: address, + token0: 'DAI', + token1: 'WBNB', + amount0: '1', + amount1: '1', + fee: 300, + lowerPrice: '1', + upperPrice: '5', + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(404); + }); + + it('should return 500 when the helper operation fails', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patch(uniswap, 'addPositionHelper', () => { + return 'error'; + }); + + await request(app) + .post(`/amm/liquidity/add`) + .send({ + address: address, + token0: 'DAI', + token1: 'WBNB', + amount0: '1', + amount1: '1', + fee: 'LOW', + lowerPrice: '1', + upperPrice: '5', + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(500); + }); +}); + +describe('POST /liquidity/remove', () => { + const patchForBuy = () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patchGasPrice(); + patchRemovePosition(); + patchGetNonce(); + }; + it('should return 200 when all parameter are OK', async () => { + patchForBuy(); + await request(app) + .post(`/amm/liquidity/remove`) + .send({ + address: address, + tokenId: 2732, + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 404 when the tokenId is invalid', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/liquidity/remove`) + .send({ + address: address, + tokenId: 'Invalid', + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(404); + }); +}); + +describe('POST /liquidity/collect_fees', () => { + const patchForBuy = () => { + patchGetWallet(); + patchInit(); + patchGasPrice(); + patchCollectFees(); + patchGetNonce(); + }; + it('should return 200 when all parameter are OK', async () => { + patchForBuy(); + await request(app) + .post(`/amm/liquidity/collect_fees`) + .send({ + address: address, + tokenId: 2732, + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 404 when the tokenId is invalid', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/liquidity/collect_fees`) + .send({ + address: address, + tokenId: 'Invalid', + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(404); + }); +}); + +describe('POST /liquidity/position', () => { + it('should return 200 when all parameter are OK', async () => { + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patchPosition(); + + await request(app) + .post(`/amm/liquidity/position`) + .send({ + tokenId: 2732, + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 404 when the tokenId is invalid', async () => { + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/liquidity/position`) + .send({ + tokenId: 'Invalid', + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(404); + }); +}); + +describe('POST /liquidity/price', () => { + const patchForBuy = () => { + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patch(uniswap, 'poolPrice', () => { + return ['100', '105']; + }); + }; + it('should return 200 when all parameter are OK', async () => { + patchForBuy(); + await request(app) + .post(`/amm/liquidity/price`) + .send({ + token0: 'DAI', + token1: 'WBNB', + fee: 'LOW', + period: 120, + interval: 60, + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 404 when the fee is invalid', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/liquidity/price`) + .send({ + token0: 'DAI', + token1: 'WBNB', + fee: 11, + period: 120, + interval: 60, + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswapLP', + }) + .set('Accept', 'application/json') + .expect(404); + }); +}); diff --git a/test/connectors/uniswap/bsc.uniswap.routes.test.ts b/test/connectors/uniswap/bsc.uniswap.routes.test.ts new file mode 100644 index 0000000000..66a733cd63 --- /dev/null +++ b/test/connectors/uniswap/bsc.uniswap.routes.test.ts @@ -0,0 +1,678 @@ +import express from 'express'; +import { Express } from 'express-serve-static-core'; +import request from 'supertest'; +import { Uniswap } from '../../../src/connectors/uniswap/uniswap'; +import { AmmRoutes } from '../../../src/amm/amm.routes'; +import { patch, unpatch } from '../../../test/services/patch'; +import { gasCostInEthString } from '../../../src/services/base'; +import { patchEVMNonceManager } from '../../evm.nonce.mock'; +import {BinanceSmartChain} from "../../../src/chains/binance-smart-chain/binance-smart-chain"; +let app: Express; +let binanceSmartChain: BinanceSmartChain; +let uniswap: Uniswap; + +beforeAll(async () => { + app = express(); + app.use(express.json()); + + binanceSmartChain = BinanceSmartChain.getInstance('mainnet'); + patchEVMNonceManager(binanceSmartChain.nonceManager); + await binanceSmartChain.init(); + + uniswap = Uniswap.getInstance('binance-smart-chain', 'mainnet'); + await uniswap.init(); + + app.use('/amm', AmmRoutes.router); +}); + +beforeEach(() => { + patchEVMNonceManager(binanceSmartChain.nonceManager); +}); + +afterEach(() => { + unpatch(); +}); + +afterAll(async () => { + await binanceSmartChain.close(); +}); + +const address: string = '0x242532ebDfcc760f2Ddfe8378eB51f5F847CE5bD'; + +const patchGetWallet = () => { + patch(binanceSmartChain, 'getWallet', () => { + return { + address: address, + }; + }); +}; + +const patchInit = () => { + patch(uniswap, 'init', async () => { + return; + }); +}; + +const patchStoredTokenList = () => { + patch(binanceSmartChain, 'tokenList', () => { + return [ + { + chainId: 56, + name: 'WBNB', + symbol: 'WBNB', + address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', + decimals: 18, + }, + { + chainId: 56, + name: 'DAI', + symbol: 'DAI', + address: '0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3', + decimals: 18, + }, + ]; + }); +}; + +const patchGetTokenBySymbol = () => { + patch(binanceSmartChain, 'getTokenBySymbol', (symbol: string) => { + if (symbol === 'WBNB') { + return { + chainId: 56, + name: 'WBNB', + symbol: 'WBNB', + address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', + decimals: 18, + }; + } else { + return { + chainId: 56, + name: 'DAI', + symbol: 'DAI', + address: '0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3', + decimals: 18, + }; + } + }); +}; + +const patchGetTokenByAddress = () => { + patch(binanceSmartChain, 'getTokenByAddress', () => { + return { + chainId: 56, + name: 'WBNB', + symbol: 'WBNB', + address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', + decimals: 18, + }; + }); +}; + +const patchGasPrice = () => { + patch(binanceSmartChain, 'gasPrice', () => 100); +}; + +const patchEstimateBuyTrade = () => { + patch(uniswap, 'estimateBuyTrade', () => { + return { + expectedAmount: { + toSignificant: () => 100, + }, + trade: { + executionPrice: { + invert: jest.fn().mockReturnValue({ + toSignificant: () => 100, + toFixed: () => '100', + }), + }, + }, + }; + }); +}; + +const patchEstimateSellTrade = () => { + patch(uniswap, 'estimateSellTrade', () => { + return { + expectedAmount: { + toSignificant: () => 100, + }, + trade: { + executionPrice: { + toSignificant: () => 100, + toFixed: () => '100', + }, + }, + }; + }); +}; + +const patchGetNonce = () => { + patch(binanceSmartChain.nonceManager, 'getNonce', () => 21); +}; + +const patchExecuteTrade = () => { + patch(uniswap, 'executeTrade', () => { + return { nonce: 21, hash: '000000000000000' }; + }); +}; + +describe('POST /amm/price', () => { + it('should return 200 for BUY', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patchGasPrice(); + patchEstimateBuyTrade(); + patchGetNonce(); + patchExecuteTrade(); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + side: 'BUY', + }) + .set('Accept', 'application/json') + .expect(200) + .then((res: any) => { + expect(res.body.amount).toEqual('10000.000000000000000000'); + expect(res.body.rawAmount).toEqual('10000000000000000000000'); + }); + }); + + it('should return 200 for SELL', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patchGasPrice(); + patchEstimateSellTrade(); + patchGetNonce(); + patchExecuteTrade(); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + side: 'SELL', + }) + .set('Accept', 'application/json') + .expect(200) + .then((res: any) => { + expect(res.body.amount).toEqual('10000.000000000000000000'); + expect(res.body.rawAmount).toEqual('10000000000000000000000'); + }); + }); + + it('should return 500 for unrecognized quote symbol', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DOGE', + base: 'WBNB', + amount: '10000', + side: 'SELL', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 500 for unrecognized base symbol', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'SHIBA', + amount: '10000', + side: 'SELL', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 500 for unrecognized base symbol with decimals in the amount and SELL', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'SHIBA', + amount: '10.000', + side: 'SELL', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 500 for unrecognized base symbol with decimals in the amount and BUY', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'SHIBA', + amount: '10.000', + side: 'BUY', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 500 when the priceSwapIn operation fails', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patch(uniswap, 'priceSwapIn', () => { + return 'error'; + }); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DOGE', + base: 'WBNB', + amount: '10000', + side: 'SELL', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 500 when the priceSwapOut operation fails', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patch(uniswap, 'priceSwapOut', () => { + return 'error'; + }); + + await request(app) + .post(`/amm/price`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DOGE', + base: 'WBNB', + amount: '10000', + side: 'BUY', + }) + .set('Accept', 'application/json') + .expect(500); + }); +}); + +describe('POST /amm/trade', () => { + const patchForBuy = () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patchGasPrice(); + patchEstimateBuyTrade(); + patchGetNonce(); + patchExecuteTrade(); + }; + it('should return 200 for BUY', async () => { + patchForBuy(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'BUY', + nonce: 21, + }) + .set('Accept', 'application/json') + .expect(200) + .then((res: any) => { + expect(res.body.nonce).toEqual(21); + }); + }); + + it('should return 200 for BUY without nonce parameter', async () => { + patchForBuy(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'BUY', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 200 for BUY with maxFeePerGas and maxPriorityFeePerGas', async () => { + patchForBuy(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'BUY', + nonce: 21, + maxFeePerGas: '5000000000', + maxPriorityFeePerGas: '5000000000', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + const patchForSell = () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patchGasPrice(); + patchEstimateSellTrade(); + patchGetNonce(); + patchExecuteTrade(); + }; + it('should return 200 for SELL', async () => { + patchForSell(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'SELL', + nonce: 21, + }) + .set('Accept', 'application/json') + .expect(200) + .then((res: any) => { + expect(res.body.nonce).toEqual(21); + }); + }); + + it('should return 200 for SELL with maxFeePerGas and maxPriorityFeePerGas', async () => { + patchForSell(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'SELL', + nonce: 21, + maxFeePerGas: '5000000000', + maxPriorityFeePerGas: '5000000000', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 200 for SELL with limitPrice', async () => { + patchForSell(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'SELL', + nonce: 21, + limitPrice: '9', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 200 for BUY with limitPrice', async () => { + patchForBuy(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'BUY', + nonce: 21, + limitPrice: '999999999999999999999', + }) + .set('Accept', 'application/json') + .expect(200); + }); + + it('should return 500 for BUY with price smaller than limitPrice', async () => { + patchForBuy(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'BUY', + nonce: 21, + limitPrice: '9', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 500 for SELL with price higher than limitPrice', async () => { + patchForSell(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'SELL', + nonce: 21, + limitPrice: '99999999999', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 404 when parameters are incorrect', async () => { + patchInit(); + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: 10000, + address: 'da8', + side: 'comprar', + }) + .set('Accept', 'application/json') + .expect(404); + }); + it('should return 500 when the priceSwapIn operation fails', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patch(uniswap, 'priceSwapIn', () => { + return 'error'; + }); + + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'SELL', + nonce: 21, + maxFeePerGas: '5000000000', + maxPriorityFeePerGas: '5000000000', + }) + .set('Accept', 'application/json') + .expect(500); + }); + + it('should return 500 when the priceSwapOut operation fails', async () => { + patchGetWallet(); + patchInit(); + patchStoredTokenList(); + patchGetTokenBySymbol(); + patchGetTokenByAddress(); + patch(uniswap, 'priceSwapOut', () => { + return 'error'; + }); + + await request(app) + .post(`/amm/trade`) + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + quote: 'DAI', + base: 'WBNB', + amount: '10000', + address, + side: 'BUY', + nonce: 21, + maxFeePerGas: '5000000000', + maxPriorityFeePerGas: '5000000000', + }) + .set('Accept', 'application/json') + .expect(500); + }); +}); + +describe('POST /amm/estimateGas', () => { + it('should return 200 for valid connector', async () => { + patchInit(); + patchGasPrice(); + + await request(app) + .post('/amm/estimateGas') + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'uniswap', + }) + .set('Accept', 'application/json') + .expect(200) + .then((res: any) => { + expect(res.body.network).toEqual('mainnet'); + expect(res.body.gasPrice).toEqual(100); + expect(res.body.gasCost).toEqual( + gasCostInEthString(100, uniswap.gasLimitEstimate) + ); + }); + }); + + it('should return 500 for invalid connector', async () => { + patchInit(); + patchGasPrice(); + + await request(app) + .post('/amm/estimateGas') + .send({ + chain: 'binance-smart-chain', + network: 'mainnet', + connector: 'pangolin', + }) + .set('Accept', 'application/json') + .expect(500); + }); +}); diff --git a/test/connectors/uniswap/uniswap.test.ts b/test/connectors/uniswap/uniswap.test.ts index 9b3b02a510..37da4e28d0 100644 --- a/test/connectors/uniswap/uniswap.test.ts +++ b/test/connectors/uniswap/uniswap.test.ts @@ -123,12 +123,12 @@ const patchMockProvider = () => { mockProvider.stub(FACTORY_ADDRESS, 'getPool', DAI_WETH_POOL_ADDRESS); mockProvider.setMockContract( - UniswapConfig.config.quoterContractAddress('goerli'), + UniswapConfig.config.quoterContractAddress('ethereum', 'goerli'), require('@uniswap/swap-router-contracts/artifacts/contracts/lens/QuoterV2.sol/QuoterV2.json') .abi ); mockProvider.stub( - UniswapConfig.config.quoterContractAddress('goerli'), + UniswapConfig.config.quoterContractAddress('ethereum', 'goerli'), 'quoteExactInputSingle', /* amountOut */ 1, /* sqrtPriceX96After */ 0, @@ -136,7 +136,7 @@ const patchMockProvider = () => { /* gasEstimate */ 0 ); mockProvider.stub( - UniswapConfig.config.quoterContractAddress('goerli'), + UniswapConfig.config.quoterContractAddress('ethereum', 'goerli'), 'quoteExactOutputSingle', /* amountIn */ 1, /* sqrtPriceX96After */ 0, @@ -161,6 +161,7 @@ const patchMockProvider = () => { /* unlocked */ true ); mockProvider.stub(DAI_WETH_POOL_ADDRESS, 'liquidity', 0); + mockProvider.stub(DAI_WETH_POOL_ADDRESS, 'fee', FeeAmount.LOW); patch(ethereum, 'provider', () => { return mockProvider; }); diff --git a/yarn.lock b/yarn.lock index 5bfe60322f..c8b8613f4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1427,6 +1427,69 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== +"@eth-optimism/contracts@0.6.0": + version "0.6.0" + resolved "https://registry.yarnpkg.com/@eth-optimism/contracts/-/contracts-0.6.0.tgz#15ae76222a9b4d958a550cafb1960923af613a31" + integrity sha512-vQ04wfG9kMf1Fwy3FEMqH2QZbgS0gldKhcBeBUPfO8zu68L61VI97UDXmsMQXzTsEAxK8HnokW3/gosl4/NW3w== + dependencies: + "@eth-optimism/core-utils" "0.12.0" + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + +"@eth-optimism/core-utils@0.12.0": + version "0.12.0" + resolved "https://registry.yarnpkg.com/@eth-optimism/core-utils/-/core-utils-0.12.0.tgz#6337e4599a34de23f8eceb20378de2a2de82b0ea" + integrity sha512-qW+7LZYCz7i8dRa7SRlUKIo1VBU8lvN0HeXCxJR+z+xtMzMQpPds20XJNCMclszxYQHkXY00fOT6GvFw9ZL6nw== + dependencies: + "@ethersproject/abi" "^5.7.0" + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/address" "^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/keccak256" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/providers" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + bufio "^1.0.7" + chai "^4.3.4" + +"@eth-optimism/core-utils@^0.13.2": + version "0.13.2" + resolved "https://registry.yarnpkg.com/@eth-optimism/core-utils/-/core-utils-0.13.2.tgz#c0187c3abf6d86dad039edf04ff81299253214fe" + integrity sha512-u7TOKm1RxH1V5zw7dHmfy91bOuEAZU68LT/9vJPkuWEjaTl+BgvPDRDTurjzclHzN0GbWdcpOqPZg4ftjkJGaw== + dependencies: + "@ethersproject/abi" "^5.7.0" + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/contracts" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/web" "^5.7.1" + chai "^4.3.10" + ethers "^5.7.2" + node-fetch "^2.6.7" + +"@eth-optimism/sdk@^3.2.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@eth-optimism/sdk/-/sdk-3.3.2.tgz#68a5f6e77f9c85f6eeb9db8044b3b69199520eb0" + integrity sha512-+zhxT0YkBIEzHsuIayQGjr8g9NawZo6/HYfzg1NSEFsE2Yt0NyCWqVDFTuuak0T6AvIa2kNcl3r0Z8drdb2QmQ== + dependencies: + "@eth-optimism/contracts" "0.6.0" + "@eth-optimism/core-utils" "^0.13.2" + lodash "^4.17.21" + merkletreejs "^0.3.11" + rlp "^2.2.7" + semver "^7.6.0" + "@ethereumjs/common@2.5.0": version "2.5.0" resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.5.0.tgz#ec61551b31bef7a69d1dc634d8932468866a4268" @@ -1462,137 +1525,137 @@ "@ethersproject-xdc/abi@file:vendor/@ethersproject-xdc/abi": version "5.7.0" dependencies: - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/constants" - "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/hash" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-d3b83b4b-5670-4cfa-8927-e3f939fd58a2-1721879684682/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/constants" + "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/hash" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abi-5.7.0-0638ed56-c9a3-4108-bf19-975189f18571-1721929615134/node_modules/@ethersproject-xdc/strings" "@ethersproject-xdc/abstract-provider@file:vendor/@ethersproject-xdc/abstract-provider": version "5.7.0" dependencies: - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-d9f4bb1b-ff8d-4c50-9469-9cc65bcdb3f3-1721879684681/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-d9f4bb1b-ff8d-4c50-9469-9cc65bcdb3f3-1721879684681/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-d9f4bb1b-ff8d-4c50-9469-9cc65bcdb3f3-1721879684681/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/networks" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-d9f4bb1b-ff8d-4c50-9469-9cc65bcdb3f3-1721879684681/node_modules/@ethersproject-xdc/networks" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-d9f4bb1b-ff8d-4c50-9469-9cc65bcdb3f3-1721879684681/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-d9f4bb1b-ff8d-4c50-9469-9cc65bcdb3f3-1721879684681/node_modules/@ethersproject-xdc/transactions" - "@ethersproject-xdc/web" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-d9f4bb1b-ff8d-4c50-9469-9cc65bcdb3f3-1721879684681/node_modules/@ethersproject-xdc/web" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-2e13c4ae-10f6-4926-a11b-912872361eee-1721929615134/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-2e13c4ae-10f6-4926-a11b-912872361eee-1721929615134/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-2e13c4ae-10f6-4926-a11b-912872361eee-1721929615134/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/networks" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-2e13c4ae-10f6-4926-a11b-912872361eee-1721929615134/node_modules/@ethersproject-xdc/networks" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-2e13c4ae-10f6-4926-a11b-912872361eee-1721929615134/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-2e13c4ae-10f6-4926-a11b-912872361eee-1721929615134/node_modules/@ethersproject-xdc/transactions" + "@ethersproject-xdc/web" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-provider-5.7.0-2e13c4ae-10f6-4926-a11b-912872361eee-1721929615134/node_modules/@ethersproject-xdc/web" "@ethersproject-xdc/abstract-signer@file:vendor/@ethersproject-xdc/abstract-signer": version "5.7.0" dependencies: - "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-9cdfe1ad-82f2-42f3-bbf8-efd624b45647-1721879684681/node_modules/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-9cdfe1ad-82f2-42f3-bbf8-efd624b45647-1721879684681/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-9cdfe1ad-82f2-42f3-bbf8-efd624b45647-1721879684681/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-9cdfe1ad-82f2-42f3-bbf8-efd624b45647-1721879684681/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-9cdfe1ad-82f2-42f3-bbf8-efd624b45647-1721879684681/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-7c6bba34-bf43-4a02-ad76-71129d6ebd9d-1721929615135/node_modules/@ethersproject-xdc/abstract-provider" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-7c6bba34-bf43-4a02-ad76-71129d6ebd9d-1721929615135/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-7c6bba34-bf43-4a02-ad76-71129d6ebd9d-1721929615135/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-7c6bba34-bf43-4a02-ad76-71129d6ebd9d-1721929615135/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-abstract-signer-5.7.0-7c6bba34-bf43-4a02-ad76-71129d6ebd9d-1721929615135/node_modules/@ethersproject-xdc/properties" "@ethersproject-xdc/address@file:vendor/@ethersproject-xdc/address": version "5.7.0" dependencies: - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-e8ad9c28-a5b9-4442-920e-4f4bf9076d81-1721879684682/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-e8ad9c28-a5b9-4442-920e-4f4bf9076d81-1721879684682/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-e8ad9c28-a5b9-4442-920e-4f4bf9076d81-1721879684682/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-e8ad9c28-a5b9-4442-920e-4f4bf9076d81-1721879684682/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-e8ad9c28-a5b9-4442-920e-4f4bf9076d81-1721879684682/node_modules/@ethersproject-xdc/rlp" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-bf364a7b-e6c0-4d20-b7b6-bdee8be97371-1721929615135/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-bf364a7b-e6c0-4d20-b7b6-bdee8be97371-1721929615135/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-bf364a7b-e6c0-4d20-b7b6-bdee8be97371-1721929615135/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-bf364a7b-e6c0-4d20-b7b6-bdee8be97371-1721929615135/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-address-5.7.0-bf364a7b-e6c0-4d20-b7b6-bdee8be97371-1721929615135/node_modules/@ethersproject-xdc/rlp" "@ethersproject-xdc/base64@file:vendor/@ethersproject-xdc/base64": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-base64-5.7.0-93ae344c-018a-477d-af5d-b69f755457a4-1721879684681/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-base64-5.7.0-0bb63bd6-1e33-4072-ad69-3b4ef3e81589-1721929615135/node_modules/@ethersproject-xdc/bytes" "@ethersproject-xdc/basex@file:vendor/@ethersproject-xdc/basex": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-basex-5.7.0-ea605f60-0653-41fe-b791-43df4937abe8-1721879684682/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-basex-5.7.0-ea605f60-0653-41fe-b791-43df4937abe8-1721879684682/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-basex-5.7.0-961e5467-aa4f-43ce-9020-e21d45dd8bb4-1721929615135/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-basex-5.7.0-961e5467-aa4f-43ce-9020-e21d45dd8bb4-1721929615135/node_modules/@ethersproject-xdc/properties" "@ethersproject-xdc/bignumber@file:vendor/@ethersproject-xdc/bignumber": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-bignumber-5.7.0-29497dd2-a9ac-4bac-b478-c4971f2588ae-1721879684682/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-bignumber-5.7.0-29497dd2-a9ac-4bac-b478-c4971f2588ae-1721879684682/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-bignumber-5.7.0-8f44f2fc-2b2a-459e-afca-dfdc6f202621-1721929615135/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-bignumber-5.7.0-8f44f2fc-2b2a-459e-afca-dfdc6f202621-1721929615135/node_modules/@ethersproject-xdc/logger" bn.js "^5.2.1" "@ethersproject-xdc/bytes@file:vendor/@ethersproject-xdc/bytes": version "5.7.0" dependencies: - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-bytes-5.7.0-bd236a37-8e03-41ad-a4af-eaac4225e68d-1721879684683/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-bytes-5.7.0-7f34f611-dfab-497e-9e03-085cd9f1c6a1-1721929615136/node_modules/@ethersproject-xdc/logger" "@ethersproject-xdc/constants@file:vendor/@ethersproject-xdc/constants": version "5.7.0" dependencies: - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-constants-5.7.0-baf4b9ba-62f8-42d6-8287-d27c943d4a69-1721879684683/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-constants-5.7.0-b591a30a-3b7f-43bb-b6e5-44e2da16e41c-1721929615135/node_modules/@ethersproject-xdc/bignumber" "@ethersproject-xdc/contracts@file:vendor/@ethersproject-xdc/contracts": version "5.6.0" dependencies: - "@ethersproject-xdc/abi" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/abi" - "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/constants" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-52e292ba-84c5-45a7-b1f3-f939774b98bb-1721879684683/node_modules/@ethersproject-xdc/transactions" + "@ethersproject-xdc/abi" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/abi" + "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/constants" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-contracts-5.6.0-c8e79ca2-fb36-4a42-b095-7eb76ccaf477-1721929615136/node_modules/@ethersproject-xdc/transactions" "@ethersproject-xdc/hash@file:vendor/@ethersproject-xdc/hash": version "5.7.0" dependencies: - "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/base64" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/base64" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-38eaf37e-ab8a-4bca-b9e7-50cd08304dbb-1721879684683/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/base64" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/base64" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hash-5.7.0-8cc4898e-90bd-4e66-a98b-06acfdab5ccf-1721929615137/node_modules/@ethersproject-xdc/strings" "@ethersproject-xdc/hdnode@file:vendor/@ethersproject-xdc/hdnode": version "5.7.0" dependencies: - "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/basex" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/basex" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/pbkdf2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/pbkdf2" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/sha2" - "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/signing-key" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/transactions" - "@ethersproject-xdc/wordlists" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-1213571d-3805-46a9-bba3-88e6b7901054-1721879684684/node_modules/@ethersproject-xdc/wordlists" + "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/basex" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/basex" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/pbkdf2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/pbkdf2" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/sha2" + "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/signing-key" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/transactions" + "@ethersproject-xdc/wordlists" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-hdnode-5.7.0-49164970-b69f-4156-81ee-73080e3f17fd-1721929615137/node_modules/@ethersproject-xdc/wordlists" "@ethersproject-xdc/json-wallets@file:vendor/@ethersproject-xdc/json-wallets": version "5.6.0" dependencies: - "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/hdnode" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/hdnode" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/pbkdf2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/pbkdf2" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/random" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-29f6d3aa-dcda-4a43-a617-75cf8d45cbb6-1721879684685/node_modules/@ethersproject-xdc/transactions" + "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/hdnode" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/hdnode" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/pbkdf2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/pbkdf2" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/random" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-json-wallets-5.6.0-aa7c4507-07c3-4cb2-b9da-94457e0ef913-1721929615136/node_modules/@ethersproject-xdc/transactions" aes-js "3.0.0" scrypt-js "3.0.1" "@ethersproject-xdc/keccak256@file:vendor/@ethersproject-xdc/keccak256": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-keccak256-5.7.0-8d0a8f9c-d147-4b8e-959d-3c63bcf8b8e0-1721879684685/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-keccak256-5.7.0-390472ae-12ac-4f30-8eaf-65cca5d50668-1721929615137/node_modules/@ethersproject-xdc/bytes" js-sha3 "0.8.0" "@ethersproject-xdc/logger@file:vendor/@ethersproject-xdc/logger": @@ -1601,67 +1664,67 @@ "@ethersproject-xdc/networks@file:vendor/@ethersproject-xdc/networks": version "5.7.1" dependencies: - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-networks-5.7.1-bfa16d07-cba8-4510-996a-b1d69d20c556-1721879684685/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-networks-5.7.1-474628bb-7ddd-482a-a6d7-76b085de4e5f-1721929615137/node_modules/@ethersproject-xdc/logger" "@ethersproject-xdc/pbkdf2@file:vendor/@ethersproject-xdc/pbkdf2": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-pbkdf2-5.7.0-0f982bc7-f8eb-4552-9909-1c8b7b12eddf-1721879684685/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-pbkdf2-5.7.0-0f982bc7-f8eb-4552-9909-1c8b7b12eddf-1721879684685/node_modules/@ethersproject-xdc/sha2" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-pbkdf2-5.7.0-20200a0c-d1be-413e-ab2d-bef57842280c-1721929615138/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-pbkdf2-5.7.0-20200a0c-d1be-413e-ab2d-bef57842280c-1721929615138/node_modules/@ethersproject-xdc/sha2" "@ethersproject-xdc/properties@file:vendor/@ethersproject-xdc/properties": version "5.7.0" dependencies: - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-properties-5.7.0-bc8eccd5-5b51-47a8-9803-1755570ec9e8-1721879684685/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-properties-5.7.0-10a6d6b1-aa25-448e-b0bc-d377c8918df9-1721929615138/node_modules/@ethersproject-xdc/logger" "@ethersproject-xdc/providers@file:vendor/@ethersproject-xdc/providers": version "5.6.2" dependencies: - "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/basex" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/basex" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/constants" - "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/hash" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/networks" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/networks" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/random" - "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/rlp" - "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/sha2" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/transactions" - "@ethersproject-xdc/web" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-ee2ba69a-cc0c-41af-88c6-30ffae5c448b-1721879684684/node_modules/@ethersproject-xdc/web" + "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/basex" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/basex" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/constants" + "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/hash" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/networks" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/networks" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/random" + "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/rlp" + "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/sha2" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/transactions" + "@ethersproject-xdc/web" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-providers-5.6.2-674aa8fb-436a-457f-947a-8b3f5b0d084e-1721929615138/node_modules/@ethersproject-xdc/web" bech32 "1.1.4" ws "7.4.6" "@ethersproject-xdc/random@file:vendor/@ethersproject-xdc/random": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-random-5.7.0-a70c132b-0ffa-42ca-9b8f-fbe214ba7ea0-1721879684686/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-random-5.7.0-a70c132b-0ffa-42ca-9b8f-fbe214ba7ea0-1721879684686/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-random-5.7.0-1aa1f071-e40f-48c0-a5e3-92fd466a42c5-1721929615138/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-random-5.7.0-1aa1f071-e40f-48c0-a5e3-92fd466a42c5-1721929615138/node_modules/@ethersproject-xdc/logger" "@ethersproject-xdc/rlp@file:vendor/@ethersproject-xdc/rlp": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-rlp-5.7.0-d6902a40-01a5-4343-871f-54db6b0e8f8c-1721879684690/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-rlp-5.7.0-d6902a40-01a5-4343-871f-54db6b0e8f8c-1721879684690/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-rlp-5.7.0-c4c12318-731e-4b6d-b4a7-80280b4061c8-1721929615139/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-rlp-5.7.0-c4c12318-731e-4b6d-b4a7-80280b4061c8-1721929615139/node_modules/@ethersproject-xdc/logger" "@ethersproject-xdc/sha2@file:vendor/@ethersproject-xdc/sha2": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-sha2-5.7.0-88ad5ee4-7e12-4ed7-be4b-188d35566849-1721879684687/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-sha2-5.7.0-88ad5ee4-7e12-4ed7-be4b-188d35566849-1721879684687/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-sha2-5.7.0-6f1451f0-bd15-44ca-85c3-a6ff1a2860bd-1721929615139/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-sha2-5.7.0-6f1451f0-bd15-44ca-85c3-a6ff1a2860bd-1721929615139/node_modules/@ethersproject-xdc/logger" hash.js "1.1.7" "@ethersproject-xdc/signing-key@file:vendor/@ethersproject-xdc/signing-key": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-signing-key-5.7.0-32d3e0a3-2b2f-4a25-9b5a-1d69bd24adb3-1721879684685/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-signing-key-5.7.0-32d3e0a3-2b2f-4a25-9b5a-1d69bd24adb3-1721879684685/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-signing-key-5.7.0-32d3e0a3-2b2f-4a25-9b5a-1d69bd24adb3-1721879684685/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-signing-key-5.7.0-5428086d-3925-4a43-9b46-9a8d6b4651fa-1721929615140/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-signing-key-5.7.0-5428086d-3925-4a43-9b46-9a8d6b4651fa-1721929615140/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-signing-key-5.7.0-5428086d-3925-4a43-9b46-9a8d6b4651fa-1721929615140/node_modules/@ethersproject-xdc/properties" bn.js "^5.2.1" elliptic "6.5.4" hash.js "1.1.7" @@ -1669,76 +1732,76 @@ "@ethersproject-xdc/solidity@file:vendor/@ethersproject-xdc/solidity": version "5.6.0" dependencies: - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-eb63c393-a41a-4597-81e8-e641e651432d-1721879684687/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-eb63c393-a41a-4597-81e8-e641e651432d-1721879684687/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-eb63c393-a41a-4597-81e8-e641e651432d-1721879684687/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-eb63c393-a41a-4597-81e8-e641e651432d-1721879684687/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-eb63c393-a41a-4597-81e8-e641e651432d-1721879684687/node_modules/@ethersproject-xdc/sha2" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-eb63c393-a41a-4597-81e8-e641e651432d-1721879684687/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-b7f3707c-92b7-4cbf-b37b-dcf8ab99c0e3-1721929615141/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-b7f3707c-92b7-4cbf-b37b-dcf8ab99c0e3-1721929615141/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-b7f3707c-92b7-4cbf-b37b-dcf8ab99c0e3-1721929615141/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-b7f3707c-92b7-4cbf-b37b-dcf8ab99c0e3-1721929615141/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-b7f3707c-92b7-4cbf-b37b-dcf8ab99c0e3-1721929615141/node_modules/@ethersproject-xdc/sha2" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-solidity-5.6.0-b7f3707c-92b7-4cbf-b37b-dcf8ab99c0e3-1721929615141/node_modules/@ethersproject-xdc/strings" "@ethersproject-xdc/strings@file:vendor/@ethersproject-xdc/strings": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-strings-5.7.0-b7e536eb-a854-4b73-b5b4-fd51b3643dc7-1721879684686/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-strings-5.7.0-b7e536eb-a854-4b73-b5b4-fd51b3643dc7-1721879684686/node_modules/@ethersproject-xdc/constants" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-strings-5.7.0-b7e536eb-a854-4b73-b5b4-fd51b3643dc7-1721879684686/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-strings-5.7.0-56572a85-b0cb-4ab7-90d2-ea95812532f0-1721929615141/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-strings-5.7.0-56572a85-b0cb-4ab7-90d2-ea95812532f0-1721929615141/node_modules/@ethersproject-xdc/constants" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-strings-5.7.0-56572a85-b0cb-4ab7-90d2-ea95812532f0-1721929615141/node_modules/@ethersproject-xdc/logger" "@ethersproject-xdc/transactions@file:vendor/@ethersproject-xdc/transactions": version "5.7.0" dependencies: - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/constants" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/rlp" - "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-0432da5a-9797-471f-b626-90836d12c1dc-1721879684686/node_modules/@ethersproject-xdc/signing-key" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/constants" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/rlp" + "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-transactions-5.7.0-51c8a1ec-0c08-447f-a666-0a1b90324588-1721929615141/node_modules/@ethersproject-xdc/signing-key" "@ethersproject-xdc/units@file:vendor/@ethersproject-xdc/units": version "5.6.0" dependencies: - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-units-5.6.0-7931985f-9462-4b93-a8ff-25b82e114654-1721879684690/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-units-5.6.0-7931985f-9462-4b93-a8ff-25b82e114654-1721879684690/node_modules/@ethersproject-xdc/constants" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-units-5.6.0-7931985f-9462-4b93-a8ff-25b82e114654-1721879684690/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-units-5.6.0-93ae563f-9f38-427e-a3b9-c71850d0f295-1721929615142/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-units-5.6.0-93ae563f-9f38-427e-a3b9-c71850d0f295-1721929615142/node_modules/@ethersproject-xdc/constants" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-units-5.6.0-93ae563f-9f38-427e-a3b9-c71850d0f295-1721929615142/node_modules/@ethersproject-xdc/logger" "@ethersproject-xdc/wallet@file:vendor/@ethersproject-xdc/wallet": version "5.6.0" dependencies: - "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/hash" - "@ethersproject-xdc/hdnode" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/hdnode" - "@ethersproject-xdc/json-wallets" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/json-wallets" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/random" - "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/signing-key" - "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/transactions" - "@ethersproject-xdc/wordlists" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-3f8596d7-53df-4375-8e66-533a5844e07c-1721879684686/node_modules/@ethersproject-xdc/wordlists" + "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/hash" + "@ethersproject-xdc/hdnode" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/hdnode" + "@ethersproject-xdc/json-wallets" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/json-wallets" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/random" + "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/signing-key" + "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/transactions" + "@ethersproject-xdc/wordlists" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wallet-5.6.0-7f32a6fa-62eb-493e-ad28-01577e7c1acf-1721929615142/node_modules/@ethersproject-xdc/wordlists" "@ethersproject-xdc/web@file:vendor/@ethersproject-xdc/web": version "5.7.1" dependencies: - "@ethersproject-xdc/base64" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-a3031507-804d-4a4b-aede-67df8313f698-1721879684690/node_modules/@ethersproject-xdc/base64" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-a3031507-804d-4a4b-aede-67df8313f698-1721879684690/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-a3031507-804d-4a4b-aede-67df8313f698-1721879684690/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-a3031507-804d-4a4b-aede-67df8313f698-1721879684690/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-a3031507-804d-4a4b-aede-67df8313f698-1721879684690/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/base64" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-f34b78f1-c312-4537-b3be-9d34d3b61c7f-1721929615142/node_modules/@ethersproject-xdc/base64" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-f34b78f1-c312-4537-b3be-9d34d3b61c7f-1721929615142/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-f34b78f1-c312-4537-b3be-9d34d3b61c7f-1721929615142/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-f34b78f1-c312-4537-b3be-9d34d3b61c7f-1721929615142/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-web-5.7.1-f34b78f1-c312-4537-b3be-9d34d3b61c7f-1721929615142/node_modules/@ethersproject-xdc/strings" "@ethersproject-xdc/wordlists@file:vendor/@ethersproject-xdc/wordlists": version "5.7.0" dependencies: - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-5c9ac473-5144-478c-989e-026c1500a366-1721879684690/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-5c9ac473-5144-478c-989e-026c1500a366-1721879684690/node_modules/@ethersproject-xdc/hash" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-5c9ac473-5144-478c-989e-026c1500a366-1721879684690/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-5c9ac473-5144-478c-989e-026c1500a366-1721879684690/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-5c9ac473-5144-478c-989e-026c1500a366-1721879684690/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-cee7b077-0380-4721-9be8-7f310ee15c54-1721929615143/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-cee7b077-0380-4721-9be8-7f310ee15c54-1721929615143/node_modules/@ethersproject-xdc/hash" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-cee7b077-0380-4721-9be8-7f310ee15c54-1721929615143/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-cee7b077-0380-4721-9be8-7f310ee15c54-1721929615143/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-@ethersproject-xdc-wordlists-5.7.0-cee7b077-0380-4721-9be8-7f310ee15c54-1721929615143/node_modules/@ethersproject-xdc/strings" "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.0.12", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.4.0", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0": version "5.7.0" @@ -1779,7 +1842,7 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/address@5.7.0", "@ethersproject/address@^5.0.0", "@ethersproject/address@^5.0.1", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.4.0", "@ethersproject/address@^5.7.0": +"@ethersproject/address@5.7.0", "@ethersproject/address@^5.0.1", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.4.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== @@ -1980,7 +2043,7 @@ bech32 "1.1.4" ws "7.4.6" -"@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.0.4", "@ethersproject/providers@^5.4.0", "@ethersproject/providers@^5.4.5", "@ethersproject/providers@^5.7.2": +"@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.0.4", "@ethersproject/providers@^5.4.0", "@ethersproject/providers@^5.4.5", "@ethersproject/providers@^5.7.0", "@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== @@ -2043,7 +2106,7 @@ elliptic "6.5.4" hash.js "1.1.7" -"@ethersproject/solidity@5.7.0", "@ethersproject/solidity@^5.0.0", "@ethersproject/solidity@^5.0.1", "@ethersproject/solidity@^5.0.9", "@ethersproject/solidity@^5.4.0": +"@ethersproject/solidity@5.7.0", "@ethersproject/solidity@^5.0.1", "@ethersproject/solidity@^5.0.9", "@ethersproject/solidity@^5.4.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8" integrity sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA== @@ -2109,7 +2172,7 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/wordlists" "^5.7.0" -"@ethersproject/web@5.7.1", "@ethersproject/web@^5.7.0": +"@ethersproject/web@5.7.1", "@ethersproject/web@^5.7.0", "@ethersproject/web@^5.7.1": version "5.7.1" resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== @@ -3169,6 +3232,11 @@ resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-3.4.2-solc-0.7.tgz#38f4dbab672631034076ccdf2f3201fab1726635" integrity sha512-W6QmqgkADuFcTLzHL8vVoNBtkwjvQRpYIAom7KiUNoLKghyx3FgH0GBjt8NRvigV1ZmMOBllvE1By1C+bi8WpA== +"@openzeppelin/contracts@4.7.0": + version "4.7.0" + resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.7.0.tgz#3092d70ea60e3d1835466266b1d68ad47035a2d5" + integrity sha512-52Qb+A1DdOss8QvJrijYYPSf32GUg2pGaG/yCxtaA3cu4jduouTdg4XZSMLW9op54m1jH7J8hoajhHKOPsoJFw== + "@osmonauts/math@^1.11.3": version "1.11.3" resolved "https://registry.yarnpkg.com/@osmonauts/math/-/math-1.11.3.tgz#22b3f60ea4b84e1329661184b28f72eb9b97c8e7" @@ -4448,6 +4516,13 @@ "@types/connect" "*" "@types/node" "*" +"@types/brotli@^1.3.4": + version "1.3.4" + resolved "https://registry.yarnpkg.com/@types/brotli/-/brotli-1.3.4.tgz#3eefc5493218a99141771f351142dd640efde5d8" + integrity sha512-cKYjgaS2DMdCKF7R0F5cgx1nfBYObN2ihIuPGQ4/dlIY6RpV7OWNwe9L8V4tTVKL2eZqOkNM9FM/rgTvLf4oXw== + dependencies: + "@types/node" "*" + "@types/bs58@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/bs58/-/bs58-4.0.1.tgz#3d51222aab067786d3bc3740a84a7f5a0effaa37" @@ -4956,28 +5031,36 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@uniswap/default-token-list@^2.0.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@uniswap/default-token-list/-/default-token-list-2.3.0.tgz#e5e522e775791999643aac9b0faf1ccfb4c49bd8" - integrity sha512-yfd4snv9K20tEbNwy9Vjym41RU3Yb2lN0seKxsgkr+m3f6oub2lWyXfTiNwgGFbOQPDvX4dxjMhA+M+S7mxqKg== +"@uniswap/default-token-list@^11.13.0": + version "11.19.0" + resolved "https://registry.yarnpkg.com/@uniswap/default-token-list/-/default-token-list-11.19.0.tgz#12d4e40f6c79f794d3e3a71e2d4d9784fb6c967b" + integrity sha512-H/YLpxeZUrzT4Ki8mi4k5UiadREiLHg7WUqCv0Qt/VkOjX2mIBhrxCj1Wh61/J7lK0XqOjksfpm6RG1+YErPoQ== "@uniswap/lib@^4.0.1-alpha": version "4.0.1-alpha" resolved "https://registry.yarnpkg.com/@uniswap/lib/-/lib-4.0.1-alpha.tgz#2881008e55f075344675b3bca93f020b028fbd02" integrity sha512-f6UIliwBbRsgVLxIaBANF6w09tYqc6Y/qXdsrbEmXHyFA7ILiKrIwRFXe1yOg8M3cksgVsO9N7yuL2DdCGQKBA== -"@uniswap/router-sdk@^1.3.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@uniswap/router-sdk/-/router-sdk-1.4.0.tgz#0e8d49f37b36e74b6a70ec257ec0561bf1f249c3" - integrity sha512-GyUX8x+hnwnh89DHyA/yKWUwhU3Eukx3B76vfvMMWfr++GA4CW6PzT5j4JgNZDrsBTOSJWxTdU5YbgOuwU2XGg== +"@uniswap/permit2-sdk@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@uniswap/permit2-sdk/-/permit2-sdk-1.3.0.tgz#b54124e570f0adbaca9d39b2de3054fd7d3798a1" + integrity sha512-LstYQWP47dwpQrgqBJ+ysFstne9LgI5FGiKHc2ewjj91MTY8Mq1reocu6U/VDncdR5ef30TUOcZ7gPExRY8r6Q== + dependencies: + ethers "^5.7.0" + tiny-invariant "^1.1.0" + +"@uniswap/router-sdk@^1.9.2", "@uniswap/router-sdk@^1.9.3": + version "1.9.3" + resolved "https://registry.yarnpkg.com/@uniswap/router-sdk/-/router-sdk-1.9.3.tgz#0721d1d5eadf220632b062ec34044eadababdd6c" + integrity sha512-vKhYDN+Ne8XLFay97pW3FyMJbmbS4eiQfiTVpv7EblDKUYG2Co0OSaH+kPAuXcvHvcflbyBpp94NCyePjlVltw== dependencies: "@ethersproject/abi" "^5.5.0" - "@uniswap/sdk-core" "^3.0.1" - "@uniswap/swap-router-contracts" "1.1.0" - "@uniswap/v2-sdk" "^3.0.1" - "@uniswap/v3-sdk" "^3.8.3" + "@uniswap/sdk-core" "^5.3.1" + "@uniswap/swap-router-contracts" "^1.3.0" + "@uniswap/v2-sdk" "^4.3.2" + "@uniswap/v3-sdk" "^3.11.2" -"@uniswap/sdk-core@^3.0.0", "@uniswap/sdk-core@^3.0.0-alpha.3", "@uniswap/sdk-core@^3.0.1": +"@uniswap/sdk-core@^3.0.0", "@uniswap/sdk-core@^3.0.1": version "3.2.2" resolved "https://registry.yarnpkg.com/@uniswap/sdk-core/-/sdk-core-3.2.2.tgz#50dbc6f2543d088680f36fb61e01bb90d4d8fa71" integrity sha512-dPA34T8EVfFzKtw1NC1Mr7M0aXpY1UN+lUpdBv757JxKKMlGQTg96XTIfjYCflqEshxlBdz2+IVQgk6H+dMu5g== @@ -4989,6 +5072,21 @@ tiny-invariant "^1.1.0" toformat "^2.0.0" +"@uniswap/sdk-core@^5.3.0", "@uniswap/sdk-core@^5.3.1": + version "5.3.1" + resolved "https://registry.yarnpkg.com/@uniswap/sdk-core/-/sdk-core-5.3.1.tgz#22d753e9ef8666c2f3b4d9a89b9658d169be4ce8" + integrity sha512-XLJY8PcMZnKYBGLABJnLXcr3EgWql3mmnmpHyV1/MmEh9pLJLHYz4HLwVHb8pGDCqpOFX0e+Ei44/qhC7Q5Dsg== + dependencies: + "@ethersproject/address" "^5.0.2" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "5.7.0" + "@ethersproject/strings" "5.7.0" + big.js "^5.2.2" + decimal.js-light "^2.5.0" + jsbi "^3.1.4" + tiny-invariant "^1.1.0" + toformat "^2.0.0" + "@uniswap/sdk@3.0.2": version "3.0.2" resolved "https://registry.yarnpkg.com/@uniswap/sdk/-/sdk-3.0.2.tgz#c75da48a8d7c3e62556c2b29d6c0f75f133d6afa" @@ -5007,23 +5105,30 @@ tiny-warning "^1.0.3" toformat "^2.0.0" -"@uniswap/smart-order-router@^2.5.26": - version "2.10.2" - resolved "https://registry.yarnpkg.com/@uniswap/smart-order-router/-/smart-order-router-2.10.2.tgz#c6aabe890d096f4c4727011ecfe6f37a401f99a5" - integrity sha512-Nq/O5p5vUxcGL2PpdB4/mjq0cgfpisPA8Q29dPs3+dgYJ3PNgIasCoENMHgauTvCFCNyql+GwanfeW/DtEcd5A== - dependencies: - "@uniswap/default-token-list" "^2.0.0" - "@uniswap/router-sdk" "^1.3.0" - "@uniswap/swap-router-contracts" "^1.3.0" - "@uniswap/token-lists" "^1.0.0-beta.25" - "@uniswap/v2-sdk" "^3.0.1" - "@uniswap/v3-sdk" "^3.7.0" +"@uniswap/smart-order-router@^3.28.7": + version "3.35.12" + resolved "https://registry.yarnpkg.com/@uniswap/smart-order-router/-/smart-order-router-3.35.12.tgz#de640b39e6bfd584cb968b8e2fd3e5233807761f" + integrity sha512-1Z4zT/uzCMHMDeP+A1CbgvkjhOHPZuw7hQ4986+/yI9rY5ioITd0MUJ2iQrdJjLVaBlpKQQSL3djttiKw8AvTg== + dependencies: + "@eth-optimism/sdk" "^3.2.2" + "@types/brotli" "^1.3.4" + "@uniswap/default-token-list" "^11.13.0" + "@uniswap/permit2-sdk" "^1.3.0" + "@uniswap/router-sdk" "^1.9.2" + "@uniswap/sdk-core" "^5.3.0" + "@uniswap/swap-router-contracts" "^1.3.1" + "@uniswap/token-lists" "^1.0.0-beta.31" + "@uniswap/universal-router" "^1.6.0" + "@uniswap/universal-router-sdk" "^2.2.0" + "@uniswap/v2-sdk" "^4.3.2" + "@uniswap/v3-sdk" "^3.13.0" async-retry "^1.3.1" await-timeout "^1.1.1" axios "^0.21.1" + brotli "^1.3.3" bunyan "^1.8.15" bunyan-blackhole "^1.1.1" - ethers "^5.6.1" + ethers "^5.7.2" graphql "^15.5.0" graphql-request "^3.4.0" lodash "^4.17.21" @@ -5031,17 +5136,6 @@ node-cache "^5.1.2" stats-lite "^2.2.0" -"@uniswap/swap-router-contracts@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@uniswap/swap-router-contracts/-/swap-router-contracts-1.1.0.tgz#e027b14d4c172f231c53c48e1fd708a78d7d94d8" - integrity sha512-GPmpx1lvjXWloB95+YUabr3UHJYr3scnSS8EzaNXnNrIz9nYZ+XQcMaJxOKe85Yi7IfcUQpj0HzD2TW99dtolA== - dependencies: - "@openzeppelin/contracts" "3.4.1-solc-0.7-2" - "@uniswap/v2-core" "1.0.1" - "@uniswap/v3-core" "1.0.0" - "@uniswap/v3-periphery" "1.3.0" - hardhat-watcher "^2.1.1" - "@uniswap/swap-router-contracts@^1.2.1", "@uniswap/swap-router-contracts@^1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@uniswap/swap-router-contracts/-/swap-router-contracts-1.3.0.tgz#8d555ca6d74b888d6e02a26ebb806ce315605f1f" @@ -5054,24 +5148,59 @@ dotenv "^14.2.0" hardhat-watcher "^2.1.1" -"@uniswap/token-lists@^1.0.0-beta.25": - version "1.0.0-beta.31" - resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.31.tgz#ff3852bd505ec7b4c276625c762ea79a93a919ec" - integrity sha512-BQVoelKCRf64IToPEs1wxiXOnhr/ukwPOF78XG11PrTAOL4F8umjYKFb8ZPv1/dIJsPaC7GhLSriEqyp94SasQ== +"@uniswap/swap-router-contracts@^1.3.1": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@uniswap/swap-router-contracts/-/swap-router-contracts-1.3.1.tgz#0ebbb93eb578625618ed9489872de381f9c66fb4" + integrity sha512-mh/YNbwKb7Mut96VuEtL+Z5bRe0xVIbjjiryn+iMMrK2sFKhR4duk/86mEz0UO5gSx4pQIw9G5276P5heY/7Rg== + dependencies: + "@openzeppelin/contracts" "3.4.2-solc-0.7" + "@uniswap/v2-core" "^1.0.1" + "@uniswap/v3-core" "^1.0.0" + "@uniswap/v3-periphery" "^1.4.4" + dotenv "^14.2.0" + hardhat-watcher "^2.1.1" + +"@uniswap/token-lists@^1.0.0-beta.31": + version "1.0.0-beta.34" + resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.34.tgz#879461f5d4009327a24259bbab797e0f22db58c8" + integrity sha512-Hc3TfrFaupg0M84e/Zv7BoF+fmMWDV15mZ5s8ZQt2qZxUcNw2GQW+L6L/2k74who31G+p1m3GRYbJpAo7d1pqA== + +"@uniswap/universal-router-sdk@^2.2.0": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@uniswap/universal-router-sdk/-/universal-router-sdk-2.2.2.tgz#1199b9bf492f496a17175c7aaadbb92c67845790" + integrity sha512-RYW2d+NlAjZJ1ZpJTPTXGgGlyBHnXShNbRkz5ueP3m0CzRAS+1P9Czub1SO8ZgcbZ/y4Po/SW9JXT/j3gnI/XA== + dependencies: + "@uniswap/permit2-sdk" "^1.3.0" + "@uniswap/router-sdk" "^1.9.3" + "@uniswap/sdk-core" "^5.3.1" + "@uniswap/universal-router" "1.6.0" + "@uniswap/v2-sdk" "^4.4.1" + "@uniswap/v3-sdk" "^3.13.1" + bignumber.js "^9.0.2" + ethers "^5.7.0" -"@uniswap/v2-core@1.0.1", "@uniswap/v2-core@^1.0.0": +"@uniswap/universal-router@1.6.0", "@uniswap/universal-router@^1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@uniswap/universal-router/-/universal-router-1.6.0.tgz#3d7372e98a0303c70587802ee6841b8b6b42fc6f" + integrity sha512-Gt0b0rtMV1vSrgXY3vz5R1RCZENB+rOkbOidY9GvcXrK1MstSrQSOAc+FCr8FSgsDhmRAdft0lk5YUxtM9i9Lg== + dependencies: + "@openzeppelin/contracts" "4.7.0" + "@uniswap/v2-core" "1.0.1" + "@uniswap/v3-core" "1.0.0" + +"@uniswap/v2-core@1.0.1", "@uniswap/v2-core@^1.0.0", "@uniswap/v2-core@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@uniswap/v2-core/-/v2-core-1.0.1.tgz#af8f508bf183204779938969e2e54043e147d425" integrity sha512-MtybtkUPSyysqLY2U210NBDeCHX+ltHt3oADGdjqoThZaFRDKwM6k1Nb3F0A3hk5hwuQvytFWhrWHOEq6nVJ8Q== -"@uniswap/v2-sdk@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@uniswap/v2-sdk/-/v2-sdk-3.0.1.tgz#690c484104c1debd1db56a236e5497def53d698b" - integrity sha512-eSpm2gjo2CZh9FACH5fq42str/oSNyWcDxB27o5k44bEew4sxb+pld4gGIf/byJndLBvArR9PtH8c0n/goNOTw== +"@uniswap/v2-sdk@^4.3.2", "@uniswap/v2-sdk@^4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@uniswap/v2-sdk/-/v2-sdk-4.4.1.tgz#d0859a2d943cfcf66ec3cd48c2019e393af256a1" + integrity sha512-mU0YNgpm7Nmh3RSlcltluYVECdBcfQQIIQIDCM49Rog8ZnW4wp5QqEYkVjgAuqdu1mwLkMDMQUhzhtC0Z2Df6g== dependencies: - "@ethersproject/address" "^5.0.0" - "@ethersproject/solidity" "^5.0.0" - "@uniswap/sdk-core" "^3.0.0-alpha.3" + "@ethersproject/address" "^5.0.2" + "@ethersproject/solidity" "^5.0.9" + "@uniswap/sdk-core" "^5.3.1" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -5085,18 +5214,6 @@ resolved "https://registry.yarnpkg.com/@uniswap/v3-core/-/v3-core-1.0.1.tgz#b6d2bdc6ba3c3fbd610bdc502395d86cd35264a0" integrity sha512-7pVk4hEm00j9tc71Y9+ssYpO6ytkeI0y7WE9P6UcmNzhxPePwyAxImuhVsTqWK9YFvzgtvzJHi64pBl4jUzKMQ== -"@uniswap/v3-periphery@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.3.0.tgz#37f0a1ef6025221722e50e9f3f2009c2d5d6e4ec" - integrity sha512-HjHdI5RkjBl8zz3bqHShrbULFoZSrjbbrRHoO2vbzn+WRzTa6xY4PWphZv2Tlcb38YEKfKHp6NPl5hVedac8uw== - dependencies: - "@openzeppelin/contracts" "3.4.1-solc-0.7-2" - "@uniswap/lib" "^4.0.1-alpha" - "@uniswap/v2-core" "1.0.1" - "@uniswap/v3-core" "1.0.0" - base64-sol "1.0.1" - hardhat-watcher "^2.1.1" - "@uniswap/v3-periphery@1.4.1": version "1.4.1" resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.4.1.tgz#b90f08b7386163c0abfd7258831caef6339c7862" @@ -5120,7 +5237,32 @@ "@uniswap/v3-core" "1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@^3.7.0", "@uniswap/v3-sdk@^3.8.3": +"@uniswap/v3-periphery@^1.4.4": + version "1.4.4" + resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.4.4.tgz#d2756c23b69718173c5874f37fd4ad57d2f021b7" + integrity sha512-S4+m+wh8HbWSO3DKk4LwUCPZJTpCugIsHrWR86m/OrUyvSqGDTXKFfc2sMuGXCZrD1ZqO3rhQsKgdWg3Hbb2Kw== + dependencies: + "@openzeppelin/contracts" "3.4.2-solc-0.7" + "@uniswap/lib" "^4.0.1-alpha" + "@uniswap/v2-core" "^1.0.1" + "@uniswap/v3-core" "^1.0.0" + base64-sol "1.0.1" + +"@uniswap/v3-sdk@^3.11.2", "@uniswap/v3-sdk@^3.13.0", "@uniswap/v3-sdk@^3.13.1": + version "3.13.1" + resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-3.13.1.tgz#67421727b18bb9c449bdf3c92cf3d01530ff3f8f" + integrity sha512-MCc96HrUZy17DINwrGnMtCvr+yXQlWUJJVaIiRRKe1DQzSuv97/G4lzM+zAaSymrxbR2qnHHWL5vMFjmwzCN9Q== + dependencies: + "@ethersproject/abi" "^5.5.0" + "@ethersproject/solidity" "^5.0.9" + "@uniswap/sdk-core" "^5.3.1" + "@uniswap/swap-router-contracts" "^1.3.0" + "@uniswap/v3-periphery" "^1.1.1" + "@uniswap/v3-staker" "1.0.0" + tiny-invariant "^1.1.0" + tiny-warning "^1.0.3" + +"@uniswap/v3-sdk@^3.7.0": version "3.9.0" resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-3.9.0.tgz#de93fa19f89c29d460996aa4d0b4bb6531641105" integrity sha512-LuoF3UcY1DxSAQKJ3E4/1Eq4HaNp+x+7q9mvbpiu+/PBj+O1DjLforAMrKxu+RsA0aarmZtz7yBnAPy+akgfgQ== @@ -5703,6 +5845,11 @@ assert@^2.0.0: object.assign "^4.1.4" util "^0.12.5" +assertion-error@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" + integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== + assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" @@ -5914,7 +6061,7 @@ base-x@^3.0.2, base-x@^3.0.6, base-x@^3.0.8, base-x@^3.0.9: dependencies: safe-buffer "^5.0.1" -base64-js@^1.3.0, base64-js@^1.3.1, base64-js@^1.5.1: +base64-js@^1.1.2, base64-js@^1.3.0, base64-js@^1.3.1, base64-js@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== @@ -6005,7 +6152,7 @@ bignumber.js@9.1.1, bignumber.js@^9.0.0, bignumber.js@^9.0.1, bignumber.js@^9.1. resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== -bignumber.js@9.1.2: +bignumber.js@9.1.2, bignumber.js@^9.0.2: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== @@ -6210,6 +6357,13 @@ brorand@^1.0.1, brorand@^1.0.5, brorand@^1.1.0: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== +brotli@^1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/brotli/-/brotli-1.3.3.tgz#7365d8cc00f12cf765d2b2c898716bcf4b604d48" + integrity sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg== + dependencies: + base64-js "^1.1.2" + browser-headers@^0.4.0, browser-headers@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/browser-headers/-/browser-headers-0.4.1.tgz#4308a7ad3b240f4203dbb45acedb38dc2d65dd02" @@ -6362,6 +6516,11 @@ buffer-from@1.1.2, buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== +buffer-reverse@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/buffer-reverse/-/buffer-reverse-1.0.1.tgz#49283c8efa6f901bc01fa3304d06027971ae2f60" + integrity sha512-M87YIUBsZ6N924W57vDwT/aOu8hw7ZgdByz6ijksLjmHJELBASmYTTlNHRgjE+pTsT9oJXGaDSgqqwfdHotDUg== + buffer-to-arraybuffer@^0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz#6064a40fa76eb43c723aba9ef8f6e1216d10511a" @@ -6410,6 +6569,11 @@ bufferutil@^4.0.1: dependencies: node-gyp-build "^4.3.0" +bufio@^1.0.7: + version "1.2.1" + resolved "https://registry.yarnpkg.com/bufio/-/bufio-1.2.1.tgz#8d4ab3ddfcd5faa90f996f922f9397d41cbaf2de" + integrity sha512-9oR3zNdupcg/Ge2sSHQF3GX+kmvL/fTPvD0nd5AGLq8SjUYnTz+SlFjK/GXidndbZtIj+pVKXiWeR9w6e9wKCA== + bunyan-blackhole@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/bunyan-blackhole/-/bunyan-blackhole-1.1.1.tgz#b9208586dc0b4e47f4f713215b1bddd65e4f6257" @@ -6559,6 +6723,19 @@ cbor@^5.2.0: bignumber.js "^9.0.1" nofilter "^1.0.4" +chai@^4.3.10, chai@^4.3.4: + version "4.4.1" + resolved "https://registry.yarnpkg.com/chai/-/chai-4.4.1.tgz#3603fa6eba35425b0f2ac91a009fe924106e50d1" + integrity sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g== + dependencies: + assertion-error "^1.1.0" + check-error "^1.0.3" + deep-eql "^4.1.3" + get-func-name "^2.0.2" + loupe "^2.3.6" + pathval "^1.1.1" + type-detect "^4.0.8" + chain-registry@^1.15.0: version "1.19.0" resolved "https://registry.yarnpkg.com/chain-registry/-/chain-registry-1.19.0.tgz#6d2d56b56efebee0d15ced8f9bd8329a099ce04d" @@ -6613,6 +6790,13 @@ char-regex@^1.0.2: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== +check-error@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.3.tgz#a6502e4312a7ee969f646e83bb3ddd56281bd694" + integrity sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg== + dependencies: + get-func-name "^2.0.2" + chokidar@3.5.3, chokidar@^3.4.0, chokidar@^3.5.2, chokidar@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" @@ -7132,6 +7316,11 @@ crypto-browserify@3.12.0: randombytes "^2.0.0" randomfill "^1.0.3" +crypto-js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" + integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== + cssfilter@0.0.10: version "0.0.10" resolved "https://registry.yarnpkg.com/cssfilter/-/cssfilter-0.0.10.tgz#c6d2672632a2e5c83e013e6864a42ce8defd20ae" @@ -7299,6 +7488,13 @@ dedent@^1.0.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.1.tgz#4f3fc94c8b711e9bb2800d185cd6ad20f2a90aff" integrity sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg== +deep-eql@^4.1.3: + version "4.1.4" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-4.1.4.tgz#d0d3912865911bb8fac5afb4e3acfa6a28dc72b7" + integrity sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg== + dependencies: + type-detect "^4.0.0" + deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" @@ -8187,36 +8383,36 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1: "ethers-xdc@file:./vendor/ethers-xdc": version "5.7.2" dependencies: - "@ethersproject-xdc/abi" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/abi" - "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/address" - "@ethersproject-xdc/base64" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/base64" - "@ethersproject-xdc/basex" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/basex" - "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/constants" - "@ethersproject-xdc/contracts" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/contracts" - "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/hash" - "@ethersproject-xdc/hdnode" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/hdnode" - "@ethersproject-xdc/json-wallets" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/json-wallets" - "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/logger" - "@ethersproject-xdc/networks" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/networks" - "@ethersproject-xdc/pbkdf2" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/pbkdf2" - "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/properties" - "@ethersproject-xdc/providers" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/providers" - "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/random" - "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/rlp" - "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/sha2" - "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/signing-key" - "@ethersproject-xdc/solidity" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/solidity" - "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/transactions" - "@ethersproject-xdc/units" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/units" - "@ethersproject-xdc/wallet" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/wallet" - "@ethersproject-xdc/web" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/web" - "@ethersproject-xdc/wordlists" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-3faff01f-0772-46f1-9b80-915623b4e15b-1721879684675/node_modules/@ethersproject-xdc/wordlists" + "@ethersproject-xdc/abi" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/abi" + "@ethersproject-xdc/abstract-provider" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/address" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/address" + "@ethersproject-xdc/base64" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/base64" + "@ethersproject-xdc/basex" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/basex" + "@ethersproject-xdc/bignumber" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/bytes" + "@ethersproject-xdc/constants" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/constants" + "@ethersproject-xdc/contracts" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/contracts" + "@ethersproject-xdc/hash" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/hash" + "@ethersproject-xdc/hdnode" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/hdnode" + "@ethersproject-xdc/json-wallets" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/json-wallets" + "@ethersproject-xdc/keccak256" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/logger" + "@ethersproject-xdc/networks" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/networks" + "@ethersproject-xdc/pbkdf2" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/pbkdf2" + "@ethersproject-xdc/properties" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/properties" + "@ethersproject-xdc/providers" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/providers" + "@ethersproject-xdc/random" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/random" + "@ethersproject-xdc/rlp" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/rlp" + "@ethersproject-xdc/sha2" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/sha2" + "@ethersproject-xdc/signing-key" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/signing-key" + "@ethersproject-xdc/solidity" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/solidity" + "@ethersproject-xdc/strings" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/strings" + "@ethersproject-xdc/transactions" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/transactions" + "@ethersproject-xdc/units" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/units" + "@ethersproject-xdc/wallet" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/wallet" + "@ethersproject-xdc/web" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/web" + "@ethersproject-xdc/wordlists" "file:../Library/Caches/Yarn/v6/npm-ethers-xdc-5.7.2-e5efd892-dfaf-4ff4-8709-0edd37e33c6b-1721929615125/node_modules/@ethersproject-xdc/wordlists" ethers@4.0.0-beta.3: version "4.0.0-beta.3" @@ -8960,6 +9156,11 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== +get-func-name@^2.0.1, get-func-name@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.2.tgz#0d7cf20cd13fda808669ffa88f4ffc7a3943fc41" + integrity sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ== + get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" @@ -11309,6 +11510,13 @@ loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +loupe@^2.3.6: + version "2.3.7" + resolved "https://registry.yarnpkg.com/loupe/-/loupe-2.3.7.tgz#6e69b7d4db7d3ab436328013d37d1c8c3540c697" + integrity sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA== + dependencies: + get-func-name "^2.0.1" + lower-case-first@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/lower-case-first/-/lower-case-first-1.0.2.tgz#e5da7c26f29a7073be02d52bac9980e5922adfa1" @@ -11541,6 +11749,17 @@ merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== +merkletreejs@^0.3.11: + version "0.3.11" + resolved "https://registry.yarnpkg.com/merkletreejs/-/merkletreejs-0.3.11.tgz#e0de05c3ca1fd368de05a12cb8efb954ef6fc04f" + integrity sha512-LJKTl4iVNTndhL+3Uz/tfkjD0klIWsHlUzgtuNnNrsf7bAlXR30m+xYB7lHr5Z/l6e/yAIsr26Dabx6Buo4VGQ== + dependencies: + bignumber.js "^9.0.1" + buffer-reverse "^1.0.1" + crypto-js "^4.2.0" + treeify "^1.1.0" + web3-utils "^1.3.4" + methods@^1.1.2, methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" @@ -12649,6 +12868,11 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +pathval@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" + integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== + pbkdf2@^3.0.17, pbkdf2@^3.0.3, pbkdf2@^3.0.9, pbkdf2@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" @@ -13592,7 +13816,7 @@ ripple-keypairs@^1.1.5: hash.js "^1.0.3" ripple-address-codec "^4.3.1" -rlp@^2.2.3, rlp@^2.2.4: +rlp@^2.2.3, rlp@^2.2.4, rlp@^2.2.7: version "2.2.7" resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.2.7.tgz#33f31c4afac81124ac4b283e2bd4d9720b30beaf" integrity sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ== @@ -13838,6 +14062,11 @@ semver@^7.5.3, semver@^7.5.4: dependencies: lru-cache "^6.0.0" +semver@^7.6.0: + version "7.6.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" + integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== + semver@~7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" @@ -14792,6 +15021,11 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== +treeify@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" + integrity sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A== + triple-beam@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.3.0.tgz#a595214c7298db8339eeeee083e4d10bd8cb8dd9" @@ -14941,7 +15175,7 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" -type-detect@4.0.8: +type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== @@ -15821,7 +16055,7 @@ web3-shh@1.8.2: web3-core-subscriptions "1.8.2" web3-net "1.8.2" -web3-utils@1.2.1, web3-utils@1.7.3, web3-utils@1.8.2, web3-utils@^1.2.1: +web3-utils@1.2.1, web3-utils@1.7.3, web3-utils@1.8.2, web3-utils@^1.2.1, web3-utils@^1.3.4: version "1.7.3" resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.7.3.tgz#b214d05f124530d8694ad364509ac454d05f207c" integrity sha512-g6nQgvb/bUpVUIxJE+ezVN+rYwYmlFyMvMIRSuqpi1dk6ApDD00YNArrk7sPcZnjvxOJ76813Xs2vIN2rgh4lg==