├── .gitignore ├── .nvmrc ├── README.md ├── index.js ├── index.ts ├── package.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # idea 2 | .idea/ 3 | 4 | # Logs 5 | logs 6 | *.log 7 | npm-debug.log* 8 | yarn-debug.log* 9 | yarn-error.log* 10 | lerna-debug.log* 11 | 12 | # Diagnostic reports (https://nodejs.org/api/report.html) 13 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 14 | 15 | # Runtime data 16 | pids 17 | *.pid 18 | *.seed 19 | *.pid.lock 20 | 21 | # Directory for instrumented libs generated by jscoverage/JSCover 22 | lib-cov 23 | 24 | # Coverage directory used by tools like istanbul 25 | coverage 26 | *.lcov 27 | 28 | # nyc test coverage 29 | .nyc_output 30 | 31 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 32 | .grunt 33 | 34 | # Bower dependency directory (https://bower.io/) 35 | bower_components 36 | 37 | # node-waf configuration 38 | .lock-wscript 39 | 40 | # Compiled binary addons (https://nodejs.org/api/addons.html) 41 | build/Release 42 | 43 | # Dependency directories 44 | node_modules/ 45 | jspm_packages/ 46 | 47 | # Snowpack dependency directory (https://snowpack.dev/) 48 | web_modules/ 49 | 50 | # TypeScript cache 51 | *.tsbuildinfo 52 | 53 | # Optional npm cache directory 54 | .npm 55 | 56 | # Optional eslint cache 57 | .eslintcache 58 | 59 | # Microbundle cache 60 | .rpt2_cache/ 61 | .rts2_cache_cjs/ 62 | .rts2_cache_es/ 63 | .rts2_cache_umd/ 64 | 65 | # Optional REPL history 66 | .node_repl_history 67 | 68 | # Output of 'npm pack' 69 | *.tgz 70 | 71 | # Yarn Integrity file 72 | .yarn-integrity 73 | 74 | # dotenv environment variables file 75 | .env 76 | .env.test 77 | 78 | # parcel-bundler cache (https://parceljs.org/) 79 | .cache 80 | .parcel-cache 81 | 82 | # Next.js build output 83 | .next 84 | out 85 | 86 | # Nuxt.js build / generate output 87 | .nuxt 88 | dist 89 | 90 | # Gatsby files 91 | .cache/ 92 | # Comment in the public line in if your project uses Gatsby and not Next.js 93 | # https://nextjs.org/blog/next-9-1#public-directory-support 94 | # public 95 | 96 | # vuepress build output 97 | .vuepress/dist 98 | 99 | # Serverless directories 100 | .serverless/ 101 | 102 | # FuseBox cache 103 | .fusebox/ 104 | 105 | # DynamoDB Local files 106 | .dynamodb/ 107 | 108 | # TernJS port file 109 | .tern-port 110 | 111 | # Stores VSCode versions used for testing VSCode extensions 112 | .vscode-test 113 | 114 | # yarn v2 115 | .yarn/cache 116 | .yarn/unplugged 117 | .yarn/build-state.yml 118 | .yarn/install-state.gz 119 | .pnp.* 120 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 14 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LI.FI SDK - Node Demo 2 | 3 | We moved all SDK example into the SDK repository. Please find them there: https://github.com/lifinance/sdk?tab=readme-ov-file#examples 4 | 5 | ## Old Readme 6 | 7 | The demo of [our SDK](https://github.com/lifinance/sdk) executes a simple cross chain transfer of 1 USDT from Polygon to xDai using the best bridge it can find. 8 | 9 | It needs access to an actual wallet and makes real transactions on chain. 10 | 11 | 1. First you need to specify your `MNEMONIC` in your enviroment, e.g. 12 | ```bash 13 | export MNEMONIC="..." 14 | ``` 15 | 16 | 2. Execute the script. 17 | 18 | Either the TypeScript version: 19 | ```bash 20 | ts-node index.ts 21 | ``` 22 | Or the Javascript version: 23 | ```bash 24 | node index.js 25 | ``` 26 | 27 | 3. Sit back, relax and watch the show. 28 | 29 | First a route is searched and the script prints out what it found. The property `toAmount` will tell you how much USDT will end up on xDAI. 30 | Then the SDK will execute all nessesarry steps to do the transfer (approval, send Transaction, wait the bridge, claim, ... ). It prints out status updates for each of these steps 31 | 32 | Sample output: 33 | ```bash 34 | { 35 | route: { 36 | id: '0xcae9da9a53573ee1b5f81f6fe7ebfcb49945a082455fa2be3662b44434cd156b', 37 | fromChainId: 137, 38 | fromAmountUSD: '1.00', 39 | fromAmount: '1000000', 40 | fromToken: { 41 | id: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f', 42 | symbol: 'USDT', 43 | decimals: 6, 44 | chainId: 137, 45 | name: '(PoS) Tether USD', 46 | chainKey: 'pol', 47 | key: 'USDT', 48 | priceUSD: '1', 49 | logoURI: 'https://static.debank.com/image/matic_token/logo_url/0xc2132d05d31c914a87c6611c10748aeb04b58e8f/66eadee7b7bb16b75e02b570ab8d5c01.png' 50 | }, 51 | toChainId: 100, 52 | toAmountUSD: '0.85', 53 | toAmount: '851698', 54 | toAmountMin: '851698', 55 | toToken: { 56 | id: '0x4ecaba5870353805a9f068101a40e0f32ed605c6', 57 | symbol: 'USDT', 58 | decimals: 6, 59 | chainId: 100, 60 | name: 'Tether USD on xDai', 61 | chainKey: 'dai', 62 | key: 'USDT', 63 | priceUSD: '1', 64 | logoURI: 'https://static.debank.com/image/xdai_token/logo_url/0x4ecaba5870353805a9f068101a40e0f32ed605c6/66eadee7b7bb16b75e02b570ab8d5c01.png' 65 | }, 66 | gasCostUSD: '0.01', 67 | steps: [ [Object] ] 68 | } 69 | } 70 | 71 | { status: 'NOT_STARTED', process: [] } 72 | { 73 | status: 'PENDING', 74 | process: [ 75 | { 76 | id: 'allowanceProcess', 77 | startedAt: 1638960397132, 78 | message: 'Set Allowance for USDT', 79 | status: 'PENDING' 80 | } 81 | ] 82 | } 83 | ... 84 | { 85 | status: 'DONE', 86 | process: [ 87 | { 88 | id: 'allowanceProcess', 89 | startedAt: 1638960397132, 90 | message: 'Already Approved', 91 | status: 'DONE', 92 | doneAt: 1638960397438 93 | }, 94 | { 95 | id: 'crossProcess', 96 | startedAt: 1638960397438, 97 | message: 'Transfer started: ', 98 | status: 'DONE', 99 | txHash: '0xfc8f43109ccdd7ea6446b770e99b0e3e449ebb13b0d07aae3553bb10994ac24d', 100 | txLink: 'https://polygonscan.com/tx/0xfc8f43109ccdd7ea6446b770e99b0e3e449ebb13b0d07aae3553bb10994ac24d', 101 | doneAt: 1638960430378 102 | }, 103 | { 104 | id: 'claimProcess', 105 | startedAt: 1638960430378, 106 | message: 'Swapped:', 107 | status: 'DONE', 108 | txHash: '0x55b2472502a6e7768eea47add832d06f5c7083ff2a808e5648985197bd84ed04', 109 | txLink: 'https://blockscout.com/xdai/mainnet/tx/0x55b2472502a6e7768eea47add832d06f5c7083ff2a808e5648985197bd84ed04', 110 | doneAt: 1638960852668 111 | } 112 | ], 113 | fromAmount: '1000000', 114 | toAmount: '851698' 115 | } 116 | DONE 117 | ``` 118 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import LifiSDK from "@lifi/sdk"; 2 | import ethers from "ethers"; 3 | 4 | const Lifi = new LifiSDK.default() 5 | 6 | async function demo() { 7 | // setup wallet 8 | if (!process.env.MNEMONIC) { 9 | console.warn( 10 | 'Please specify a MNEMONIC phrase in your environment variables: `export MNEMONIC="..."`' 11 | ); 12 | return; 13 | } 14 | console.log(">> Setup Wallet"); 15 | const provider = new ethers.providers.JsonRpcProvider( 16 | "https://polygon-rpc.com/", 17 | 137 18 | ); 19 | const wallet = ethers.Wallet.fromMnemonic(process.env.MNEMONIC).connect( 20 | provider 21 | ); 22 | 23 | // get Route 24 | console.log(">> Request route"); 25 | const routeRequest = { 26 | fromChainId: 137, // Polygon 27 | fromAmount: "1000000", // 1 USDT 28 | fromTokenAddress: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f", // USDT 29 | toChainId: 100, // xDai 30 | toTokenAddress: "0x4ecaba5870353805a9f068101a40e0f32ed605c6", // USDT 31 | options: { 32 | slippage: 0.03, // = 3% 33 | allowSwitchChain: false, // execute all transaction on starting chain 34 | exchanges: { 35 | allow: [], // only find direct transfers 36 | }, 37 | }, 38 | }; 39 | 40 | const routeResponse = await Lifi.getRoutes(routeRequest); 41 | const route = routeResponse.routes[0]; 42 | console.log(">> Got Route"); 43 | console.log(route); 44 | 45 | // execute Route 46 | console.log(">> Start Execution"); 47 | const settings = { 48 | updateCallback: (updatedRoute) => { 49 | let lastExecution; 50 | for (const step of updatedRoute.steps) { 51 | if (step.execution) { 52 | lastExecution = step.execution; 53 | } 54 | } 55 | console.log(lastExecution); 56 | }, 57 | switchChainHook: async (requiredChainId) => { 58 | console.log(">>Switching Chains"); 59 | const provider = new ethers.providers.JsonRpcProvider( 60 | "https://rpc.xdaichain.com/", 61 | requiredChainId 62 | ); 63 | const wallet = ethers.Wallet.fromMnemonic(process.env.MNEMONIC).connect( 64 | provider 65 | ); 66 | return wallet; 67 | }, 68 | }; 69 | await Lifi.executeRoute(wallet, route, settings); 70 | 71 | console.log("DONE"); 72 | } 73 | 74 | demo(); 75 | -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- 1 | import Lifi, { 2 | ChainId, 3 | CoinKey, 4 | ConfigUpdate, 5 | Execution, 6 | ExecutionSettings, 7 | findDefaultToken, 8 | Route 9 | } from "@lifi/sdk"; 10 | import { providers, Signer, Wallet } from 'ethers'; 11 | 12 | const mnemonic = process.env.MNEMONIC || ""; 13 | 14 | async function demo() { 15 | // setup wallet 16 | if (!process.env.MNEMONIC) { 17 | console.warn( 18 | 'Please specify a MNEMONIC phrase in your environment variables: `export MNEMONIC="..."`' 19 | ); 20 | return; 21 | } 22 | console.log(">> Setup Wallet"); 23 | const provider = new providers.JsonRpcProvider( 24 | "https://polygon-rpc.com/", 25 | 137 26 | ); 27 | const wallet = Wallet.fromMnemonic(mnemonic).connect(provider); 28 | 29 | // get Route 30 | console.log(">> Request route"); 31 | const routeRequest = { 32 | fromChainId: ChainId.POL, // Polygon 33 | fromAmount: "1000000", // 1 USDT 34 | fromTokenAddress: findDefaultToken(CoinKey.USDT, ChainId.POL).address, 35 | toChainId: ChainId.DAI, // xDai 36 | toTokenAddress: findDefaultToken(CoinKey.USDT, ChainId.DAI).address, 37 | options: { 38 | slippage: 0.03, // = 3% 39 | allowSwitchChain: false, // execute all transaction on starting chain 40 | exchanges: { 41 | allow: [], // only find direct transfers 42 | }, 43 | }, 44 | }; 45 | 46 | // STEP 1: Initialize the API 47 | 48 | // ☝️ This configuration is totally optional! ------------------------------------ 49 | const optionalConfigs: ConfigUpdate = { 50 | apiUrl: 'https://li.quest', // DEFAULT production endpoint 51 | rpcs: { // You can provide custom RPCs 52 | 137: ['https://polygon-rpc.com/'] 53 | }, 54 | multicallAddresses: { // You can provide custom addresses for multicall 55 | 137: '0x02817C1e3543c2d908a590F5dB6bc97f933dB4BD' 56 | }, 57 | defaultExecutionSettings: { // You can provide default execution settings @see {ExecutionSettings} 58 | updateCallback: (route: Route):void => { 59 | console.log('>> Route updated', route); 60 | }, 61 | switchChainHook: (requiredChainId: number):Promise => { 62 | console.log('>> Switching to chain', requiredChainId); 63 | return Promise.resolve(wallet); 64 | }, 65 | infiniteApproval: false, // DEFAULT false 66 | } 67 | } 68 | // --------------------------------------------------------------------------- 69 | 70 | const api = new Lifi(optionalConfigs); 71 | 72 | // STEP 2: Request a route 73 | const routeResponse = await api.getRoutes(routeRequest); 74 | const route = routeResponse.routes[0]; 75 | console.log(">> Got Route"); 76 | console.log(route); 77 | 78 | // STEP 3: Execute the route 79 | console.log(">> Start Execution"); 80 | 81 | // These are optonal settings for execution ------------------------------------ 82 | const settings: ExecutionSettings = { 83 | updateCallback: (updatedRoute) => { 84 | let lastExecution: Execution | undefined = undefined; 85 | for (const step of updatedRoute.steps) { 86 | if (step.execution) { 87 | lastExecution = step.execution; 88 | } 89 | } 90 | console.log(lastExecution); 91 | }, 92 | switchChainHook: async (requiredChainId: number) => { 93 | console.log(">>Switching Chains"); 94 | const provider = new providers.JsonRpcProvider( 95 | "https://rpc.xdaichain.com/", 96 | requiredChainId 97 | ); 98 | const wallet = Wallet.fromMnemonic(mnemonic).connect(provider); 99 | return wallet; 100 | }, 101 | }; 102 | // --------------------------------------------------------------------------- 103 | 104 | await api.executeRoute(wallet, route, settings); 105 | 106 | console.log(">> Done"); 107 | } 108 | 109 | demo(); 110 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lifi-sdk-node-sample", 3 | "version": "0.0.1", 4 | "type": "module", 5 | "description": "Sample project to showcase the usage of @lifi/sdk", 6 | "main": "index.js", 7 | "author": "Max Klenk ", 8 | "license": "MIT", 9 | "dependencies": { 10 | "@lifi/sdk": "^1.7.2" 11 | }, 12 | "devDependencies": { 13 | "@types/node": "^18.11.17", 14 | "ts-node": "^10.8.2", 15 | "typescript": "^4.9.4" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@cspotcode/source-map-support@^0.8.0": 6 | version "0.8.1" 7 | resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" 8 | integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== 9 | dependencies: 10 | "@jridgewell/trace-mapping" "0.3.9" 11 | 12 | "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": 13 | version "5.7.0" 14 | resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" 15 | integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== 16 | dependencies: 17 | "@ethersproject/address" "^5.7.0" 18 | "@ethersproject/bignumber" "^5.7.0" 19 | "@ethersproject/bytes" "^5.7.0" 20 | "@ethersproject/constants" "^5.7.0" 21 | "@ethersproject/hash" "^5.7.0" 22 | "@ethersproject/keccak256" "^5.7.0" 23 | "@ethersproject/logger" "^5.7.0" 24 | "@ethersproject/properties" "^5.7.0" 25 | "@ethersproject/strings" "^5.7.0" 26 | 27 | "@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.7.0": 28 | version "5.7.0" 29 | resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" 30 | integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== 31 | dependencies: 32 | "@ethersproject/bignumber" "^5.7.0" 33 | "@ethersproject/bytes" "^5.7.0" 34 | "@ethersproject/logger" "^5.7.0" 35 | "@ethersproject/networks" "^5.7.0" 36 | "@ethersproject/properties" "^5.7.0" 37 | "@ethersproject/transactions" "^5.7.0" 38 | "@ethersproject/web" "^5.7.0" 39 | 40 | "@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.7.0": 41 | version "5.7.0" 42 | resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" 43 | integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== 44 | dependencies: 45 | "@ethersproject/abstract-provider" "^5.7.0" 46 | "@ethersproject/bignumber" "^5.7.0" 47 | "@ethersproject/bytes" "^5.7.0" 48 | "@ethersproject/logger" "^5.7.0" 49 | "@ethersproject/properties" "^5.7.0" 50 | 51 | "@ethersproject/address@5.7.0", "@ethersproject/address@^5.7.0": 52 | version "5.7.0" 53 | resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" 54 | integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== 55 | dependencies: 56 | "@ethersproject/bignumber" "^5.7.0" 57 | "@ethersproject/bytes" "^5.7.0" 58 | "@ethersproject/keccak256" "^5.7.0" 59 | "@ethersproject/logger" "^5.7.0" 60 | "@ethersproject/rlp" "^5.7.0" 61 | 62 | "@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0": 63 | version "5.7.0" 64 | resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" 65 | integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== 66 | dependencies: 67 | "@ethersproject/bytes" "^5.7.0" 68 | 69 | "@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0": 70 | version "5.7.0" 71 | resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" 72 | integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== 73 | dependencies: 74 | "@ethersproject/bytes" "^5.7.0" 75 | "@ethersproject/properties" "^5.7.0" 76 | 77 | "@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.7.0": 78 | version "5.7.0" 79 | resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" 80 | integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== 81 | dependencies: 82 | "@ethersproject/bytes" "^5.7.0" 83 | "@ethersproject/logger" "^5.7.0" 84 | bn.js "^5.2.1" 85 | 86 | "@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.7.0": 87 | version "5.7.0" 88 | resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" 89 | integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== 90 | dependencies: 91 | "@ethersproject/logger" "^5.7.0" 92 | 93 | "@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0": 94 | version "5.7.0" 95 | resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" 96 | integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== 97 | dependencies: 98 | "@ethersproject/bignumber" "^5.7.0" 99 | 100 | "@ethersproject/contracts@5.7.0", "@ethersproject/contracts@^5.7.0": 101 | version "5.7.0" 102 | resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e" 103 | integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg== 104 | dependencies: 105 | "@ethersproject/abi" "^5.7.0" 106 | "@ethersproject/abstract-provider" "^5.7.0" 107 | "@ethersproject/abstract-signer" "^5.7.0" 108 | "@ethersproject/address" "^5.7.0" 109 | "@ethersproject/bignumber" "^5.7.0" 110 | "@ethersproject/bytes" "^5.7.0" 111 | "@ethersproject/constants" "^5.7.0" 112 | "@ethersproject/logger" "^5.7.0" 113 | "@ethersproject/properties" "^5.7.0" 114 | "@ethersproject/transactions" "^5.7.0" 115 | 116 | "@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.7.0": 117 | version "5.7.0" 118 | resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" 119 | integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== 120 | dependencies: 121 | "@ethersproject/abstract-signer" "^5.7.0" 122 | "@ethersproject/address" "^5.7.0" 123 | "@ethersproject/base64" "^5.7.0" 124 | "@ethersproject/bignumber" "^5.7.0" 125 | "@ethersproject/bytes" "^5.7.0" 126 | "@ethersproject/keccak256" "^5.7.0" 127 | "@ethersproject/logger" "^5.7.0" 128 | "@ethersproject/properties" "^5.7.0" 129 | "@ethersproject/strings" "^5.7.0" 130 | 131 | "@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0": 132 | version "5.7.0" 133 | resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" 134 | integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== 135 | dependencies: 136 | "@ethersproject/abstract-signer" "^5.7.0" 137 | "@ethersproject/basex" "^5.7.0" 138 | "@ethersproject/bignumber" "^5.7.0" 139 | "@ethersproject/bytes" "^5.7.0" 140 | "@ethersproject/logger" "^5.7.0" 141 | "@ethersproject/pbkdf2" "^5.7.0" 142 | "@ethersproject/properties" "^5.7.0" 143 | "@ethersproject/sha2" "^5.7.0" 144 | "@ethersproject/signing-key" "^5.7.0" 145 | "@ethersproject/strings" "^5.7.0" 146 | "@ethersproject/transactions" "^5.7.0" 147 | "@ethersproject/wordlists" "^5.7.0" 148 | 149 | "@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0": 150 | version "5.7.0" 151 | resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" 152 | integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== 153 | dependencies: 154 | "@ethersproject/abstract-signer" "^5.7.0" 155 | "@ethersproject/address" "^5.7.0" 156 | "@ethersproject/bytes" "^5.7.0" 157 | "@ethersproject/hdnode" "^5.7.0" 158 | "@ethersproject/keccak256" "^5.7.0" 159 | "@ethersproject/logger" "^5.7.0" 160 | "@ethersproject/pbkdf2" "^5.7.0" 161 | "@ethersproject/properties" "^5.7.0" 162 | "@ethersproject/random" "^5.7.0" 163 | "@ethersproject/strings" "^5.7.0" 164 | "@ethersproject/transactions" "^5.7.0" 165 | aes-js "3.0.0" 166 | scrypt-js "3.0.1" 167 | 168 | "@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.7.0": 169 | version "5.7.0" 170 | resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" 171 | integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== 172 | dependencies: 173 | "@ethersproject/bytes" "^5.7.0" 174 | js-sha3 "0.8.0" 175 | 176 | "@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.7.0": 177 | version "5.7.0" 178 | resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" 179 | integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== 180 | 181 | "@ethersproject/networks@5.7.1": 182 | version "5.7.1" 183 | resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" 184 | integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== 185 | dependencies: 186 | "@ethersproject/logger" "^5.7.0" 187 | 188 | "@ethersproject/networks@^5.7.0": 189 | version "5.7.0" 190 | resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.0.tgz#df72a392f1a63a57f87210515695a31a245845ad" 191 | integrity sha512-MG6oHSQHd4ebvJrleEQQ4HhVu8Ichr0RDYEfHzsVAVjHNM+w36x9wp9r+hf1JstMXtseXDtkiVoARAG6M959AA== 192 | dependencies: 193 | "@ethersproject/logger" "^5.7.0" 194 | 195 | "@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0": 196 | version "5.7.0" 197 | resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" 198 | integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== 199 | dependencies: 200 | "@ethersproject/bytes" "^5.7.0" 201 | "@ethersproject/sha2" "^5.7.0" 202 | 203 | "@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.7.0": 204 | version "5.7.0" 205 | resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" 206 | integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== 207 | dependencies: 208 | "@ethersproject/logger" "^5.7.0" 209 | 210 | "@ethersproject/providers@5.7.2": 211 | version "5.7.2" 212 | resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb" 213 | integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg== 214 | dependencies: 215 | "@ethersproject/abstract-provider" "^5.7.0" 216 | "@ethersproject/abstract-signer" "^5.7.0" 217 | "@ethersproject/address" "^5.7.0" 218 | "@ethersproject/base64" "^5.7.0" 219 | "@ethersproject/basex" "^5.7.0" 220 | "@ethersproject/bignumber" "^5.7.0" 221 | "@ethersproject/bytes" "^5.7.0" 222 | "@ethersproject/constants" "^5.7.0" 223 | "@ethersproject/hash" "^5.7.0" 224 | "@ethersproject/logger" "^5.7.0" 225 | "@ethersproject/networks" "^5.7.0" 226 | "@ethersproject/properties" "^5.7.0" 227 | "@ethersproject/random" "^5.7.0" 228 | "@ethersproject/rlp" "^5.7.0" 229 | "@ethersproject/sha2" "^5.7.0" 230 | "@ethersproject/strings" "^5.7.0" 231 | "@ethersproject/transactions" "^5.7.0" 232 | "@ethersproject/web" "^5.7.0" 233 | bech32 "1.1.4" 234 | ws "7.4.6" 235 | 236 | "@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0": 237 | version "5.7.0" 238 | resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" 239 | integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== 240 | dependencies: 241 | "@ethersproject/bytes" "^5.7.0" 242 | "@ethersproject/logger" "^5.7.0" 243 | 244 | "@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.7.0": 245 | version "5.7.0" 246 | resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" 247 | integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== 248 | dependencies: 249 | "@ethersproject/bytes" "^5.7.0" 250 | "@ethersproject/logger" "^5.7.0" 251 | 252 | "@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0": 253 | version "5.7.0" 254 | resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" 255 | integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== 256 | dependencies: 257 | "@ethersproject/bytes" "^5.7.0" 258 | "@ethersproject/logger" "^5.7.0" 259 | hash.js "1.1.7" 260 | 261 | "@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.7.0": 262 | version "5.7.0" 263 | resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" 264 | integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== 265 | dependencies: 266 | "@ethersproject/bytes" "^5.7.0" 267 | "@ethersproject/logger" "^5.7.0" 268 | "@ethersproject/properties" "^5.7.0" 269 | bn.js "^5.2.1" 270 | elliptic "6.5.4" 271 | hash.js "1.1.7" 272 | 273 | "@ethersproject/solidity@5.7.0": 274 | version "5.7.0" 275 | resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8" 276 | integrity sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA== 277 | dependencies: 278 | "@ethersproject/bignumber" "^5.7.0" 279 | "@ethersproject/bytes" "^5.7.0" 280 | "@ethersproject/keccak256" "^5.7.0" 281 | "@ethersproject/logger" "^5.7.0" 282 | "@ethersproject/sha2" "^5.7.0" 283 | "@ethersproject/strings" "^5.7.0" 284 | 285 | "@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.7.0": 286 | version "5.7.0" 287 | resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" 288 | integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== 289 | dependencies: 290 | "@ethersproject/bytes" "^5.7.0" 291 | "@ethersproject/constants" "^5.7.0" 292 | "@ethersproject/logger" "^5.7.0" 293 | 294 | "@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0": 295 | version "5.7.0" 296 | resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" 297 | integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== 298 | dependencies: 299 | "@ethersproject/address" "^5.7.0" 300 | "@ethersproject/bignumber" "^5.7.0" 301 | "@ethersproject/bytes" "^5.7.0" 302 | "@ethersproject/constants" "^5.7.0" 303 | "@ethersproject/keccak256" "^5.7.0" 304 | "@ethersproject/logger" "^5.7.0" 305 | "@ethersproject/properties" "^5.7.0" 306 | "@ethersproject/rlp" "^5.7.0" 307 | "@ethersproject/signing-key" "^5.7.0" 308 | 309 | "@ethersproject/units@5.7.0": 310 | version "5.7.0" 311 | resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1" 312 | integrity sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg== 313 | dependencies: 314 | "@ethersproject/bignumber" "^5.7.0" 315 | "@ethersproject/constants" "^5.7.0" 316 | "@ethersproject/logger" "^5.7.0" 317 | 318 | "@ethersproject/wallet@5.7.0": 319 | version "5.7.0" 320 | resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d" 321 | integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA== 322 | dependencies: 323 | "@ethersproject/abstract-provider" "^5.7.0" 324 | "@ethersproject/abstract-signer" "^5.7.0" 325 | "@ethersproject/address" "^5.7.0" 326 | "@ethersproject/bignumber" "^5.7.0" 327 | "@ethersproject/bytes" "^5.7.0" 328 | "@ethersproject/hash" "^5.7.0" 329 | "@ethersproject/hdnode" "^5.7.0" 330 | "@ethersproject/json-wallets" "^5.7.0" 331 | "@ethersproject/keccak256" "^5.7.0" 332 | "@ethersproject/logger" "^5.7.0" 333 | "@ethersproject/properties" "^5.7.0" 334 | "@ethersproject/random" "^5.7.0" 335 | "@ethersproject/signing-key" "^5.7.0" 336 | "@ethersproject/transactions" "^5.7.0" 337 | "@ethersproject/wordlists" "^5.7.0" 338 | 339 | "@ethersproject/web@5.7.1": 340 | version "5.7.1" 341 | resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" 342 | integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== 343 | dependencies: 344 | "@ethersproject/base64" "^5.7.0" 345 | "@ethersproject/bytes" "^5.7.0" 346 | "@ethersproject/logger" "^5.7.0" 347 | "@ethersproject/properties" "^5.7.0" 348 | "@ethersproject/strings" "^5.7.0" 349 | 350 | "@ethersproject/web@^5.7.0": 351 | version "5.7.0" 352 | resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.0.tgz#40850c05260edad8b54827923bbad23d96aac0bc" 353 | integrity sha512-ApHcbbj+muRASVDSCl/tgxaH2LBkRMEYfLOLVa0COipx0+nlu0QKet7U2lEg0vdkh8XRSLf2nd1f1Uk9SrVSGA== 354 | dependencies: 355 | "@ethersproject/base64" "^5.7.0" 356 | "@ethersproject/bytes" "^5.7.0" 357 | "@ethersproject/logger" "^5.7.0" 358 | "@ethersproject/properties" "^5.7.0" 359 | "@ethersproject/strings" "^5.7.0" 360 | 361 | "@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0": 362 | version "5.7.0" 363 | resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" 364 | integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== 365 | dependencies: 366 | "@ethersproject/bytes" "^5.7.0" 367 | "@ethersproject/hash" "^5.7.0" 368 | "@ethersproject/logger" "^5.7.0" 369 | "@ethersproject/properties" "^5.7.0" 370 | "@ethersproject/strings" "^5.7.0" 371 | 372 | "@jridgewell/resolve-uri@^3.0.3": 373 | version "3.1.0" 374 | resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" 375 | integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== 376 | 377 | "@jridgewell/sourcemap-codec@^1.4.10": 378 | version "1.4.14" 379 | resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" 380 | integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== 381 | 382 | "@jridgewell/trace-mapping@0.3.9": 383 | version "0.3.9" 384 | resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" 385 | integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== 386 | dependencies: 387 | "@jridgewell/resolve-uri" "^3.0.3" 388 | "@jridgewell/sourcemap-codec" "^1.4.10" 389 | 390 | "@lifi/sdk@^1.7.2": 391 | version "1.7.2" 392 | resolved "https://registry.yarnpkg.com/@lifi/sdk/-/sdk-1.7.2.tgz#a3cda45ca67c747cf13ab593b572e14a2d3a41cb" 393 | integrity sha512-FOkPDOPF9EcNv13FpCEDmrzFz2aDqqsOcgOEsRbiF59QfdUU2jNMhI19D9xGthdda4amx0cXHANykPRYLWtkQA== 394 | dependencies: 395 | "@ethersproject/abi" "^5.7.0" 396 | "@ethersproject/contracts" "^5.7.0" 397 | "@lifi/types" "^1.19.0" 398 | axios "1.1.3" 399 | bignumber.js "^9.1.1" 400 | eth-rpc-errors "^4.0.3" 401 | ethers "^5.7.2" 402 | 403 | "@lifi/types@^1.19.0": 404 | version "1.20.0" 405 | resolved "https://registry.yarnpkg.com/@lifi/types/-/types-1.20.0.tgz#53e271b3e3d2eea5a499ac1d872e65d8ec1a4f65" 406 | integrity sha512-1VLjebMF1Qh9iJM0BXkkwKrpze+VUo7bofgG4X5ZiMy/3eG0oY7AsuFzV/0uNQMzbBJGCqqdEVggVTV6uoMhPw== 407 | dependencies: 408 | ethers "^5.7.2" 409 | 410 | "@tsconfig/node10@^1.0.7": 411 | version "1.0.9" 412 | resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" 413 | integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== 414 | 415 | "@tsconfig/node12@^1.0.7": 416 | version "1.0.11" 417 | resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" 418 | integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== 419 | 420 | "@tsconfig/node14@^1.0.0": 421 | version "1.0.3" 422 | resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" 423 | integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== 424 | 425 | "@tsconfig/node16@^1.0.2": 426 | version "1.0.3" 427 | resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" 428 | integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== 429 | 430 | "@types/node@^18.11.17": 431 | version "18.11.17" 432 | resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.17.tgz#5c009e1d9c38f4a2a9d45c0b0c493fe6cdb4bcb5" 433 | integrity sha512-HJSUJmni4BeDHhfzn6nF0sVmd1SMezP7/4F0Lq+aXzmp2xm9O7WXrUtHW/CHlYVtZUbByEvWidHqRtcJXGF2Ng== 434 | 435 | acorn-walk@^8.1.1: 436 | version "8.2.0" 437 | resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" 438 | integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== 439 | 440 | acorn@^8.4.1: 441 | version "8.8.0" 442 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" 443 | integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== 444 | 445 | aes-js@3.0.0: 446 | version "3.0.0" 447 | resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" 448 | integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== 449 | 450 | arg@^4.1.0: 451 | version "4.1.3" 452 | resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" 453 | integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== 454 | 455 | asynckit@^0.4.0: 456 | version "0.4.0" 457 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 458 | integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== 459 | 460 | axios@1.1.3: 461 | version "1.1.3" 462 | resolved "https://registry.yarnpkg.com/axios/-/axios-1.1.3.tgz#8274250dada2edf53814ed7db644b9c2866c1e35" 463 | integrity sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA== 464 | dependencies: 465 | follow-redirects "^1.15.0" 466 | form-data "^4.0.0" 467 | proxy-from-env "^1.1.0" 468 | 469 | bech32@1.1.4: 470 | version "1.1.4" 471 | resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" 472 | integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== 473 | 474 | bignumber.js@^9.1.1: 475 | version "9.1.1" 476 | resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" 477 | integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== 478 | 479 | bn.js@^4.11.9: 480 | version "4.12.0" 481 | resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" 482 | integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== 483 | 484 | bn.js@^5.2.1: 485 | version "5.2.1" 486 | resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" 487 | integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== 488 | 489 | brorand@^1.1.0: 490 | version "1.1.0" 491 | resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" 492 | integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== 493 | 494 | combined-stream@^1.0.8: 495 | version "1.0.8" 496 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" 497 | integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== 498 | dependencies: 499 | delayed-stream "~1.0.0" 500 | 501 | create-require@^1.1.0: 502 | version "1.1.1" 503 | resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" 504 | integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== 505 | 506 | delayed-stream@~1.0.0: 507 | version "1.0.0" 508 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 509 | integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== 510 | 511 | diff@^4.0.1: 512 | version "4.0.2" 513 | resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" 514 | integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== 515 | 516 | elliptic@6.5.4: 517 | version "6.5.4" 518 | resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" 519 | integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== 520 | dependencies: 521 | bn.js "^4.11.9" 522 | brorand "^1.1.0" 523 | hash.js "^1.0.0" 524 | hmac-drbg "^1.0.1" 525 | inherits "^2.0.4" 526 | minimalistic-assert "^1.0.1" 527 | minimalistic-crypto-utils "^1.0.1" 528 | 529 | eth-rpc-errors@^4.0.3: 530 | version "4.0.3" 531 | resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz#6ddb6190a4bf360afda82790bb7d9d5e724f423a" 532 | integrity sha512-Z3ymjopaoft7JDoxZcEb3pwdGh7yiYMhOwm2doUt6ASXlMavpNlK6Cre0+IMl2VSGyEU9rkiperQhp5iRxn5Pg== 533 | dependencies: 534 | fast-safe-stringify "^2.0.6" 535 | 536 | ethers@^5.7.2: 537 | version "5.7.2" 538 | resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" 539 | integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== 540 | dependencies: 541 | "@ethersproject/abi" "5.7.0" 542 | "@ethersproject/abstract-provider" "5.7.0" 543 | "@ethersproject/abstract-signer" "5.7.0" 544 | "@ethersproject/address" "5.7.0" 545 | "@ethersproject/base64" "5.7.0" 546 | "@ethersproject/basex" "5.7.0" 547 | "@ethersproject/bignumber" "5.7.0" 548 | "@ethersproject/bytes" "5.7.0" 549 | "@ethersproject/constants" "5.7.0" 550 | "@ethersproject/contracts" "5.7.0" 551 | "@ethersproject/hash" "5.7.0" 552 | "@ethersproject/hdnode" "5.7.0" 553 | "@ethersproject/json-wallets" "5.7.0" 554 | "@ethersproject/keccak256" "5.7.0" 555 | "@ethersproject/logger" "5.7.0" 556 | "@ethersproject/networks" "5.7.1" 557 | "@ethersproject/pbkdf2" "5.7.0" 558 | "@ethersproject/properties" "5.7.0" 559 | "@ethersproject/providers" "5.7.2" 560 | "@ethersproject/random" "5.7.0" 561 | "@ethersproject/rlp" "5.7.0" 562 | "@ethersproject/sha2" "5.7.0" 563 | "@ethersproject/signing-key" "5.7.0" 564 | "@ethersproject/solidity" "5.7.0" 565 | "@ethersproject/strings" "5.7.0" 566 | "@ethersproject/transactions" "5.7.0" 567 | "@ethersproject/units" "5.7.0" 568 | "@ethersproject/wallet" "5.7.0" 569 | "@ethersproject/web" "5.7.1" 570 | "@ethersproject/wordlists" "5.7.0" 571 | 572 | fast-safe-stringify@^2.0.6: 573 | version "2.1.1" 574 | resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" 575 | integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== 576 | 577 | follow-redirects@^1.15.0: 578 | version "1.15.2" 579 | resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" 580 | integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== 581 | 582 | form-data@^4.0.0: 583 | version "4.0.0" 584 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" 585 | integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== 586 | dependencies: 587 | asynckit "^0.4.0" 588 | combined-stream "^1.0.8" 589 | mime-types "^2.1.12" 590 | 591 | hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: 592 | version "1.1.7" 593 | resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" 594 | integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== 595 | dependencies: 596 | inherits "^2.0.3" 597 | minimalistic-assert "^1.0.1" 598 | 599 | hmac-drbg@^1.0.1: 600 | version "1.0.1" 601 | resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" 602 | integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== 603 | dependencies: 604 | hash.js "^1.0.3" 605 | minimalistic-assert "^1.0.0" 606 | minimalistic-crypto-utils "^1.0.1" 607 | 608 | inherits@^2.0.3, inherits@^2.0.4: 609 | version "2.0.4" 610 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 611 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 612 | 613 | js-sha3@0.8.0: 614 | version "0.8.0" 615 | resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" 616 | integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== 617 | 618 | make-error@^1.1.1: 619 | version "1.3.6" 620 | resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" 621 | integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== 622 | 623 | mime-db@1.52.0: 624 | version "1.52.0" 625 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" 626 | integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== 627 | 628 | mime-types@^2.1.12: 629 | version "2.1.35" 630 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" 631 | integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== 632 | dependencies: 633 | mime-db "1.52.0" 634 | 635 | minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: 636 | version "1.0.1" 637 | resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" 638 | integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== 639 | 640 | minimalistic-crypto-utils@^1.0.1: 641 | version "1.0.1" 642 | resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" 643 | integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== 644 | 645 | proxy-from-env@^1.1.0: 646 | version "1.1.0" 647 | resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" 648 | integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== 649 | 650 | scrypt-js@3.0.1: 651 | version "3.0.1" 652 | resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" 653 | integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== 654 | 655 | ts-node@^10.8.2: 656 | version "10.9.1" 657 | resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" 658 | integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== 659 | dependencies: 660 | "@cspotcode/source-map-support" "^0.8.0" 661 | "@tsconfig/node10" "^1.0.7" 662 | "@tsconfig/node12" "^1.0.7" 663 | "@tsconfig/node14" "^1.0.0" 664 | "@tsconfig/node16" "^1.0.2" 665 | acorn "^8.4.1" 666 | acorn-walk "^8.1.1" 667 | arg "^4.1.0" 668 | create-require "^1.1.0" 669 | diff "^4.0.1" 670 | make-error "^1.1.1" 671 | v8-compile-cache-lib "^3.0.1" 672 | yn "3.1.1" 673 | 674 | typescript@^4.9.4: 675 | version "4.9.4" 676 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" 677 | integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== 678 | 679 | v8-compile-cache-lib@^3.0.1: 680 | version "3.0.1" 681 | resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" 682 | integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== 683 | 684 | ws@7.4.6: 685 | version "7.4.6" 686 | resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" 687 | integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== 688 | 689 | yn@3.1.1: 690 | version "3.1.1" 691 | resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" 692 | integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== 693 | --------------------------------------------------------------------------------