diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 2abf1de0..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "root": true, - "plugins": [ - "@typescript-eslint", - "import", - "unused-imports", - "prettier", - "@zapper-fi" - ], - "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], - "parserOptions": { - "project": "tsconfig.json" - }, - "rules": { - "@zapper-fi/ethereum-address": 2, - "@typescript-eslint/ban-ts-comment": 0, - "@typescript-eslint/explicit-function-return-type": 0, - "@typescript-eslint/explicit-member-accessibility": 0, - "@typescript-eslint/explicit-module-boundary-types": 0, - "@typescript-eslint/indent": 0, - "@typescript-eslint/member-delimiter-style": 0, - "@typescript-eslint/no-empty-function": 0, - "@typescript-eslint/no-explicit-any": 0, - "@typescript-eslint/no-floating-promises": 1, - "@typescript-eslint/no-misused-promises": 2, - "@typescript-eslint/no-non-null-assertion": 0, - "@typescript-eslint/no-use-before-define": 0, - "@typescript-eslint/no-var-requires": 0, - "prettier/prettier": 1, - "unused-imports/no-unused-imports-ts": 2, - "import/order": [ - 2, - { - "alphabetize": { - "order": "asc", - "caseInsensitive": true - }, - "groups": [ - "builtin", - "external", - "internal", - "parent", - "sibling", - "index" - ], - "pathGroups": [ - { - "pattern": "react", - "group": "external", - "position": "before" - }, - { - "pattern": "{~*,~*/**}", - "group": "internal" - } - ], - "pathGroupsExcludedImportTypes": ["builtin"], - "newlines-between": "always" - } - ], - "@typescript-eslint/no-unused-vars": [ - 2, - { - "argsIgnorePattern": "^_" - } - ], - "no-console": [ - 2, - { - "allow": ["warn", "error"] - } - ] - }, - "overrides": [ - { - "files": ["*.ts"], - "rules": { - "@typescript-eslint/consistent-type-definitions": "error", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-namespace": "off", - "@typescript-eslint/dot-notation": "off", - "@typescript-eslint/explicit-member-accessibility": [ - "off", - { - "accessibility": "explicit" - } - ], - "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/no-empty-interface": "error", - "@typescript-eslint/no-inferrable-types": [ - "error", - { - "ignoreParameters": true - } - ], - "@typescript-eslint/no-misused-new": "error", - "@typescript-eslint/no-shadow": [ - "error", - { - "hoist": "all" - } - ], - "@typescript-eslint/no-unused-expressions": "error", - "@typescript-eslint/prefer-function-type": "error", - "@typescript-eslint/unified-signatures": "error", - "arrow-body-style": "error", - "constructor-super": "error", - "eqeqeq": ["error", "smart"], - "guard-for-in": "error", - "id-blacklist": "off", - "id-match": "off", - "import/no-deprecated": "warn", - "import/order": "error", - "no-bitwise": "error", - "no-caller": "error", - "no-console": [ - "error", - { - "allow": [ - "log", - "warn", - "dir", - "timeLog", - "assert", - "clear", - "count", - "countReset", - "group", - "groupEnd", - "table", - "dirxml", - "error", - "groupCollapsed", - "Console", - "profile", - "profileEnd", - "timeStamp", - "context" - ] - } - ], - "no-debugger": "error", - "no-empty": "off", - "no-eval": "error", - "no-fallthrough": "error", - "no-new-wrappers": "error", - "no-restricted-imports": ["error", "rxjs/Rx"], - "no-throw-literal": "error", - "no-undef-init": "error", - "no-underscore-dangle": "off", - "no-var": "error", - "prefer-const": "error", - "radix": "error" - }, - "plugins": ["eslint-plugin-import", "@typescript-eslint"] - } - ], - "ignorePatterns": [ - "CHANGELOG.md", - "build", - "dist", - "node_modules", - "generated", - "examples", - "scripts", - "codegen.ts" - ] -} diff --git a/.github/README.md b/.github/README.md index c7339087..9af59f02 100644 --- a/.github/README.md +++ b/.github/README.md @@ -4,10 +4,8 @@ Phuture SDK is a JS library for using functionality related to defi indices made ## Installation -Use the package manager [pnpm](https://pnpm.io/) to install SDK's dependencies. - ```bash -pnpm i @phuture/sdk +npm i @phuture/sdk ``` ## Usage @@ -18,7 +16,6 @@ AutoRouter package has been created to find the best deal to buy or sell an inde ```typescript import { - Account, AutoRouter, Erc20, IndexRouter, @@ -27,13 +24,10 @@ import { import { ethers } from 'ethers' const amount = '1000' -const account = new Account( - new ethers.Wallet('PRIVATE_KEY', ethers.getDefaultProvider()), -) +const account = new ethers.Wallet('PRIVATE_KEY', ethers.getDefaultProvider()) const indexRouter = new IndexRouter(account) const zeroAggregator = new ZeroExAggregator() -const erc20 = new Erc20(account, 'ERC20_TOKEN_ADDRESS') const autoRouter = new AutoRouter(indexRouter, zeroAggregator) @@ -41,80 +35,7 @@ const autoRouter = new AutoRouter(indexRouter, zeroAggregator) autoRouter.autoBuy(indexTokenInterface, amount, erc20) // handle sell -autoRouter.autoBuy(indexTokenInterface, amount, erc20) -``` - -### Erc20 - -Erc20 package has been created to wrap the usual erc20 interface to use it - -```typescript -import { Erc20 } from '@phuture/sdk' -import { ethers } from 'ethers' - -const account = new Account( - new ethers.Wallet('PRIVATE_KEY', ethers.getDefaultProvider()), -) - -const erc20 = new Erc20(account, 'ERC20_TOKEN_ADDRESS') - -// get token's decimals -erc20.decimals() - -// get token's symbol -erc20.symbol() -``` - -### Index - -Index package has been created to wrap the Phuture's Index interface to use it - -```typescript -import { Index } from '@phuture/sdk' -import { ethers } from 'ethers' - -const account = new Account( - new ethers.Wallet('PRIVATE_KEY', ethers.getDefaultProvider()), -) - -const indexPDI = new Index(account, 'INDEX_CONTRACT') - -// get amount of input tokens to set underlying tokens amount -const { amounts, amountToSell } = indexPDI.scaleAmount(10000000000) -``` - -### Index Router - -Index Router package has been created to use methods from Phuture's IndexRouter contract such as mint, burn and others. - -```typescript -import { IndexRouter } from '@phuture/sdk' -import { ethers } from 'ethers' - -const account = new Account( - new ethers.Wallet('PRIVATE_KEY', ethers.getDefaultProvider()), -) -const mintOptions = { - index: 'INDEX_ADDRESS', - amountInBase: 100000, - recipient: 'RECIPIENT_ADDRESS', -} -const burnOptions = { - quotes: [], // can get it from 0x aggregator -} - -const indexRouter = new IndexRouter(account) - -// run mint transaction -const mintTx = await indexRouter.mintSwap(mintOptions, 'AMOUNT_IN_INPUT_TOKEN') - -// run burn transaction -const burnTx = await indexRouter.burnSwap( - 'INDEX_ADDRESS', - 'AMOUNT_IN_INDEX', - 'RECIPIENT_ADDRESS', - burnOptions, -) +autoRouter.autoSell(indexTokenInterface, amount, erc20) ``` ### 0x Aggregator @@ -125,10 +46,8 @@ ZeroEx Aggregator package has been created to use methods related for managing P import { Index, ZeroExAggregator } from '@phuture/sdk' import { ethers } from 'ethers' -const account = new Account( - new ethers.Wallet('PRIVATE_KEY', ethers.getDefaultProvider()), -) -const indexPDI = new Index(account, 'INDEX_CONTRACT') +const amount = '1000000000000000'; +const indexPDI = 'INDEX_CONTRACT'; const zeroAggregator = new ZeroExAggregator() @@ -143,25 +62,3 @@ const { amount, ) ``` - -### Subgraph - -Subgraph package has been created to get data related to index and users that hold the index - -```typescript -import { Subgraph } from '@phuture/sdk' - -const client = Subgraph.fromUrl() - -// get user data -const { data } = await client.query({ - query: gql` - query User($userId: ID!) { - user(id: $userId) { - id - } - } - `, - variables: { userId }, -}) -``` diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index d9ca6e18..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: CI - -on: - push: - branches: - - main - pull_request: - branches: - - main - types: [opened, synchronize] - -jobs: - ci: - name: Build, Lint and Test - timeout-minutes: 15 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest] - - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version: 14 - - - uses: pnpm/action-setup@v2.2.2 - name: Install pnpm - id: pnpm-install - with: - version: 7 - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" - - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install - - - name: Build code - run: pnpm build - - - name: Lint code - run: pnpm lint - - - name: Test code - run: pnpm test - env: - CI: true diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 99b975fb..00000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,74 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "main" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "main" ] - schedule: - - cron: '41 18 * * 5' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'javascript', 'typescript' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" diff --git a/.gitignore b/.gitignore index 723e7d52..c9777818 100644 --- a/.gitignore +++ b/.gitignore @@ -33,7 +33,6 @@ npm-debug.log yarn-error.log testem.log /typings -typechain/* # System Files .DS_Store diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..2bc05ba6 --- /dev/null +++ b/biome.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "organizeImports": { + "enabled": true + }, + "formatter": { + "lineWidth": 100, + "indentStyle": "space", + "indentSize": 2 + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + } +} diff --git a/esbuild.mjs b/esbuild.mjs new file mode 100644 index 00000000..c0da5a5f --- /dev/null +++ b/esbuild.mjs @@ -0,0 +1,77 @@ +import { dirname, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import esbuild from "esbuild"; +import { nodeExternalsPlugin } from "esbuild-node-externals"; + +const __dirname = dirname(fileURLToPath(import.meta.url)); + +const BUILD_CONFIGS = [ + { + name: "esm", + format: "esm", + platform: "neutral", + target: ["esnext"], + entryPoints: ["src/index.ts"], + }, + { + name: "cjs", + format: "cjs", + platform: "node", + target: ["node14"], + entryPoints: ["src/index.ts"], + }, +]; + +const commonOptions = { + bundle: true, + sourcemap: true, + minify: process.env.NODE_ENV === "production", + logLevel: "info", + metafile: true, +}; + +async function buildAll() { + const builds = BUILD_CONFIGS.map((config) => build(config)); + const results = await Promise.all(builds); + + if (process.env.NODE_ENV === "production") { + Promise.all( + results.map(async (r) => { + const analysis = esbuild.analyzeMetafile(r.metafile); + console.info(analysis); + }), + ); + } +} + +async function build({ name, ...config }) { + const outfile = resolve(__dirname, `dist/${name}.js`); + console.log(`Building ${name}`); + + const buildOptions = { + ...commonOptions, + ...config, + outfile, + plugins: [nodeExternalsPlugin()], + }; + + if (process.argv.includes("--watch")) { + const ctx = await esbuild.context(buildOptions); + await ctx.watch(); + console.log(`Watching ${name}`); + } else { + return esbuild.build(buildOptions); + } +} + +async function main() { + try { + await buildAll(); + console.log("Build completed successfully"); + } catch (error) { + console.error("Build failed:", error); + process.exit(1); + } +} + +main(); diff --git a/examples/example-auto-router/.env.example b/examples/example-auto-router/.env.example deleted file mode 100644 index cde4131a..00000000 --- a/examples/example-auto-router/.env.example +++ /dev/null @@ -1,11 +0,0 @@ -PRIVATE_KEY="0xXXX" -NODE_URL="https://XXX" -INDEX_ADDRESS="0xXXX" -SAVINGS_VAULT_ADDRESS="0xXXX" -INDEX_ROUTER_ADDRESS="0xXXX" -ZERO_EX_AGGREGATOR_URL="https://XXX" -DEBUG=@phuture:* - -IS_SELL=false -AMOUNT=0 -TOKEN_ADDRESS="0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" diff --git a/examples/example-auto-router/readme.md b/examples/example-auto-router/readme.md deleted file mode 100644 index 3c167802..00000000 --- a/examples/example-auto-router/readme.md +++ /dev/null @@ -1,114 +0,0 @@ -# Examples - -## Introduction - -Below examples are provided to demonstrate the usage of the different packages available through the PhutureSDK. - -# Examples - -### [Mint-Swap-Value](./src/mint-swap-value.ts) - -This example shows the process of minting 1ETH into an index - -The process is as follows: - -### Use case: A user wants to mint 1 ETH into the index. - -1. First we work out the amount to be minted for each token in the index: - -```typescript -// create an instance of the index -const index = new Index(wallet, '0x778b8cc9d9d8e97ab7f6e100e45c1e576bb1d6d4') - -// get the amount to be minted for each token in the index -const { amounts, amountToSellQuoted } = await index.scaleAmount( - amountToSellDesired, -) -``` - -2. Then for each amount, we get the best possible quote: - -```typescript -// loop over all the amounts and get a quote for each one -const quotes = await Promise.all( - Object.entries(amounts).map(async ([asset, amount]) => { - const { - buyAmount: buyAssetMinAmount, - to: swapTarget, - data: assetQuote, - } = await zeroEx.quote('ETH', asset, amount) - - return { - asset, - swapTarget, - buyAssetMinAmount, - assetQuote, - } - }), -) -``` - -3. Then, we can pass the quotes straight into the indexRouter mint function: - -```typescript -await indexRouter.mint( - { - index: index.address, - recipient: wallet.address, - quotes, - }, - amountToSellQuoted, -) -``` - -## Sequence - -Below is a sequence diagram for the usecase of a user wishing to mint 1 ETH. -For the sake of brevity, we have omitted the details connecting their wallets. - -```mermaid -sequenceDiagram - participant Component - participant Index - participant IndexRouter - participant ZeroXAggregator -Component->>+Index: scaleAmount() -Index->>-Component: return amounts -loop for every amount - Component->>+ZeroXAggregator: quote(amount) - ZeroXAggregator-->>-Component: response - end -Component->>IndexRouter: mint(); -``` - -### [Mint-Various-Products](./src/app/meta-router.ts) - -This example shows the process of buying Savings Vault shares through the metaRouter, which allows the user to switch between minting/burning Index and SavingsVault products through a common interface. - -The process is as follows: - -### Use case: A user wants to deposit 10 USDC into the USDC Savings Vault. - -1. First we initialize the Savings Vault and the metaRouter: - -```typescript -// create an instance of the Savings Vault -const savingsVault = new SavingsVault(wallet, '0xxxx') - -// initialize the metaRouter by passing the addresses of the products we want to use -export const metaRouter = new MetaRouter(indexRouter, zeroEx, { - [ProductType.INDEX]: [index.address], - [ProductType.SAVINGS_VAULT]: [savingVault.address], -}) -``` - -2. Then, we can buy the Savings Vault shares by passing the amount of underlying asset to deposit - -```typescript -// execute a buy through shares minting -await metaRouter.buy({ - isMint: true, - erc20Permit: savingsVault, - amountInInputToken: 10e6, -}) -``` diff --git a/examples/example-auto-router/src/app/auto-buy.ts b/examples/example-auto-router/src/app/auto-buy.ts deleted file mode 100644 index a2f5f4b6..00000000 --- a/examples/example-auto-router/src/app/auto-buy.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { BigNumber } from 'ethers' -import { Erc20Permit } from '@phuture/erc-20' -import * as yesno from 'yesno' -import prepare from './prepare' - -// Auto buying Index amount -export default async function autoBuy(amountToSellDesired: BigNumber) { - const { account, index, autoRouter } = await prepare() - - const tokenAddress = process.env['TOKEN_ADDRESS'] - if (!tokenAddress) { - const select = await autoRouter.selectBuy(index, amountToSellDesired) - - console.dir(select) - - if (await yesno({ question: 'Ready to continue?' })) { - return autoRouter.buy(select.isMint, index, amountToSellDesired) - } - - return - } - - const token = new Erc20Permit(account, tokenAddress) - const selectWithToken = await autoRouter.selectBuy( - index, - amountToSellDesired, - token, - ) - - console.dir(selectWithToken) - - if (await yesno({ question: 'Ready to continue?' })) { - return autoRouter.buy( - selectWithToken.isMint, - index, - amountToSellDesired, - token.address, - ) - } - - return -} diff --git a/examples/example-auto-router/src/app/auto-sell.ts b/examples/example-auto-router/src/app/auto-sell.ts deleted file mode 100644 index 36b4862b..00000000 --- a/examples/example-auto-router/src/app/auto-sell.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { BigNumber } from 'ethers' -import { Erc20Permit } from '@phuture/erc-20' -import * as yesno from 'yesno' -import prepare from './prepare' - -// Auto selling Index amount -export default async function autoSell(amountToSellDesired: BigNumber) { - const { account, index, autoRouter } = await prepare() - - const tokenAddress = process.env['TOKEN_ADDRESS'] - if (!tokenAddress) { - const select = await autoRouter.selectSell(index, amountToSellDesired) - - console.dir(select) - - if (await yesno({ question: 'Ready to continue?' })) { - return autoRouter.sell(select.isBurn, index, amountToSellDesired) - } - - return - } - - const token = new Erc20Permit(account, tokenAddress) - const selectWithToken = await autoRouter.selectSell( - index, - amountToSellDesired, - token, - ) - - console.dir(selectWithToken) - - if (await yesno({ question: 'Ready to continue?' })) { - return autoRouter.sell( - selectWithToken.isBurn, - index, - amountToSellDesired, - token.address, - ) - } - - return -} diff --git a/examples/example-auto-router/src/app/meta-router.ts b/examples/example-auto-router/src/app/meta-router.ts deleted file mode 100644 index 5d5d5be7..00000000 --- a/examples/example-auto-router/src/app/meta-router.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { BigNumber } from 'ethers' -import * as yesno from 'yesno' -import { Erc20Permit } from '@phuture/erc-20' -import prepare from './prepare' - -export default async function buySavingsVault(amountToDeposit: BigNumber) { - const { account, savingsVault, metaRouter } = await prepare() - const tokenAddress = process.env['TOKEN_ADDRESS'] - if (!tokenAddress) { - const select = await metaRouter.selectBuy(savingsVault, amountToDeposit) - - console.dir(select) - - if (await yesno({ question: 'Ready to continue?' })) { - await metaRouter.buy(select.isMint, savingsVault, amountToDeposit) - } - return - } - - const token = new Erc20Permit(account, tokenAddress) - const selectWithToken = await metaRouter.selectBuy( - savingsVault, - amountToDeposit, - token, - ) - - console.dir(selectWithToken) - - if (await yesno({ question: 'Ready to continue?' })) { - await metaRouter.buy( - selectWithToken.isMint, - savingsVault, - amountToDeposit, - tokenAddress, - ) - } - return -} - -export async function sellSavingsVault(amountToSell: BigNumber) { - const { account, savingsVault, metaRouter } = await prepare() - const tokenAddress = process.env['TOKEN_ADDRESS'] - if (!tokenAddress) { - const select = await metaRouter.selectSell(savingsVault, amountToSell) - - console.dir(select) - - if (await yesno({ question: 'Ready to continue?' })) { - await metaRouter.sell(select.isBurn, savingsVault, amountToSell) - } - - return - } - - const token = new Erc20Permit(account, tokenAddress) - const selectWithToken = await metaRouter.selectSell( - savingsVault, - amountToSell, - token, - ) - - console.dir(selectWithToken) - - if (await yesno({ question: 'Ready to continue?' })) { - await metaRouter.sell( - selectWithToken.isBurn, - savingsVault, - amountToSell, - tokenAddress, - ) - } - return -} diff --git a/examples/example-auto-router/src/app/prepare.ts b/examples/example-auto-router/src/app/prepare.ts deleted file mode 100644 index f48dbd2c..00000000 --- a/examples/example-auto-router/src/app/prepare.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { ethers } from 'ethers' -import { - Account, - AutoRouter, - defaultIndexRouterAddress, - Index, - IndexRouter, - ProductType, - SavingsVault, - SavingsVaultRouter, - subgraphIndexRepo, - ZeroExAggregator, - zeroExBaseUrl, -} from '@phuture/sdk' -import 'dotenv/config' -import { MetaRouter } from '@phuture/meta-router' -import { getEnv } from './utils' - -const prepare = async () => { - const account = new Account( - new ethers.Wallet( - getEnv('PRIVATE_KEY'), - new ethers.providers.JsonRpcProvider(getEnv('NODE_URL')), - ), - ) - - const [zeroEx] = ZeroExAggregator.fromUrl( - zeroExBaseUrl[await account.chainId()], - ) - - const indexRouter = new IndexRouter( - account, - defaultIndexRouterAddress[await account.chainId()], - ) - - const index = new Index(account, getEnv('INDEX_ADDRESS')).withRepo( - subgraphIndexRepo(await account.chainId()), - ) - - const savingsVault = new SavingsVault( - account, - getEnv('SAVINGS_VAULT_ADDRESS'), - ) - - const autoRouter = new AutoRouter(indexRouter, zeroEx) - - const metaRouter = new MetaRouter(new SavingsVaultRouter(), autoRouter, { - [index.address]: ProductType.INDEX, - [savingsVault.address]: ProductType.SAVINGS_VAULT, - }) - - return { account, index, savingsVault, autoRouter, metaRouter } -} - -export default prepare diff --git a/examples/example-auto-router/src/app/utils.ts b/examples/example-auto-router/src/app/utils.ts deleted file mode 100644 index 65231c2e..00000000 --- a/examples/example-auto-router/src/app/utils.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const getEnv = (key: string) => { - const value = process.env[key] - if (!value) throw new Error(`Missing environment variable ${key}`) - - return value -} diff --git a/examples/example-auto-router/src/main.ts b/examples/example-auto-router/src/main.ts deleted file mode 100644 index 1c0eea95..00000000 --- a/examples/example-auto-router/src/main.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { BigNumber, utils } from 'ethers' -import { getEnv } from './app/utils' -import autoBuy from './app/auto-buy' -import autoSell from './app/auto-sell' - -/** - * This example looks at burning 1 PDI - */ -const amountToSellDesired = BigNumber.from(utils.parseEther(getEnv('AMOUNT'))) - -const main = async () => { - const isSell = process.env['IS_SELL'] === 'true' - console.dir(await (isSell ? autoSell : autoBuy)(amountToSellDesired), { - depth: null, - }) -} - -main().catch(console.error) diff --git a/examples/example-burn/index.ts b/examples/example-burn/index.ts deleted file mode 100644 index 8e8c3e20..00000000 --- a/examples/example-burn/index.ts +++ /dev/null @@ -1,198 +0,0 @@ -import { BigNumber, constants, utils } from 'ethers' -import { JsonRpcProvider } from '@ethersproject/providers' - -import { ZeroExAggregator } from '../../src/0x-aggregator/0x-aggregator' -import { BaseIndex__factory, IndexRouter__factory } from '../../src/typechain' - -/// ENVIRONMENT VARIABLES - -/// Avalanche HTTP RPC URL -const RPC_URL = process.env.RPC_URL! -if (!RPC_URL) throw new Error('Missing RPC_URL') - -/// 0x API URL and API key -/// can be obtained from https://0x.org/pricing -const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL! -const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY! -if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) - throw new Error('Missing ZERO_EX_API_URL or ZERO_EX_API_KEY') - -/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production -const INDEX_ADDRESS = process.env.INDEX_ADDRESS! -if (!INDEX_ADDRESS) throw new Error('Missing INDEX_ADDRESS') - -/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production -const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS! -if (!INDEX_ROUTER_ADDRESS) throw new Error('Missing INDEX_ROUTER_ADDRESS') - -/// Address to receive the output token(s) after burning Index shares -const RECIPIENT_ADDRESS = process.env.RECIPIENT_ADDRESS! -if (!RECIPIENT_ADDRESS) throw new Error('Missing RECIPIENT_ADDRESS') - -/// Amount of Index shares to burn -const SHARES = process.env.SHARES! -if (!SHARES) throw new Error('Missing SHARES') - -/// Address of the output token -const OUTPUT_TOKEN = process.env.OUTPUT_TOKEN! -if (!OUTPUT_TOKEN) throw new Error('Missing OUTPUT_TOKEN') - -/// PREPARE ENTITIES - -/// For static calls only, you can just use the provider (VoidSigner) -const provider = new JsonRpcProvider(RPC_URL) -/// For transactions, you need to use a Wallet or Injected Signer (in browser) -/// const wallet = new Wallet(process.env.PK!, new JsonRpcProvider(RPC_URL)) - -/// Instantiate the 0x Aggregator -/// For more customizations, you can use the constructor directly -const [zeroExAggregator] = ZeroExAggregator.fromUrl( - ZERO_EX_API_URL, - ZERO_EX_API_KEY, -) - -zeroExAggregator.slippageProtection = true - -/// Instantiate the Index and IndexRouter contracts -const index = BaseIndex__factory.connect(INDEX_ADDRESS, provider) -const indexRouter = IndexRouter__factory.connect(INDEX_ROUTER_ADDRESS, provider) - -const BALANCE_OF_SLOT = 8 -const ALLOWANCE_SLOT = 9 - -/// HELPER FUNCTIONS - -/** - * Prepares quotes for burning tokens. - * - * @param shares - The number of shares to burn. - * @param outputToken - The output token for the burn operation. - * @returns A promise that resolves to an array of quotes for burning tokens. - */ -async function prepareQuotes(shares, outputToken) { - const balanceOfOwnerSlot = utils.keccak256( - utils.defaultAbiCoder.encode( - ['address', 'uint256'], - [RECIPIENT_ADDRESS, BALANCE_OF_SLOT], - ), - ) - - const allowanceOwnerSlot = utils.keccak256( - utils.defaultAbiCoder.encode( - ['address', 'uint256'], - [RECIPIENT_ADDRESS, ALLOWANCE_SLOT], - ), - ) - const spenderSlot = utils.keccak256( - utils.defaultAbiCoder.encode( - ['address', 'bytes32'], - [INDEX_ROUTER_ADDRESS, allowanceOwnerSlot], - ), - ) - - const stateDiff = { - [INDEX_ADDRESS]: { - stateDiff: { - [balanceOfOwnerSlot]: utils.hexZeroPad( - utils.hexValue(BigNumber.from(shares)), - 32, - ), - [spenderSlot]: utils.hexZeroPad( - utils.hexValue(BigNumber.from(shares)), - 32, - ), - }, - }, - } - - /// Retrieve the current index anatomy and inactive anatomy from the index contract - const [{ _assets, _weights }, inactiveAnatomy, rawBurnTokensAmounts] = - await Promise.all([ - index.anatomy(), - index.inactiveAnatomy(), - provider.send('eth_call', [ - { - from: RECIPIENT_ADDRESS, - to: indexRouter.address, - data: indexRouter.interface.encodeFunctionData('burnWithAmounts', [ - { - index: index.address, - recipient: RECIPIENT_ADDRESS, - amount: shares, - }, - ]), - }, - 'latest', - stateDiff, - ]), - ]) - - const [burnTokensAmounts] = new utils.AbiCoder().decode( - ['uint[]'], - rawBurnTokensAmounts, - ) - - console.log('Burn Tokens Amounts:') - console.table( - burnTokensAmounts.map((amount, i) => ({ - asset: _assets[i], - amount: amount.toString(), - })), - ) - - /// Merge the active and inactive anatomy into a single array - const constituents = [ - ..._assets.map((asset, i) => ({ asset, weight: _weights[i] })), - ...inactiveAnatomy.map((asset) => ({ asset, weight: 0 })), - ] - - /// Prepare quotes for burning tokens - const quotes = constituents.map(async ({ asset }, constituentIndex) => { - const amount = burnTokensAmounts[constituentIndex] || BigNumber.from(0) - /// If the amount is zero or the asset is the output token, return an empty quote - if (!amount || amount.isZero() || asset === outputToken) { - return { - swapTarget: constants.AddressZero, - assetQuote: [], - buyAssetMinAmount: 0, - } - } - - /// Use the 0x Aggregator to get a quote for burning the token - const zeroExResult = await zeroExAggregator.quote( - asset, - outputToken, - amount, - { - slippagePercentage: 0.03, - }, - ) - - return { - swapTarget: zeroExResult.to, - buyAssetMinAmount: zeroExResult.buyAmount, - assetQuote: zeroExResult.data, - } - }) - - /// Use `Promise.all` to resolve all the quotes concurrently - return await Promise.all(quotes) -} - -/// MAIN FUNCTION - -async function main() { - /// Prepare quotes for burning tokens - const quotes = await prepareQuotes(SHARES, OUTPUT_TOKEN) - - // Use `.burnSwapValue` if you want to use native currency as output - return await indexRouter.populateTransaction.burnSwap({ - index: INDEX_ADDRESS, - amount: SHARES, - outputAsset: OUTPUT_TOKEN, - recipient: RECIPIENT_ADDRESS, - quotes, - }) -} - -main().then(console.info, console.error) diff --git a/examples/example-buy-0x.ts b/examples/example-buy-0x.ts new file mode 100644 index 00000000..7fa15da9 --- /dev/null +++ b/examples/example-buy-0x.ts @@ -0,0 +1,52 @@ +import { JsonRpcProvider, type JsonRpcSigner } from "@ethersproject/providers"; +import { Wallet } from "ethers"; +import { AutoRouter, IndexRouter, ZeroExAggregator2 } from "../src"; + +/// ENVIRONMENT VARIABLES + +/// Avalanche HTTP RPC URL +const RPC_URL = process.env.RPC_URL!; +if (!RPC_URL) throw new Error("Missing RPC_URL"); + +/// Private key +const PRIVATE_KEY = process.env.PRIVATE_KEY!; +if (!PRIVATE_KEY) throw new Error("Missing PRIVATE_KEY"); + +/// 0x API URL and API key +/// can be obtained from https://0x.org/pricing +const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL!; +const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY!; +if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) + throw new Error("Missing ZERO_EX_API_URL or ZERO_EX_API_KEY"); + +/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production +const INDEX_ADDRESS = process.env.INDEX_ADDRESS!; +if (!INDEX_ADDRESS) throw new Error("Missing INDEX_ADDRESS"); + +/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production +/// new 0x6A74b8C452f36ad3a9a162D2710BA012C3E5eB82 +const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS!; +if (!INDEX_ROUTER_ADDRESS) throw new Error("Missing INDEX_ROUTER_ADDRESS"); + +/// Address of the input token, Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for Native +const INPUT_TOKEN = process.env.INPUT_TOKEN!; +if (!INPUT_TOKEN) throw new Error("Missing INPUT_TOKEN"); + +/// Amount of input token to sell +const SELL_AMOUNT = process.env.SELL_AMOUNT!; +if (!SELL_AMOUNT) throw new Error("Missing SELL_AMOUNT"); + +/// PREPARE ENTITIES +const provider = new Wallet(PRIVATE_KEY, new JsonRpcProvider(RPC_URL)); + +/// Instantiate the 0x Aggregator +/// For more customizations, you can use the constructor directly +const zeroExAggregator = new ZeroExAggregator2(ZERO_EX_API_URL, ZERO_EX_API_KEY); + +const indexRouter = new IndexRouter(provider as unknown as JsonRpcSigner, INDEX_ROUTER_ADDRESS); + +const autoRouter = new AutoRouter(indexRouter, zeroExAggregator); + +/// MAIN FUNCTION + +autoRouter.buySwap(INDEX_ADDRESS, SELL_AMOUNT, INPUT_TOKEN).then(console.info, console.error); diff --git a/examples/example-buy-auto.ts b/examples/example-buy-auto.ts new file mode 100644 index 00000000..9b7a65a9 --- /dev/null +++ b/examples/example-buy-auto.ts @@ -0,0 +1,63 @@ +import { JsonRpcProvider, type JsonRpcSigner } from "@ethersproject/providers"; +import { Wallet } from "ethers"; +import { AutoRouter, IndexRouter, ZeroExAggregator2 } from "../src"; +import { yesNo } from "./utils"; + +/// ENVIRONMENT VARIABLES + +/// Avalanche HTTP RPC URL +const RPC_URL = process.env.RPC_URL!; +if (!RPC_URL) throw new Error("Missing RPC_URL"); + +/// Private key +const PRIVATE_KEY = process.env.PRIVATE_KEY!; +if (!PRIVATE_KEY) throw new Error("Missing PRIVATE_KEY"); + +/// 0x API URL and API key +/// can be obtained from https://0x.org/pricing +const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL!; +const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY!; +if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) + throw new Error("Missing ZERO_EX_API_URL or ZERO_EX_API_KEY"); + +/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production +const INDEX_ADDRESS = process.env.INDEX_ADDRESS!; +if (!INDEX_ADDRESS) throw new Error("Missing INDEX_ADDRESS"); + +/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production +/// new 0x6A74b8C452f36ad3a9a162D2710BA012C3E5eB82 +const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS!; +if (!INDEX_ROUTER_ADDRESS) throw new Error("Missing INDEX_ROUTER_ADDRESS"); + +/// Address of the input token, Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for Native +const INPUT_TOKEN = process.env.INPUT_TOKEN!; +if (!INPUT_TOKEN) throw new Error("Missing INPUT_TOKEN"); + +/// Amount of input token to sell +const SELL_AMOUNT = process.env.SELL_AMOUNT!; +if (!SELL_AMOUNT) throw new Error("Missing SELL_AMOUNT"); + +/// PREPARE ENTITIES +const provider = new Wallet(PRIVATE_KEY, new JsonRpcProvider(RPC_URL)); + +/// Instantiate the 0x Aggregator +/// For more customizations, you can use the constructor directly +const zeroExAggregator = new ZeroExAggregator2(ZERO_EX_API_URL, ZERO_EX_API_KEY); + +const indexRouter = new IndexRouter(provider as unknown as JsonRpcSigner, INDEX_ROUTER_ADDRESS); +const autoRouter = new AutoRouter(indexRouter, zeroExAggregator); + +/// MAIN FUNCTION + +async function main() { + const select = await autoRouter.selectBuy(INDEX_ADDRESS, SELL_AMOUNT, INPUT_TOKEN); + console.dir({ select }, { depth: null }); + if (select.expectedAllowance && select.expectedAllowance !== "0") { + return "need allowance"; + } + if (await yesNo()) { + return await autoRouter.buy(select.isMint, INDEX_ADDRESS, SELL_AMOUNT, INPUT_TOKEN); + } +} + +main().then(console.info, console.error); diff --git a/examples/example-buy-primary.ts b/examples/example-buy-primary.ts new file mode 100644 index 00000000..ad3dab98 --- /dev/null +++ b/examples/example-buy-primary.ts @@ -0,0 +1,52 @@ +import { JsonRpcProvider, type JsonRpcSigner } from "@ethersproject/providers"; +import { Wallet } from "ethers"; +import { AutoRouter, IndexRouter, ZeroExAggregator2 } from "../src"; + +/// ENVIRONMENT VARIABLES + +/// Avalanche HTTP RPC URL +const RPC_URL = process.env.RPC_URL!; +if (!RPC_URL) throw new Error("Missing RPC_URL"); + +/// Private key +const PRIVATE_KEY = process.env.PRIVATE_KEY!; +if (!PRIVATE_KEY) throw new Error("Missing PRIVATE_KEY"); + +/// 0x API URL and API key +/// can be obtained from https://0x.org/pricing +const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL!; +const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY!; +if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) + throw new Error("Missing ZERO_EX_API_URL or ZERO_EX_API_KEY"); + +/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production +const INDEX_ADDRESS = process.env.INDEX_ADDRESS!; +if (!INDEX_ADDRESS) throw new Error("Missing INDEX_ADDRESS"); + +/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production +/// new 0x6A74b8C452f36ad3a9a162D2710BA012C3E5eB82 +const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS!; +if (!INDEX_ROUTER_ADDRESS) throw new Error("Missing INDEX_ROUTER_ADDRESS"); + +/// Address of the input token, Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for Native +const INPUT_TOKEN = process.env.INPUT_TOKEN!; +if (!INPUT_TOKEN) throw new Error("Missing INPUT_TOKEN"); + +/// Amount of input token to sell +const SELL_AMOUNT = process.env.SELL_AMOUNT!; +if (!SELL_AMOUNT) throw new Error("Missing SELL_AMOUNT"); + +/// PREPARE ENTITIES +const provider = new Wallet(PRIVATE_KEY, new JsonRpcProvider(RPC_URL)); + +/// Instantiate the 0x Aggregator +/// For more customizations, you can use the constructor directly +const zeroExAggregator = new ZeroExAggregator2(ZERO_EX_API_URL, ZERO_EX_API_KEY); + +const indexRouter = new IndexRouter(provider as unknown as JsonRpcSigner, INDEX_ROUTER_ADDRESS); + +const autoRouter = new AutoRouter(indexRouter, zeroExAggregator); + +/// MAIN FUNCTION + +autoRouter.buyMint(INDEX_ADDRESS, SELL_AMOUNT, INPUT_TOKEN).then(console.info, console.error); diff --git a/examples/example-mint/index.ts b/examples/example-mint/index.ts deleted file mode 100644 index 6d6b6534..00000000 --- a/examples/example-mint/index.ts +++ /dev/null @@ -1,248 +0,0 @@ -import { BigNumber, constants } from 'ethers' -import { JsonRpcProvider } from '@ethersproject/providers' - -import { ZeroExAggregator } from '../../src/0x-aggregator/0x-aggregator' -import { - BaseIndex__factory, - IndexRouter__factory, - PhuturePriceOracle__factory, -} from '../../src/typechain' - -/// ENVIRONMENT VARIABLES - -/// Avalanche HTTP RPC URL -const RPC_URL = process.env.RPC_URL! -if (!RPC_URL) throw new Error('Missing RPC_URL') - -/// 0x API URL and API key -/// can be obtained from https://0x.org/pricing -const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL! -const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY! -if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) - throw new Error('Missing ZERO_EX_API_URL or ZERO_EX_API_KEY') - -/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production -const INDEX_ADDRESS = process.env.INDEX_ADDRESS! -if (!INDEX_ADDRESS) throw new Error('Missing INDEX_ADDRESS') - -/// 0x69E848b2F41019340CeC3e6696D5c937e74Da96b on Production -const PRICE_ORACLE_ADDRESS = process.env.PRICE_ORACLE_ADDRESS! -if (!PRICE_ORACLE_ADDRESS) throw new Error('Missing PRICE_ORACLE_ADDRESS') - -/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production -const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS! -if (!INDEX_ROUTER_ADDRESS) throw new Error('Missing INDEX_ROUTER_ADDRESS') - -/// Address to receive the Index shares after minting -const RECIPIENT_ADDRESS = process.env.RECIPIENT_ADDRESS! -if (!RECIPIENT_ADDRESS) throw new Error('Missing RECIPIENT_ADDRESS') - -/// Address of the input token -const INPUT_TOKEN = process.env.INPUT_TOKEN! -if (!INPUT_TOKEN) throw new Error('Missing INPUT_TOKEN') - -/// Amount of input token to mint -const AMOUNT_IN = process.env.AMOUNT_IN! -if (!AMOUNT_IN) throw new Error('Missing AMOUNT_IN') - -/// PREPARE ENTITIES - -/// For static calls only, you can just use the provider (VoidSigner) -const provider = new JsonRpcProvider(RPC_URL) -/// For transactions, you need to use a Wallet or Injected Signer (in browser) -/// const provider = new Wallet(process.env.PK!, new JsonRpcProvider(RPC_URL)) - -/// Instantiate the 0x Aggregator -/// For more customizations, you can use the constructor directly -const [zeroExAggregator] = ZeroExAggregator.fromUrl( - ZERO_EX_API_URL, - ZERO_EX_API_KEY, -) - -/// Instantiate the Index, PriceOracle, and IndexRouter contracts -const index = BaseIndex__factory.connect(INDEX_ADDRESS, provider) -const priceOracle = PhuturePriceOracle__factory.connect( - PRICE_ORACLE_ADDRESS, - provider, -) -const indexRouter = IndexRouter__factory.connect(INDEX_ROUTER_ADDRESS, provider) - -/// HELPER FUNCTIONS - -/** - * Retrieves the buy amounts for the given amounts and input token. - * @param amounts - An array of objects containing asset and amount. - * @param inputToken - The input token. - * @returns A promise that resolves to an array of objects containing buy amounts and other details. - */ -async function getBuyAmounts(amounts, inputToken) { - /// Prepare buy amounts for each asset - const buyAmounts = amounts.map(async ({ asset, amount }) => { - /// If the asset is the input token or the amount is zero, return the asset and amount - if (asset === inputToken || amount.isZero()) { - return { - asset, - swapTarget: constants.AddressZero, - buyAssetMinAmount: amount, - assetQuote: [], - } - } - - /// Otherwise, get the buy amount from the 0x Aggregator - const zeroExResult = await zeroExAggregator.quote(inputToken, asset, amount) - - return { - asset, - swapTarget: zeroExResult.to, - buyAssetMinAmount: zeroExResult.buyAmount, - assetQuote: zeroExResult.data, - } - }) - - /// Use `Promise.all` to resolve all buy amounts concurrently - return await Promise.all(buyAmounts) -} - -/** - * Calculates the buy amounts in base currency. - * @param buyAmounts - An array of objects containing asset and buy asset min amount. - * @param amounts - An array of objects containing asset, amount, and weight. - * @returns A promise that resolves to an array of objects containing asset and quoted buy amount. - */ -async function calculateBuyAmountsInBase(buyAmounts, amounts) { - /// Calculate the buy amounts in base currency - const buyAmountsInBase = buyAmounts.map( - async ({ asset, buyAssetMinAmount }, amountIndex) => { - /// Get the price of the asset in base currency from the PriceOracle - /// Note: `callStatic` is used because this is not a view function - const price = await priceOracle.callStatic.refreshedAssetPerBaseInUQ( - asset, - ) - - /// Calculate the quoted buy amount in base currency - const quotedBuyAmount = BigNumber.from(buyAssetMinAmount) - .mul(BigNumber.from(2).pow(112)) - .mul(255) - .div(price.mul(amounts[amountIndex]!.weight)) - - return { asset, quotedBuyAmount } - }, - ) - - /// Use `Promise.all` to resolve all buy amounts in base currency concurrently - return await Promise.all(buyAmountsInBase) -} - -/** - * Retrieves quotes for the given amounts, input token, and scaled sell amounts. - * @param amounts - An array of objects containing asset and amount. - * @param inputToken - The input token. - * @param scaledSellAmounts - An array of scaled sell amounts. - * @returns A promise that resolves to an array of quotes for the given amounts. - */ -async function getQuotes(amounts, inputToken, scaledSellAmounts) { - /// Prepare quotes for each asset - const quotes = amounts.map(async ({ asset }, i) => { - const scaledSellAmount = scaledSellAmounts[i] as BigNumber - - /// If the asset is the input token or the scaled sell amount is zero, return the asset and amount - if (asset === inputToken || scaledSellAmount.isZero()) { - return { - asset, - swapTarget: constants.AddressZero, - buyAssetMinAmount: scaledSellAmounts[i]!, - assetQuote: [], - } - } - - /// Otherwise, get the quote from the 0x Aggregator - const zeroExResult = await zeroExAggregator.quote( - inputToken, - asset, - scaledSellAmount, - ) - - return { - asset, - buyAssetMinAmount: BigNumber.from(zeroExResult.buyAmount), - swapTarget: zeroExResult.to, - assetQuote: zeroExResult.data, - } - }) - - /// Use `Promise.all` to resolve all quotes concurrently - return await Promise.all(quotes) -} - -/** - * Prepares quotes for minting tokens. - * @param inputToken - The input token for the mint operation. - * @param amountIn - The amount of input token to mint. - * @returns A promise that resolves to an object containing quotes and the total sell amount. - */ -async function prepareQuotes(inputToken, amountIn) { - /// Retrieve the current index anatomy and inactive anatomy from the index contract - const { _assets, _weights } = await index.anatomy() - - /// Prepare amounts for each asset - const amounts = _assets.map((asset, i) => ({ - asset, - amount: BigNumber.from(amountIn).mul(_weights[i]).div(255), - weight: _weights[i], - })) - - console.dir({ amounts }, { depth: 2 }) - - /// Get the buy amounts for the given amounts and input token - const buyAmounts = await getBuyAmounts(amounts, inputToken) - - console.dir({ buyAmounts }, { depth: 2 }) - - /// Calculate the buy amounts in base currency - const buyAmountsInBase = await calculateBuyAmountsInBase(buyAmounts, amounts) - - console.dir({ buyAmountsInBase }, { depth: 2 }) - - /// Find the minimum buy amount in base currency - const minBuyAmount = buyAmountsInBase.reduce((min, curr) => - min.quotedBuyAmount.lte(curr.quotedBuyAmount) ? min : curr, - ) - - /// Scale the sell amounts based on the minimum buy amount - const scaledSellAmounts = Object.values(amounts).map(({ amount }, i) => - amount - .mul(minBuyAmount.quotedBuyAmount) - .div(buyAmountsInBase[i].quotedBuyAmount), - ) - - /// Get quotes for the given amounts, input token, and scaled sell amounts - const quotes = await getQuotes(amounts, inputToken, scaledSellAmounts) - - console.dir({ quotes }, { depth: 2 }) - - /// Calculate the total sell amount - const sellAmount = scaledSellAmounts.reduce( - (sum, curr) => sum.add(curr), - BigNumber.from(0), - ) - - return { quotes, sellAmount } -} - -/// MAIN FUNCTION - -async function main() { - /// Prepare quotes for minting tokens and get the scaled total sell amount - const { quotes, sellAmount } = await prepareQuotes(INPUT_TOKEN, AMOUNT_IN) - - // Use `.mintSwapValue` if you want to use native currency as input - return await indexRouter.populateTransaction.mintSwap({ - index: INDEX_ADDRESS, - inputToken: INPUT_TOKEN, - recipient: RECIPIENT_ADDRESS, - amountInInputToken: sellAmount, - quotes, - }) -} - -main().then(console.info, console.error) diff --git a/examples/example-savings-vault/.env.example b/examples/example-savings-vault/.env.example deleted file mode 100644 index cba3ffb6..00000000 --- a/examples/example-savings-vault/.env.example +++ /dev/null @@ -1,10 +0,0 @@ -PRIVATE_KEY="0xXXX" -NODE_URL="https://XXX" -SAVINGS_VAULT_ADDRESS="0xXXX" -PHUTURE_JOB_ADDRESS="0xXXX" -DEBUG=@phuture:* - -TYPE=harvest -AMOUNT=0 -MAX_LOSS=22 -TOKEN_ADDRESS="0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" diff --git a/examples/example-savings-vault/src/app/auto-buy.ts b/examples/example-savings-vault/src/app/auto-buy.ts deleted file mode 100644 index 8255df57..00000000 --- a/examples/example-savings-vault/src/app/auto-buy.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { BigNumber } from 'ethers' -import * as yesno from 'yesno' -import { Erc20Permit } from '@phuture/erc-20' -import prepare from './prepare' - -export default async function buySavingsVault(amountToDeposit: BigNumber) { - const { account, savingsVault, savingsVaultRouter } = await prepare() - const tokenAddress = process.env['TOKEN_ADDRESS'] - if (!tokenAddress) { - const select = await savingsVaultRouter.selectBuy( - savingsVault, - amountToDeposit, - ) - - console.dir(select) - - if (await yesno({ question: 'Ready to continue?' })) { - return await savingsVaultRouter.buy( - select.isMint, - savingsVault, - amountToDeposit, - ) - } - return - } - - const token = new Erc20Permit(account, tokenAddress) - const selectWithToken = await savingsVaultRouter.selectBuy( - savingsVault, - amountToDeposit, - token, - ) - console.dir(selectWithToken) - const ok = await yesno({ question: 'Ready to continue?' }) - - if (ok) { - return await savingsVaultRouter.buy( - selectWithToken.isMint, - savingsVault, - amountToDeposit, - tokenAddress, - ) - } - - return -} diff --git a/examples/example-savings-vault/src/app/auto-sell.ts b/examples/example-savings-vault/src/app/auto-sell.ts deleted file mode 100644 index 370e4db1..00000000 --- a/examples/example-savings-vault/src/app/auto-sell.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { BigNumber } from 'ethers' -import * as yesno from 'yesno' -import prepare from './prepare' - -export async function sellSavingsVault(amountToSell: BigNumber) { - const maxLoss = parseInt(process.env['MAX_LOSS'], 10) - console.log('maxLoss', maxLoss) - const { savingsVault, savingsVaultRouter } = await prepare() - - const select = await savingsVaultRouter.selectSell(savingsVault, amountToSell) - - console.dir(select) - - const ok = await yesno({ question: 'Ready to continue?' }) - if (ok) { - return await savingsVaultRouter.sell( - select.isBurn, - savingsVault, - amountToSell, - undefined, - { maxLoss: maxLoss }, - ) - } - - return -} diff --git a/examples/example-savings-vault/src/app/harvest.ts b/examples/example-savings-vault/src/app/harvest.ts deleted file mode 100644 index 75b36663..00000000 --- a/examples/example-savings-vault/src/app/harvest.ts +++ /dev/null @@ -1,23 +0,0 @@ -import * as yesno from 'yesno' -import prepare from './prepare' - -export async function harvest() { - const { savingsVault, harvestingJob } = await prepare() - - const canHarvest = await harvestingJob.contract.canHarvest( - savingsVault.address, - ) - if (!canHarvest) { - console.log('Timeout is not exceeded!') - } - const ok = await yesno({ question: 'Continue with harvesting?' }) - if (ok) { - const estimatedGas = await harvestingJob.contract.estimateGas.harvest( - savingsVault.address, - ) - await harvestingJob.contract.harvest(savingsVault.address, { - gasLimit: estimatedGas, - }) - } - return -} diff --git a/examples/example-savings-vault/src/app/prepare.ts b/examples/example-savings-vault/src/app/prepare.ts deleted file mode 100644 index 3f1eba95..00000000 --- a/examples/example-savings-vault/src/app/prepare.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { ethers } from 'ethers' -import { - Account, - HarvestingJob, - SavingsVault, - SavingsVaultRouter, -} from '@phuture/sdk' -import 'dotenv/config' -import { getEnv } from './utils' - -const prepare = async () => { - const account = new Account( - new ethers.Wallet( - getEnv('PRIVATE_KEY'), - new ethers.providers.JsonRpcProvider(getEnv('NODE_URL')), - ), - ) - - const savingsVault = new SavingsVault( - account, - getEnv('SAVINGS_VAULT_ADDRESS'), - ) - - const savingsVaultRouter = new SavingsVaultRouter() - - const harvestingJob = new HarvestingJob( - account, - getEnv('PHUTURE_JOB_ADDRESS'), - ) - - return { account, savingsVault, savingsVaultRouter, harvestingJob } -} - -export default prepare diff --git a/examples/example-savings-vault/src/app/utils.ts b/examples/example-savings-vault/src/app/utils.ts deleted file mode 100644 index 65231c2e..00000000 --- a/examples/example-savings-vault/src/app/utils.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const getEnv = (key: string) => { - const value = process.env[key] - if (!value) throw new Error(`Missing environment variable ${key}`) - - return value -} diff --git a/examples/example-savings-vault/src/main.ts b/examples/example-savings-vault/src/main.ts deleted file mode 100644 index 489fd41b..00000000 --- a/examples/example-savings-vault/src/main.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { BigNumber } from 'ethers' -import { getEnv } from './app/utils' -import buySavingsVault from './app/auto-buy' -import { sellSavingsVault } from './app/auto-sell' -import { harvest } from './app/harvest' - -const amount = BigNumber.from(getEnv('AMOUNT')) - -const main = async () => { - if (process.env['TYPE'] === 'buy') { - console.dir(await buySavingsVault(amount)) - } else if (process.env['TYPE'] === 'sell') { - console.dir(await sellSavingsVault(amount)) - } else if (process.env['TYPE'] === 'harvest') { - await harvest() - } -} - -main().catch(console.error) diff --git a/examples/example-sell-0x.ts b/examples/example-sell-0x.ts new file mode 100644 index 00000000..4af8ea4d --- /dev/null +++ b/examples/example-sell-0x.ts @@ -0,0 +1,51 @@ +import { JsonRpcProvider, type JsonRpcSigner } from "@ethersproject/providers"; +import { Wallet } from "ethers"; +import { AutoRouter, IndexRouter, ZeroExAggregator2 } from "../src"; + +/// ENVIRONMENT VARIABLES + +/// Avalanche HTTP RPC URL +const RPC_URL = process.env.RPC_URL!; +if (!RPC_URL) throw new Error("Missing RPC_URL"); + +/// Private key +const PRIVATE_KEY = process.env.PRIVATE_KEY!; +if (!PRIVATE_KEY) throw new Error("Missing PRIVATE_KEY"); + +/// 0x API URL and API key +/// can be obtained from https://0x.org/pricing +const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL!; +const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY!; +if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) + throw new Error("Missing ZERO_EX_API_URL or ZERO_EX_API_KEY"); + +/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production +const INDEX_ADDRESS = process.env.INDEX_ADDRESS!; +if (!INDEX_ADDRESS) throw new Error("Missing INDEX_ADDRESS"); + +/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production +/// new 0x6A74b8C452f36ad3a9a162D2710BA012C3E5eB82 +const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS!; +if (!INDEX_ROUTER_ADDRESS) throw new Error("Missing INDEX_ROUTER_ADDRESS"); + +/// Address of the input token, Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for Native +const OUTPUT_TOKEN = process.env.OUTPUT_TOKEN!; +if (!OUTPUT_TOKEN) throw new Error("Missing OUTPUT_TOKEN"); + +/// Amount of input token to sell +const SELL_AMOUNT = process.env.SELL_AMOUNT!; +if (!SELL_AMOUNT) throw new Error("Missing SELL_AMOUNT"); + +/// PREPARE ENTITIES +const provider = new Wallet(PRIVATE_KEY, new JsonRpcProvider(RPC_URL)); + +/// Instantiate the 0x Aggregator +/// For more customizations, you can use the constructor directly +const zeroExAggregator = new ZeroExAggregator2(ZERO_EX_API_URL, ZERO_EX_API_KEY); + +const indexRouter = new IndexRouter(provider as unknown as JsonRpcSigner, INDEX_ROUTER_ADDRESS); +const autoRouter = new AutoRouter(indexRouter, zeroExAggregator); + +/// MAIN FUNCTION + +autoRouter.sellSwap(INDEX_ADDRESS, SELL_AMOUNT, OUTPUT_TOKEN).then(console.info, console.error); diff --git a/examples/example-sell-auto.ts b/examples/example-sell-auto.ts new file mode 100644 index 00000000..ce41be36 --- /dev/null +++ b/examples/example-sell-auto.ts @@ -0,0 +1,63 @@ +import { JsonRpcProvider, type JsonRpcSigner } from "@ethersproject/providers"; +import { Wallet } from "ethers"; +import { AutoRouter, IndexRouter, ZeroExAggregator2 } from "../src"; +import { yesNo } from "./utils"; + +/// ENVIRONMENT VARIABLES + +/// Avalanche HTTP RPC URL +const RPC_URL = process.env.RPC_URL!; +if (!RPC_URL) throw new Error("Missing RPC_URL"); + +/// Private key +const PRIVATE_KEY = process.env.PRIVATE_KEY!; +if (!PRIVATE_KEY) throw new Error("Missing PRIVATE_KEY"); + +/// 0x API URL and API key +/// can be obtained from https://0x.org/pricing +const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL!; +const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY!; +if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) + throw new Error("Missing ZERO_EX_API_URL or ZERO_EX_API_KEY"); + +/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production +/// new 0x6A74b8C452f36ad3a9a162D2710BA012C3E5eB82 +const INDEX_ADDRESS = process.env.INDEX_ADDRESS!; +if (!INDEX_ADDRESS) throw new Error("Missing INDEX_ADDRESS"); + +/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production +const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS!; +if (!INDEX_ROUTER_ADDRESS) throw new Error("Missing INDEX_ROUTER_ADDRESS"); + +/// Address of the input token, Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for Native +const OUTPUT_TOKEN = process.env.OUTPUT_TOKEN!; +if (!OUTPUT_TOKEN) throw new Error("Missing OUTPUT_TOKEN"); + +/// Amount of input token to sell +const SELL_AMOUNT = process.env.SELL_AMOUNT!; +if (!SELL_AMOUNT) throw new Error("Missing SELL_AMOUNT"); + +/// PREPARE ENTITIES +const provider = new Wallet(PRIVATE_KEY, new JsonRpcProvider(RPC_URL)); + +/// Instantiate the 0x Aggregator +/// For more customizations, you can use the constructor directly +const zeroExAggregator = new ZeroExAggregator2(ZERO_EX_API_URL, ZERO_EX_API_KEY); + +const indexRouter = new IndexRouter(provider as unknown as JsonRpcSigner, INDEX_ROUTER_ADDRESS); +const autoRouter = new AutoRouter(indexRouter, zeroExAggregator); + +/// MAIN FUNCTION + +async function main() { + const select = await autoRouter.selectSell(INDEX_ADDRESS, SELL_AMOUNT, OUTPUT_TOKEN); + console.dir({ select }, { depth: null }); + if (select.expectedAllowance && select.expectedAllowance !== "0") { + return "need allowance"; + } + if (await yesNo()) { + return await autoRouter.sell(select.isBurn, INDEX_ADDRESS, SELL_AMOUNT, OUTPUT_TOKEN); + } +} + +main().then(console.info, console.error); diff --git a/examples/example-sell-primary.ts b/examples/example-sell-primary.ts new file mode 100644 index 00000000..7f0e42e8 --- /dev/null +++ b/examples/example-sell-primary.ts @@ -0,0 +1,51 @@ +import { JsonRpcProvider, type JsonRpcSigner } from "@ethersproject/providers"; +import { Wallet } from "ethers"; +import { AutoRouter, IndexRouter, ZeroExAggregator2 } from "../src"; + +/// ENVIRONMENT VARIABLES + +/// Avalanche HTTP RPC URL +const RPC_URL = process.env.RPC_URL!; +if (!RPC_URL) throw new Error("Missing RPC_URL"); + +/// Private key +const PRIVATE_KEY = process.env.PRIVATE_KEY!; +if (!PRIVATE_KEY) throw new Error("Missing PRIVATE_KEY"); + +/// 0x API URL and API key +/// can be obtained from https://0x.org/pricing +const ZERO_EX_API_URL = process.env.ZERO_EX_API_URL!; +const ZERO_EX_API_KEY = process.env.ZERO_EX_API_KEY!; +if (!ZERO_EX_API_URL || !ZERO_EX_API_KEY) + throw new Error("Missing ZERO_EX_API_URL or ZERO_EX_API_KEY"); + +/// 0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0 on Production +const INDEX_ADDRESS = process.env.INDEX_ADDRESS!; +if (!INDEX_ADDRESS) throw new Error("Missing INDEX_ADDRESS"); + +/// 0xD6dd95610fC3A3579a2C32fe06158d8bfB8F4eE9 on Production +/// new 0x6A74b8C452f36ad3a9a162D2710BA012C3E5eB82 +const INDEX_ROUTER_ADDRESS = process.env.INDEX_ROUTER_ADDRESS!; +if (!INDEX_ROUTER_ADDRESS) throw new Error("Missing INDEX_ROUTER_ADDRESS"); + +/// Address of the input token, Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for Native +const OUTPUT_TOKEN = process.env.OUTPUT_TOKEN!; +if (!OUTPUT_TOKEN) throw new Error("Missing OUTPUT_TOKEN"); + +/// Amount of input token to sell +const SELL_AMOUNT = process.env.SELL_AMOUNT!; +if (!SELL_AMOUNT) throw new Error("Missing SELL_AMOUNT"); + +/// PREPARE ENTITIES +const provider = new Wallet(PRIVATE_KEY, new JsonRpcProvider(RPC_URL)); + +/// Instantiate the 0x Aggregator +/// For more customizations, you can use the constructor directly +const zeroExAggregator = new ZeroExAggregator2(ZERO_EX_API_URL, ZERO_EX_API_KEY); + +const indexRouter = new IndexRouter(provider as unknown as JsonRpcSigner, INDEX_ROUTER_ADDRESS); +const autoRouter = new AutoRouter(indexRouter, zeroExAggregator); + +/// MAIN FUNCTION + +autoRouter.sellBurn(INDEX_ADDRESS, SELL_AMOUNT, OUTPUT_TOKEN).then(console.info, console.error); diff --git a/examples/utils.ts b/examples/utils.ts new file mode 100644 index 00000000..a362245a --- /dev/null +++ b/examples/utils.ts @@ -0,0 +1,14 @@ +import readline from "readline"; + +export const yesNo = (question = "Continue") => + new Promise((resolve) => { + const rl = readline.createInterface({ + input: process.stdin, + output: process.stdout, + }); + + rl.question(question + " (y/n): ", (answer) => { + rl.close(); + resolve(answer.toLowerCase().trim() === "y"); + }); + }); diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..35f171c8 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3070 @@ +{ + "name": "@phuture/sdk", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@phuture/sdk", + "version": "1.0.0", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "axios": "1.7.7", + "ethers": "5.7.2" + }, + "devDependencies": { + "@biomejs/biome": "1.8.3", + "@ethersproject/providers": "5.7.2", + "@typechain/ethers-v5": "10.1.1", + "@types/node": "16.11.7", + "esbuild": "^0.23.1", + "esbuild-node-externals": "^1.14.0", + "husky": "8.0.3", + "rimraf": "^6.0.1", + "ts-node": "^10.9.2", + "tslib": "2.4.1", + "typechain": "8.1.1" + }, + "peerDependencies": { + "typescript": ">=5.0.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@biomejs/biome": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.8.3.tgz", + "integrity": "sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==", + "dev": true, + "hasInstallScript": true, + "license": "MIT OR Apache-2.0", + "bin": { + "biome": "bin/biome" + }, + "engines": { + "node": ">=14.21.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/biome" + }, + "optionalDependencies": { + "@biomejs/cli-darwin-arm64": "1.8.3", + "@biomejs/cli-darwin-x64": "1.8.3", + "@biomejs/cli-linux-arm64": "1.8.3", + "@biomejs/cli-linux-arm64-musl": "1.8.3", + "@biomejs/cli-linux-x64": "1.8.3", + "@biomejs/cli-linux-x64-musl": "1.8.3", + "@biomejs/cli-win32-arm64": "1.8.3", + "@biomejs/cli-win32-x64": "1.8.3" + } + }, + "node_modules/@biomejs/cli-darwin-arm64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.8.3.tgz", + "integrity": "sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-darwin-x64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.8.3.tgz", + "integrity": "sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-arm64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.8.3.tgz", + "integrity": "sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-arm64-musl": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.8.3.tgz", + "integrity": "sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-x64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.8.3.tgz", + "integrity": "sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-x64-musl": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.8.3.tgz", + "integrity": "sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-win32-arm64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.8.3.tgz", + "integrity": "sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-win32-x64": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.8.3.tgz", + "integrity": "sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", + "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", + "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", + "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", + "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", + "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", + "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", + "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", + "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", + "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", + "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", + "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", + "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", + "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", + "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", + "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", + "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", + "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", + "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", + "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", + "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", + "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", + "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", + "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", + "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@ethersproject/abi": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", + "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/abstract-provider": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", + "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0" + } + }, + "node_modules/@ethersproject/abstract-signer": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", + "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "node_modules/@ethersproject/address": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", + "integrity": "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/rlp": "^5.7.0" + } + }, + "node_modules/@ethersproject/base64": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", + "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0" + } + }, + "node_modules/@ethersproject/basex": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz", + "integrity": "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "node_modules/@ethersproject/bignumber": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", + "integrity": "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "bn.js": "^5.2.1" + } + }, + "node_modules/@ethersproject/bytes": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", + "integrity": "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/constants": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", + "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0" + } + }, + "node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", + "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "node_modules/@ethersproject/hash": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", + "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/hdnode": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", + "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "node_modules/@ethersproject/json-wallets": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", + "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "node_modules/@ethersproject/keccak256": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", + "integrity": "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "js-sha3": "0.8.0" + } + }, + "node_modules/@ethersproject/logger": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz", + "integrity": "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT" + }, + "node_modules/@ethersproject/networks": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", + "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/pbkdf2": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", + "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "node_modules/@ethersproject/properties": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", + "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/providers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", + "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "node_modules/@ethersproject/random": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", + "integrity": "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/rlp": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", + "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/sha2": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz", + "integrity": "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "node_modules/@ethersproject/signing-key": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", + "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "bn.js": "^5.2.1", + "elliptic": "6.5.4", + "hash.js": "1.1.7" + } + }, + "node_modules/@ethersproject/solidity": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz", + "integrity": "sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/strings": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", + "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/transactions": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", + "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0" + } + }, + "node_modules/@ethersproject/units": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz", + "integrity": "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/wallet": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", + "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "node_modules/@ethersproject/web": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", + "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/wordlists": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", + "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", + "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typechain/ethers-v5": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@typechain/ethers-v5/-/ethers-v5-10.1.1.tgz", + "integrity": "sha512-o6nffJBxwmeX1ZiZpdnP/tqGd/7M7iYvQC88ZXaFFoyAGh7eYncynzVjOJV0XmaKzAc6puqyqZrnva+gJbk4sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.15", + "ts-essentials": "^7.0.1" + }, + "peerDependencies": { + "@ethersproject/abi": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/providers": "^5.0.0", + "ethers": "^5.1.3", + "typechain": "^8.1.1", + "typescript": ">=4.3.0" + } + }, + "node_modules/@types/node": { + "version": "16.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.7.tgz", + "integrity": "sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/acorn": { + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==", + "license": "MIT" + }, + "node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, + "node_modules/array-back": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", + "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/axios": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==", + "license": "MIT" + }, + "node_modules/bn.js": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==", + "license": "MIT" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/command-line-args": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.1.tgz", + "integrity": "sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-back": "^3.1.0", + "find-replace": "^3.0.0", + "lodash.camelcase": "^4.3.0", + "typical": "^4.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/command-line-usage": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.3.tgz", + "integrity": "sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-back": "^4.0.2", + "chalk": "^2.4.2", + "table-layout": "^1.0.2", + "typical": "^5.2.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/command-line-usage/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/command-line-usage/node_modules/array-back": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", + "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/command-line-usage/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/command-line-usage/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/command-line-usage/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true, + "license": "MIT" + }, + "node_modules/command-line-usage/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/command-line-usage/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/command-line-usage/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/command-line-usage/node_modules/typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "license": "MIT" + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", + "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.23.1", + "@esbuild/android-arm": "0.23.1", + "@esbuild/android-arm64": "0.23.1", + "@esbuild/android-x64": "0.23.1", + "@esbuild/darwin-arm64": "0.23.1", + "@esbuild/darwin-x64": "0.23.1", + "@esbuild/freebsd-arm64": "0.23.1", + "@esbuild/freebsd-x64": "0.23.1", + "@esbuild/linux-arm": "0.23.1", + "@esbuild/linux-arm64": "0.23.1", + "@esbuild/linux-ia32": "0.23.1", + "@esbuild/linux-loong64": "0.23.1", + "@esbuild/linux-mips64el": "0.23.1", + "@esbuild/linux-ppc64": "0.23.1", + "@esbuild/linux-riscv64": "0.23.1", + "@esbuild/linux-s390x": "0.23.1", + "@esbuild/linux-x64": "0.23.1", + "@esbuild/netbsd-x64": "0.23.1", + "@esbuild/openbsd-arm64": "0.23.1", + "@esbuild/openbsd-x64": "0.23.1", + "@esbuild/sunos-x64": "0.23.1", + "@esbuild/win32-arm64": "0.23.1", + "@esbuild/win32-ia32": "0.23.1", + "@esbuild/win32-x64": "0.23.1" + } + }, + "node_modules/esbuild-node-externals": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/esbuild-node-externals/-/esbuild-node-externals-1.14.0.tgz", + "integrity": "sha512-jMWnTlCII3cLEjR5+u0JRSTJuP+MgbjEHKfwSIAI41NgLQ0ZjfzjchlbEn0r7v2u5gCBMSEYvYlkO7GDG8gG3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^5.0.0", + "tslib": "^2.4.1" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "esbuild": "0.12 - 0.23" + } + }, + "node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/find-replace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", + "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-back": "^3.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/glob": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", + "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^4.0.1", + "minimatch": "^10.0.0", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==", + "license": "MIT", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/husky": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "dev": true, + "license": "MIT", + "bin": { + "husky": "lib/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/jackspeak": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz", + "integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", + "license": "MIT" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.1.tgz", + "integrity": "sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "license": "ISC" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==", + "license": "MIT" + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-scurry": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, + "node_modules/reduce-flatten": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", + "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/rimraf": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz", + "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^11.0.0", + "package-json-from-dist": "^1.0.0" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/scrypt-js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", + "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==", + "license": "MIT" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/string-format": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/string-format/-/string-format-2.0.0.tgz", + "integrity": "sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA==", + "dev": true, + "license": "WTFPL OR MIT" + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/table-layout": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.2.tgz", + "integrity": "sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-back": "^4.0.1", + "deep-extend": "~0.6.0", + "typical": "^5.2.0", + "wordwrapjs": "^4.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/table-layout/node_modules/array-back": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", + "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/table-layout/node_modules/typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ts-command-line-args": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/ts-command-line-args/-/ts-command-line-args-2.5.1.tgz", + "integrity": "sha512-H69ZwTw3rFHb5WYpQya40YAX2/w7Ut75uUECbgBIsLmM+BNuYnxsltfyyLMxy6sEeKxgijLTnQtLd0nKd6+IYw==", + "dev": true, + "license": "ISC", + "dependencies": { + "chalk": "^4.1.0", + "command-line-args": "^5.1.1", + "command-line-usage": "^6.1.0", + "string-format": "^2.0.0" + }, + "bin": { + "write-markdown": "dist/write-markdown.js" + } + }, + "node_modules/ts-essentials": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-7.0.3.tgz", + "integrity": "sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "typescript": ">=3.7.0" + } + }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "dev": true, + "license": "0BSD" + }, + "node_modules/typechain": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/typechain/-/typechain-8.1.1.tgz", + "integrity": "sha512-uF/sUvnXTOVF2FHKhQYnxHk4su4JjZR8vr4mA2mBaRwHTbwh0jIlqARz9XJr1tA0l7afJGvEa1dTSi4zt039LQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/prettier": "^2.1.1", + "debug": "^4.3.1", + "fs-extra": "^7.0.0", + "glob": "7.1.7", + "js-sha3": "^0.8.0", + "lodash": "^4.17.15", + "mkdirp": "^1.0.4", + "prettier": "^2.3.1", + "ts-command-line-args": "^2.2.0", + "ts-essentials": "^7.0.1" + }, + "bin": { + "typechain": "dist/cli/cli.js" + }, + "peerDependencies": { + "typescript": ">=4.3.0" + } + }, + "node_modules/typechain/node_modules/@types/prettier": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz", + "integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==", + "dev": true, + "license": "MIT" + }, + "node_modules/typechain/node_modules/fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/typechain/node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/typechain/node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/typechain/node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/typescript": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", + "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "devOptional": true, + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typical": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", + "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wordwrapjs": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.1.tgz", + "integrity": "sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA==", + "dev": true, + "license": "MIT", + "dependencies": { + "reduce-flatten": "^2.0.0", + "typical": "^5.2.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/wordwrapjs/node_modules/typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/package.json b/package.json index 2fa8130c..4fb022ea 100644 --- a/package.json +++ b/package.json @@ -1,91 +1,48 @@ { "name": "@phuture/sdk", - "private": false, "repository": "Phuture-Finance/phuture-sdk", - "main": "dist/index.js", - "typings": "dist/index.d.ts", - "module": "dist/sdk.esm.js", - "files": [ - "dist", - "src" - ], + "private": false, + "version": "1.0.0", + "type": "module", + "main": "./dist/cjs.js", + "module": "./dist/esm.js", + "types": "./dist/types/index.d.ts", + "typings": "./dist/types/index.d.ts", "scripts": { - "start": "tsdx watch", - "build": "pnpm typechain && tsdx build", - "test": "tsdx test", - "lint": "tsdx lint", - "prepare": "husky install && tsdx build", - "size": "size-limit", - "analyze": "size-limit --why", - "fix": "pnpm lint --fix", - "format": "prettier . -w", - "postinstall": "pnpm build", - "preinstall": "npx only-allow pnpm", - "typechain": "typechain --target=ethers-v5 --out-dir=src/typechain 'src/abis/**/*.json' --always-generate-overloads", - "types": "tsc --noEmit" + "start": "npx tsx ./examples/example-$npm_config_name.ts", + "build:js": "node esbuild.mjs", + "build:types": "tsc --emitDeclarationOnly --declaration --project tsconfig.json", + "build": "npm run build:js && npm run build:types", + "dev": "npm run build:js -- --watch", + "clean": "rimraf dist", + "prebuild": "npm run clean", + "prepare": "husky install", + "fix": "npx @biomejs/biome check --write src", + "typechain": "typechain --target=ethers-v5 --out-dir=src/typechain 'src/abis/**/*.json' --always-generate-overloads" }, - "prettier": { - "arrowParens": "always", - "endOfLine": "lf", - "printWidth": 80, - "semi": false, - "singleQuote": true, - "tabWidth": 2, - "trailingComma": "all" + "peerDependencies": { + "typescript": ">=5.0.4" }, - "husky": { - "hooks": { - "pre-commit": "tsdx lint" + "peerDependenciesMeta": { + "typescript": { + "optional": true } }, - "size-limit": [ - { - "path": "dist/sdk.cjs.production.min.js", - "limit": "10 KB" - }, - { - "path": "dist/sdk.esm.js", - "limit": "10 KB" - } - ], - "peerDependencies": {}, + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "axios": "1.7.7", + "ethers": "5.7.2" + }, "devDependencies": { - "@ethersproject/abi": "5.7.0", - "@ethersproject/bytes": "5.7.0", + "@biomejs/biome": "1.8.3", "@ethersproject/providers": "5.7.2", "@typechain/ethers-v5": "10.1.1", - "@types/debug": "4.1.7", - "@types/fs-extra": "9.0.13", "@types/node": "16.11.7", - "@typescript-eslint/eslint-plugin": "5.42.1", - "@typescript-eslint/parser": "5.42.1", - "@size-limit/preset-small-lib": "8.1.0", - "@zapper-fi/eslint-plugin": "1.4.0", - "eslint": "8.27.0", - "eslint-config-prettier": "8.5.0", - "eslint-plugin-import": "2.26.0", - "eslint-plugin-prettier": "4.2.1", - "eslint-plugin-unused-imports": "2.0.0", - "prettier": "2.7.1", - "ts-node": "10.8.2", - "typechain": "8.1.1", - "typescript": "4.9.4", + "esbuild": "^0.23.1", + "esbuild-node-externals": "^1.14.0", "husky": "8.0.3", - "size-limit": "8.1.0", - "tsdx": "0.14.1", - "tslib": "2.4.1" - }, - "engines": { - "pnpm": ">=7" - }, - "packageManager": "pnpm@7.14.0", - "dependencies": { - "@ethersproject/abstract-provider": "5.7.0", - "axios": "1.2.1", - "axios-retry": "3.3.1", - "cross-fetch": "3.1.5", - "debug": "4.3.4", - "ethers": "5.7.2", - "graphql": "16.6.0" + "rimraf": "^6.0.1", + "tslib": "2.4.1", + "typechain": "8.1.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml deleted file mode 100644 index 4290b421..00000000 --- a/pnpm-lock.yaml +++ /dev/null @@ -1,8925 +0,0 @@ -lockfileVersion: '6.0' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - -dependencies: - '@ethersproject/abstract-provider': - specifier: 5.7.0 - version: 5.7.0 - axios: - specifier: 1.2.1 - version: 1.2.1(debug@4.3.4) - axios-retry: - specifier: 3.3.1 - version: 3.3.1 - cross-fetch: - specifier: 3.1.5 - version: 3.1.5 - debug: - specifier: 4.3.4 - version: 4.3.4 - ethers: - specifier: 5.7.2 - version: 5.7.2 - graphql: - specifier: 16.6.0 - version: 16.6.0 - -devDependencies: - '@ethersproject/abi': - specifier: 5.7.0 - version: 5.7.0 - '@ethersproject/bytes': - specifier: 5.7.0 - version: 5.7.0 - '@ethersproject/providers': - specifier: 5.7.2 - version: 5.7.2 - '@size-limit/preset-small-lib': - specifier: 8.1.0 - version: 8.1.0(size-limit@8.1.0) - '@typechain/ethers-v5': - specifier: 10.1.1 - version: 10.1.1(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typechain@8.1.1)(typescript@4.9.4) - '@types/debug': - specifier: 4.1.7 - version: 4.1.7 - '@types/fs-extra': - specifier: 9.0.13 - version: 9.0.13 - '@types/node': - specifier: 16.11.7 - version: 16.11.7 - '@typescript-eslint/eslint-plugin': - specifier: 5.42.1 - version: 5.42.1(@typescript-eslint/parser@5.42.1)(eslint@8.27.0)(typescript@4.9.4) - '@typescript-eslint/parser': - specifier: 5.42.1 - version: 5.42.1(eslint@8.27.0)(typescript@4.9.4) - '@zapper-fi/eslint-plugin': - specifier: 1.4.0 - version: 1.4.0(eslint@8.27.0) - eslint: - specifier: 8.27.0 - version: 8.27.0 - eslint-config-prettier: - specifier: 8.5.0 - version: 8.5.0(eslint@8.27.0) - eslint-plugin-import: - specifier: 2.26.0 - version: 2.26.0(@typescript-eslint/parser@5.42.1)(eslint@8.27.0) - eslint-plugin-prettier: - specifier: 4.2.1 - version: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.27.0)(prettier@2.7.1) - eslint-plugin-unused-imports: - specifier: 2.0.0 - version: 2.0.0(@typescript-eslint/eslint-plugin@5.42.1)(eslint@8.27.0) - husky: - specifier: 8.0.3 - version: 8.0.3 - prettier: - specifier: 2.7.1 - version: 2.7.1 - size-limit: - specifier: 8.1.0 - version: 8.1.0 - ts-node: - specifier: 10.8.2 - version: 10.8.2(@types/node@16.11.7)(typescript@4.9.4) - tsdx: - specifier: 0.14.1 - version: 0.14.1(@types/node@16.11.7) - tslib: - specifier: 2.4.1 - version: 2.4.1 - typechain: - specifier: 8.1.1 - version: 8.1.1(typescript@4.9.4) - typescript: - specifier: 4.9.4 - version: 4.9.4 - -packages: - - /@aashutoshrathi/word-wrap@1.2.6: - resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} - engines: {node: '>=0.10.0'} - dev: true - - /@ampproject/remapping@2.3.0: - resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - dev: true - - /@babel/code-frame@7.23.5: - resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.23.4 - chalk: 2.4.2 - dev: true - - /@babel/compat-data@7.23.5: - resolution: {integrity: sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/core@7.24.0: - resolution: {integrity: sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw==} - engines: {node: '>=6.9.0'} - dependencies: - '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.23.5 - '@babel/generator': 7.23.6 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) - '@babel/helpers': 7.24.0 - '@babel/parser': 7.24.0 - '@babel/template': 7.24.0 - '@babel/traverse': 7.24.0 - '@babel/types': 7.24.0 - convert-source-map: 2.0.0 - debug: 4.3.4 - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/generator@7.23.6: - resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - jsesc: 2.5.2 - dev: true - - /@babel/helper-annotate-as-pure@7.22.5: - resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-builder-binary-assignment-operator-visitor@7.22.15: - resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-compilation-targets@7.23.6: - resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/compat-data': 7.23.5 - '@babel/helper-validator-option': 7.23.5 - browserslist: 4.23.0 - lru-cache: 5.1.1 - semver: 6.3.1 - dev: true - - /@babel/helper-create-class-features-plugin@7.24.0(@babel/core@7.24.0): - resolution: {integrity: sha512-QAH+vfvts51BCsNZ2PhY6HAggnlS6omLLFTsIpeqZk/MmJ6cW7tgz5yRv0fMJThcr6FmbMrENh1RgrWPTYA76g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-member-expression-to-functions': 7.23.0 - '@babel/helper-optimise-call-expression': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.0) - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - semver: 6.3.1 - dev: true - - /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.24.0): - resolution: {integrity: sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-annotate-as-pure': 7.22.5 - regexpu-core: 5.3.2 - semver: 6.3.1 - dev: true - - /@babel/helper-define-polyfill-provider@0.0.3(@babel/core@7.24.0): - resolution: {integrity: sha512-dULDd/APiP4JowYDAMosecKOi/1v+UId99qhBGiO3myM29KtAVKS/R3x3OJJNBR0FeYB1BcYb2dCwkhqvxWXXQ==} - peerDependencies: - '@babel/core': ^7.4.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/traverse': 7.24.0 - debug: 4.3.4 - lodash.debounce: 4.0.8 - resolve: 1.22.8 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/helper-define-polyfill-provider@0.5.0(@babel/core@7.24.0): - resolution: {integrity: sha512-NovQquuQLAQ5HuyjCz7WQP9MjRj7dx++yspwiyUiGl9ZyadHRSql1HZh5ogRd8W8w6YM6EQ/NTB8rgjLt5W65Q==} - peerDependencies: - '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.24.0 - debug: 4.3.4 - lodash.debounce: 4.0.8 - resolve: 1.22.8 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/helper-environment-visitor@7.22.20: - resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-function-name@7.23.0: - resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.24.0 - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-hoist-variables@7.22.5: - resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-member-expression-to-functions@7.23.0: - resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-module-imports@7.22.15: - resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-module-transforms@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 - dev: true - - /@babel/helper-optimise-call-expression@7.22.5: - resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-plugin-utils@7.24.0: - resolution: {integrity: sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.24.0): - resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-wrap-function': 7.22.20 - dev: true - - /@babel/helper-replace-supers@7.22.20(@babel/core@7.24.0): - resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-member-expression-to-functions': 7.23.0 - '@babel/helper-optimise-call-expression': 7.22.5 - dev: true - - /@babel/helper-simple-access@7.22.5: - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-skip-transparent-expression-wrappers@7.22.5: - resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-split-export-declaration@7.22.6: - resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/helper-string-parser@7.23.4: - resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-identifier@7.22.20: - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-option@7.23.5: - resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-wrap-function@7.22.20: - resolution: {integrity: sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-function-name': 7.23.0 - '@babel/template': 7.24.0 - '@babel/types': 7.24.0 - dev: true - - /@babel/helpers@7.24.0: - resolution: {integrity: sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.24.0 - '@babel/traverse': 7.24.0 - '@babel/types': 7.24.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/highlight@7.23.4: - resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - - /@babel/parser@7.24.0: - resolution: {integrity: sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.13.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.24.0) - dev: true - - /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.7(@babel/core@7.24.0): - resolution: {integrity: sha512-LlRT7HgaifEpQA1ZgLVOIJZZFVPWN5iReq/7/JixwBtwcoeVGDBD53ZV28rrsLYOZs1Y/EHhA8N/Z6aazHR8cw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.24.0): - resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} - engines: {node: '>=6.9.0'} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.24.0): - resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - dev: true - - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.24.0): - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.24.0): - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.24.0): - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.24.0): - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.24.0): - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.24.0): - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.24.0): - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.24.0): - resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.24.0): - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.24.0): - resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-async-generator-functions@7.23.9(@babel/core@7.24.0): - resolution: {integrity: sha512-8Q3veQEDGe14dTYuwagbRtwxQDnytyg1JFu4/HwEMETeofocrB0U0ejBJIXoeG/t2oXZ8kzCyI0ZZfbT80VFNQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.24.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.12.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-classes@7.23.8(@babel/core@7.24.0): - resolution: {integrity: sha512-yAYslGsY1bX6Knmg46RjiCiNSwJKv2IUC8qOdYKqMMr0491SXFhcHqOdRDeCRohOOIzwN/90C6mQ9qAKgrP7dg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.0) - '@babel/helper-split-export-declaration': 7.22.6 - globals: 11.12.0 - dev: true - - /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/template': 7.24.0 - dev: true - - /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.24.0): - resolution: {integrity: sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - dev: true - - /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-literals@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-simple-access': 7.22.5 - dev: true - - /@babel/plugin-transform-modules-systemjs@7.23.9(@babel/core@7.24.0): - resolution: {integrity: sha512-KDlPRM6sLo4o1FkiSlXoAa8edLXFsKKIda779fbLrvmeuc3itnjCtaO6RrtoaANsIJANj+Vk1zqbZIMhkCAHVw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-validator-identifier': 7.22.20 - dev: true - - /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.24.0): - resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-object-rest-spread@7.24.0(@babel/core@7.24.0): - resolution: {integrity: sha512-y/yKMm7buHpFFXfxVFS4Vk1ToRJDilIa6fKRioB9Vjichv58TDGXTvqV0dN7plobAmTW5eSEGXDngE+Mm+uO+w==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/compat-data': 7.23.5 - '@babel/core': 7.24.0 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.24.0): - resolution: {integrity: sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.0) - dev: true - - /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - regenerator-transform: 0.15.2 - dev: true - - /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-spread@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - dev: true - - /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.24.0): - resolution: {integrity: sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) - '@babel/helper-plugin-utils': 7.24.0 - dev: true - - /@babel/preset-env@7.24.0(@babel/core@7.24.0): - resolution: {integrity: sha512-ZxPEzV9IgvGn73iK0E6VB9/95Nd7aMFpbE0l8KQFDG70cOV9IxRP7Y2FUPmlK0v6ImlLqYX50iuZ3ZTVhOF2lA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/compat-data': 7.23.5 - '@babel/core': 7.24.0 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.7(@babel/core@7.24.0) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.24.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.0) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.24.0) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.0) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.24.0) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.0) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.0) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.24.0) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.24.0) - '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-async-generator-functions': 7.23.9(@babel/core@7.24.0) - '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-classes': 7.23.8(@babel/core@7.24.0) - '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.24.0) - '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-modules-systemjs': 7.23.9(@babel/core@7.24.0) - '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.24.0) - '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-object-rest-spread': 7.24.0(@babel/core@7.24.0) - '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.24.0) - '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.24.0) - '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.24.0) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.24.0) - babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.24.0) - babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.24.0) - babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.24.0) - core-js-compat: 3.36.0 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.24.0): - resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} - peerDependencies: - '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-plugin-utils': 7.24.0 - '@babel/types': 7.24.0 - esutils: 2.0.3 - dev: true - - /@babel/regjsgen@0.8.0: - resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} - dev: true - - /@babel/runtime@7.24.0: - resolution: {integrity: sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==} - engines: {node: '>=6.9.0'} - dependencies: - regenerator-runtime: 0.14.1 - - /@babel/template@7.24.0: - resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.23.5 - '@babel/parser': 7.24.0 - '@babel/types': 7.24.0 - dev: true - - /@babel/traverse@7.24.0: - resolution: {integrity: sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.23.5 - '@babel/generator': 7.23.6 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.24.0 - '@babel/types': 7.24.0 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/types@7.24.0: - resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.23.4 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: true - - /@bcoe/v8-coverage@0.2.3: - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - dev: true - - /@cnakazawa/watch@1.0.4: - resolution: {integrity: sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==} - engines: {node: '>=0.1.95'} - hasBin: true - dependencies: - exec-sh: 0.3.6 - minimist: 1.2.8 - dev: true - - /@cspotcode/source-map-support@0.8.1: - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - dev: true - - /@esbuild/android-arm@0.15.18: - resolution: {integrity: sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-loong64@0.15.18: - resolution: {integrity: sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@eslint/eslintrc@1.4.1: - resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4 - espree: 9.6.1 - globals: 13.24.0 - ignore: 5.3.1 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@ethersproject/abi@5.7.0: - resolution: {integrity: sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==} - dependencies: - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - /@ethersproject/abstract-provider@5.7.0: - resolution: {integrity: sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==} - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/properties': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/web': 5.7.1 - - /@ethersproject/abstract-signer@5.7.0: - resolution: {integrity: sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==} - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - - /@ethersproject/address@5.7.0: - resolution: {integrity: sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==} - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/rlp': 5.7.0 - - /@ethersproject/base64@5.7.0: - resolution: {integrity: sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==} - dependencies: - '@ethersproject/bytes': 5.7.0 - - /@ethersproject/basex@5.7.0: - resolution: {integrity: sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/properties': 5.7.0 - - /@ethersproject/bignumber@5.7.0: - resolution: {integrity: sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - bn.js: 5.2.1 - - /@ethersproject/bytes@5.7.0: - resolution: {integrity: sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==} - dependencies: - '@ethersproject/logger': 5.7.0 - - /@ethersproject/constants@5.7.0: - resolution: {integrity: sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==} - dependencies: - '@ethersproject/bignumber': 5.7.0 - - /@ethersproject/contracts@5.7.0: - resolution: {integrity: sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==} - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/transactions': 5.7.0 - - /@ethersproject/hash@5.7.0: - resolution: {integrity: sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==} - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - /@ethersproject/hdnode@5.7.0: - resolution: {integrity: sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==} - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/wordlists': 5.7.0 - - /@ethersproject/json-wallets@5.7.0: - resolution: {integrity: sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==} - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - aes-js: 3.0.0 - scrypt-js: 3.0.1 - - /@ethersproject/keccak256@5.7.0: - resolution: {integrity: sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==} - dependencies: - '@ethersproject/bytes': 5.7.0 - js-sha3: 0.8.0 - - /@ethersproject/logger@5.7.0: - resolution: {integrity: sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==} - - /@ethersproject/networks@5.7.1: - resolution: {integrity: sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==} - dependencies: - '@ethersproject/logger': 5.7.0 - - /@ethersproject/pbkdf2@5.7.0: - resolution: {integrity: sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/sha2': 5.7.0 - - /@ethersproject/properties@5.7.0: - resolution: {integrity: sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==} - dependencies: - '@ethersproject/logger': 5.7.0 - - /@ethersproject/providers@5.7.2: - resolution: {integrity: sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==} - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/web': 5.7.1 - bech32: 1.1.4 - ws: 7.4.6 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - /@ethersproject/random@5.7.0: - resolution: {integrity: sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - - /@ethersproject/rlp@5.7.0: - resolution: {integrity: sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - - /@ethersproject/sha2@5.7.0: - resolution: {integrity: sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - hash.js: 1.1.7 - - /@ethersproject/signing-key@5.7.0: - resolution: {integrity: sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - bn.js: 5.2.1 - elliptic: 6.5.4 - hash.js: 1.1.7 - - /@ethersproject/solidity@5.7.0: - resolution: {integrity: sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==} - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/strings': 5.7.0 - - /@ethersproject/strings@5.7.0: - resolution: {integrity: sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/logger': 5.7.0 - - /@ethersproject/transactions@5.7.0: - resolution: {integrity: sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==} - dependencies: - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - - /@ethersproject/units@5.7.0: - resolution: {integrity: sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==} - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/logger': 5.7.0 - - /@ethersproject/wallet@5.7.0: - resolution: {integrity: sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==} - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/json-wallets': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/wordlists': 5.7.0 - - /@ethersproject/web@5.7.1: - resolution: {integrity: sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==} - dependencies: - '@ethersproject/base64': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - /@ethersproject/wordlists@5.7.0: - resolution: {integrity: sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - /@humanwhocodes/config-array@0.11.14: - resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} - engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 2.0.2 - debug: 4.3.4 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@humanwhocodes/module-importer@1.0.1: - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - dev: true - - /@humanwhocodes/object-schema@2.0.2: - resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} - dev: true - - /@istanbuljs/load-nyc-config@1.1.0: - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} - dependencies: - camelcase: 5.3.1 - find-up: 4.1.0 - get-package-type: 0.1.0 - js-yaml: 3.14.1 - resolve-from: 5.0.0 - dev: true - - /@istanbuljs/schema@0.1.3: - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} - dev: true - - /@jest/console@25.5.0: - resolution: {integrity: sha512-T48kZa6MK1Y6k4b89sexwmSF4YLeZS/Udqg3Jj3jG/cHH+N/sLFCEoXEDMOKugJQ9FxPN1osxIknvKkxt6MKyw==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - chalk: 3.0.0 - jest-message-util: 25.5.0 - jest-util: 25.5.0 - slash: 3.0.0 - dev: true - - /@jest/core@25.5.4: - resolution: {integrity: sha512-3uSo7laYxF00Dg/DMgbn4xMJKmDdWvZnf89n8Xj/5/AeQ2dOQmn6b6Hkj/MleyzZWXpwv+WSdYWl4cLsy2JsoA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/console': 25.5.0 - '@jest/reporters': 25.5.1 - '@jest/test-result': 25.5.0 - '@jest/transform': 25.5.1 - '@jest/types': 25.5.0 - ansi-escapes: 4.3.2 - chalk: 3.0.0 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-changed-files: 25.5.0 - jest-config: 25.5.4 - jest-haste-map: 25.5.1 - jest-message-util: 25.5.0 - jest-regex-util: 25.2.6 - jest-resolve: 25.5.1 - jest-resolve-dependencies: 25.5.4 - jest-runner: 25.5.4 - jest-runtime: 25.5.4 - jest-snapshot: 25.5.1 - jest-util: 25.5.0 - jest-validate: 25.5.0 - jest-watcher: 25.5.0 - micromatch: 4.0.5 - p-each-series: 2.2.0 - realpath-native: 2.0.0 - rimraf: 3.0.2 - slash: 3.0.0 - strip-ansi: 6.0.1 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /@jest/environment@25.5.0: - resolution: {integrity: sha512-U2VXPEqL07E/V7pSZMSQCvV5Ea4lqOlT+0ZFijl/i316cRMHvZ4qC+jBdryd+lmRetjQo0YIQr6cVPNxxK87mA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/fake-timers': 25.5.0 - '@jest/types': 25.5.0 - jest-mock: 25.5.0 - dev: true - - /@jest/fake-timers@25.5.0: - resolution: {integrity: sha512-9y2+uGnESw/oyOI3eww9yaxdZyHq7XvprfP/eeoCsjqKYts2yRlsHS/SgjPDV8FyMfn2nbMy8YzUk6nyvdLOpQ==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - jest-message-util: 25.5.0 - jest-mock: 25.5.0 - jest-util: 25.5.0 - lolex: 5.1.2 - dev: true - - /@jest/globals@25.5.2: - resolution: {integrity: sha512-AgAS/Ny7Q2RCIj5kZ+0MuKM1wbF0WMLxbCVl/GOMoCNbODRdJ541IxJ98xnZdVSZXivKpJlNPIWa3QmY0l4CXA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/environment': 25.5.0 - '@jest/types': 25.5.0 - expect: 25.5.0 - dev: true - - /@jest/reporters@25.5.1: - resolution: {integrity: sha512-3jbd8pPDTuhYJ7vqiHXbSwTJQNavczPs+f1kRprRDxETeE3u6srJ+f0NPuwvOmk+lmunZzPkYWIFZDLHQPkviw==} - engines: {node: '>= 8.3'} - dependencies: - '@bcoe/v8-coverage': 0.2.3 - '@jest/console': 25.5.0 - '@jest/test-result': 25.5.0 - '@jest/transform': 25.5.1 - '@jest/types': 25.5.0 - chalk: 3.0.0 - collect-v8-coverage: 1.0.2 - exit: 0.1.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - istanbul-lib-coverage: 3.2.2 - istanbul-lib-instrument: 4.0.3 - istanbul-lib-report: 3.0.1 - istanbul-lib-source-maps: 4.0.1 - istanbul-reports: 3.1.7 - jest-haste-map: 25.5.1 - jest-resolve: 25.5.1 - jest-util: 25.5.0 - jest-worker: 25.5.0 - slash: 3.0.0 - source-map: 0.6.1 - string-length: 3.1.0 - terminal-link: 2.1.1 - v8-to-istanbul: 4.1.4 - optionalDependencies: - node-notifier: 6.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/source-map@25.5.0: - resolution: {integrity: sha512-eIGx0xN12yVpMcPaVpjXPnn3N30QGJCJQSkEDUt9x1fI1Gdvb07Ml6K5iN2hG7NmMP6FDmtPEssE3z6doOYUwQ==} - engines: {node: '>= 8.3'} - dependencies: - callsites: 3.1.0 - graceful-fs: 4.2.11 - source-map: 0.6.1 - dev: true - - /@jest/test-result@25.5.0: - resolution: {integrity: sha512-oV+hPJgXN7IQf/fHWkcS99y0smKLU2czLBJ9WA0jHITLst58HpQMtzSYxzaBvYc6U5U6jfoMthqsUlUlbRXs0A==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/console': 25.5.0 - '@jest/types': 25.5.0 - '@types/istanbul-lib-coverage': 2.0.6 - collect-v8-coverage: 1.0.2 - dev: true - - /@jest/test-sequencer@25.5.4: - resolution: {integrity: sha512-pTJGEkSeg1EkCO2YWq6hbFvKNXk8ejqlxiOg1jBNLnWrgXOkdY6UmqZpwGFXNnRt9B8nO1uWMzLLZ4eCmhkPNA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/test-result': 25.5.0 - graceful-fs: 4.2.11 - jest-haste-map: 25.5.1 - jest-runner: 25.5.4 - jest-runtime: 25.5.4 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /@jest/transform@25.5.1: - resolution: {integrity: sha512-Y8CEoVwXb4QwA6Y/9uDkn0Xfz0finGkieuV0xkdF9UtZGJeLukD5nLkaVrVsODB1ojRWlaoD0AJZpVHCSnJEvg==} - engines: {node: '>= 8.3'} - dependencies: - '@babel/core': 7.24.0 - '@jest/types': 25.5.0 - babel-plugin-istanbul: 6.1.1 - chalk: 3.0.0 - convert-source-map: 1.9.0 - fast-json-stable-stringify: 2.1.0 - graceful-fs: 4.2.11 - jest-haste-map: 25.5.1 - jest-regex-util: 25.2.6 - jest-util: 25.5.0 - micromatch: 4.0.5 - pirates: 4.0.6 - realpath-native: 2.0.0 - slash: 3.0.0 - source-map: 0.6.1 - write-file-atomic: 3.0.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/types@25.5.0: - resolution: {integrity: sha512-OXD0RgQ86Tu3MazKo8bnrkDRaDXXMGUqd+kTtLtK1Zb7CRzQcaSRPPPV37SvYTdevXEBVxe0HXylEjs8ibkmCw==} - engines: {node: '>= 8.3'} - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - '@types/istanbul-reports': 1.1.2 - '@types/yargs': 15.0.19 - chalk: 3.0.0 - dev: true - - /@jridgewell/gen-mapping@0.3.5: - resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.25 - dev: true - - /@jridgewell/resolve-uri@3.1.2: - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} - engines: {node: '>=6.0.0'} - dev: true - - /@jridgewell/set-array@1.2.1: - resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} - engines: {node: '>=6.0.0'} - dev: true - - /@jridgewell/sourcemap-codec@1.4.15: - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: true - - /@jridgewell/trace-mapping@0.3.25: - resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /@jridgewell/trace-mapping@0.3.9: - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /@nodelib/fs.scandir@2.1.5: - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - dev: true - - /@nodelib/fs.stat@2.0.5: - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - dev: true - - /@nodelib/fs.walk@1.2.8: - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.17.1 - dev: true - - /@rollup/plugin-babel@5.3.1(@babel/core@7.24.0)(rollup@1.32.1): - resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==} - engines: {node: '>= 10.0.0'} - peerDependencies: - '@babel/core': ^7.0.0 - '@types/babel__core': ^7.1.9 - rollup: ^1.20.0||^2.0.0 - peerDependenciesMeta: - '@types/babel__core': - optional: true - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-module-imports': 7.22.15 - '@rollup/pluginutils': 3.1.0(rollup@1.32.1) - rollup: 1.32.1 - dev: true - - /@rollup/plugin-commonjs@11.1.0(rollup@1.32.1): - resolution: {integrity: sha512-Ycr12N3ZPN96Fw2STurD21jMqzKwL9QuFhms3SD7KKRK7oaXUsBU9Zt0jL/rOPHiPYisI21/rXGO3jr9BnLHUA==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@1.32.1) - commondir: 1.0.1 - estree-walker: 1.0.1 - glob: 7.2.3 - is-reference: 1.2.1 - magic-string: 0.25.9 - resolve: 1.22.8 - rollup: 1.32.1 - dev: true - - /@rollup/plugin-json@4.1.0(rollup@1.32.1): - resolution: {integrity: sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==} - peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@1.32.1) - rollup: 1.32.1 - dev: true - - /@rollup/plugin-node-resolve@9.0.0(rollup@1.32.1): - resolution: {integrity: sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg==} - engines: {node: '>= 10.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@1.32.1) - '@types/resolve': 1.17.1 - builtin-modules: 3.3.0 - deepmerge: 4.3.1 - is-module: 1.0.0 - resolve: 1.22.8 - rollup: 1.32.1 - dev: true - - /@rollup/plugin-replace@2.4.2(rollup@1.32.1): - resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} - peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@1.32.1) - magic-string: 0.25.9 - rollup: 1.32.1 - dev: true - - /@rollup/pluginutils@3.1.0(rollup@1.32.1): - resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - dependencies: - '@types/estree': 0.0.39 - estree-walker: 1.0.1 - picomatch: 2.3.1 - rollup: 1.32.1 - dev: true - - /@sinonjs/commons@1.8.6: - resolution: {integrity: sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==} - dependencies: - type-detect: 4.0.8 - dev: true - - /@size-limit/esbuild@8.1.0(size-limit@8.1.0): - resolution: {integrity: sha512-Lq+vJAUO13RXbiNF4bZOB07LmzMURkbV8Z6dhAkhTdAVWYLUn0zjfIe3O6IMwhj9dqJ0WtadhKHJvNQKG+po3w==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} - peerDependencies: - size-limit: 8.1.0 - dependencies: - esbuild: 0.15.18 - nanoid: 3.3.7 - size-limit: 8.1.0 - dev: true - - /@size-limit/file@8.1.0(size-limit@8.1.0): - resolution: {integrity: sha512-Ur+NgJSRHBnbQBrD8X2doxXYdBcVJsMxe2KfWrUmnZ6wYz09YKhQ1iYLqNztjf2yf/JEp00zp1vyhmimUQfUHQ==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} - peerDependencies: - size-limit: 8.1.0 - dependencies: - semver: 7.3.7 - size-limit: 8.1.0 - dev: true - - /@size-limit/preset-small-lib@8.1.0(size-limit@8.1.0): - resolution: {integrity: sha512-fs0XD0+rN4SVKGUwae7VMX1uDqK+oUYNGlPe7E0oKhwAH6ek08iH8qiEm0q9IKDrsCfZ9/d/pqNpg9di3p1SVw==} - peerDependencies: - size-limit: 8.1.0 - dependencies: - '@size-limit/esbuild': 8.1.0(size-limit@8.1.0) - '@size-limit/file': 8.1.0(size-limit@8.1.0) - size-limit: 8.1.0 - dev: true - - /@tsconfig/node10@1.0.9: - resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} - dev: true - - /@tsconfig/node12@1.0.11: - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - dev: true - - /@tsconfig/node14@1.0.3: - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true - - /@tsconfig/node16@1.0.4: - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - dev: true - - /@typechain/ethers-v5@10.1.1(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typechain@8.1.1)(typescript@4.9.4): - resolution: {integrity: sha512-o6nffJBxwmeX1ZiZpdnP/tqGd/7M7iYvQC88ZXaFFoyAGh7eYncynzVjOJV0XmaKzAc6puqyqZrnva+gJbk4sw==} - peerDependencies: - '@ethersproject/abi': ^5.0.0 - '@ethersproject/bytes': ^5.0.0 - '@ethersproject/providers': ^5.0.0 - ethers: ^5.1.3 - typechain: ^8.1.1 - typescript: '>=4.3.0' - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/providers': 5.7.2 - ethers: 5.7.2 - lodash: 4.17.21 - ts-essentials: 7.0.3(typescript@4.9.4) - typechain: 8.1.1(typescript@4.9.4) - typescript: 4.9.4 - dev: true - - /@types/babel__core@7.20.5: - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} - dependencies: - '@babel/parser': 7.24.0 - '@babel/types': 7.24.0 - '@types/babel__generator': 7.6.8 - '@types/babel__template': 7.4.4 - '@types/babel__traverse': 7.20.5 - dev: true - - /@types/babel__generator@7.6.8: - resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@types/babel__template@7.4.4: - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} - dependencies: - '@babel/parser': 7.24.0 - '@babel/types': 7.24.0 - dev: true - - /@types/babel__traverse@7.20.5: - resolution: {integrity: sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==} - dependencies: - '@babel/types': 7.24.0 - dev: true - - /@types/debug@4.1.7: - resolution: {integrity: sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==} - dependencies: - '@types/ms': 0.7.34 - dev: true - - /@types/eslint-visitor-keys@1.0.0: - resolution: {integrity: sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==} - dev: true - - /@types/estree@0.0.39: - resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} - dev: true - - /@types/estree@1.0.5: - resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - dev: true - - /@types/fs-extra@9.0.13: - resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} - dependencies: - '@types/node': 16.11.7 - dev: true - - /@types/graceful-fs@4.1.9: - resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} - dependencies: - '@types/node': 16.11.7 - dev: true - - /@types/istanbul-lib-coverage@2.0.6: - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} - dev: true - - /@types/istanbul-lib-report@3.0.3: - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - dev: true - - /@types/istanbul-reports@1.1.2: - resolution: {integrity: sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw==} - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - '@types/istanbul-lib-report': 3.0.3 - dev: true - - /@types/jest@25.2.3: - resolution: {integrity: sha512-JXc1nK/tXHiDhV55dvfzqtmP4S3sy3T3ouV2tkViZgxY/zeUkcpQcQPGRlgF4KmWzWW5oiWYSZwtCB+2RsE4Fw==} - dependencies: - jest-diff: 25.5.0 - pretty-format: 25.5.0 - dev: true - - /@types/json-schema@7.0.15: - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - dev: true - - /@types/json5@0.0.29: - resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} - dev: true - - /@types/ms@0.7.34: - resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - dev: true - - /@types/node@16.11.7: - resolution: {integrity: sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==} - dev: true - - /@types/normalize-package-data@2.4.4: - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - dev: true - - /@types/parse-json@4.0.2: - resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} - dev: true - - /@types/prettier@1.19.1: - resolution: {integrity: sha512-5qOlnZscTn4xxM5MeGXAMOsIOIKIbh9e85zJWfBRVPlRMEVawzoPhINYbRGkBZCI8LxvBe7tJCdWiarA99OZfQ==} - dev: true - - /@types/prettier@2.7.3: - resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} - dev: true - - /@types/resolve@1.17.1: - resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} - dependencies: - '@types/node': 16.11.7 - dev: true - - /@types/semver@7.5.8: - resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} - dev: true - - /@types/stack-utils@1.0.1: - resolution: {integrity: sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==} - dev: true - - /@types/yargs-parser@21.0.3: - resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} - dev: true - - /@types/yargs@15.0.19: - resolution: {integrity: sha512-2XUaGVmyQjgyAZldf0D0c14vvo/yv0MhQBSTJcejMMaitsn3nxCB6TmH4G0ZQf+uxROOa9mpanoSm8h6SG/1ZA==} - dependencies: - '@types/yargs-parser': 21.0.3 - dev: true - - /@typescript-eslint/eslint-plugin@2.34.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0)(typescript@3.9.10): - resolution: {integrity: sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} - peerDependencies: - '@typescript-eslint/parser': ^2.0.0 - eslint: ^5.0.0 || ^6.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/experimental-utils': 2.34.0(eslint@6.8.0)(typescript@3.9.10) - '@typescript-eslint/parser': 2.34.0(eslint@6.8.0)(typescript@3.9.10) - eslint: 6.8.0 - functional-red-black-tree: 1.0.1 - regexpp: 3.2.0 - tsutils: 3.21.0(typescript@3.9.10) - typescript: 3.9.10 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/eslint-plugin@5.42.1(@typescript-eslint/parser@5.42.1)(eslint@8.27.0)(typescript@4.9.4): - resolution: {integrity: sha512-LyR6x784JCiJ1j6sH5Y0K6cdExqCCm8DJUTcwG5ThNXJj/G8o5E56u5EdG4SLy+bZAwZBswC+GYn3eGdttBVCg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/parser': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/parser': 5.42.1(eslint@8.27.0)(typescript@4.9.4) - '@typescript-eslint/scope-manager': 5.42.1 - '@typescript-eslint/type-utils': 5.42.1(eslint@8.27.0)(typescript@4.9.4) - '@typescript-eslint/utils': 5.42.1(eslint@8.27.0)(typescript@4.9.4) - debug: 4.3.4 - eslint: 8.27.0 - ignore: 5.3.1 - natural-compare-lite: 1.4.0 - regexpp: 3.2.0 - semver: 7.6.0 - tsutils: 3.21.0(typescript@4.9.4) - typescript: 4.9.4 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/experimental-utils@2.34.0(eslint@6.8.0)(typescript@3.9.10): - resolution: {integrity: sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} - peerDependencies: - eslint: '*' - dependencies: - '@types/json-schema': 7.0.15 - '@typescript-eslint/typescript-estree': 2.34.0(typescript@3.9.10) - eslint: 6.8.0 - eslint-scope: 5.1.1 - eslint-utils: 2.1.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /@typescript-eslint/parser@2.34.0(eslint@6.8.0)(typescript@3.9.10): - resolution: {integrity: sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} - peerDependencies: - eslint: ^5.0.0 || ^6.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@types/eslint-visitor-keys': 1.0.0 - '@typescript-eslint/experimental-utils': 2.34.0(eslint@6.8.0)(typescript@3.9.10) - '@typescript-eslint/typescript-estree': 2.34.0(typescript@3.9.10) - eslint: 6.8.0 - eslint-visitor-keys: 1.3.0 - typescript: 3.9.10 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/parser@5.42.1(eslint@8.27.0)(typescript@4.9.4): - resolution: {integrity: sha512-kAV+NiNBWVQDY9gDJDToTE/NO8BHi4f6b7zTsVAJoTkmB/zlfOpiEVBzHOKtlgTndCKe8vj9F/PuolemZSh50Q==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 5.42.1 - '@typescript-eslint/types': 5.42.1 - '@typescript-eslint/typescript-estree': 5.42.1(typescript@4.9.4) - debug: 4.3.4 - eslint: 8.27.0 - typescript: 4.9.4 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/scope-manager@5.42.1: - resolution: {integrity: sha512-QAZY/CBP1Emx4rzxurgqj3rUinfsh/6mvuKbLNMfJMMKYLRBfweus8brgXF8f64ABkIZ3zdj2/rYYtF8eiuksQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.42.1 - '@typescript-eslint/visitor-keys': 5.42.1 - dev: true - - /@typescript-eslint/type-utils@5.42.1(eslint@8.27.0)(typescript@4.9.4): - resolution: {integrity: sha512-WWiMChneex5w4xPIX56SSnQQo0tEOy5ZV2dqmj8Z371LJ0E+aymWD25JQ/l4FOuuX+Q49A7pzh/CGIQflxMVXg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: '*' - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/typescript-estree': 5.42.1(typescript@4.9.4) - '@typescript-eslint/utils': 5.42.1(eslint@8.27.0)(typescript@4.9.4) - debug: 4.3.4 - eslint: 8.27.0 - tsutils: 3.21.0(typescript@4.9.4) - typescript: 4.9.4 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/types@5.42.1: - resolution: {integrity: sha512-Qrco9dsFF5lhalz+lLFtxs3ui1/YfC6NdXu+RAGBa8uSfn01cjO7ssCsjIsUs484vny9Xm699FSKwpkCcqwWwA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /@typescript-eslint/typescript-estree@2.34.0(typescript@3.9.10): - resolution: {integrity: sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - debug: 4.3.4 - eslint-visitor-keys: 1.3.0 - glob: 7.2.3 - is-glob: 4.0.3 - lodash: 4.17.21 - semver: 7.6.0 - tsutils: 3.21.0(typescript@3.9.10) - typescript: 3.9.10 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/typescript-estree@5.42.1(typescript@4.9.4): - resolution: {integrity: sha512-qElc0bDOuO0B8wDhhW4mYVgi/LZL+igPwXtV87n69/kYC/7NG3MES0jHxJNCr4EP7kY1XVsRy8C/u3DYeTKQmw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.42.1 - '@typescript-eslint/visitor-keys': 5.42.1 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.6.0 - tsutils: 3.21.0(typescript@4.9.4) - typescript: 4.9.4 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/utils@5.42.1(eslint@8.27.0)(typescript@4.9.4): - resolution: {integrity: sha512-Gxvf12xSp3iYZd/fLqiQRD4uKZjDNR01bQ+j8zvhPjpsZ4HmvEFL/tC4amGNyxN9Rq+iqvpHLhlqx6KTxz9ZyQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 5.42.1 - '@typescript-eslint/types': 5.42.1 - '@typescript-eslint/typescript-estree': 5.42.1(typescript@4.9.4) - eslint: 8.27.0 - eslint-scope: 5.1.1 - eslint-utils: 3.0.0(eslint@8.27.0) - semver: 7.6.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /@typescript-eslint/visitor-keys@5.42.1: - resolution: {integrity: sha512-LOQtSF4z+hejmpUvitPlc4hA7ERGoj2BVkesOcG91HCn8edLGUXbTrErmutmPbl8Bo9HjAvOO/zBKQHExXNA2A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.42.1 - eslint-visitor-keys: 3.4.3 - dev: true - - /@zapper-fi/eslint-plugin@1.4.0(eslint@8.27.0): - resolution: {integrity: sha512-S85ZgQiF8Rb4iGIzRLuBpcoN2v6ULwIZnZPRp6LwytMgLzAP/SK/WCZGse1/B/4QYTJ25J4MrleJlLRYcSUYsQ==} - engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} - peerDependencies: - eslint: '>=7' - dependencies: - '@ethersproject/address': 5.7.0 - eslint: 8.27.0 - requireindex: 1.2.0 - dev: true - - /abab@2.0.6: - resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} - deprecated: Use your platform's native atob() and btoa() methods instead - dev: true - - /acorn-globals@4.3.4: - resolution: {integrity: sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==} - dependencies: - acorn: 6.4.2 - acorn-walk: 6.2.0 - dev: true - - /acorn-jsx@5.3.2(acorn@7.4.1): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 7.4.1 - dev: true - - /acorn-jsx@5.3.2(acorn@8.11.3): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.11.3 - dev: true - - /acorn-walk@6.2.0: - resolution: {integrity: sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==} - engines: {node: '>=0.4.0'} - dev: true - - /acorn-walk@8.3.2: - resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} - engines: {node: '>=0.4.0'} - dev: true - - /acorn@6.4.2: - resolution: {integrity: sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - - /acorn@7.4.1: - resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - - /acorn@8.11.3: - resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - - /aes-js@3.0.0: - resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} - - /ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} - dependencies: - fast-deep-equal: 3.1.3 - fast-json-stable-stringify: 2.1.0 - json-schema-traverse: 0.4.1 - uri-js: 4.4.1 - dev: true - - /ansi-colors@4.1.3: - resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} - engines: {node: '>=6'} - dev: true - - /ansi-escapes@3.2.0: - resolution: {integrity: sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==} - engines: {node: '>=4'} - dev: true - - /ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.21.3 - dev: true - - /ansi-regex@3.0.1: - resolution: {integrity: sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==} - engines: {node: '>=4'} - dev: true - - /ansi-regex@4.1.1: - resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==} - engines: {node: '>=6'} - dev: true - - /ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} - dev: true - - /ansi-styles@3.2.1: - resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} - engines: {node: '>=4'} - dependencies: - color-convert: 1.9.3 - dev: true - - /ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} - dependencies: - color-convert: 2.0.1 - dev: true - - /anymatch@2.0.0: - resolution: {integrity: sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==} - dependencies: - micromatch: 3.1.10 - normalize-path: 2.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - dev: true - - /arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - dev: true - - /argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} - dependencies: - sprintf-js: 1.0.3 - dev: true - - /argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - dev: true - - /aria-query@5.3.0: - resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - dependencies: - dequal: 2.0.3 - dev: true - - /arr-diff@4.0.0: - resolution: {integrity: sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==} - engines: {node: '>=0.10.0'} - dev: true - - /arr-flatten@1.1.0: - resolution: {integrity: sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==} - engines: {node: '>=0.10.0'} - dev: true - - /arr-union@3.1.0: - resolution: {integrity: sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==} - engines: {node: '>=0.10.0'} - dev: true - - /array-back@3.1.0: - resolution: {integrity: sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==} - engines: {node: '>=6'} - dev: true - - /array-back@4.0.2: - resolution: {integrity: sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==} - engines: {node: '>=8'} - dev: true - - /array-buffer-byte-length@1.0.1: - resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - is-array-buffer: 3.0.4 - dev: true - - /array-equal@1.0.2: - resolution: {integrity: sha512-gUHx76KtnhEgB3HOuFYiCm3FIdEs6ocM2asHvNTkfu/Y09qQVrrVVaOKENmS2KkSaGoxgXNqC+ZVtR/n0MOkSA==} - dev: true - - /array-includes@3.1.7: - resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - get-intrinsic: 1.2.4 - is-string: 1.0.7 - dev: true - - /array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - dev: true - - /array-unique@0.3.2: - resolution: {integrity: sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==} - engines: {node: '>=0.10.0'} - dev: true - - /array.prototype.findlast@1.2.4: - resolution: {integrity: sha512-BMtLxpV+8BD+6ZPFIWmnUBpQoy+A+ujcg4rhp2iwCRJYA7PEh2MS4NL3lz8EiDlLrJPp2hg9qWihr5pd//jcGw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-errors: 1.3.0 - es-shim-unscopables: 1.0.2 - dev: true - - /array.prototype.flat@1.3.2: - resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-shim-unscopables: 1.0.2 - dev: true - - /array.prototype.flatmap@1.3.2: - resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-shim-unscopables: 1.0.2 - dev: true - - /array.prototype.toreversed@1.1.2: - resolution: {integrity: sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-shim-unscopables: 1.0.2 - dev: true - - /array.prototype.tosorted@1.1.3: - resolution: {integrity: sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg==} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-errors: 1.3.0 - es-shim-unscopables: 1.0.2 - dev: true - - /arraybuffer.prototype.slice@1.0.3: - resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} - engines: {node: '>= 0.4'} - dependencies: - array-buffer-byte-length: 1.0.1 - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-errors: 1.3.0 - get-intrinsic: 1.2.4 - is-array-buffer: 3.0.4 - is-shared-array-buffer: 1.0.3 - dev: true - - /asn1@0.2.6: - resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==} - dependencies: - safer-buffer: 2.1.2 - dev: true - - /assert-plus@1.0.0: - resolution: {integrity: sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==} - engines: {node: '>=0.8'} - dev: true - - /assign-symbols@1.0.0: - resolution: {integrity: sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==} - engines: {node: '>=0.10.0'} - dev: true - - /ast-types-flow@0.0.8: - resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==} - dev: true - - /astral-regex@1.0.0: - resolution: {integrity: sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==} - engines: {node: '>=4'} - dev: true - - /asynciterator.prototype@1.0.0: - resolution: {integrity: sha512-wwHYEIS0Q80f5mosx3L/dfG5t5rjEa9Ft51GTaNt862EnpyGHpgz2RkZvLPp1oF5TnAiTohkEKVEu8pQPJI7Vg==} - dependencies: - has-symbols: 1.0.3 - dev: true - - /asynckit@0.4.0: - resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - - /asyncro@3.0.0: - resolution: {integrity: sha512-nEnWYfrBmA3taTiuiOoZYmgJ/CNrSoQLeLs29SeLcPu60yaw/mHDBHV0iOZ051fTvsTHxpCY+gXibqT9wbQYfg==} - dev: true - - /at-least-node@1.0.0: - resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} - engines: {node: '>= 4.0.0'} - dev: true - - /atob@2.1.2: - resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==} - engines: {node: '>= 4.5.0'} - hasBin: true - dev: true - - /available-typed-arrays@1.0.7: - resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} - engines: {node: '>= 0.4'} - dependencies: - possible-typed-array-names: 1.0.0 - dev: true - - /aws-sign2@0.7.0: - resolution: {integrity: sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==} - dev: true - - /aws4@1.12.0: - resolution: {integrity: sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==} - dev: true - - /axe-core@4.7.0: - resolution: {integrity: sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==} - engines: {node: '>=4'} - dev: true - - /axios-retry@3.3.1: - resolution: {integrity: sha512-RohAUQTDxBSWLFEnoIG/6bvmy8l3TfpkclgStjl5MDCMBDgapAWCmr1r/9harQfWC8bzLC8job6UcL1A1Yc+/Q==} - dependencies: - '@babel/runtime': 7.24.0 - is-retry-allowed: 2.2.0 - dev: false - - /axios@1.2.1(debug@4.3.4): - resolution: {integrity: sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A==} - dependencies: - follow-redirects: 1.15.5(debug@4.3.4) - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - dev: false - - /axobject-query@3.2.1: - resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} - dependencies: - dequal: 2.0.3 - dev: true - - /babel-eslint@10.1.0(eslint@8.27.0): - resolution: {integrity: sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==} - engines: {node: '>=6'} - deprecated: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. - peerDependencies: - eslint: '>= 4.12.1' - dependencies: - '@babel/code-frame': 7.23.5 - '@babel/parser': 7.24.0 - '@babel/traverse': 7.24.0 - '@babel/types': 7.24.0 - eslint: 8.27.0 - eslint-visitor-keys: 1.3.0 - resolve: 1.22.8 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-jest@25.5.1(@babel/core@7.24.0): - resolution: {integrity: sha512-9dA9+GmMjIzgPnYtkhBg73gOo/RHqPmLruP3BaGL4KEX3Dwz6pI8auSN8G8+iuEG90+GSswyKvslN+JYSaacaQ==} - engines: {node: '>= 8.3'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@jest/transform': 25.5.1 - '@jest/types': 25.5.0 - '@types/babel__core': 7.20.5 - babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 25.5.0(@babel/core@7.24.0) - chalk: 3.0.0 - graceful-fs: 4.2.11 - slash: 3.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-annotate-pure-calls@0.4.0(@babel/core@7.24.0): - resolution: {integrity: sha512-oi4M/PWUJOU9ZyRGoPTfPMqdyMp06jbJAomd3RcyYuzUtBOddv98BqLm96Lucpi2QFoQHkdGQt0ACvw7VzVEQA==} - peerDependencies: - '@babel/core': ^6.0.0-0 || 7.x - dependencies: - '@babel/core': 7.24.0 - dev: true - - /babel-plugin-dev-expression@0.2.3(@babel/core@7.24.0): - resolution: {integrity: sha512-rP5LK9QQTzCW61nVVzw88En1oK8t8gTsIeC6E61oelxNsU842yMjF0G1MxhvUpCkxCEIj7sE8/e5ieTheT//uw==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - dev: true - - /babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} - dependencies: - '@babel/helper-plugin-utils': 7.24.0 - '@istanbuljs/load-nyc-config': 1.1.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-instrument: 5.2.1 - test-exclude: 6.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-jest-hoist@25.5.0: - resolution: {integrity: sha512-u+/W+WAjMlvoocYGTwthAiQSxDcJAyHpQ6oWlHdFZaaN+Rlk8Q7iiwDPg2lN/FyJtAYnKjFxbn7xus4HCFkg5g==} - engines: {node: '>= 8.3'} - dependencies: - '@babel/template': 7.24.0 - '@babel/types': 7.24.0 - '@types/babel__traverse': 7.20.5 - dev: true - - /babel-plugin-macros@2.8.0: - resolution: {integrity: sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==} - dependencies: - '@babel/runtime': 7.24.0 - cosmiconfig: 6.0.0 - resolve: 1.22.8 - dev: true - - /babel-plugin-polyfill-corejs2@0.4.8(@babel/core@7.24.0): - resolution: {integrity: sha512-OtIuQfafSzpo/LhnJaykc0R/MMnuLSSVjVYy9mHArIZ9qTCSZ6TpWCuEKZYVoN//t8HqBNScHrOtCrIK5IaGLg==} - peerDependencies: - '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - dependencies: - '@babel/compat-data': 7.23.5 - '@babel/core': 7.24.0 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.24.0) - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-polyfill-corejs3@0.9.0(@babel/core@7.24.0): - resolution: {integrity: sha512-7nZPG1uzK2Ymhy/NbaOWTg3uibM2BmGASS4vHS4szRZAIR8R6GwA/xAujpdrXU5iyklrimWnLWU+BLF9suPTqg==} - peerDependencies: - '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.24.0) - core-js-compat: 3.36.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-polyfill-regenerator@0.0.4(@babel/core@7.24.0): - resolution: {integrity: sha512-+/uCzO9JTYVZVGCpZpVAQkgPGt2zkR0VYiZvJ4aVoCe4ccgpKvNQqcjzAgQzSsjK64Jhc5hvrCR3l0087BevkA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-define-polyfill-provider': 0.0.3(@babel/core@7.24.0) - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-polyfill-regenerator@0.5.5(@babel/core@7.24.0): - resolution: {integrity: sha512-OJGYZlhLqBh2DDHeqAxWB1XIvr49CxiJ2gIt61/PU55CQK4Z58OzMqjDe1zwQdQk+rBYsRc+1rJmdajM3gimHg==} - peerDependencies: - '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.24.0) - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-transform-rename-import@2.3.0: - resolution: {integrity: sha512-dPgJoT57XC0PqSnLgl2FwNvxFrWlspatX2dkk7yjKQj5HHGw071vAcOf+hqW8ClqcBDMvEbm6mevn5yHAD8mlQ==} - dev: true - - /babel-preset-current-node-syntax@0.1.4(@babel/core@7.24.0): - resolution: {integrity: sha512-5/INNCYhUGqw7VbVjT/hb3ucjgkVHKXY7lX3ZjlN4gm565VyFmJUrJ/h+h16ECVB38R/9SF6aACydpKMLZ/c9w==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.0) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.24.0) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.24.0) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.0) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.0) - dev: true - - /babel-preset-jest@25.5.0(@babel/core@7.24.0): - resolution: {integrity: sha512-8ZczygctQkBU+63DtSOKGh7tFL0CeCuz+1ieud9lJ1WPQ9O6A1a/r+LGn6Y705PA6whHQ3T1XuB/PmpfNYf8Fw==} - engines: {node: '>= 8.3'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.24.0 - babel-plugin-jest-hoist: 25.5.0 - babel-preset-current-node-syntax: 0.1.4(@babel/core@7.24.0) - dev: true - - /balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - dev: true - - /base@0.11.2: - resolution: {integrity: sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==} - engines: {node: '>=0.10.0'} - dependencies: - cache-base: 1.0.1 - class-utils: 0.3.6 - component-emitter: 1.3.1 - define-property: 1.0.0 - isobject: 3.0.1 - mixin-deep: 1.3.2 - pascalcase: 0.1.1 - dev: true - - /bcrypt-pbkdf@1.0.2: - resolution: {integrity: sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==} - dependencies: - tweetnacl: 0.14.5 - dev: true - - /bech32@1.1.4: - resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} - - /binary-extensions@2.2.0: - resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} - engines: {node: '>=8'} - dev: true - - /bn.js@4.12.0: - resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} - - /bn.js@5.2.1: - resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} - - /brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - dev: true - - /braces@2.3.2: - resolution: {integrity: sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==} - engines: {node: '>=0.10.0'} - dependencies: - arr-flatten: 1.1.0 - array-unique: 0.3.2 - extend-shallow: 2.0.1 - fill-range: 4.0.0 - isobject: 3.0.1 - repeat-element: 1.1.4 - snapdragon: 0.8.2 - snapdragon-node: 2.1.1 - split-string: 3.1.0 - to-regex: 3.0.2 - transitivePeerDependencies: - - supports-color - dev: true - - /braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} - dependencies: - fill-range: 7.0.1 - dev: true - - /brorand@1.1.0: - resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} - - /browser-process-hrtime@1.0.0: - resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==} - dev: true - - /browser-resolve@1.11.3: - resolution: {integrity: sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==} - dependencies: - resolve: 1.1.7 - dev: true - - /browserslist@4.23.0: - resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - dependencies: - caniuse-lite: 1.0.30001593 - electron-to-chromium: 1.4.690 - node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.23.0) - dev: true - - /bs-logger@0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} - dependencies: - fast-json-stable-stringify: 2.1.0 - dev: true - - /bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - dependencies: - node-int64: 0.4.0 - dev: true - - /buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - dev: true - - /builtin-modules@3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - dev: true - - /bytes-iec@3.1.1: - resolution: {integrity: sha512-fey6+4jDK7TFtFg/klGSvNKJctyU7n2aQdnM+CO0ruLPbqqMOM8Tio0Pc+deqUeVKX1tL5DQep1zQ7+37aTAsA==} - engines: {node: '>= 0.8'} - dev: true - - /cache-base@1.0.1: - resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==} - engines: {node: '>=0.10.0'} - dependencies: - collection-visit: 1.0.0 - component-emitter: 1.3.1 - get-value: 2.0.6 - has-value: 1.0.0 - isobject: 3.0.1 - set-value: 2.0.1 - to-object-path: 0.3.0 - union-value: 1.0.1 - unset-value: 1.0.0 - dev: true - - /call-bind@1.0.7: - resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} - engines: {node: '>= 0.4'} - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - set-function-length: 1.2.1 - dev: true - - /callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - dev: true - - /camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} - dev: true - - /camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - dev: true - - /caniuse-lite@1.0.30001593: - resolution: {integrity: sha512-UWM1zlo3cZfkpBysd7AS+z+v007q9G1+fLTUU42rQnY6t2axoogPW/xol6T7juU5EUoOhML4WgBIdG+9yYqAjQ==} - dev: true - - /capture-exit@2.0.0: - resolution: {integrity: sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==} - engines: {node: 6.* || 8.* || >= 10.*} - dependencies: - rsvp: 4.8.5 - dev: true - - /caseless@0.12.0: - resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} - dev: true - - /chalk@2.4.2: - resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} - engines: {node: '>=4'} - dependencies: - ansi-styles: 3.2.1 - escape-string-regexp: 1.0.5 - supports-color: 5.5.0 - dev: true - - /chalk@3.0.0: - resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} - engines: {node: '>=8'} - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - dev: true - - /chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - dev: true - - /chardet@0.7.0: - resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} - dev: true - - /chokidar@3.6.0: - resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} - engines: {node: '>= 8.10.0'} - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 - dev: true - - /ci-info@2.0.0: - resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} - dev: true - - /ci-job-number@1.2.2: - resolution: {integrity: sha512-CLOGsVDrVamzv8sXJGaILUVI6dsuAkouJP/n6t+OxLPeeA4DDby7zn9SB6EUpa1H7oIKoE+rMmkW80zYsFfUjA==} - dev: true - - /class-utils@0.3.6: - resolution: {integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==} - engines: {node: '>=0.10.0'} - dependencies: - arr-union: 3.1.0 - define-property: 0.2.5 - isobject: 3.0.1 - static-extend: 0.1.2 - dev: true - - /cli-cursor@2.1.0: - resolution: {integrity: sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==} - engines: {node: '>=4'} - dependencies: - restore-cursor: 2.0.0 - dev: true - - /cli-cursor@3.1.0: - resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} - engines: {node: '>=8'} - dependencies: - restore-cursor: 3.1.0 - dev: true - - /cli-spinners@1.3.1: - resolution: {integrity: sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg==} - engines: {node: '>=4'} - dev: true - - /cli-spinners@2.9.2: - resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} - engines: {node: '>=6'} - dev: true - - /cli-width@3.0.0: - resolution: {integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==} - engines: {node: '>= 10'} - dev: true - - /cliui@6.0.0: - resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 6.2.0 - dev: true - - /clone@1.0.4: - resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} - engines: {node: '>=0.8'} - dev: true - - /co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} - dev: true - - /collect-v8-coverage@1.0.2: - resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} - dev: true - - /collection-visit@1.0.0: - resolution: {integrity: sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==} - engines: {node: '>=0.10.0'} - dependencies: - map-visit: 1.0.0 - object-visit: 1.0.1 - dev: true - - /color-convert@1.9.3: - resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} - dependencies: - color-name: 1.1.3 - dev: true - - /color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} - dependencies: - color-name: 1.1.4 - dev: true - - /color-name@1.1.3: - resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} - dev: true - - /color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - dev: true - - /combined-stream@1.0.8: - resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} - engines: {node: '>= 0.8'} - dependencies: - delayed-stream: 1.0.0 - - /command-line-args@5.2.1: - resolution: {integrity: sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==} - engines: {node: '>=4.0.0'} - dependencies: - array-back: 3.1.0 - find-replace: 3.0.0 - lodash.camelcase: 4.3.0 - typical: 4.0.0 - dev: true - - /command-line-usage@6.1.3: - resolution: {integrity: sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw==} - engines: {node: '>=8.0.0'} - dependencies: - array-back: 4.0.2 - chalk: 2.4.2 - table-layout: 1.0.2 - typical: 5.2.0 - dev: true - - /commander@2.20.3: - resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} - dev: true - - /commondir@1.0.1: - resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} - dev: true - - /component-emitter@1.3.1: - resolution: {integrity: sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==} - dev: true - - /concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - dev: true - - /confusing-browser-globals@1.0.11: - resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} - dev: true - - /convert-source-map@1.9.0: - resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} - dev: true - - /convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - dev: true - - /copy-descriptor@0.1.1: - resolution: {integrity: sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==} - engines: {node: '>=0.10.0'} - dev: true - - /core-js-compat@3.36.0: - resolution: {integrity: sha512-iV9Pd/PsgjNWBXeq8XRtWVSgz2tKAfhfvBs7qxYty+RlRd+OCksaWmOnc4JKrTc1cToXL1N0s3l/vwlxPtdElw==} - dependencies: - browserslist: 4.23.0 - dev: true - - /core-util-is@1.0.2: - resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==} - dev: true - - /cosmiconfig@6.0.0: - resolution: {integrity: sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==} - engines: {node: '>=8'} - dependencies: - '@types/parse-json': 4.0.2 - import-fresh: 3.3.0 - parse-json: 5.2.0 - path-type: 4.0.0 - yaml: 1.10.2 - dev: true - - /create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - dev: true - - /cross-fetch@3.1.5: - resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==} - dependencies: - node-fetch: 2.6.7 - transitivePeerDependencies: - - encoding - dev: false - - /cross-spawn@6.0.5: - resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} - engines: {node: '>=4.8'} - dependencies: - nice-try: 1.0.5 - path-key: 2.0.1 - semver: 5.7.2 - shebang-command: 1.2.0 - which: 1.3.1 - dev: true - - /cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} - engines: {node: '>= 8'} - dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 - dev: true - - /cssom@0.3.8: - resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} - dev: true - - /cssom@0.4.4: - resolution: {integrity: sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==} - dev: true - - /cssstyle@2.3.0: - resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} - engines: {node: '>=8'} - dependencies: - cssom: 0.3.8 - dev: true - - /damerau-levenshtein@1.0.8: - resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} - dev: true - - /dashdash@1.14.1: - resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==} - engines: {node: '>=0.10'} - dependencies: - assert-plus: 1.0.0 - dev: true - - /data-urls@1.1.0: - resolution: {integrity: sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==} - dependencies: - abab: 2.0.6 - whatwg-mimetype: 2.3.0 - whatwg-url: 7.1.0 - dev: true - - /debug@2.6.9: - resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.0.0 - dev: true - - /debug@3.2.7: - resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.3 - dev: true - - /debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.2 - - /decamelize@1.2.0: - resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} - engines: {node: '>=0.10.0'} - dev: true - - /decode-uri-component@0.2.2: - resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==} - engines: {node: '>=0.10'} - dev: true - - /deep-extend@0.6.0: - resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} - engines: {node: '>=4.0.0'} - dev: true - - /deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - dev: true - - /deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} - dev: true - - /defaults@1.0.4: - resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} - dependencies: - clone: 1.0.4 - dev: true - - /define-data-property@1.1.4: - resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} - engines: {node: '>= 0.4'} - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - gopd: 1.0.1 - dev: true - - /define-properties@1.2.1: - resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} - engines: {node: '>= 0.4'} - dependencies: - define-data-property: 1.1.4 - has-property-descriptors: 1.0.2 - object-keys: 1.1.1 - dev: true - - /define-property@0.2.5: - resolution: {integrity: sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==} - engines: {node: '>=0.10.0'} - dependencies: - is-descriptor: 0.1.7 - dev: true - - /define-property@1.0.0: - resolution: {integrity: sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==} - engines: {node: '>=0.10.0'} - dependencies: - is-descriptor: 1.0.3 - dev: true - - /define-property@2.0.2: - resolution: {integrity: sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==} - engines: {node: '>=0.10.0'} - dependencies: - is-descriptor: 1.0.3 - isobject: 3.0.1 - dev: true - - /delayed-stream@1.0.0: - resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} - engines: {node: '>=0.4.0'} - - /dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - dev: true - - /detect-newline@3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} - dev: true - - /diff-sequences@25.2.6: - resolution: {integrity: sha512-Hq8o7+6GaZeoFjtpgvRBUknSXNeJiCx7V9Fr94ZMljNiCr9n9L8H8aJqgWOQiDDGdyn29fRNcDdRVJ5fdyihfg==} - engines: {node: '>= 8.3'} - dev: true - - /diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - dev: true - - /dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - dependencies: - path-type: 4.0.0 - dev: true - - /doctrine@2.1.0: - resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} - engines: {node: '>=0.10.0'} - dependencies: - esutils: 2.0.3 - dev: true - - /doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dependencies: - esutils: 2.0.3 - dev: true - - /domexception@1.0.1: - resolution: {integrity: sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==} - deprecated: Use your platform's native DOMException instead - dependencies: - webidl-conversions: 4.0.2 - dev: true - - /ecc-jsbn@0.1.2: - resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==} - dependencies: - jsbn: 0.1.1 - safer-buffer: 2.1.2 - dev: true - - /electron-to-chromium@1.4.690: - resolution: {integrity: sha512-+2OAGjUx68xElQhydpcbqH50hE8Vs2K6TkAeLhICYfndb67CVH0UsZaijmRUE3rHlIxU1u0jxwhgVe6fK3YANA==} - dev: true - - /elliptic@6.5.4: - resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} - dependencies: - bn.js: 4.12.0 - brorand: 1.1.0 - hash.js: 1.1.7 - hmac-drbg: 1.0.1 - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - - /emoji-regex@7.0.3: - resolution: {integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==} - dev: true - - /emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: true - - /emoji-regex@9.2.2: - resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - dev: true - - /end-of-stream@1.4.4: - resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} - dependencies: - once: 1.4.0 - dev: true - - /enquirer@2.4.1: - resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} - engines: {node: '>=8.6'} - dependencies: - ansi-colors: 4.1.3 - strip-ansi: 6.0.1 - dev: true - - /error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - dependencies: - is-arrayish: 0.2.1 - dev: true - - /es-abstract@1.22.5: - resolution: {integrity: sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w==} - engines: {node: '>= 0.4'} - dependencies: - array-buffer-byte-length: 1.0.1 - arraybuffer.prototype.slice: 1.0.3 - available-typed-arrays: 1.0.7 - call-bind: 1.0.7 - es-define-property: 1.0.0 - es-errors: 1.3.0 - es-set-tostringtag: 2.0.3 - es-to-primitive: 1.2.1 - function.prototype.name: 1.1.6 - get-intrinsic: 1.2.4 - get-symbol-description: 1.0.2 - globalthis: 1.0.3 - gopd: 1.0.1 - has-property-descriptors: 1.0.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 - hasown: 2.0.1 - internal-slot: 1.0.7 - is-array-buffer: 3.0.4 - is-callable: 1.2.7 - is-negative-zero: 2.0.3 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.3 - is-string: 1.0.7 - is-typed-array: 1.1.13 - is-weakref: 1.0.2 - object-inspect: 1.13.1 - object-keys: 1.1.1 - object.assign: 4.1.5 - regexp.prototype.flags: 1.5.2 - safe-array-concat: 1.1.0 - safe-regex-test: 1.0.3 - string.prototype.trim: 1.2.8 - string.prototype.trimend: 1.0.7 - string.prototype.trimstart: 1.0.7 - typed-array-buffer: 1.0.2 - typed-array-byte-length: 1.0.1 - typed-array-byte-offset: 1.0.2 - typed-array-length: 1.0.5 - unbox-primitive: 1.0.2 - which-typed-array: 1.1.14 - dev: true - - /es-define-property@1.0.0: - resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} - engines: {node: '>= 0.4'} - dependencies: - get-intrinsic: 1.2.4 - dev: true - - /es-errors@1.3.0: - resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} - engines: {node: '>= 0.4'} - dev: true - - /es-iterator-helpers@1.0.17: - resolution: {integrity: sha512-lh7BsUqelv4KUbR5a/ZTaGGIMLCjPGPqJ6q+Oq24YP0RdyptX1uzm4vvaqzk7Zx3bpl/76YLTTDj9L7uYQ92oQ==} - engines: {node: '>= 0.4'} - dependencies: - asynciterator.prototype: 1.0.0 - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-errors: 1.3.0 - es-set-tostringtag: 2.0.3 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - globalthis: 1.0.3 - has-property-descriptors: 1.0.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 - internal-slot: 1.0.7 - iterator.prototype: 1.1.2 - safe-array-concat: 1.1.0 - dev: true - - /es-set-tostringtag@2.0.3: - resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==} - engines: {node: '>= 0.4'} - dependencies: - get-intrinsic: 1.2.4 - has-tostringtag: 1.0.2 - hasown: 2.0.1 - dev: true - - /es-shim-unscopables@1.0.2: - resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} - dependencies: - hasown: 2.0.1 - dev: true - - /es-to-primitive@1.2.1: - resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} - engines: {node: '>= 0.4'} - dependencies: - is-callable: 1.2.7 - is-date-object: 1.0.5 - is-symbol: 1.0.4 - dev: true - - /esbuild-android-64@0.15.18: - resolution: {integrity: sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-android-arm64@0.15.18: - resolution: {integrity: sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-64@0.15.18: - resolution: {integrity: sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-darwin-arm64@0.15.18: - resolution: {integrity: sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-64@0.15.18: - resolution: {integrity: sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-freebsd-arm64@0.15.18: - resolution: {integrity: sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-32@0.15.18: - resolution: {integrity: sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-64@0.15.18: - resolution: {integrity: sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-arm64@0.15.18: - resolution: {integrity: sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-arm@0.15.18: - resolution: {integrity: sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-mips64le@0.15.18: - resolution: {integrity: sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-ppc64le@0.15.18: - resolution: {integrity: sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-riscv64@0.15.18: - resolution: {integrity: sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-linux-s390x@0.15.18: - resolution: {integrity: sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /esbuild-netbsd-64@0.15.18: - resolution: {integrity: sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-openbsd-64@0.15.18: - resolution: {integrity: sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - /esbuild-sunos-64@0.15.18: - resolution: {integrity: sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-32@0.15.18: - resolution: {integrity: sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-64@0.15.18: - resolution: {integrity: sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild-windows-arm64@0.15.18: - resolution: {integrity: sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /esbuild@0.15.18: - resolution: {integrity: sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.15.18 - '@esbuild/linux-loong64': 0.15.18 - esbuild-android-64: 0.15.18 - esbuild-android-arm64: 0.15.18 - esbuild-darwin-64: 0.15.18 - esbuild-darwin-arm64: 0.15.18 - esbuild-freebsd-64: 0.15.18 - esbuild-freebsd-arm64: 0.15.18 - esbuild-linux-32: 0.15.18 - esbuild-linux-64: 0.15.18 - esbuild-linux-arm: 0.15.18 - esbuild-linux-arm64: 0.15.18 - esbuild-linux-mips64le: 0.15.18 - esbuild-linux-ppc64le: 0.15.18 - esbuild-linux-riscv64: 0.15.18 - esbuild-linux-s390x: 0.15.18 - esbuild-netbsd-64: 0.15.18 - esbuild-openbsd-64: 0.15.18 - esbuild-sunos-64: 0.15.18 - esbuild-windows-32: 0.15.18 - esbuild-windows-64: 0.15.18 - esbuild-windows-arm64: 0.15.18 - dev: true - - /escalade@3.1.2: - resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} - engines: {node: '>=6'} - dev: true - - /escape-string-regexp@1.0.5: - resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} - engines: {node: '>=0.8.0'} - dev: true - - /escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} - dev: true - - /escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} - dev: true - - /escodegen@1.14.3: - resolution: {integrity: sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==} - engines: {node: '>=4.0'} - hasBin: true - dependencies: - esprima: 4.0.1 - estraverse: 4.3.0 - esutils: 2.0.3 - optionator: 0.8.3 - optionalDependencies: - source-map: 0.6.1 - dev: true - - /eslint-config-prettier@6.15.0(eslint@6.8.0): - resolution: {integrity: sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==} - hasBin: true - peerDependencies: - eslint: '>=3.14.1' - dependencies: - eslint: 6.8.0 - get-stdin: 6.0.0 - dev: true - - /eslint-config-prettier@8.5.0(eslint@8.27.0): - resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==} - hasBin: true - peerDependencies: - eslint: '>=7.0.0' - dependencies: - eslint: 8.27.0 - dev: true - - /eslint-config-react-app@5.2.1(@typescript-eslint/eslint-plugin@2.34.0)(@typescript-eslint/parser@2.34.0)(babel-eslint@10.1.0)(eslint-plugin-flowtype@3.13.0)(eslint-plugin-import@2.26.0)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@2.5.1)(eslint-plugin-react@7.34.0)(eslint@6.8.0)(typescript@3.9.10): - resolution: {integrity: sha512-pGIZ8t0mFLcV+6ZirRgYK6RVqUIKRIi9MmgzUEmrIknsn3AdO0I32asO86dJgloHq+9ZPl8UIg8mYrvgP5u2wQ==} - peerDependencies: - '@typescript-eslint/eslint-plugin': 2.x - '@typescript-eslint/parser': 2.x - babel-eslint: 10.x - eslint: 6.x - eslint-plugin-flowtype: 3.x || 4.x - eslint-plugin-import: 2.x - eslint-plugin-jsx-a11y: 6.x - eslint-plugin-react: 7.x - eslint-plugin-react-hooks: 1.x || 2.x - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/eslint-plugin': 2.34.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0)(typescript@3.9.10) - '@typescript-eslint/parser': 2.34.0(eslint@6.8.0)(typescript@3.9.10) - babel-eslint: 10.1.0(eslint@8.27.0) - confusing-browser-globals: 1.0.11 - eslint: 6.8.0 - eslint-plugin-flowtype: 3.13.0(eslint@8.27.0) - eslint-plugin-import: 2.26.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0) - eslint-plugin-jsx-a11y: 6.8.0(eslint@8.27.0) - eslint-plugin-react: 7.34.0(eslint@8.27.0) - eslint-plugin-react-hooks: 2.5.1(eslint@8.27.0) - typescript: 3.9.10 - dev: true - - /eslint-import-resolver-node@0.3.9: - resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} - dependencies: - debug: 3.2.7 - is-core-module: 2.13.1 - resolve: 1.22.8 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-module-utils@2.8.1(@typescript-eslint/parser@2.34.0)(eslint-import-resolver-node@0.3.9)(eslint@6.8.0): - resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint: - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: - optional: true - eslint-import-resolver-webpack: - optional: true - dependencies: - '@typescript-eslint/parser': 2.34.0(eslint@6.8.0)(typescript@3.9.10) - debug: 3.2.7 - eslint: 6.8.0 - eslint-import-resolver-node: 0.3.9 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-module-utils@2.8.1(@typescript-eslint/parser@5.42.1)(eslint-import-resolver-node@0.3.9)(eslint@8.27.0): - resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint: - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: - optional: true - eslint-import-resolver-webpack: - optional: true - dependencies: - '@typescript-eslint/parser': 5.42.1(eslint@8.27.0)(typescript@4.9.4) - debug: 3.2.7 - eslint: 8.27.0 - eslint-import-resolver-node: 0.3.9 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-plugin-flowtype@3.13.0(eslint@8.27.0): - resolution: {integrity: sha512-bhewp36P+t7cEV0b6OdmoRWJCBYRiHFlqPZAG1oS3SF+Y0LQkeDvFSM4oxoxvczD1OdONCXMlJfQFiWLcV9urw==} - engines: {node: '>=4'} - peerDependencies: - eslint: '>=5.0.0' - dependencies: - eslint: 8.27.0 - lodash: 4.17.21 - dev: true - - /eslint-plugin-import@2.26.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0): - resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - dependencies: - '@typescript-eslint/parser': 2.34.0(eslint@6.8.0)(typescript@3.9.10) - array-includes: 3.1.7 - array.prototype.flat: 1.3.2 - debug: 2.6.9 - doctrine: 2.1.0 - eslint: 6.8.0 - eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@2.34.0)(eslint-import-resolver-node@0.3.9)(eslint@6.8.0) - has: 1.0.4 - is-core-module: 2.13.1 - is-glob: 4.0.3 - minimatch: 3.1.2 - object.values: 1.1.7 - resolve: 1.22.8 - tsconfig-paths: 3.15.0 - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color - dev: true - - /eslint-plugin-import@2.26.0(@typescript-eslint/parser@5.42.1)(eslint@8.27.0): - resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - dependencies: - '@typescript-eslint/parser': 5.42.1(eslint@8.27.0)(typescript@4.9.4) - array-includes: 3.1.7 - array.prototype.flat: 1.3.2 - debug: 2.6.9 - doctrine: 2.1.0 - eslint: 8.27.0 - eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.42.1)(eslint-import-resolver-node@0.3.9)(eslint@8.27.0) - has: 1.0.4 - is-core-module: 2.13.1 - is-glob: 4.0.3 - minimatch: 3.1.2 - object.values: 1.1.7 - resolve: 1.22.8 - tsconfig-paths: 3.15.0 - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color - dev: true - - /eslint-plugin-jsx-a11y@6.8.0(eslint@8.27.0): - resolution: {integrity: sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==} - engines: {node: '>=4.0'} - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - dependencies: - '@babel/runtime': 7.24.0 - aria-query: 5.3.0 - array-includes: 3.1.7 - array.prototype.flatmap: 1.3.2 - ast-types-flow: 0.0.8 - axe-core: 4.7.0 - axobject-query: 3.2.1 - damerau-levenshtein: 1.0.8 - emoji-regex: 9.2.2 - es-iterator-helpers: 1.0.17 - eslint: 8.27.0 - hasown: 2.0.1 - jsx-ast-utils: 3.3.5 - language-tags: 1.0.9 - minimatch: 3.1.2 - object.entries: 1.1.7 - object.fromentries: 2.0.7 - dev: true - - /eslint-plugin-prettier@3.4.1(eslint-config-prettier@6.15.0)(eslint@6.8.0)(prettier@1.19.1): - resolution: {integrity: sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g==} - engines: {node: '>=6.0.0'} - peerDependencies: - eslint: '>=5.0.0' - eslint-config-prettier: '*' - prettier: '>=1.13.0' - peerDependenciesMeta: - eslint-config-prettier: - optional: true - dependencies: - eslint: 6.8.0 - eslint-config-prettier: 6.15.0(eslint@6.8.0) - prettier: 1.19.1 - prettier-linter-helpers: 1.0.0 - dev: true - - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.5.0)(eslint@8.27.0)(prettier@2.7.1): - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} - engines: {node: '>=12.0.0'} - peerDependencies: - eslint: '>=7.28.0' - eslint-config-prettier: '*' - prettier: '>=2.0.0' - peerDependenciesMeta: - eslint-config-prettier: - optional: true - dependencies: - eslint: 8.27.0 - eslint-config-prettier: 8.5.0(eslint@8.27.0) - prettier: 2.7.1 - prettier-linter-helpers: 1.0.0 - dev: true - - /eslint-plugin-react-hooks@2.5.1(eslint@8.27.0): - resolution: {integrity: sha512-Y2c4b55R+6ZzwtTppKwSmK/Kar8AdLiC2f9NADCuxbcTgPPg41Gyqa6b9GppgXSvCtkRw43ZE86CT5sejKC6/g==} - engines: {node: '>=7'} - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 - dependencies: - eslint: 8.27.0 - dev: true - - /eslint-plugin-react@7.34.0(eslint@8.27.0): - resolution: {integrity: sha512-MeVXdReleBTdkz/bvcQMSnCXGi+c9kvy51IpinjnJgutl3YTHWsDdke7Z1ufZpGfDG8xduBDKyjtB9JH1eBKIQ==} - engines: {node: '>=4'} - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - dependencies: - array-includes: 3.1.7 - array.prototype.findlast: 1.2.4 - array.prototype.flatmap: 1.3.2 - array.prototype.toreversed: 1.1.2 - array.prototype.tosorted: 1.1.3 - doctrine: 2.1.0 - es-iterator-helpers: 1.0.17 - eslint: 8.27.0 - estraverse: 5.3.0 - jsx-ast-utils: 3.3.5 - minimatch: 3.1.2 - object.entries: 1.1.7 - object.fromentries: 2.0.7 - object.hasown: 1.1.3 - object.values: 1.1.7 - prop-types: 15.8.1 - resolve: 2.0.0-next.5 - semver: 6.3.1 - string.prototype.matchall: 4.0.10 - dev: true - - /eslint-plugin-unused-imports@2.0.0(@typescript-eslint/eslint-plugin@5.42.1)(eslint@8.27.0): - resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': ^5.0.0 - eslint: ^8.0.0 - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - dependencies: - '@typescript-eslint/eslint-plugin': 5.42.1(@typescript-eslint/parser@5.42.1)(eslint@8.27.0)(typescript@4.9.4) - eslint: 8.27.0 - eslint-rule-composer: 0.3.0 - dev: true - - /eslint-rule-composer@0.3.0: - resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} - engines: {node: '>=4.0.0'} - dev: true - - /eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - dev: true - - /eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: true - - /eslint-utils@1.4.3: - resolution: {integrity: sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==} - engines: {node: '>=6'} - dependencies: - eslint-visitor-keys: 1.3.0 - dev: true - - /eslint-utils@2.1.0: - resolution: {integrity: sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==} - engines: {node: '>=6'} - dependencies: - eslint-visitor-keys: 1.3.0 - dev: true - - /eslint-utils@3.0.0(eslint@8.27.0): - resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} - engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} - peerDependencies: - eslint: '>=5' - dependencies: - eslint: 8.27.0 - eslint-visitor-keys: 2.1.0 - dev: true - - /eslint-visitor-keys@1.3.0: - resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==} - engines: {node: '>=4'} - dev: true - - /eslint-visitor-keys@2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} - dev: true - - /eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /eslint@6.8.0: - resolution: {integrity: sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} - hasBin: true - dependencies: - '@babel/code-frame': 7.23.5 - ajv: 6.12.6 - chalk: 2.4.2 - cross-spawn: 6.0.5 - debug: 4.3.4 - doctrine: 3.0.0 - eslint-scope: 5.1.1 - eslint-utils: 1.4.3 - eslint-visitor-keys: 1.3.0 - espree: 6.2.1 - esquery: 1.5.0 - esutils: 2.0.3 - file-entry-cache: 5.0.1 - functional-red-black-tree: 1.0.1 - glob-parent: 5.1.2 - globals: 12.4.0 - ignore: 4.0.6 - import-fresh: 3.3.0 - imurmurhash: 0.1.4 - inquirer: 7.3.3 - is-glob: 4.0.3 - js-yaml: 3.14.1 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.3.0 - lodash: 4.17.21 - minimatch: 3.1.2 - mkdirp: 0.5.6 - natural-compare: 1.4.0 - optionator: 0.8.3 - progress: 2.0.3 - regexpp: 2.0.1 - semver: 6.3.1 - strip-ansi: 5.2.0 - strip-json-comments: 3.1.1 - table: 5.4.6 - text-table: 0.2.0 - v8-compile-cache: 2.4.0 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint@8.27.0: - resolution: {integrity: sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true - dependencies: - '@eslint/eslintrc': 1.4.1 - '@humanwhocodes/config-array': 0.11.14 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4 - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-utils: 3.0.0(eslint@8.27.0) - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.5.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.24.0 - grapheme-splitter: 1.0.4 - ignore: 5.3.1 - import-fresh: 3.3.0 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-sdsl: 4.4.2 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.3 - regexpp: 3.2.0 - strip-ansi: 6.0.1 - strip-json-comments: 3.1.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - dev: true - - /espree@6.2.1: - resolution: {integrity: sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==} - engines: {node: '>=6.0.0'} - dependencies: - acorn: 7.4.1 - acorn-jsx: 5.3.2(acorn@7.4.1) - eslint-visitor-keys: 1.3.0 - dev: true - - /espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.11.3 - acorn-jsx: 5.3.2(acorn@8.11.3) - eslint-visitor-keys: 3.4.3 - dev: true - - /esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} - hasBin: true - dev: true - - /esquery@1.5.0: - resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} - engines: {node: '>=0.10'} - dependencies: - estraverse: 5.3.0 - dev: true - - /esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} - dependencies: - estraverse: 5.3.0 - dev: true - - /estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - dev: true - - /estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} - dev: true - - /estree-walker@0.6.1: - resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==} - dev: true - - /estree-walker@1.0.1: - resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==} - dev: true - - /esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} - dev: true - - /ethers@5.7.2: - resolution: {integrity: sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==} - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/contracts': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/json-wallets': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/providers': 5.7.2 - '@ethersproject/random': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/solidity': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/units': 5.7.0 - '@ethersproject/wallet': 5.7.0 - '@ethersproject/web': 5.7.1 - '@ethersproject/wordlists': 5.7.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - /exec-sh@0.3.6: - resolution: {integrity: sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==} - dev: true - - /execa@1.0.0: - resolution: {integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==} - engines: {node: '>=6'} - dependencies: - cross-spawn: 6.0.5 - get-stream: 4.1.0 - is-stream: 1.1.0 - npm-run-path: 2.0.2 - p-finally: 1.0.0 - signal-exit: 3.0.7 - strip-eof: 1.0.0 - dev: true - - /execa@3.4.0: - resolution: {integrity: sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==} - engines: {node: ^8.12.0 || >=9.7.0} - dependencies: - cross-spawn: 7.0.3 - get-stream: 5.2.0 - human-signals: 1.1.1 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - p-finally: 2.0.1 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - dev: true - - /execa@4.1.0: - resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==} - engines: {node: '>=10'} - dependencies: - cross-spawn: 7.0.3 - get-stream: 5.2.0 - human-signals: 1.1.1 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - dev: true - - /exit@0.1.2: - resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} - engines: {node: '>= 0.8.0'} - dev: true - - /expand-brackets@2.1.4: - resolution: {integrity: sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==} - engines: {node: '>=0.10.0'} - dependencies: - debug: 2.6.9 - define-property: 0.2.5 - extend-shallow: 2.0.1 - posix-character-classes: 0.1.1 - regex-not: 1.0.2 - snapdragon: 0.8.2 - to-regex: 3.0.2 - transitivePeerDependencies: - - supports-color - dev: true - - /expect@25.5.0: - resolution: {integrity: sha512-w7KAXo0+6qqZZhovCaBVPSIqQp7/UTcx4M9uKt2m6pd2VB1voyC8JizLRqeEqud3AAVP02g+hbErDu5gu64tlA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - ansi-styles: 4.3.0 - jest-get-type: 25.2.6 - jest-matcher-utils: 25.5.0 - jest-message-util: 25.5.0 - jest-regex-util: 25.2.6 - dev: true - - /extend-shallow@2.0.1: - resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} - engines: {node: '>=0.10.0'} - dependencies: - is-extendable: 0.1.1 - dev: true - - /extend-shallow@3.0.2: - resolution: {integrity: sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==} - engines: {node: '>=0.10.0'} - dependencies: - assign-symbols: 1.0.0 - is-extendable: 1.0.1 - dev: true - - /extend@3.0.2: - resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} - dev: true - - /external-editor@3.1.0: - resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} - engines: {node: '>=4'} - dependencies: - chardet: 0.7.0 - iconv-lite: 0.4.24 - tmp: 0.0.33 - dev: true - - /extglob@2.0.4: - resolution: {integrity: sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==} - engines: {node: '>=0.10.0'} - dependencies: - array-unique: 0.3.2 - define-property: 1.0.0 - expand-brackets: 2.1.4 - extend-shallow: 2.0.1 - fragment-cache: 0.2.1 - regex-not: 1.0.2 - snapdragon: 0.8.2 - to-regex: 3.0.2 - transitivePeerDependencies: - - supports-color - dev: true - - /extsprintf@1.3.0: - resolution: {integrity: sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==} - engines: {'0': node >=0.6.0} - dev: true - - /fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - dev: true - - /fast-diff@1.3.0: - resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} - dev: true - - /fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.5 - dev: true - - /fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - dev: true - - /fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - dev: true - - /fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - dependencies: - reusify: 1.0.4 - dev: true - - /fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} - dependencies: - bser: 2.1.1 - dev: true - - /figures@3.2.0: - resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} - engines: {node: '>=8'} - dependencies: - escape-string-regexp: 1.0.5 - dev: true - - /file-entry-cache@5.0.1: - resolution: {integrity: sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==} - engines: {node: '>=4'} - dependencies: - flat-cache: 2.0.1 - dev: true - - /file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flat-cache: 3.2.0 - dev: true - - /fill-range@4.0.0: - resolution: {integrity: sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==} - engines: {node: '>=0.10.0'} - dependencies: - extend-shallow: 2.0.1 - is-number: 3.0.0 - repeat-string: 1.6.1 - to-regex-range: 2.1.1 - dev: true - - /fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} - dependencies: - to-regex-range: 5.0.1 - dev: true - - /find-cache-dir@3.3.2: - resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==} - engines: {node: '>=8'} - dependencies: - commondir: 1.0.1 - make-dir: 3.1.0 - pkg-dir: 4.2.0 - dev: true - - /find-replace@3.0.0: - resolution: {integrity: sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==} - engines: {node: '>=4.0.0'} - dependencies: - array-back: 3.1.0 - dev: true - - /find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} - dependencies: - locate-path: 5.0.0 - path-exists: 4.0.0 - dev: true - - /find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} - dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 - dev: true - - /flat-cache@2.0.1: - resolution: {integrity: sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==} - engines: {node: '>=4'} - dependencies: - flatted: 2.0.2 - rimraf: 2.6.3 - write: 1.0.3 - dev: true - - /flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flatted: 3.3.1 - keyv: 4.5.4 - rimraf: 3.0.2 - dev: true - - /flatted@2.0.2: - resolution: {integrity: sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==} - dev: true - - /flatted@3.3.1: - resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} - dev: true - - /follow-redirects@1.15.5(debug@4.3.4): - resolution: {integrity: sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - dependencies: - debug: 4.3.4 - dev: false - - /for-each@0.3.3: - resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - dependencies: - is-callable: 1.2.7 - dev: true - - /for-in@1.0.2: - resolution: {integrity: sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==} - engines: {node: '>=0.10.0'} - dev: true - - /forever-agent@0.6.1: - resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==} - dev: true - - /form-data@2.3.3: - resolution: {integrity: sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==} - engines: {node: '>= 0.12'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: true - - /form-data@4.0.0: - resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} - engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: false - - /fragment-cache@0.2.1: - resolution: {integrity: sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==} - engines: {node: '>=0.10.0'} - dependencies: - map-cache: 0.2.2 - dev: true - - /fs-extra@7.0.1: - resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} - engines: {node: '>=6 <7 || >=8'} - dependencies: - graceful-fs: 4.2.11 - jsonfile: 4.0.0 - universalify: 0.1.2 - dev: true - - /fs-extra@8.1.0: - resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} - engines: {node: '>=6 <7 || >=8'} - dependencies: - graceful-fs: 4.2.11 - jsonfile: 4.0.0 - universalify: 0.1.2 - dev: true - - /fs-extra@9.1.0: - resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} - engines: {node: '>=10'} - dependencies: - at-least-node: 1.0.0 - graceful-fs: 4.2.11 - jsonfile: 6.1.0 - universalify: 2.0.1 - dev: true - - /fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - dev: true - - /fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - dev: true - - /function.prototype.name@1.1.6: - resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - functions-have-names: 1.2.3 - dev: true - - /functional-red-black-tree@1.0.1: - resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} - dev: true - - /functions-have-names@1.2.3: - resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} - dev: true - - /gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - dev: true - - /get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} - dev: true - - /get-intrinsic@1.2.4: - resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} - engines: {node: '>= 0.4'} - dependencies: - es-errors: 1.3.0 - function-bind: 1.1.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 - hasown: 2.0.1 - dev: true - - /get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} - dev: true - - /get-stdin@6.0.0: - resolution: {integrity: sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==} - engines: {node: '>=4'} - dev: true - - /get-stream@4.1.0: - resolution: {integrity: sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==} - engines: {node: '>=6'} - dependencies: - pump: 3.0.0 - dev: true - - /get-stream@5.2.0: - resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} - engines: {node: '>=8'} - dependencies: - pump: 3.0.0 - dev: true - - /get-symbol-description@1.0.2: - resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - es-errors: 1.3.0 - get-intrinsic: 1.2.4 - dev: true - - /get-value@2.0.6: - resolution: {integrity: sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==} - engines: {node: '>=0.10.0'} - dev: true - - /getpass@0.1.7: - resolution: {integrity: sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==} - dependencies: - assert-plus: 1.0.0 - dev: true - - /glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} - dependencies: - is-glob: 4.0.3 - dev: true - - /glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} - dependencies: - is-glob: 4.0.3 - dev: true - - /glob@7.1.7: - resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: true - - /glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: true - - /globals@11.12.0: - resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} - dev: true - - /globals@12.4.0: - resolution: {integrity: sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.8.1 - dev: true - - /globals@13.24.0: - resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 - dev: true - - /globalthis@1.0.3: - resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} - engines: {node: '>= 0.4'} - dependencies: - define-properties: 1.2.1 - dev: true - - /globalyzer@0.1.0: - resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==} - dev: true - - /globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.1 - merge2: 1.4.1 - slash: 3.0.0 - dev: true - - /globrex@0.1.2: - resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - dev: true - - /gopd@1.0.1: - resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} - dependencies: - get-intrinsic: 1.2.4 - dev: true - - /graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - dev: true - - /grapheme-splitter@1.0.4: - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - dev: true - - /graphql@16.6.0: - resolution: {integrity: sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==} - engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} - dev: false - - /growly@1.3.0: - resolution: {integrity: sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==} - requiresBuild: true - dev: true - optional: true - - /har-schema@2.0.0: - resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==} - engines: {node: '>=4'} - dev: true - - /har-validator@5.1.5: - resolution: {integrity: sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==} - engines: {node: '>=6'} - deprecated: this library is no longer supported - dependencies: - ajv: 6.12.6 - har-schema: 2.0.0 - dev: true - - /has-bigints@1.0.2: - resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} - dev: true - - /has-flag@3.0.0: - resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} - engines: {node: '>=4'} - dev: true - - /has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - dev: true - - /has-property-descriptors@1.0.2: - resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} - dependencies: - es-define-property: 1.0.0 - dev: true - - /has-proto@1.0.3: - resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} - engines: {node: '>= 0.4'} - dev: true - - /has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} - engines: {node: '>= 0.4'} - dev: true - - /has-tostringtag@1.0.2: - resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} - engines: {node: '>= 0.4'} - dependencies: - has-symbols: 1.0.3 - dev: true - - /has-value@0.3.1: - resolution: {integrity: sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==} - engines: {node: '>=0.10.0'} - dependencies: - get-value: 2.0.6 - has-values: 0.1.4 - isobject: 2.1.0 - dev: true - - /has-value@1.0.0: - resolution: {integrity: sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==} - engines: {node: '>=0.10.0'} - dependencies: - get-value: 2.0.6 - has-values: 1.0.0 - isobject: 3.0.1 - dev: true - - /has-values@0.1.4: - resolution: {integrity: sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==} - engines: {node: '>=0.10.0'} - dev: true - - /has-values@1.0.0: - resolution: {integrity: sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==} - engines: {node: '>=0.10.0'} - dependencies: - is-number: 3.0.0 - kind-of: 4.0.0 - dev: true - - /has@1.0.4: - resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} - engines: {node: '>= 0.4.0'} - dev: true - - /hash.js@1.1.7: - resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} - dependencies: - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - - /hasown@2.0.1: - resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} - engines: {node: '>= 0.4'} - dependencies: - function-bind: 1.1.2 - dev: true - - /hmac-drbg@1.0.1: - resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} - dependencies: - hash.js: 1.1.7 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - - /hosted-git-info@2.8.9: - resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} - dev: true - - /html-encoding-sniffer@1.0.2: - resolution: {integrity: sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==} - dependencies: - whatwg-encoding: 1.0.5 - dev: true - - /html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} - dev: true - - /http-signature@1.2.0: - resolution: {integrity: sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==} - engines: {node: '>=0.8', npm: '>=1.3.7'} - dependencies: - assert-plus: 1.0.0 - jsprim: 1.4.2 - sshpk: 1.18.0 - dev: true - - /human-signals@1.1.1: - resolution: {integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==} - engines: {node: '>=8.12.0'} - dev: true - - /humanize-duration@3.31.0: - resolution: {integrity: sha512-fRrehgBG26NNZysRlTq1S+HPtDpp3u+Jzdc/d5A4cEzOD86YLAkDaJyJg8krSdCi7CJ+s7ht3fwRj8Dl+Btd0w==} - dev: true - - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} - hasBin: true - dev: true - - /iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} - dependencies: - safer-buffer: 2.1.2 - dev: true - - /ignore@4.0.6: - resolution: {integrity: sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==} - engines: {node: '>= 4'} - dev: true - - /ignore@5.3.1: - resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} - engines: {node: '>= 4'} - dev: true - - /import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - dev: true - - /import-local@3.1.0: - resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} - engines: {node: '>=8'} - hasBin: true - dependencies: - pkg-dir: 4.2.0 - resolve-cwd: 3.0.0 - dev: true - - /imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} - dev: true - - /inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - dependencies: - once: 1.4.0 - wrappy: 1.0.2 - dev: true - - /inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - - /inquirer@7.3.3: - resolution: {integrity: sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==} - engines: {node: '>=8.0.0'} - dependencies: - ansi-escapes: 4.3.2 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-width: 3.0.0 - external-editor: 3.1.0 - figures: 3.2.0 - lodash: 4.17.21 - mute-stream: 0.0.8 - run-async: 2.4.1 - rxjs: 6.6.7 - string-width: 4.2.3 - strip-ansi: 6.0.1 - through: 2.3.8 - dev: true - - /internal-slot@1.0.7: - resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} - engines: {node: '>= 0.4'} - dependencies: - es-errors: 1.3.0 - hasown: 2.0.1 - side-channel: 1.0.6 - dev: true - - /interpret@1.4.0: - resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} - engines: {node: '>= 0.10'} - dev: true - - /ip-regex@2.1.0: - resolution: {integrity: sha512-58yWmlHpp7VYfcdTwMTvwMmqx/Elfxjd9RXTDyMsbL7lLWmhMylLEqiYVLKuLzOZqVgiWXD9MfR62Vv89VRxkw==} - engines: {node: '>=4'} - dev: true - - /is-accessor-descriptor@1.0.1: - resolution: {integrity: sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==} - engines: {node: '>= 0.10'} - dependencies: - hasown: 2.0.1 - dev: true - - /is-array-buffer@3.0.4: - resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 - dev: true - - /is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - dev: true - - /is-async-function@2.0.0: - resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} - engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.2 - dev: true - - /is-bigint@1.0.4: - resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} - dependencies: - has-bigints: 1.0.2 - dev: true - - /is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - dependencies: - binary-extensions: 2.2.0 - dev: true - - /is-boolean-object@1.1.2: - resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 - dev: true - - /is-buffer@1.1.6: - resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} - dev: true - - /is-callable@1.2.7: - resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} - engines: {node: '>= 0.4'} - dev: true - - /is-ci@2.0.0: - resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==} - hasBin: true - dependencies: - ci-info: 2.0.0 - dev: true - - /is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} - dependencies: - hasown: 2.0.1 - dev: true - - /is-data-descriptor@1.0.1: - resolution: {integrity: sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==} - engines: {node: '>= 0.4'} - dependencies: - hasown: 2.0.1 - dev: true - - /is-date-object@1.0.5: - resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} - engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.2 - dev: true - - /is-descriptor@0.1.7: - resolution: {integrity: sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==} - engines: {node: '>= 0.4'} - dependencies: - is-accessor-descriptor: 1.0.1 - is-data-descriptor: 1.0.1 - dev: true - - /is-descriptor@1.0.3: - resolution: {integrity: sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==} - engines: {node: '>= 0.4'} - dependencies: - is-accessor-descriptor: 1.0.1 - is-data-descriptor: 1.0.1 - dev: true - - /is-docker@2.2.1: - resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} - engines: {node: '>=8'} - hasBin: true - requiresBuild: true - dev: true - optional: true - - /is-extendable@0.1.1: - resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} - engines: {node: '>=0.10.0'} - dev: true - - /is-extendable@1.0.1: - resolution: {integrity: sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==} - engines: {node: '>=0.10.0'} - dependencies: - is-plain-object: 2.0.4 - dev: true - - /is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - dev: true - - /is-finalizationregistry@1.0.2: - resolution: {integrity: sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==} - dependencies: - call-bind: 1.0.7 - dev: true - - /is-fullwidth-code-point@2.0.0: - resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} - engines: {node: '>=4'} - dev: true - - /is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - dev: true - - /is-generator-fn@2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} - dev: true - - /is-generator-function@1.0.10: - resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} - engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.2 - dev: true - - /is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} - dependencies: - is-extglob: 2.1.1 - dev: true - - /is-interactive@1.0.0: - resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} - engines: {node: '>=8'} - dev: true - - /is-map@2.0.2: - resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} - dev: true - - /is-module@1.0.0: - resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} - dev: true - - /is-negative-zero@2.0.3: - resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} - engines: {node: '>= 0.4'} - dev: true - - /is-number-object@1.0.7: - resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} - engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.2 - dev: true - - /is-number@3.0.0: - resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==} - engines: {node: '>=0.10.0'} - dependencies: - kind-of: 3.2.2 - dev: true - - /is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - dev: true - - /is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - dev: true - - /is-plain-object@2.0.4: - resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} - engines: {node: '>=0.10.0'} - dependencies: - isobject: 3.0.1 - dev: true - - /is-reference@1.2.1: - resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} - dependencies: - '@types/estree': 1.0.5 - dev: true - - /is-regex@1.1.4: - resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 - dev: true - - /is-retry-allowed@2.2.0: - resolution: {integrity: sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg==} - engines: {node: '>=10'} - dev: false - - /is-set@2.0.2: - resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} - dev: true - - /is-shared-array-buffer@1.0.3: - resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - dev: true - - /is-stream@1.1.0: - resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} - engines: {node: '>=0.10.0'} - dev: true - - /is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} - dev: true - - /is-string@1.0.7: - resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} - engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.2 - dev: true - - /is-symbol@1.0.4: - resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} - engines: {node: '>= 0.4'} - dependencies: - has-symbols: 1.0.3 - dev: true - - /is-typed-array@1.1.13: - resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} - engines: {node: '>= 0.4'} - dependencies: - which-typed-array: 1.1.14 - dev: true - - /is-typedarray@1.0.0: - resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} - dev: true - - /is-weakmap@2.0.1: - resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} - dev: true - - /is-weakref@1.0.2: - resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} - dependencies: - call-bind: 1.0.7 - dev: true - - /is-weakset@2.0.2: - resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} - dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 - dev: true - - /is-windows@1.0.2: - resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} - engines: {node: '>=0.10.0'} - dev: true - - /is-wsl@2.2.0: - resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} - engines: {node: '>=8'} - requiresBuild: true - dependencies: - is-docker: 2.2.1 - dev: true - optional: true - - /isarray@1.0.0: - resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} - dev: true - - /isarray@2.0.5: - resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} - dev: true - - /isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - dev: true - - /isobject@2.1.0: - resolution: {integrity: sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==} - engines: {node: '>=0.10.0'} - dependencies: - isarray: 1.0.0 - dev: true - - /isobject@3.0.1: - resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} - engines: {node: '>=0.10.0'} - dev: true - - /isstream@0.1.2: - resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} - dev: true - - /istanbul-lib-coverage@3.2.2: - resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} - engines: {node: '>=8'} - dev: true - - /istanbul-lib-instrument@4.0.3: - resolution: {integrity: sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==} - engines: {node: '>=8'} - dependencies: - '@babel/core': 7.24.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.2 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} - dependencies: - '@babel/core': 7.24.0 - '@babel/parser': 7.24.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.2 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-lib-report@3.0.1: - resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} - engines: {node: '>=10'} - dependencies: - istanbul-lib-coverage: 3.2.2 - make-dir: 4.0.0 - supports-color: 7.2.0 - dev: true - - /istanbul-lib-source-maps@4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} - dependencies: - debug: 4.3.4 - istanbul-lib-coverage: 3.2.2 - source-map: 0.6.1 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-reports@3.1.7: - resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} - engines: {node: '>=8'} - dependencies: - html-escaper: 2.0.2 - istanbul-lib-report: 3.0.1 - dev: true - - /iterator.prototype@1.1.2: - resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} - dependencies: - define-properties: 1.2.1 - get-intrinsic: 1.2.4 - has-symbols: 1.0.3 - reflect.getprototypeof: 1.0.5 - set-function-name: 2.0.2 - dev: true - - /jest-changed-files@25.5.0: - resolution: {integrity: sha512-EOw9QEqapsDT7mKF162m8HFzRPbmP8qJQny6ldVOdOVBz3ACgPm/1nAn5fPQ/NDaYhX/AHkrGwwkCncpAVSXcw==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - execa: 3.4.0 - throat: 5.0.0 - dev: true - - /jest-cli@25.5.4: - resolution: {integrity: sha512-rG8uJkIiOUpnREh1768/N3n27Cm+xPFkSNFO91tgg+8o2rXeVLStz+vkXkGr4UtzH6t1SNbjwoiswd7p4AhHTw==} - engines: {node: '>= 8.3'} - hasBin: true - dependencies: - '@jest/core': 25.5.4 - '@jest/test-result': 25.5.0 - '@jest/types': 25.5.0 - chalk: 3.0.0 - exit: 0.1.2 - graceful-fs: 4.2.11 - import-local: 3.1.0 - is-ci: 2.0.0 - jest-config: 25.5.4 - jest-util: 25.5.0 - jest-validate: 25.5.0 - prompts: 2.4.2 - realpath-native: 2.0.0 - yargs: 15.4.1 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-config@25.5.4: - resolution: {integrity: sha512-SZwR91SwcdK6bz7Gco8qL7YY2sx8tFJYzvg216DLihTWf+LKY/DoJXpM9nTzYakSyfblbqeU48p/p7Jzy05Atg==} - engines: {node: '>= 8.3'} - dependencies: - '@babel/core': 7.24.0 - '@jest/test-sequencer': 25.5.4 - '@jest/types': 25.5.0 - babel-jest: 25.5.1(@babel/core@7.24.0) - chalk: 3.0.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-environment-jsdom: 25.5.0 - jest-environment-node: 25.5.0 - jest-get-type: 25.2.6 - jest-jasmine2: 25.5.4 - jest-regex-util: 25.2.6 - jest-resolve: 25.5.1 - jest-util: 25.5.0 - jest-validate: 25.5.0 - micromatch: 4.0.5 - pretty-format: 25.5.0 - realpath-native: 2.0.0 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-diff@25.5.0: - resolution: {integrity: sha512-z1kygetuPiREYdNIumRpAHY6RXiGmp70YHptjdaxTWGmA085W3iCnXNx0DhflK3vwrKmrRWyY1wUpkPMVxMK7A==} - engines: {node: '>= 8.3'} - dependencies: - chalk: 3.0.0 - diff-sequences: 25.2.6 - jest-get-type: 25.2.6 - pretty-format: 25.5.0 - dev: true - - /jest-docblock@25.3.0: - resolution: {integrity: sha512-aktF0kCar8+zxRHxQZwxMy70stc9R1mOmrLsT5VO3pIT0uzGRSDAXxSlz4NqQWpuLjPpuMhPRl7H+5FRsvIQAg==} - engines: {node: '>= 8.3'} - dependencies: - detect-newline: 3.1.0 - dev: true - - /jest-each@25.5.0: - resolution: {integrity: sha512-QBogUxna3D8vtiItvn54xXde7+vuzqRrEeaw8r1s+1TG9eZLVJE5ZkKoSUlqFwRjnlaA4hyKGiu9OlkFIuKnjA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - chalk: 3.0.0 - jest-get-type: 25.2.6 - jest-util: 25.5.0 - pretty-format: 25.5.0 - dev: true - - /jest-environment-jsdom@25.5.0: - resolution: {integrity: sha512-7Jr02ydaq4jaWMZLY+Skn8wL5nVIYpWvmeatOHL3tOcV3Zw8sjnPpx+ZdeBfc457p8jCR9J6YCc+Lga0oIy62A==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/environment': 25.5.0 - '@jest/fake-timers': 25.5.0 - '@jest/types': 25.5.0 - jest-mock: 25.5.0 - jest-util: 25.5.0 - jsdom: 15.2.1 - transitivePeerDependencies: - - bufferutil - - canvas - - utf-8-validate - dev: true - - /jest-environment-node@25.5.0: - resolution: {integrity: sha512-iuxK6rQR2En9EID+2k+IBs5fCFd919gVVK5BeND82fYeLWPqvRcFNPKu9+gxTwfB5XwBGBvZ0HFQa+cHtIoslA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/environment': 25.5.0 - '@jest/fake-timers': 25.5.0 - '@jest/types': 25.5.0 - jest-mock: 25.5.0 - jest-util: 25.5.0 - semver: 6.3.1 - dev: true - - /jest-get-type@25.2.6: - resolution: {integrity: sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==} - engines: {node: '>= 8.3'} - dev: true - - /jest-haste-map@25.5.1: - resolution: {integrity: sha512-dddgh9UZjV7SCDQUrQ+5t9yy8iEgKc1AKqZR9YDww8xsVOtzPQSMVLDChc21+g29oTRexb9/B0bIlZL+sWmvAQ==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - '@types/graceful-fs': 4.1.9 - anymatch: 3.1.3 - fb-watchman: 2.0.2 - graceful-fs: 4.2.11 - jest-serializer: 25.5.0 - jest-util: 25.5.0 - jest-worker: 25.5.0 - micromatch: 4.0.5 - sane: 4.1.0 - walker: 1.0.8 - which: 2.0.2 - optionalDependencies: - fsevents: 2.3.3 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-jasmine2@25.5.4: - resolution: {integrity: sha512-9acbWEfbmS8UpdcfqnDO+uBUgKa/9hcRh983IHdM+pKmJPL77G0sWAAK0V0kr5LK3a8cSBfkFSoncXwQlRZfkQ==} - engines: {node: '>= 8.3'} - dependencies: - '@babel/traverse': 7.24.0 - '@jest/environment': 25.5.0 - '@jest/source-map': 25.5.0 - '@jest/test-result': 25.5.0 - '@jest/types': 25.5.0 - chalk: 3.0.0 - co: 4.6.0 - expect: 25.5.0 - is-generator-fn: 2.1.0 - jest-each: 25.5.0 - jest-matcher-utils: 25.5.0 - jest-message-util: 25.5.0 - jest-runtime: 25.5.4 - jest-snapshot: 25.5.1 - jest-util: 25.5.0 - pretty-format: 25.5.0 - throat: 5.0.0 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-leak-detector@25.5.0: - resolution: {integrity: sha512-rV7JdLsanS8OkdDpZtgBf61L5xZ4NnYLBq72r6ldxahJWWczZjXawRsoHyXzibM5ed7C2QRjpp6ypgwGdKyoVA==} - engines: {node: '>= 8.3'} - dependencies: - jest-get-type: 25.2.6 - pretty-format: 25.5.0 - dev: true - - /jest-matcher-utils@25.5.0: - resolution: {integrity: sha512-VWI269+9JS5cpndnpCwm7dy7JtGQT30UHfrnM3mXl22gHGt/b7NkjBqXfbhZ8V4B7ANUsjK18PlSBmG0YH7gjw==} - engines: {node: '>= 8.3'} - dependencies: - chalk: 3.0.0 - jest-diff: 25.5.0 - jest-get-type: 25.2.6 - pretty-format: 25.5.0 - dev: true - - /jest-message-util@25.5.0: - resolution: {integrity: sha512-ezddz3YCT/LT0SKAmylVyWWIGYoKHOFOFXx3/nA4m794lfVUskMcwhip6vTgdVrOtYdjeQeis2ypzes9mZb4EA==} - engines: {node: '>= 8.3'} - dependencies: - '@babel/code-frame': 7.23.5 - '@jest/types': 25.5.0 - '@types/stack-utils': 1.0.1 - chalk: 3.0.0 - graceful-fs: 4.2.11 - micromatch: 4.0.5 - slash: 3.0.0 - stack-utils: 1.0.5 - dev: true - - /jest-mock@25.5.0: - resolution: {integrity: sha512-eXWuTV8mKzp/ovHc5+3USJMYsTBhyQ+5A1Mak35dey/RG8GlM4YWVylZuGgVXinaW6tpvk/RSecmF37FKUlpXA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - dev: true - - /jest-pnp-resolver@1.2.3(jest-resolve@25.5.1): - resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} - engines: {node: '>=6'} - peerDependencies: - jest-resolve: '*' - peerDependenciesMeta: - jest-resolve: - optional: true - dependencies: - jest-resolve: 25.5.1 - dev: true - - /jest-regex-util@25.2.6: - resolution: {integrity: sha512-KQqf7a0NrtCkYmZZzodPftn7fL1cq3GQAFVMn5Hg8uKx/fIenLEobNanUxb7abQ1sjADHBseG/2FGpsv/wr+Qw==} - engines: {node: '>= 8.3'} - dev: true - - /jest-resolve-dependencies@25.5.4: - resolution: {integrity: sha512-yFmbPd+DAQjJQg88HveObcGBA32nqNZ02fjYmtL16t1xw9bAttSn5UGRRhzMHIQbsep7znWvAvnD4kDqOFM0Uw==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - jest-regex-util: 25.2.6 - jest-snapshot: 25.5.1 - dev: true - - /jest-resolve@25.5.1: - resolution: {integrity: sha512-Hc09hYch5aWdtejsUZhA+vSzcotf7fajSlPA6EZPE1RmPBAD39XtJhvHWFStid58iit4IPDLI/Da4cwdDmAHiQ==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - browser-resolve: 1.11.3 - chalk: 3.0.0 - graceful-fs: 4.2.11 - jest-pnp-resolver: 1.2.3(jest-resolve@25.5.1) - read-pkg-up: 7.0.1 - realpath-native: 2.0.0 - resolve: 1.22.8 - slash: 3.0.0 - dev: true - - /jest-runner@25.5.4: - resolution: {integrity: sha512-V/2R7fKZo6blP8E9BL9vJ8aTU4TH2beuqGNxHbxi6t14XzTb+x90B3FRgdvuHm41GY8ch4xxvf0ATH4hdpjTqg==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/console': 25.5.0 - '@jest/environment': 25.5.0 - '@jest/test-result': 25.5.0 - '@jest/types': 25.5.0 - chalk: 3.0.0 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-config: 25.5.4 - jest-docblock: 25.3.0 - jest-haste-map: 25.5.1 - jest-jasmine2: 25.5.4 - jest-leak-detector: 25.5.0 - jest-message-util: 25.5.0 - jest-resolve: 25.5.1 - jest-runtime: 25.5.4 - jest-util: 25.5.0 - jest-worker: 25.5.0 - source-map-support: 0.5.21 - throat: 5.0.0 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-runtime@25.5.4: - resolution: {integrity: sha512-RWTt8LeWh3GvjYtASH2eezkc8AehVoWKK20udV6n3/gC87wlTbE1kIA+opCvNWyyPeBs6ptYsc6nyHUb1GlUVQ==} - engines: {node: '>= 8.3'} - hasBin: true - dependencies: - '@jest/console': 25.5.0 - '@jest/environment': 25.5.0 - '@jest/globals': 25.5.2 - '@jest/source-map': 25.5.0 - '@jest/test-result': 25.5.0 - '@jest/transform': 25.5.1 - '@jest/types': 25.5.0 - '@types/yargs': 15.0.19 - chalk: 3.0.0 - collect-v8-coverage: 1.0.2 - exit: 0.1.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-config: 25.5.4 - jest-haste-map: 25.5.1 - jest-message-util: 25.5.0 - jest-mock: 25.5.0 - jest-regex-util: 25.2.6 - jest-resolve: 25.5.1 - jest-snapshot: 25.5.1 - jest-util: 25.5.0 - jest-validate: 25.5.0 - realpath-native: 2.0.0 - slash: 3.0.0 - strip-bom: 4.0.0 - yargs: 15.4.1 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-serializer@25.5.0: - resolution: {integrity: sha512-LxD8fY1lByomEPflwur9o4e2a5twSQ7TaVNLlFUuToIdoJuBt8tzHfCsZ42Ok6LkKXWzFWf3AGmheuLAA7LcCA==} - engines: {node: '>= 8.3'} - dependencies: - graceful-fs: 4.2.11 - dev: true - - /jest-snapshot@25.5.1: - resolution: {integrity: sha512-C02JE1TUe64p2v1auUJ2ze5vcuv32tkv9PyhEb318e8XOKF7MOyXdJ7kdjbvrp3ChPLU2usI7Rjxs97Dj5P0uQ==} - engines: {node: '>= 8.3'} - dependencies: - '@babel/types': 7.24.0 - '@jest/types': 25.5.0 - '@types/prettier': 1.19.1 - chalk: 3.0.0 - expect: 25.5.0 - graceful-fs: 4.2.11 - jest-diff: 25.5.0 - jest-get-type: 25.2.6 - jest-matcher-utils: 25.5.0 - jest-message-util: 25.5.0 - jest-resolve: 25.5.1 - make-dir: 3.1.0 - natural-compare: 1.4.0 - pretty-format: 25.5.0 - semver: 6.3.1 - dev: true - - /jest-util@25.5.0: - resolution: {integrity: sha512-KVlX+WWg1zUTB9ktvhsg2PXZVdkI1NBevOJSkTKYAyXyH4QSvh+Lay/e/v+bmaFfrkfx43xD8QTfgobzlEXdIA==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - chalk: 3.0.0 - graceful-fs: 4.2.11 - is-ci: 2.0.0 - make-dir: 3.1.0 - dev: true - - /jest-validate@25.5.0: - resolution: {integrity: sha512-okUFKqhZIpo3jDdtUXUZ2LxGUZJIlfdYBvZb1aczzxrlyMlqdnnws9MOxezoLGhSaFc2XYaHNReNQfj5zPIWyQ==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - camelcase: 5.3.1 - chalk: 3.0.0 - jest-get-type: 25.2.6 - leven: 3.1.0 - pretty-format: 25.5.0 - dev: true - - /jest-watch-typeahead@0.5.0: - resolution: {integrity: sha512-4r36w9vU8+rdg48hj0Z7TvcSqVP6Ao8dk04grlHQNgduyCB0SqrI0xWIl85ZhXrzYvxQ0N5H+rRLAejkQzEHeQ==} - dependencies: - ansi-escapes: 4.3.2 - chalk: 3.0.0 - jest-regex-util: 25.2.6 - jest-watcher: 25.5.0 - slash: 3.0.0 - string-length: 3.1.0 - strip-ansi: 6.0.1 - dev: true - - /jest-watcher@25.5.0: - resolution: {integrity: sha512-XrSfJnVASEl+5+bb51V0Q7WQx65dTSk7NL4yDdVjPnRNpM0hG+ncFmDYJo9O8jaSRcAitVbuVawyXCRoxGrT5Q==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/test-result': 25.5.0 - '@jest/types': 25.5.0 - ansi-escapes: 4.3.2 - chalk: 3.0.0 - jest-util: 25.5.0 - string-length: 3.1.0 - dev: true - - /jest-worker@24.9.0: - resolution: {integrity: sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==} - engines: {node: '>= 6'} - dependencies: - merge-stream: 2.0.0 - supports-color: 6.1.0 - dev: true - - /jest-worker@25.5.0: - resolution: {integrity: sha512-/dsSmUkIy5EBGfv/IjjqmFxrNAUpBERfGs1oHROyD7yxjG/w+t0GOJDX8O1k32ySmd7+a5IhnJU2qQFcJ4n1vw==} - engines: {node: '>= 8.3'} - dependencies: - merge-stream: 2.0.0 - supports-color: 7.2.0 - dev: true - - /jest@25.5.4: - resolution: {integrity: sha512-hHFJROBTqZahnO+X+PMtT6G2/ztqAZJveGqz//FnWWHurizkD05PQGzRZOhF3XP6z7SJmL+5tCfW8qV06JypwQ==} - engines: {node: '>= 8.3'} - hasBin: true - dependencies: - '@jest/core': 25.5.4 - import-local: 3.1.0 - jest-cli: 25.5.4 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jpjs@1.2.1: - resolution: {integrity: sha512-GxJWybWU4NV0RNKi6EIqk6IRPOTqd/h+U7sbtyuD7yUISUzV78LdHnq2xkevJsTlz/EImux4sWj+wfMiwKLkiw==} - dev: true - - /js-sdsl@4.4.2: - resolution: {integrity: sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w==} - dev: true - - /js-sha3@0.8.0: - resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} - - /js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - dev: true - - /js-yaml@3.14.1: - resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true - dependencies: - argparse: 1.0.10 - esprima: 4.0.1 - dev: true - - /js-yaml@4.1.0: - resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} - hasBin: true - dependencies: - argparse: 2.0.1 - dev: true - - /jsbn@0.1.1: - resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==} - dev: true - - /jsdom@15.2.1: - resolution: {integrity: sha512-fAl1W0/7T2G5vURSyxBzrJ1LSdQn6Tr5UX/xD4PXDx/PDgwygedfW6El/KIj3xJ7FU61TTYnc/l/B7P49Eqt6g==} - engines: {node: '>=8'} - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - dependencies: - abab: 2.0.6 - acorn: 7.4.1 - acorn-globals: 4.3.4 - array-equal: 1.0.2 - cssom: 0.4.4 - cssstyle: 2.3.0 - data-urls: 1.1.0 - domexception: 1.0.1 - escodegen: 1.14.3 - html-encoding-sniffer: 1.0.2 - nwsapi: 2.2.7 - parse5: 5.1.0 - pn: 1.1.0 - request: 2.88.2 - request-promise-native: 1.0.9(request@2.88.2) - saxes: 3.1.11 - symbol-tree: 3.2.4 - tough-cookie: 3.0.1 - w3c-hr-time: 1.0.2 - w3c-xmlserializer: 1.1.2 - webidl-conversions: 4.0.2 - whatwg-encoding: 1.0.5 - whatwg-mimetype: 2.3.0 - whatwg-url: 7.1.0 - ws: 7.5.9 - xml-name-validator: 3.0.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: true - - /jsesc@0.5.0: - resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} - hasBin: true - dev: true - - /jsesc@2.5.2: - resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} - hasBin: true - dev: true - - /json-buffer@3.0.1: - resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - dev: true - - /json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - dev: true - - /json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} - dev: true - - /json-schema@0.4.0: - resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} - dev: true - - /json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - dev: true - - /json-stringify-safe@5.0.1: - resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} - dev: true - - /json5@1.0.2: - resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} - hasBin: true - dependencies: - minimist: 1.2.8 - dev: true - - /json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - dev: true - - /jsonfile@4.0.0: - resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} - optionalDependencies: - graceful-fs: 4.2.11 - dev: true - - /jsonfile@6.1.0: - resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} - dependencies: - universalify: 2.0.1 - optionalDependencies: - graceful-fs: 4.2.11 - dev: true - - /jsprim@1.4.2: - resolution: {integrity: sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==} - engines: {node: '>=0.6.0'} - dependencies: - assert-plus: 1.0.0 - extsprintf: 1.3.0 - json-schema: 0.4.0 - verror: 1.10.0 - dev: true - - /jsx-ast-utils@3.3.5: - resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} - engines: {node: '>=4.0'} - dependencies: - array-includes: 3.1.7 - array.prototype.flat: 1.3.2 - object.assign: 4.1.5 - object.values: 1.1.7 - dev: true - - /keyv@4.5.4: - resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} - dependencies: - json-buffer: 3.0.1 - dev: true - - /kind-of@3.2.2: - resolution: {integrity: sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==} - engines: {node: '>=0.10.0'} - dependencies: - is-buffer: 1.1.6 - dev: true - - /kind-of@4.0.0: - resolution: {integrity: sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==} - engines: {node: '>=0.10.0'} - dependencies: - is-buffer: 1.1.6 - dev: true - - /kind-of@6.0.3: - resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} - engines: {node: '>=0.10.0'} - dev: true - - /kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} - dev: true - - /language-subtag-registry@0.3.22: - resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==} - dev: true - - /language-tags@1.0.9: - resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==} - engines: {node: '>=0.10'} - dependencies: - language-subtag-registry: 0.3.22 - dev: true - - /leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} - dev: true - - /levn@0.3.0: - resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.1.2 - type-check: 0.3.2 - dev: true - - /levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 - dev: true - - /lilconfig@2.1.0: - resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} - engines: {node: '>=10'} - dev: true - - /lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - dev: true - - /locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} - dependencies: - p-locate: 4.1.0 - dev: true - - /locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} - dependencies: - p-locate: 5.0.0 - dev: true - - /lodash.camelcase@4.3.0: - resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} - dev: true - - /lodash.debounce@4.0.8: - resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} - dev: true - - /lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} - dev: true - - /lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - dev: true - - /lodash.sortby@4.7.0: - resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} - dev: true - - /lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: true - - /log-symbols@3.0.0: - resolution: {integrity: sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==} - engines: {node: '>=8'} - dependencies: - chalk: 2.4.2 - dev: true - - /log-update@2.3.0: - resolution: {integrity: sha512-vlP11XfFGyeNQlmEn9tJ66rEW1coA/79m5z6BCkudjbAGE83uhAcGYrBFwfs3AdLiLzGRusRPAbSPK9xZteCmg==} - engines: {node: '>=4'} - dependencies: - ansi-escapes: 3.2.0 - cli-cursor: 2.1.0 - wrap-ansi: 3.0.1 - dev: true - - /lolex@5.1.2: - resolution: {integrity: sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==} - dependencies: - '@sinonjs/commons': 1.8.6 - dev: true - - /loose-envify@1.4.0: - resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true - dependencies: - js-tokens: 4.0.0 - dev: true - - /lower-case@2.0.2: - resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} - dependencies: - tslib: 2.4.1 - dev: true - - /lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - dependencies: - yallist: 3.1.1 - dev: true - - /lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - dependencies: - yallist: 4.0.0 - dev: true - - /magic-string@0.25.9: - resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} - dependencies: - sourcemap-codec: 1.4.8 - dev: true - - /make-dir@3.1.0: - resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} - engines: {node: '>=8'} - dependencies: - semver: 6.3.1 - dev: true - - /make-dir@4.0.0: - resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} - engines: {node: '>=10'} - dependencies: - semver: 7.6.0 - dev: true - - /make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - dev: true - - /makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} - dependencies: - tmpl: 1.0.5 - dev: true - - /map-cache@0.2.2: - resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} - engines: {node: '>=0.10.0'} - dev: true - - /map-visit@1.0.0: - resolution: {integrity: sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==} - engines: {node: '>=0.10.0'} - dependencies: - object-visit: 1.0.1 - dev: true - - /merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - dev: true - - /merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - dev: true - - /micromatch@3.1.10: - resolution: {integrity: sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==} - engines: {node: '>=0.10.0'} - dependencies: - arr-diff: 4.0.0 - array-unique: 0.3.2 - braces: 2.3.2 - define-property: 2.0.2 - extend-shallow: 3.0.2 - extglob: 2.0.4 - fragment-cache: 0.2.1 - kind-of: 6.0.3 - nanomatch: 1.2.13 - object.pick: 1.3.0 - regex-not: 1.0.2 - snapdragon: 0.8.2 - to-regex: 3.0.2 - transitivePeerDependencies: - - supports-color - dev: true - - /micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} - engines: {node: '>=8.6'} - dependencies: - braces: 3.0.2 - picomatch: 2.3.1 - dev: true - - /mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - - /mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} - engines: {node: '>= 0.6'} - dependencies: - mime-db: 1.52.0 - - /mimic-fn@1.2.0: - resolution: {integrity: sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==} - engines: {node: '>=4'} - dev: true - - /mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} - dev: true - - /minimalistic-assert@1.0.1: - resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} - - /minimalistic-crypto-utils@1.0.1: - resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} - - /minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - dependencies: - brace-expansion: 1.1.11 - dev: true - - /minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - dev: true - - /mixin-deep@1.3.2: - resolution: {integrity: sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==} - engines: {node: '>=0.10.0'} - dependencies: - for-in: 1.0.2 - is-extendable: 1.0.1 - dev: true - - /mkdirp@0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - dependencies: - minimist: 1.2.8 - dev: true - - /mkdirp@1.0.4: - resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} - engines: {node: '>=10'} - hasBin: true - dev: true - - /mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} - dev: true - - /ms@2.0.0: - resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - dev: true - - /ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - - /ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - dev: true - - /mute-stream@0.0.8: - resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} - dev: true - - /nanoid@3.3.7: - resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: true - - /nanomatch@1.2.13: - resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} - engines: {node: '>=0.10.0'} - dependencies: - arr-diff: 4.0.0 - array-unique: 0.3.2 - define-property: 2.0.2 - extend-shallow: 3.0.2 - fragment-cache: 0.2.1 - is-windows: 1.0.2 - kind-of: 6.0.3 - object.pick: 1.3.0 - regex-not: 1.0.2 - snapdragon: 0.8.2 - to-regex: 3.0.2 - transitivePeerDependencies: - - supports-color - dev: true - - /nanospinner@1.1.0: - resolution: {integrity: sha512-yFvNYMig4AthKYfHFl1sLj7B2nkHL4lzdig4osvl9/LdGbXwrdFRoqBS98gsEsOakr0yH+r5NZ/1Y9gdVB8trA==} - dependencies: - picocolors: 1.0.0 - dev: true - - /natural-compare-lite@1.4.0: - resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} - dev: true - - /natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - dev: true - - /nice-try@1.0.5: - resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} - dev: true - - /no-case@3.0.4: - resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} - dependencies: - lower-case: 2.0.2 - tslib: 2.4.1 - dev: true - - /node-fetch@2.6.7: - resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: false - - /node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - dev: true - - /node-notifier@6.0.0: - resolution: {integrity: sha512-SVfQ/wMw+DesunOm5cKqr6yDcvUTDl/yc97ybGHMrteNEY6oekXpNpS3lZwgLlwz0FLgHoiW28ZpmBHUDg37cw==} - requiresBuild: true - dependencies: - growly: 1.3.0 - is-wsl: 2.2.0 - semver: 6.3.1 - shellwords: 0.1.1 - which: 1.3.1 - dev: true - optional: true - - /node-releases@2.0.14: - resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} - dev: true - - /normalize-package-data@2.5.0: - resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} - dependencies: - hosted-git-info: 2.8.9 - resolve: 1.22.8 - semver: 5.7.2 - validate-npm-package-license: 3.0.4 - dev: true - - /normalize-path@2.1.1: - resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} - engines: {node: '>=0.10.0'} - dependencies: - remove-trailing-separator: 1.1.0 - dev: true - - /normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} - dev: true - - /npm-run-path@2.0.2: - resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} - engines: {node: '>=4'} - dependencies: - path-key: 2.0.1 - dev: true - - /npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} - dependencies: - path-key: 3.1.1 - dev: true - - /nwsapi@2.2.7: - resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} - dev: true - - /oauth-sign@0.9.0: - resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==} - dev: true - - /object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - dev: true - - /object-copy@0.1.0: - resolution: {integrity: sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==} - engines: {node: '>=0.10.0'} - dependencies: - copy-descriptor: 0.1.1 - define-property: 0.2.5 - kind-of: 3.2.2 - dev: true - - /object-inspect@1.13.1: - resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} - dev: true - - /object-keys@1.1.1: - resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} - engines: {node: '>= 0.4'} - dev: true - - /object-visit@1.0.1: - resolution: {integrity: sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==} - engines: {node: '>=0.10.0'} - dependencies: - isobject: 3.0.1 - dev: true - - /object.assign@4.1.5: - resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - has-symbols: 1.0.3 - object-keys: 1.1.1 - dev: true - - /object.entries@1.1.7: - resolution: {integrity: sha512-jCBs/0plmPsOnrKAfFQXRG2NFjlhZgjjcBLSmTnEhU8U6vVTsVe8ANeQJCHTl3gSsI4J+0emOoCgoKlmQPMgmA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - dev: true - - /object.fromentries@2.0.7: - resolution: {integrity: sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - dev: true - - /object.hasown@1.1.3: - resolution: {integrity: sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==} - dependencies: - define-properties: 1.2.1 - es-abstract: 1.22.5 - dev: true - - /object.pick@1.3.0: - resolution: {integrity: sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==} - engines: {node: '>=0.10.0'} - dependencies: - isobject: 3.0.1 - dev: true - - /object.values@1.1.7: - resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - dev: true - - /once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - dependencies: - wrappy: 1.0.2 - dev: true - - /onetime@2.0.1: - resolution: {integrity: sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==} - engines: {node: '>=4'} - dependencies: - mimic-fn: 1.2.0 - dev: true - - /onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} - dependencies: - mimic-fn: 2.1.0 - dev: true - - /optionator@0.8.3: - resolution: {integrity: sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==} - engines: {node: '>= 0.8.0'} - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.3.0 - prelude-ls: 1.1.2 - type-check: 0.3.2 - word-wrap: 1.2.5 - dev: true - - /optionator@0.9.3: - resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} - engines: {node: '>= 0.8.0'} - dependencies: - '@aashutoshrathi/word-wrap': 1.2.6 - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - dev: true - - /ora@4.1.1: - resolution: {integrity: sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==} - engines: {node: '>=8'} - dependencies: - chalk: 3.0.0 - cli-cursor: 3.1.0 - cli-spinners: 2.9.2 - is-interactive: 1.0.0 - log-symbols: 3.0.0 - mute-stream: 0.0.8 - strip-ansi: 6.0.1 - wcwidth: 1.0.1 - dev: true - - /os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} - dev: true - - /p-each-series@2.2.0: - resolution: {integrity: sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==} - engines: {node: '>=8'} - dev: true - - /p-finally@1.0.0: - resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} - engines: {node: '>=4'} - dev: true - - /p-finally@2.0.1: - resolution: {integrity: sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==} - engines: {node: '>=8'} - dev: true - - /p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} - dependencies: - p-try: 2.2.0 - dev: true - - /p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} - dependencies: - yocto-queue: 0.1.0 - dev: true - - /p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} - dependencies: - p-limit: 2.3.0 - dev: true - - /p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} - dependencies: - p-limit: 3.1.0 - dev: true - - /p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} - dev: true - - /parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - dependencies: - callsites: 3.1.0 - dev: true - - /parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} - dependencies: - '@babel/code-frame': 7.23.5 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 - dev: true - - /parse5@5.1.0: - resolution: {integrity: sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==} - dev: true - - /pascal-case@3.1.2: - resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} - dependencies: - no-case: 3.0.4 - tslib: 2.4.1 - dev: true - - /pascalcase@0.1.1: - resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==} - engines: {node: '>=0.10.0'} - dev: true - - /path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} - dev: true - - /path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - dev: true - - /path-key@2.0.1: - resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} - engines: {node: '>=4'} - dev: true - - /path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} - dev: true - - /path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - dev: true - - /path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - dev: true - - /performance-now@2.1.0: - resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} - dev: true - - /picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: true - - /picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - dev: true - - /pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - dev: true - - /pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} - dependencies: - find-up: 4.1.0 - dev: true - - /pn@1.1.0: - resolution: {integrity: sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==} - dev: true - - /posix-character-classes@0.1.1: - resolution: {integrity: sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==} - engines: {node: '>=0.10.0'} - dev: true - - /possible-typed-array-names@1.0.0: - resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} - engines: {node: '>= 0.4'} - dev: true - - /prelude-ls@1.1.2: - resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} - engines: {node: '>= 0.8.0'} - dev: true - - /prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} - dev: true - - /prettier-linter-helpers@1.0.0: - resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} - engines: {node: '>=6.0.0'} - dependencies: - fast-diff: 1.3.0 - dev: true - - /prettier@1.19.1: - resolution: {integrity: sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==} - engines: {node: '>=4'} - hasBin: true - dev: true - - /prettier@2.7.1: - resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==} - engines: {node: '>=10.13.0'} - hasBin: true - dev: true - - /pretty-format@25.5.0: - resolution: {integrity: sha512-kbo/kq2LQ/A/is0PQwsEHM7Ca6//bGPPvU6UnsdDRSKTWxT/ru/xb88v4BJf6a69H+uTytOEsTusT9ksd/1iWQ==} - engines: {node: '>= 8.3'} - dependencies: - '@jest/types': 25.5.0 - ansi-regex: 5.0.1 - ansi-styles: 4.3.0 - react-is: 16.13.1 - dev: true - - /progress-estimator@0.2.2: - resolution: {integrity: sha512-GF76Ac02MTJD6o2nMNtmtOFjwWCnHcvXyn5HOWPQnEMO8OTLw7LAvNmrwe8LmdsB+eZhwUu9fX/c9iQnBxWaFA==} - dependencies: - chalk: 2.4.2 - cli-spinners: 1.3.1 - humanize-duration: 3.31.0 - log-update: 2.3.0 - dev: true - - /progress@2.0.3: - resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} - engines: {node: '>=0.4.0'} - dev: true - - /prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} - dependencies: - kleur: 3.0.3 - sisteransi: 1.0.5 - dev: true - - /prop-types@15.8.1: - resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} - dependencies: - loose-envify: 1.4.0 - object-assign: 4.1.1 - react-is: 16.13.1 - dev: true - - /proxy-from-env@1.1.0: - resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - dev: false - - /psl@1.9.0: - resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} - dev: true - - /pump@3.0.0: - resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} - dependencies: - end-of-stream: 1.4.4 - once: 1.4.0 - dev: true - - /punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} - dev: true - - /qs@6.5.3: - resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==} - engines: {node: '>=0.6'} - dev: true - - /queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - dev: true - - /randombytes@2.1.0: - resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} - dependencies: - safe-buffer: 5.2.1 - dev: true - - /react-is@16.13.1: - resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} - dev: true - - /read-pkg-up@7.0.1: - resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} - engines: {node: '>=8'} - dependencies: - find-up: 4.1.0 - read-pkg: 5.2.0 - type-fest: 0.8.1 - dev: true - - /read-pkg@5.2.0: - resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} - engines: {node: '>=8'} - dependencies: - '@types/normalize-package-data': 2.4.4 - normalize-package-data: 2.5.0 - parse-json: 5.2.0 - type-fest: 0.6.0 - dev: true - - /readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - dependencies: - picomatch: 2.3.1 - dev: true - - /realpath-native@2.0.0: - resolution: {integrity: sha512-v1SEYUOXXdbBZK8ZuNgO4TBjamPsiSgcFr0aP+tEKpQZK8vooEUqV6nm6Cv502mX4NF2EfsnVqtNAHG+/6Ur1Q==} - engines: {node: '>=8'} - dev: true - - /rechoir@0.6.2: - resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==} - engines: {node: '>= 0.10'} - dependencies: - resolve: 1.22.8 - dev: true - - /reduce-flatten@2.0.0: - resolution: {integrity: sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==} - engines: {node: '>=6'} - dev: true - - /reflect.getprototypeof@1.0.5: - resolution: {integrity: sha512-62wgfC8dJWrmxv44CA36pLDnP6KKl3Vhxb7PL+8+qrrFMMoJij4vgiMP8zV4O8+CBMXY1mHxI5fITGHXFHVmQQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - es-errors: 1.3.0 - get-intrinsic: 1.2.4 - globalthis: 1.0.3 - which-builtin-type: 1.1.3 - dev: true - - /regenerate-unicode-properties@10.1.1: - resolution: {integrity: sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==} - engines: {node: '>=4'} - dependencies: - regenerate: 1.4.2 - dev: true - - /regenerate@1.4.2: - resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} - dev: true - - /regenerator-runtime@0.13.11: - resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} - dev: true - - /regenerator-runtime@0.14.1: - resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} - - /regenerator-transform@0.15.2: - resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} - dependencies: - '@babel/runtime': 7.24.0 - dev: true - - /regex-not@1.0.2: - resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} - engines: {node: '>=0.10.0'} - dependencies: - extend-shallow: 3.0.2 - safe-regex: 1.1.0 - dev: true - - /regexp.prototype.flags@1.5.2: - resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-errors: 1.3.0 - set-function-name: 2.0.2 - dev: true - - /regexpp@2.0.1: - resolution: {integrity: sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==} - engines: {node: '>=6.5.0'} - dev: true - - /regexpp@3.2.0: - resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} - engines: {node: '>=8'} - dev: true - - /regexpu-core@5.3.2: - resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} - engines: {node: '>=4'} - dependencies: - '@babel/regjsgen': 0.8.0 - regenerate: 1.4.2 - regenerate-unicode-properties: 10.1.1 - regjsparser: 0.9.1 - unicode-match-property-ecmascript: 2.0.0 - unicode-match-property-value-ecmascript: 2.1.0 - dev: true - - /regjsparser@0.9.1: - resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} - hasBin: true - dependencies: - jsesc: 0.5.0 - dev: true - - /remove-trailing-separator@1.1.0: - resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} - dev: true - - /repeat-element@1.1.4: - resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==} - engines: {node: '>=0.10.0'} - dev: true - - /repeat-string@1.6.1: - resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} - engines: {node: '>=0.10'} - dev: true - - /request-promise-core@1.1.4(request@2.88.2): - resolution: {integrity: sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==} - engines: {node: '>=0.10.0'} - peerDependencies: - request: ^2.34 - dependencies: - lodash: 4.17.21 - request: 2.88.2 - dev: true - - /request-promise-native@1.0.9(request@2.88.2): - resolution: {integrity: sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==} - engines: {node: '>=0.12.0'} - deprecated: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 - peerDependencies: - request: ^2.34 - dependencies: - request: 2.88.2 - request-promise-core: 1.1.4(request@2.88.2) - stealthy-require: 1.1.1 - tough-cookie: 2.5.0 - dev: true - - /request@2.88.2: - resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==} - engines: {node: '>= 6'} - deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 - dependencies: - aws-sign2: 0.7.0 - aws4: 1.12.0 - caseless: 0.12.0 - combined-stream: 1.0.8 - extend: 3.0.2 - forever-agent: 0.6.1 - form-data: 2.3.3 - har-validator: 5.1.5 - http-signature: 1.2.0 - is-typedarray: 1.0.0 - isstream: 0.1.2 - json-stringify-safe: 5.0.1 - mime-types: 2.1.35 - oauth-sign: 0.9.0 - performance-now: 2.1.0 - qs: 6.5.3 - safe-buffer: 5.2.1 - tough-cookie: 2.5.0 - tunnel-agent: 0.6.0 - uuid: 3.4.0 - dev: true - - /require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} - dev: true - - /require-main-filename@2.0.0: - resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} - dev: true - - /requireindex@1.2.0: - resolution: {integrity: sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==} - engines: {node: '>=0.10.5'} - dev: true - - /resolve-cwd@3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} - dependencies: - resolve-from: 5.0.0 - dev: true - - /resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - dev: true - - /resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} - dev: true - - /resolve-url@0.2.1: - resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==} - deprecated: https://github.com/lydell/resolve-url#deprecated - dev: true - - /resolve@1.1.7: - resolution: {integrity: sha512-9znBF0vBcaSN3W2j7wKvdERPwqTxSpCq+if5C0WoTCyV9n24rua28jeuQ2pL/HOf+yUe/Mef+H/5p60K0Id3bg==} - dev: true - - /resolve@1.17.0: - resolution: {integrity: sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==} - dependencies: - path-parse: 1.0.7 - dev: true - - /resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} - hasBin: true - dependencies: - is-core-module: 2.13.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - - /resolve@2.0.0-next.5: - resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==} - hasBin: true - dependencies: - is-core-module: 2.13.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - - /restore-cursor@2.0.0: - resolution: {integrity: sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==} - engines: {node: '>=4'} - dependencies: - onetime: 2.0.1 - signal-exit: 3.0.7 - dev: true - - /restore-cursor@3.1.0: - resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} - engines: {node: '>=8'} - dependencies: - onetime: 5.1.2 - signal-exit: 3.0.7 - dev: true - - /ret@0.1.15: - resolution: {integrity: sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==} - engines: {node: '>=0.12'} - dev: true - - /reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - dev: true - - /rimraf@2.6.3: - resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} - hasBin: true - dependencies: - glob: 7.2.3 - dev: true - - /rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - hasBin: true - dependencies: - glob: 7.2.3 - dev: true - - /rollup-plugin-sourcemaps@0.6.3(@types/node@16.11.7)(rollup@1.32.1): - resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} - engines: {node: '>=10.0.0'} - peerDependencies: - '@types/node': '>=10.0.0' - rollup: '>=0.31.2' - peerDependenciesMeta: - '@types/node': - optional: true - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@1.32.1) - '@types/node': 16.11.7 - rollup: 1.32.1 - source-map-resolve: 0.6.0 - dev: true - - /rollup-plugin-terser@5.3.1(rollup@1.32.1): - resolution: {integrity: sha512-1pkwkervMJQGFYvM9nscrUoncPwiKR/K+bHdjv6PFgRo3cgPHoRT83y2Aa3GvINj4539S15t/tpFPb775TDs6w==} - deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser - peerDependencies: - rollup: '>=0.66.0 <3' - dependencies: - '@babel/code-frame': 7.23.5 - jest-worker: 24.9.0 - rollup: 1.32.1 - rollup-pluginutils: 2.8.2 - serialize-javascript: 4.0.0 - terser: 4.8.1 - dev: true - - /rollup-plugin-typescript2@0.27.3(rollup@1.32.1)(typescript@3.9.10): - resolution: {integrity: sha512-gmYPIFmALj9D3Ga1ZbTZAKTXq1JKlTQBtj299DXhqYz9cL3g/AQfUvbb2UhH+Nf++cCq941W2Mv7UcrcgLzJJg==} - peerDependencies: - rollup: '>=1.26.3' - typescript: '>=2.4.0' - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@1.32.1) - find-cache-dir: 3.3.2 - fs-extra: 8.1.0 - resolve: 1.17.0 - rollup: 1.32.1 - tslib: 2.0.1 - typescript: 3.9.10 - dev: true - - /rollup-pluginutils@2.8.2: - resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} - dependencies: - estree-walker: 0.6.1 - dev: true - - /rollup@1.32.1: - resolution: {integrity: sha512-/2HA0Ec70TvQnXdzynFffkjA6XN+1e2pEv/uKS5Ulca40g2L7KuOE3riasHoNVHOsFD5KKZgDsMk1CP3Tw9s+A==} - hasBin: true - dependencies: - '@types/estree': 1.0.5 - '@types/node': 16.11.7 - acorn: 7.4.1 - dev: true - - /rsvp@4.8.5: - resolution: {integrity: sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==} - engines: {node: 6.* || >= 7.*} - dev: true - - /run-async@2.4.1: - resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} - engines: {node: '>=0.12.0'} - dev: true - - /run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - dependencies: - queue-microtask: 1.2.3 - dev: true - - /rxjs@6.6.7: - resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==} - engines: {npm: '>=2.0.0'} - dependencies: - tslib: 1.14.1 - dev: true - - /sade@1.8.1: - resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} - engines: {node: '>=6'} - dependencies: - mri: 1.2.0 - dev: true - - /safe-array-concat@1.1.0: - resolution: {integrity: sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==} - engines: {node: '>=0.4'} - dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 - has-symbols: 1.0.3 - isarray: 2.0.5 - dev: true - - /safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - dev: true - - /safe-regex-test@1.0.3: - resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - es-errors: 1.3.0 - is-regex: 1.1.4 - dev: true - - /safe-regex@1.1.0: - resolution: {integrity: sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==} - dependencies: - ret: 0.1.15 - dev: true - - /safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - dev: true - - /sane@4.1.0: - resolution: {integrity: sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==} - engines: {node: 6.* || 8.* || >= 10.*} - deprecated: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added - hasBin: true - dependencies: - '@cnakazawa/watch': 1.0.4 - anymatch: 2.0.0 - capture-exit: 2.0.0 - exec-sh: 0.3.6 - execa: 1.0.0 - fb-watchman: 2.0.2 - micromatch: 3.1.10 - minimist: 1.2.8 - walker: 1.0.8 - transitivePeerDependencies: - - supports-color - dev: true - - /saxes@3.1.11: - resolution: {integrity: sha512-Ydydq3zC+WYDJK1+gRxRapLIED9PWeSuuS41wqyoRmzvhhh9nc+QQrVMKJYzJFULazeGhzSV0QleN2wD3boh2g==} - engines: {node: '>=8'} - dependencies: - xmlchars: 2.2.0 - dev: true - - /scrypt-js@3.0.1: - resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} - - /semver@5.7.2: - resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} - hasBin: true - dev: true - - /semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - dev: true - - /semver@7.3.7: - resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - - /semver@7.6.0: - resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - - /serialize-javascript@4.0.0: - resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} - dependencies: - randombytes: 2.1.0 - dev: true - - /set-blocking@2.0.0: - resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} - dev: true - - /set-function-length@1.2.1: - resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} - engines: {node: '>= 0.4'} - dependencies: - define-data-property: 1.1.4 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - gopd: 1.0.1 - has-property-descriptors: 1.0.2 - dev: true - - /set-function-name@2.0.2: - resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} - engines: {node: '>= 0.4'} - dependencies: - define-data-property: 1.1.4 - es-errors: 1.3.0 - functions-have-names: 1.2.3 - has-property-descriptors: 1.0.2 - dev: true - - /set-value@2.0.1: - resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==} - engines: {node: '>=0.10.0'} - dependencies: - extend-shallow: 2.0.1 - is-extendable: 0.1.1 - is-plain-object: 2.0.4 - split-string: 3.1.0 - dev: true - - /shebang-command@1.2.0: - resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} - engines: {node: '>=0.10.0'} - dependencies: - shebang-regex: 1.0.0 - dev: true - - /shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} - dependencies: - shebang-regex: 3.0.0 - dev: true - - /shebang-regex@1.0.0: - resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} - engines: {node: '>=0.10.0'} - dev: true - - /shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} - dev: true - - /shelljs@0.8.5: - resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} - engines: {node: '>=4'} - hasBin: true - dependencies: - glob: 7.2.3 - interpret: 1.4.0 - rechoir: 0.6.2 - dev: true - - /shellwords@0.1.1: - resolution: {integrity: sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==} - requiresBuild: true - dev: true - optional: true - - /side-channel@1.0.6: - resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - es-errors: 1.3.0 - get-intrinsic: 1.2.4 - object-inspect: 1.13.1 - dev: true - - /signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - dev: true - - /sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} - dev: true - - /size-limit@8.1.0: - resolution: {integrity: sha512-bUL+Uyyt/G+a1XzKlI2WKHVDepmXtqMDhF65pdtjccheiQTNjExWW4nFefgbRL2QgNTzRfK6ayFKjO3o4ER4gg==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} - hasBin: true - dependencies: - bytes-iec: 3.1.1 - chokidar: 3.6.0 - ci-job-number: 1.2.2 - globby: 11.1.0 - lilconfig: 2.1.0 - mkdirp: 1.0.4 - nanospinner: 1.1.0 - picocolors: 1.0.0 - dev: true - - /slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - dev: true - - /slice-ansi@2.1.0: - resolution: {integrity: sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==} - engines: {node: '>=6'} - dependencies: - ansi-styles: 3.2.1 - astral-regex: 1.0.0 - is-fullwidth-code-point: 2.0.0 - dev: true - - /snapdragon-node@2.1.1: - resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==} - engines: {node: '>=0.10.0'} - dependencies: - define-property: 1.0.0 - isobject: 3.0.1 - snapdragon-util: 3.0.1 - dev: true - - /snapdragon-util@3.0.1: - resolution: {integrity: sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==} - engines: {node: '>=0.10.0'} - dependencies: - kind-of: 3.2.2 - dev: true - - /snapdragon@0.8.2: - resolution: {integrity: sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==} - engines: {node: '>=0.10.0'} - dependencies: - base: 0.11.2 - debug: 2.6.9 - define-property: 0.2.5 - extend-shallow: 2.0.1 - map-cache: 0.2.2 - source-map: 0.5.7 - source-map-resolve: 0.5.3 - use: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - - /source-map-resolve@0.5.3: - resolution: {integrity: sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==} - deprecated: See https://github.com/lydell/source-map-resolve#deprecated - dependencies: - atob: 2.1.2 - decode-uri-component: 0.2.2 - resolve-url: 0.2.1 - source-map-url: 0.4.1 - urix: 0.1.0 - dev: true - - /source-map-resolve@0.6.0: - resolution: {integrity: sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==} - deprecated: See https://github.com/lydell/source-map-resolve#deprecated - dependencies: - atob: 2.1.2 - decode-uri-component: 0.2.2 - dev: true - - /source-map-support@0.5.21: - resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - dev: true - - /source-map-url@0.4.1: - resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==} - deprecated: See https://github.com/lydell/source-map-url#deprecated - dev: true - - /source-map@0.5.7: - resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} - engines: {node: '>=0.10.0'} - dev: true - - /source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} - dev: true - - /source-map@0.7.4: - resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} - engines: {node: '>= 8'} - dev: true - - /sourcemap-codec@1.4.8: - resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - deprecated: Please use @jridgewell/sourcemap-codec instead - dev: true - - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.17 - dev: true - - /spdx-exceptions@2.5.0: - resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} - dev: true - - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - dependencies: - spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.17 - dev: true - - /spdx-license-ids@3.0.17: - resolution: {integrity: sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==} - dev: true - - /split-string@3.1.0: - resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==} - engines: {node: '>=0.10.0'} - dependencies: - extend-shallow: 3.0.2 - dev: true - - /sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} - dev: true - - /sshpk@1.18.0: - resolution: {integrity: sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==} - engines: {node: '>=0.10.0'} - hasBin: true - dependencies: - asn1: 0.2.6 - assert-plus: 1.0.0 - bcrypt-pbkdf: 1.0.2 - dashdash: 1.14.1 - ecc-jsbn: 0.1.2 - getpass: 0.1.7 - jsbn: 0.1.1 - safer-buffer: 2.1.2 - tweetnacl: 0.14.5 - dev: true - - /stack-utils@1.0.5: - resolution: {integrity: sha512-KZiTzuV3CnSnSvgMRrARVCj+Ht7rMbauGDK0LdVFRGyenwdylpajAp4Q0i6SX8rEmbTpMMf6ryq2gb8pPq2WgQ==} - engines: {node: '>=8'} - dependencies: - escape-string-regexp: 2.0.0 - dev: true - - /static-extend@0.1.2: - resolution: {integrity: sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==} - engines: {node: '>=0.10.0'} - dependencies: - define-property: 0.2.5 - object-copy: 0.1.0 - dev: true - - /stealthy-require@1.1.1: - resolution: {integrity: sha512-ZnWpYnYugiOVEY5GkcuJK1io5V8QmNYChG62gSit9pQVGErXtrKuPC55ITaVSukmMta5qpMU7vqLt2Lnni4f/g==} - engines: {node: '>=0.10.0'} - dev: true - - /string-format@2.0.0: - resolution: {integrity: sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA==} - dev: true - - /string-length@3.1.0: - resolution: {integrity: sha512-Ttp5YvkGm5v9Ijagtaz1BnN+k9ObpvS0eIBblPMp2YWL8FBmi9qblQ9fexc2k/CXFgrTIteU3jAw3payCnwSTA==} - engines: {node: '>=8'} - dependencies: - astral-regex: 1.0.0 - strip-ansi: 5.2.0 - dev: true - - /string-width@2.1.1: - resolution: {integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==} - engines: {node: '>=4'} - dependencies: - is-fullwidth-code-point: 2.0.0 - strip-ansi: 4.0.0 - dev: true - - /string-width@3.1.0: - resolution: {integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==} - engines: {node: '>=6'} - dependencies: - emoji-regex: 7.0.3 - is-fullwidth-code-point: 2.0.0 - strip-ansi: 5.2.0 - dev: true - - /string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - dev: true - - /string.prototype.matchall@4.0.10: - resolution: {integrity: sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - get-intrinsic: 1.2.4 - has-symbols: 1.0.3 - internal-slot: 1.0.7 - regexp.prototype.flags: 1.5.2 - set-function-name: 2.0.2 - side-channel: 1.0.6 - dev: true - - /string.prototype.trim@1.2.8: - resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - dev: true - - /string.prototype.trimend@1.0.7: - resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - dev: true - - /string.prototype.trimstart@1.0.7: - resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.22.5 - dev: true - - /strip-ansi@4.0.0: - resolution: {integrity: sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==} - engines: {node: '>=4'} - dependencies: - ansi-regex: 3.0.1 - dev: true - - /strip-ansi@5.2.0: - resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==} - engines: {node: '>=6'} - dependencies: - ansi-regex: 4.1.1 - dev: true - - /strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} - dependencies: - ansi-regex: 5.0.1 - dev: true - - /strip-bom@3.0.0: - resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} - engines: {node: '>=4'} - dev: true - - /strip-bom@4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} - dev: true - - /strip-eof@1.0.0: - resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==} - engines: {node: '>=0.10.0'} - dev: true - - /strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} - dev: true - - /strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} - dev: true - - /supports-color@5.5.0: - resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} - engines: {node: '>=4'} - dependencies: - has-flag: 3.0.0 - dev: true - - /supports-color@6.1.0: - resolution: {integrity: sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==} - engines: {node: '>=6'} - dependencies: - has-flag: 3.0.0 - dev: true - - /supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} - dependencies: - has-flag: 4.0.0 - dev: true - - /supports-hyperlinks@2.3.0: - resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} - engines: {node: '>=8'} - dependencies: - has-flag: 4.0.0 - supports-color: 7.2.0 - dev: true - - /supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} - dev: true - - /symbol-tree@3.2.4: - resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - dev: true - - /table-layout@1.0.2: - resolution: {integrity: sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==} - engines: {node: '>=8.0.0'} - dependencies: - array-back: 4.0.2 - deep-extend: 0.6.0 - typical: 5.2.0 - wordwrapjs: 4.0.1 - dev: true - - /table@5.4.6: - resolution: {integrity: sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==} - engines: {node: '>=6.0.0'} - dependencies: - ajv: 6.12.6 - lodash: 4.17.21 - slice-ansi: 2.1.0 - string-width: 3.1.0 - dev: true - - /terminal-link@2.1.1: - resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==} - engines: {node: '>=8'} - dependencies: - ansi-escapes: 4.3.2 - supports-hyperlinks: 2.3.0 - dev: true - - /terser@4.8.1: - resolution: {integrity: sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - acorn: 8.11.3 - commander: 2.20.3 - source-map: 0.6.1 - source-map-support: 0.5.21 - dev: true - - /test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} - dependencies: - '@istanbuljs/schema': 0.1.3 - glob: 7.2.3 - minimatch: 3.1.2 - dev: true - - /text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - dev: true - - /throat@5.0.0: - resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==} - dev: true - - /through@2.3.8: - resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} - dev: true - - /tiny-glob@0.2.9: - resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} - dependencies: - globalyzer: 0.1.0 - globrex: 0.1.2 - dev: true - - /tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} - dependencies: - os-tmpdir: 1.0.2 - dev: true - - /tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - dev: true - - /to-fast-properties@2.0.0: - resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} - engines: {node: '>=4'} - dev: true - - /to-object-path@0.3.0: - resolution: {integrity: sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==} - engines: {node: '>=0.10.0'} - dependencies: - kind-of: 3.2.2 - dev: true - - /to-regex-range@2.1.1: - resolution: {integrity: sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==} - engines: {node: '>=0.10.0'} - dependencies: - is-number: 3.0.0 - repeat-string: 1.6.1 - dev: true - - /to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} - dependencies: - is-number: 7.0.0 - dev: true - - /to-regex@3.0.2: - resolution: {integrity: sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==} - engines: {node: '>=0.10.0'} - dependencies: - define-property: 2.0.2 - extend-shallow: 3.0.2 - regex-not: 1.0.2 - safe-regex: 1.1.0 - dev: true - - /tough-cookie@2.5.0: - resolution: {integrity: sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==} - engines: {node: '>=0.8'} - dependencies: - psl: 1.9.0 - punycode: 2.3.1 - dev: true - - /tough-cookie@3.0.1: - resolution: {integrity: sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==} - engines: {node: '>=6'} - dependencies: - ip-regex: 2.1.0 - psl: 1.9.0 - punycode: 2.3.1 - dev: true - - /tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - dev: false - - /tr46@1.0.1: - resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} - dependencies: - punycode: 2.3.1 - dev: true - - /ts-command-line-args@2.5.1: - resolution: {integrity: sha512-H69ZwTw3rFHb5WYpQya40YAX2/w7Ut75uUECbgBIsLmM+BNuYnxsltfyyLMxy6sEeKxgijLTnQtLd0nKd6+IYw==} - hasBin: true - dependencies: - chalk: 4.1.2 - command-line-args: 5.2.1 - command-line-usage: 6.1.3 - string-format: 2.0.0 - dev: true - - /ts-essentials@7.0.3(typescript@4.9.4): - resolution: {integrity: sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ==} - peerDependencies: - typescript: '>=3.7.0' - dependencies: - typescript: 4.9.4 - dev: true - - /ts-jest@25.5.1(jest@25.5.4)(typescript@3.9.10): - resolution: {integrity: sha512-kHEUlZMK8fn8vkxDjwbHlxXRB9dHYpyzqKIGDNxbzs+Rz+ssNDSDNusEK8Fk/sDd4xE6iKoQLfFkFVaskmTJyw==} - engines: {node: '>= 8'} - hasBin: true - peerDependencies: - jest: '>=25 <26' - typescript: '>=3.4 <4.0' - dependencies: - bs-logger: 0.2.6 - buffer-from: 1.1.2 - fast-json-stable-stringify: 2.1.0 - jest: 25.5.4 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - micromatch: 4.0.5 - mkdirp: 0.5.6 - semver: 6.3.1 - typescript: 3.9.10 - yargs-parser: 18.1.3 - dev: true - - /ts-node@10.8.2(@types/node@16.11.7)(typescript@4.9.4): - resolution: {integrity: sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 16.11.7 - acorn: 8.11.3 - acorn-walk: 8.3.2 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 4.9.4 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - - /tsconfig-paths@3.15.0: - resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} - dependencies: - '@types/json5': 0.0.29 - json5: 1.0.2 - minimist: 1.2.8 - strip-bom: 3.0.0 - dev: true - - /tsdx@0.14.1(@types/node@16.11.7): - resolution: {integrity: sha512-keHmFdCL2kx5nYFlBdbE3639HQ2v9iGedAFAajobrUTH2wfX0nLPdDhbHv+GHLQZqf0c5ur1XteE8ek/+Eyj5w==} - engines: {node: '>=10'} - hasBin: true - dependencies: - '@babel/core': 7.24.0 - '@babel/helper-module-imports': 7.22.15 - '@babel/parser': 7.24.0 - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.24.0) - '@babel/preset-env': 7.24.0(@babel/core@7.24.0) - '@babel/traverse': 7.24.0 - '@rollup/plugin-babel': 5.3.1(@babel/core@7.24.0)(rollup@1.32.1) - '@rollup/plugin-commonjs': 11.1.0(rollup@1.32.1) - '@rollup/plugin-json': 4.1.0(rollup@1.32.1) - '@rollup/plugin-node-resolve': 9.0.0(rollup@1.32.1) - '@rollup/plugin-replace': 2.4.2(rollup@1.32.1) - '@types/jest': 25.2.3 - '@typescript-eslint/eslint-plugin': 2.34.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0)(typescript@3.9.10) - '@typescript-eslint/parser': 2.34.0(eslint@6.8.0)(typescript@3.9.10) - ansi-escapes: 4.3.2 - asyncro: 3.0.0 - babel-eslint: 10.1.0(eslint@8.27.0) - babel-plugin-annotate-pure-calls: 0.4.0(@babel/core@7.24.0) - babel-plugin-dev-expression: 0.2.3(@babel/core@7.24.0) - babel-plugin-macros: 2.8.0 - babel-plugin-polyfill-regenerator: 0.0.4(@babel/core@7.24.0) - babel-plugin-transform-rename-import: 2.3.0 - camelcase: 6.3.0 - chalk: 4.1.2 - enquirer: 2.4.1 - eslint: 6.8.0 - eslint-config-prettier: 6.15.0(eslint@6.8.0) - eslint-config-react-app: 5.2.1(@typescript-eslint/eslint-plugin@2.34.0)(@typescript-eslint/parser@2.34.0)(babel-eslint@10.1.0)(eslint-plugin-flowtype@3.13.0)(eslint-plugin-import@2.26.0)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@2.5.1)(eslint-plugin-react@7.34.0)(eslint@6.8.0)(typescript@3.9.10) - eslint-plugin-flowtype: 3.13.0(eslint@8.27.0) - eslint-plugin-import: 2.26.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0) - eslint-plugin-jsx-a11y: 6.8.0(eslint@8.27.0) - eslint-plugin-prettier: 3.4.1(eslint-config-prettier@6.15.0)(eslint@6.8.0)(prettier@1.19.1) - eslint-plugin-react: 7.34.0(eslint@8.27.0) - eslint-plugin-react-hooks: 2.5.1(eslint@8.27.0) - execa: 4.1.0 - fs-extra: 9.1.0 - jest: 25.5.4 - jest-watch-typeahead: 0.5.0 - jpjs: 1.2.1 - lodash.merge: 4.6.2 - ora: 4.1.1 - pascal-case: 3.1.2 - prettier: 1.19.1 - progress-estimator: 0.2.2 - regenerator-runtime: 0.13.11 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.6.3(@types/node@16.11.7)(rollup@1.32.1) - rollup-plugin-terser: 5.3.1(rollup@1.32.1) - rollup-plugin-typescript2: 0.27.3(rollup@1.32.1)(typescript@3.9.10) - sade: 1.8.1 - semver: 7.6.0 - shelljs: 0.8.5 - tiny-glob: 0.2.9 - ts-jest: 25.5.1(jest@25.5.4)(typescript@3.9.10) - tslib: 1.14.1 - typescript: 3.9.10 - transitivePeerDependencies: - - '@types/babel__core' - - '@types/node' - - bufferutil - - canvas - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color - - utf-8-validate - dev: true - - /tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - dev: true - - /tslib@2.0.1: - resolution: {integrity: sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==} - dev: true - - /tslib@2.4.1: - resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} - dev: true - - /tsutils@3.21.0(typescript@3.9.10): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 3.9.10 - dev: true - - /tsutils@3.21.0(typescript@4.9.4): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 4.9.4 - dev: true - - /tunnel-agent@0.6.0: - resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} - dependencies: - safe-buffer: 5.2.1 - dev: true - - /tweetnacl@0.14.5: - resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==} - dev: true - - /type-check@0.3.2: - resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.1.2 - dev: true - - /type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - dev: true - - /type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} - dev: true - - /type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - dev: true - - /type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} - dev: true - - /type-fest@0.6.0: - resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} - engines: {node: '>=8'} - dev: true - - /type-fest@0.8.1: - resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} - engines: {node: '>=8'} - dev: true - - /typechain@8.1.1(typescript@4.9.4): - resolution: {integrity: sha512-uF/sUvnXTOVF2FHKhQYnxHk4su4JjZR8vr4mA2mBaRwHTbwh0jIlqARz9XJr1tA0l7afJGvEa1dTSi4zt039LQ==} - hasBin: true - peerDependencies: - typescript: '>=4.3.0' - dependencies: - '@types/prettier': 2.7.3 - debug: 4.3.4 - fs-extra: 7.0.1 - glob: 7.1.7 - js-sha3: 0.8.0 - lodash: 4.17.21 - mkdirp: 1.0.4 - prettier: 2.7.1 - ts-command-line-args: 2.5.1 - ts-essentials: 7.0.3(typescript@4.9.4) - typescript: 4.9.4 - transitivePeerDependencies: - - supports-color - dev: true - - /typed-array-buffer@1.0.2: - resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - es-errors: 1.3.0 - is-typed-array: 1.1.13 - dev: true - - /typed-array-byte-length@1.0.1: - resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - for-each: 0.3.3 - gopd: 1.0.1 - has-proto: 1.0.3 - is-typed-array: 1.1.13 - dev: true - - /typed-array-byte-offset@1.0.2: - resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==} - engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.7 - call-bind: 1.0.7 - for-each: 0.3.3 - gopd: 1.0.1 - has-proto: 1.0.3 - is-typed-array: 1.1.13 - dev: true - - /typed-array-length@1.0.5: - resolution: {integrity: sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - for-each: 0.3.3 - gopd: 1.0.1 - has-proto: 1.0.3 - is-typed-array: 1.1.13 - possible-typed-array-names: 1.0.0 - dev: true - - /typedarray-to-buffer@3.1.5: - resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} - dependencies: - is-typedarray: 1.0.0 - dev: true - - /typescript@3.9.10: - resolution: {integrity: sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: true - - /typescript@4.9.4: - resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: true - - /typical@4.0.0: - resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==} - engines: {node: '>=8'} - dev: true - - /typical@5.2.0: - resolution: {integrity: sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==} - engines: {node: '>=8'} - dev: true - - /unbox-primitive@1.0.2: - resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} - dependencies: - call-bind: 1.0.7 - has-bigints: 1.0.2 - has-symbols: 1.0.3 - which-boxed-primitive: 1.0.2 - dev: true - - /unicode-canonical-property-names-ecmascript@2.0.0: - resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} - engines: {node: '>=4'} - dev: true - - /unicode-match-property-ecmascript@2.0.0: - resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==} - engines: {node: '>=4'} - dependencies: - unicode-canonical-property-names-ecmascript: 2.0.0 - unicode-property-aliases-ecmascript: 2.1.0 - dev: true - - /unicode-match-property-value-ecmascript@2.1.0: - resolution: {integrity: sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==} - engines: {node: '>=4'} - dev: true - - /unicode-property-aliases-ecmascript@2.1.0: - resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==} - engines: {node: '>=4'} - dev: true - - /union-value@1.0.1: - resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} - engines: {node: '>=0.10.0'} - dependencies: - arr-union: 3.1.0 - get-value: 2.0.6 - is-extendable: 0.1.1 - set-value: 2.0.1 - dev: true - - /universalify@0.1.2: - resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} - engines: {node: '>= 4.0.0'} - dev: true - - /universalify@2.0.1: - resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} - engines: {node: '>= 10.0.0'} - dev: true - - /unset-value@1.0.0: - resolution: {integrity: sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==} - engines: {node: '>=0.10.0'} - dependencies: - has-value: 0.3.1 - isobject: 3.0.1 - dev: true - - /update-browserslist-db@1.0.13(browserslist@4.23.0): - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.23.0 - escalade: 3.1.2 - picocolors: 1.0.0 - dev: true - - /uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - dependencies: - punycode: 2.3.1 - dev: true - - /urix@0.1.0: - resolution: {integrity: sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==} - deprecated: Please see https://github.com/lydell/urix#deprecated - dev: true - - /use@3.1.1: - resolution: {integrity: sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==} - engines: {node: '>=0.10.0'} - dev: true - - /uuid@3.4.0: - resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} - deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. - hasBin: true - dev: true - - /v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - dev: true - - /v8-compile-cache@2.4.0: - resolution: {integrity: sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==} - dev: true - - /v8-to-istanbul@4.1.4: - resolution: {integrity: sha512-Rw6vJHj1mbdK8edjR7+zuJrpDtKIgNdAvTSAcpYfgMIw+u2dPDntD3dgN4XQFLU2/fvFQdzj+EeSGfd/jnY5fQ==} - engines: {node: 8.x.x || >=10.10.0} - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - convert-source-map: 1.9.0 - source-map: 0.7.4 - dev: true - - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - dev: true - - /verror@1.10.0: - resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} - engines: {'0': node >=0.6.0} - dependencies: - assert-plus: 1.0.0 - core-util-is: 1.0.2 - extsprintf: 1.3.0 - dev: true - - /w3c-hr-time@1.0.2: - resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} - deprecated: Use your platform's native performance.now() and performance.timeOrigin. - dependencies: - browser-process-hrtime: 1.0.0 - dev: true - - /w3c-xmlserializer@1.1.2: - resolution: {integrity: sha512-p10l/ayESzrBMYWRID6xbuCKh2Fp77+sA0doRuGn4tTIMrrZVeqfpKjXHY+oDh3K4nLdPgNwMTVP6Vp4pvqbNg==} - dependencies: - domexception: 1.0.1 - webidl-conversions: 4.0.2 - xml-name-validator: 3.0.0 - dev: true - - /walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} - dependencies: - makeerror: 1.0.12 - dev: true - - /wcwidth@1.0.1: - resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} - dependencies: - defaults: 1.0.4 - dev: true - - /webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - dev: false - - /webidl-conversions@4.0.2: - resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} - dev: true - - /whatwg-encoding@1.0.5: - resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} - dependencies: - iconv-lite: 0.4.24 - dev: true - - /whatwg-mimetype@2.3.0: - resolution: {integrity: sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==} - dev: true - - /whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - dev: false - - /whatwg-url@7.1.0: - resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} - dependencies: - lodash.sortby: 4.7.0 - tr46: 1.0.1 - webidl-conversions: 4.0.2 - dev: true - - /which-boxed-primitive@1.0.2: - resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} - dependencies: - is-bigint: 1.0.4 - is-boolean-object: 1.1.2 - is-number-object: 1.0.7 - is-string: 1.0.7 - is-symbol: 1.0.4 - dev: true - - /which-builtin-type@1.1.3: - resolution: {integrity: sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==} - engines: {node: '>= 0.4'} - dependencies: - function.prototype.name: 1.1.6 - has-tostringtag: 1.0.2 - is-async-function: 2.0.0 - is-date-object: 1.0.5 - is-finalizationregistry: 1.0.2 - is-generator-function: 1.0.10 - is-regex: 1.1.4 - is-weakref: 1.0.2 - isarray: 2.0.5 - which-boxed-primitive: 1.0.2 - which-collection: 1.0.1 - which-typed-array: 1.1.14 - dev: true - - /which-collection@1.0.1: - resolution: {integrity: sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==} - dependencies: - is-map: 2.0.2 - is-set: 2.0.2 - is-weakmap: 2.0.1 - is-weakset: 2.0.2 - dev: true - - /which-module@2.0.1: - resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} - dev: true - - /which-typed-array@1.1.14: - resolution: {integrity: sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==} - engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.7 - call-bind: 1.0.7 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.2 - dev: true - - /which@1.3.1: - resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} - hasBin: true - dependencies: - isexe: 2.0.0 - dev: true - - /which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true - dependencies: - isexe: 2.0.0 - dev: true - - /word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} - dev: true - - /wordwrapjs@4.0.1: - resolution: {integrity: sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA==} - engines: {node: '>=8.0.0'} - dependencies: - reduce-flatten: 2.0.0 - typical: 5.2.0 - dev: true - - /wrap-ansi@3.0.1: - resolution: {integrity: sha512-iXR3tDXpbnTpzjKSylUJRkLuOrEC7hwEB221cgn6wtF8wpmz28puFXAEfPT5zrjM3wahygB//VuWEr1vTkDcNQ==} - engines: {node: '>=4'} - dependencies: - string-width: 2.1.1 - strip-ansi: 4.0.0 - dev: true - - /wrap-ansi@6.2.0: - resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} - engines: {node: '>=8'} - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - dev: true - - /wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - dev: true - - /write-file-atomic@3.0.3: - resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==} - dependencies: - imurmurhash: 0.1.4 - is-typedarray: 1.0.0 - signal-exit: 3.0.7 - typedarray-to-buffer: 3.1.5 - dev: true - - /write@1.0.3: - resolution: {integrity: sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==} - engines: {node: '>=4'} - dependencies: - mkdirp: 0.5.6 - dev: true - - /ws@7.4.6: - resolution: {integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==} - engines: {node: '>=8.3.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - /ws@7.5.9: - resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} - engines: {node: '>=8.3.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: true - - /xml-name-validator@3.0.0: - resolution: {integrity: sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==} - dev: true - - /xmlchars@2.2.0: - resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} - dev: true - - /y18n@4.0.3: - resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} - dev: true - - /yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - dev: true - - /yallist@4.0.0: - resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - dev: true - - /yaml@1.10.2: - resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} - engines: {node: '>= 6'} - dev: true - - /yargs-parser@18.1.3: - resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} - engines: {node: '>=6'} - dependencies: - camelcase: 5.3.1 - decamelize: 1.2.0 - dev: true - - /yargs@15.4.1: - resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==} - engines: {node: '>=8'} - dependencies: - cliui: 6.0.0 - decamelize: 1.2.0 - find-up: 4.1.0 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - require-main-filename: 2.0.0 - set-blocking: 2.0.0 - string-width: 4.2.3 - which-module: 2.0.1 - y18n: 4.0.3 - yargs-parser: 18.1.3 - dev: true - - /yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - dev: true - - /yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} - dev: true diff --git a/src/0x-aggregator-2.ts b/src/0x-aggregator-2.ts new file mode 100644 index 00000000..85a99f79 --- /dev/null +++ b/src/0x-aggregator-2.ts @@ -0,0 +1,189 @@ +import axios, { type AxiosInstance } from "axios"; + +interface Fee { + amount: string; + token: string; + type: "volume" | "gas"; +} + +interface Fees { + integratorFee?: Fee | null; + zeroExFee?: Fee | null; + gasFee?: Fee | null; +} + +interface AllowanceIssue { + actual: string; + spender: string; +} + +interface BalanceIssue { + token: string; + actual: string; + expected: string; +} + +interface Issues { + allowance?: AllowanceIssue | null; + balance?: BalanceIssue | null; + simulationIncomplete: boolean; + invalidSourcesPassed: string[]; +} + +interface Fill { + from: string; + to: string; + source: string; + proportionBps: string; +} + +interface Token { + address: string; + symbol: string; +} + +interface Route { + fills: Fill[]; + tokens: Token[]; +} + +interface TokenMetadata { + buyTaxBps?: string | null; + sellTaxBps?: string | null; +} + +interface TokensMetadata { + buyToken: TokenMetadata; + sellToken: TokenMetadata; +} + +interface EIP712TypeProperty { + name: string; + type: string; +} + +interface EIP712Domain { + name?: string; + version?: string; + chainId?: number; + verifyingContract?: string; + salt?: string; +} + +interface EIP712Data { + types: { [key: string]: EIP712TypeProperty[] }; + domain: EIP712Domain; + message: { [key: string]: unknown }; + primaryType: string; +} + +export interface Permit2 { + type: "Permit2"; + hash: string; + eip712: EIP712Data; +} + +export interface Transaction { + to: string; + data: string; + gas?: string | null; + gasPrice: string; + value: string; +} + +interface ZeroExReponseData { + blockNumber: string; + buyAmount: string; + buyToken: string; + fees: Fees; + gas?: string | null; + gasPrice: string; + issues: Issues; + liquidityAvailable: boolean; + minBuyAmount: string; + route: Route; + sellAmount: string; + sellToken: string; + tokenMetadata: TokensMetadata; + totalNetworkFee?: string | null; + zid: string; +} + +interface AllowanceHolderQuoteReponseData extends ZeroExReponseData { + transaction: Transaction; +} + +interface Permit2QuoteReponseData extends AllowanceHolderQuoteReponseData { + permit2?: Permit2 | null; +} + +export interface ZeroExRequest { + chainId: number; + buyToken: string; + sellToken: string; + sellAmount: string; + taker?: string; + txOrigin?: string; + swapFeeRecipient?: string; + swapFeeBps?: number; + swapFeeToken?: string; + tradeSurplusRecipient?: string; + gasPrice?: string; + slippageBps?: number; + excludedSources?: string; +} + +export class ZeroExAggregator2 { + private client: AxiosInstance; + + constructor(apiUrl: string, apiKey: string) { + this.client = axios.create({ + baseURL: apiUrl, + headers: { + "Content-Type": "application/json", + "0x-version": "v2", + ...{ "0x-api-key": apiKey }, + }, + validateStatus: (status) => status < 500, + }); + } + + public permit2Price(params: ZeroExRequest): Promise { + return this.makeRequest("swap/permit2/price", params); + } + + public permit2Quote(params: ZeroExRequest): Promise { + return this.makeRequest("swap/permit2/quote", params); + } + + public allowanceHolderPrice(params: ZeroExRequest): Promise { + return this.makeRequest("swap/allowance-holder/price", params); + } + + public allowanceHolderQuote(params: ZeroExRequest): Promise { + return this.makeRequest("swap/allowance-holder/quote", params); + } + + private async makeRequest(endpoint: string, params: ZeroExRequest): Promise { + try { + const response = await this.client.get(endpoint, { params }); + + if (response.status >= 400) { + throw new Error(`API request failed with status ${response.status}: ${response.data}`); + } + + return response.data; + } catch (error) { + if (axios.isAxiosError(error)) { + if (error.response) { + throw new Error(`API request failed: ${error.response.status} ${error.response.data}`); + } else if (error.request) { + throw new Error("No response received from the API"); + } else { + throw new Error(`Error setting up the request: ${error.message}`); + } + } + throw new Error(`Unexpected error: ${error}`); + } + } +} diff --git a/src/0x-aggregator/0x-aggregator.ts b/src/0x-aggregator.ts similarity index 50% rename from src/0x-aggregator/0x-aggregator.ts rename to src/0x-aggregator.ts index 21fab089..58668757 100644 --- a/src/0x-aggregator/0x-aggregator.ts +++ b/src/0x-aggregator.ts @@ -1,28 +1,48 @@ -import axios, { AxiosInstance } from 'axios' -import axiosRetry from 'axios-retry' -import newDebug from 'debug' -import { BigNumber, BigNumberish } from 'ethers' - -import { ChainIds } from '../types' -import type { Address, ChainId, TokenSymbol, Url } from '../types' +import axios, { type AxiosInstance } from "axios"; +import { BigNumber, type BigNumberish, type BytesLike } from "ethers"; + +/** ### Options for 0x price endpoint */ +export interface Zero0xPriceOptions { + /** ### Address of account to use for the quote */ + takerAddress: string; + /** ### Sources to exclude from the quote endpoint call */ + excludedSources: string[]; + /** ### Slippage percentage to use for the quote */ + slippagePercentage: number; + /** ### Skip validation of the quote */ + skipValidation: boolean; + /** ### Gas price to use for the quote */ + gasFee: number; +} -import { - Zero0xPriceOptions, - Zero0xPriceResponse, - Zero0xQuoteOptions, - Zero0xQuoteResponse, - Zero0xSourcesResponse, -} from './types' +/** ### Response from the 0x price endpoint */ +export interface Zero0xPriceResponse { + /** ### Amount of tokens to buy */ + buyAmount: BigNumberish; + /** ### Amount of tokens to sell */ + sellAmount: BigNumberish; + /** ### Estimated Gas */ + estimatedGas: BigNumberish; + /** ### Gas price */ + gasPrice: BigNumberish; +} -axiosRetry(axios, { retryDelay: axiosRetry.exponentialDelay }) +/** ### Options for 0x quote endpoint */ +export type Zero0xQuoteOptions = Zero0xPriceOptions; -const debug = newDebug('@phuture:0x-aggregator') +/** ### Response from the 0x quote endpoint */ +export interface Zero0xQuoteResponse extends Zero0xPriceResponse { + /** ### Address of the contract to call with data */ + to: string; + /** ### Raw call data */ + data: BytesLike; +} /** ### Addresses of the ZeroX API endpoint */ -export const zeroExBaseUrl: Record = { - [ChainIds.Mainnet]: 'https://api.0x.org/', - [ChainIds.CChain]: 'https://avalanche.api.0x.org/', -} +export const zeroExBaseUrl: Record = { + 1: "https://api.0x.org/", + 43114: "https://avalanche.api.0x.org/", +}; /** ### Facilitates swaps for end user */ export class ZeroExAggregator { @@ -30,8 +50,8 @@ export class ZeroExAggregator { private _defaultQueryParams = { /** ### Slippage protection for the aggregator */ enableSlippageProtection: true, - affiliateAddress: '0x6575a93abdff85e5a6b97c2db2b83bcebc3574ec', - } + affiliateAddress: "0x6575a93abdff85e5a6b97c2db2b83bcebc3574ec", + }; /** * ### Constructs an instance of the swap class @@ -50,26 +70,21 @@ export class ZeroExAggregator { * * @returns {ZeroExAggregator} The 0x Aggregator instance */ - static fromUrl( - baseUrl: Url, - apiKey?: string, - ): [ZeroExAggregator, AbortController] { - const abortController = new AbortController() + static fromUrl(baseUrl: string, apiKey?: string): [ZeroExAggregator, AbortController] { + const abortController = new AbortController(); const client = axios.create({ signal: abortController?.signal, // eslint-disable-next-line @typescript-eslint/naming-convention baseURL: baseUrl, headers: { - 'Content-Type': 'application/json', - ...(apiKey ? { '0x-api-key': apiKey } : {}), + "Content-Type": "application/json", + ...(apiKey ? { "0x-api-key": apiKey } : {}), }, validateStatus: (status) => status < 500, - }) - - debug('Created client with base URL: %s', baseUrl) + }); - return [new ZeroExAggregator(client), abortController] + return [new ZeroExAggregator(client), abortController]; } /** @@ -78,7 +93,7 @@ export class ZeroExAggregator { * @returns True if slippage protection is enabled */ get slippageProtection(): boolean { - return this._defaultQueryParams.enableSlippageProtection + return this._defaultQueryParams.enableSlippageProtection; } /** @@ -87,7 +102,7 @@ export class ZeroExAggregator { * @param slippageProtection Whether to enable slippage protection */ set slippageProtection(slippageProtection: boolean) { - this._defaultQueryParams.enableSlippageProtection = slippageProtection + this._defaultQueryParams.enableSlippageProtection = slippageProtection; } /** @@ -102,39 +117,24 @@ export class ZeroExAggregator { * @returns Promise transaction response */ async quote( - sellToken: Address, - buyToken: Address, + sellToken: string, + buyToken: string, sellAmount: BigNumberish, options?: Partial, ): Promise { - debug( - 'Making quote call for sellToken: %s, buyToken: %s, sellAmount: %s', - sellToken, - buyToken, - sellAmount, - ) - const { data } = await this.client.get( - '/swap/v1/quote', - { - params: { - ...this._defaultQueryParams, - sellToken, - buyToken, - sellAmount: BigNumber.from(sellAmount).toString(), - ...options, - }, + const { data } = await this.client.get("/swap/v1/quote", { + params: { + ...this._defaultQueryParams, + sellToken, + buyToken, + sellAmount: BigNumber.from(sellAmount).toString(), + ...options, }, - ) + }); // TODO: cover error codes and add retry logic - debug( - 'Received quote buyAmount: %s for buyToken: %s', - data.buyAmount, - buyToken, - ) - - return data + return data; } /** @@ -149,56 +149,23 @@ export class ZeroExAggregator { * @returns Promise transaction response */ async price( - sellToken: Address | TokenSymbol, - buyToken: Address, + sellToken: string, + buyToken: string, sellAmount: BigNumberish, options?: Partial, ): Promise { - debug( - 'Making price call for sellToken: %s, buyToken: %s, sellAmount: %s', - sellToken, - buyToken, - sellAmount, - ) - const { data } = await this.client.get( - '/swap/v1/price', - { - params: { - ...this._defaultQueryParams, - sellToken, - buyToken, - sellAmount: BigNumber.from(sellAmount).toString(), - ...options, - }, + const { data } = await this.client.get("/swap/v1/price", { + params: { + ...this._defaultQueryParams, + sellToken, + buyToken, + sellAmount: BigNumber.from(sellAmount).toString(), + ...options, }, - ) + }); // TODO: cover error codes and add retry logic - debug( - 'Received price buyAmount: %s for buyToken: %s', - data.buyAmount, - buyToken, - ) - - return data - } - - /** - * Returns the liquidity sources enabled for the chain - * - * @returns Promise transaction response - */ - async sources(): Promise { - debug('Making sources call') - const { data } = await this.client.get( - '/swap/v1/sources', - ) - - // TODO: cover error codes and add retry logic - - debug('Received %d sources', data.records.length) - - return data + return data; } } diff --git a/src/0x-aggregator/index.ts b/src/0x-aggregator/index.ts deleted file mode 100644 index bb791529..00000000 --- a/src/0x-aggregator/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './0x-aggregator' -export * from './types' diff --git a/src/0x-aggregator/types.ts b/src/0x-aggregator/types.ts deleted file mode 100644 index 686964fc..00000000 --- a/src/0x-aggregator/types.ts +++ /dev/null @@ -1,46 +0,0 @@ -import type { BigNumberish, BytesLike } from 'ethers' - -import type { Address } from '../types' - -/** ### Options for 0x price endpoint */ -export interface Zero0xPriceOptions { - /** ### Address of account to use for the quote */ - takerAddress: Address - /** ### Sources to exclude from the quote endpoint call */ - excludedSources: string[] - /** ### Slippage percentage to use for the quote */ - slippagePercentage: number - /** ### Skip validation of the quote */ - skipValidation: boolean - /** ### Gas price to use for the quote */ - gasFee: number -} - -/** ### Response from the 0x price endpoint */ -export interface Zero0xPriceResponse { - /** ### Amount of tokens to buy */ - buyAmount: BigNumberish - /** ### Amount of tokens to sell */ - sellAmount: BigNumberish - /** ### Estimated Gas */ - estimatedGas: BigNumberish - /** ### Gas price */ - gasPrice: BigNumberish -} - -/** ### Options for 0x quote endpoint */ -export type Zero0xQuoteOptions = Zero0xPriceOptions - -/** ### Response from the 0x quote endpoint */ -export interface Zero0xQuoteResponse extends Zero0xPriceResponse { - /** ### Address of the contract to call with data */ - to: Address - /** ### Raw call data */ - data: BytesLike -} - -/** ### Response from the 0x sources endpoint */ -export interface Zero0xSourcesResponse { - /** ### Array of sources */ - records: string[] -} diff --git a/src/abis/BaseIndex.json b/src/abis/BaseIndex.json index e6e8e305..4b622428 100644 --- a/src/abis/BaseIndex.json +++ b/src/abis/BaseIndex.json @@ -24,19 +24,6 @@ "name": "Approval", "type": "event" }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "asset", - "type": "address" - } - ], - "name": "AssetRemoved", - "type": "event" - }, { "anonymous": false, "inputs": [ @@ -62,25 +49,6 @@ "name": "Transfer", "type": "event" }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "asset", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "weight", - "type": "uint8" - } - ], - "name": "UpdateAnatomy", - "type": "event" - }, { "inputs": [], "name": "DOMAIN_SEPARATOR", diff --git a/src/abis/ERC20.json b/src/abis/ERC20.json index 3c7c028d..f0aa8d5f 100644 --- a/src/abis/ERC20.json +++ b/src/abis/ERC20.json @@ -1,30 +1,4 @@ [ - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - }, - { - "internalType": "address", - "name": "initialAccount", - "type": "address" - }, - { - "internalType": "uint256", - "name": "initialBalance", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, { "anonymous": false, "inputs": [ diff --git a/src/abis/ERC20Permit.json b/src/abis/ERC20Permit.json deleted file mode 100644 index 1e5f78ed..00000000 --- a/src/abis/ERC20Permit.json +++ /dev/null @@ -1,347 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "inputs": [], - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "permit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/src/abis/ERC4626Upgradeable.json b/src/abis/ERC4626Upgradeable.json deleted file mode 100644 index 8a0292d8..00000000 --- a/src/abis/ERC4626Upgradeable.json +++ /dev/null @@ -1,675 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "Deposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "Withdraw", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "asset", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "convertToAssets", - "outputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "name": "convertToShares", - "outputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "maxDeposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "maxMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "maxRedeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "maxWithdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - } - ], - "name": "mint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "name": "previewDeposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "previewMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "previewRedeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "name": "previewWithdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "redeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalAssets", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/src/abis/ERC4626WithPermit.json b/src/abis/ERC4626WithPermit.json deleted file mode 100644 index c2193a55..00000000 --- a/src/abis/ERC4626WithPermit.json +++ /dev/null @@ -1,737 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "Deposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "Withdraw", - "type": "event" - }, - { - "inputs": [], - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "asset", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "convertToAssets", - "outputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "name": "convertToShares", - "outputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "maxDeposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "maxMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "maxRedeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "maxWithdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - } - ], - "name": "mint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "permit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "name": "previewDeposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "previewMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "previewRedeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "name": "previewWithdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "redeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalAssets", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/src/abis/IHarvestingJob.json b/src/abis/IHarvestingJob.json deleted file mode 100644 index bd8fe1b4..00000000 --- a/src/abis/IHarvestingJob.json +++ /dev/null @@ -1,104 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "_vault", - "type": "address" - } - ], - "name": "canHarvest", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_vault", - "type": "address" - } - ], - "name": "harvest", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_vault", - "type": "address" - } - ], - "name": "lastHarvest", - "outputs": [ - { - "internalType": "uint96", - "name": "", - "type": "uint96" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "pause", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint32", - "name": "_timeout", - "type": "uint32" - }, - { - "internalType": "address", - "name": "_savingsVault", - "type": "address" - } - ], - "name": "setTimeout", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_vault", - "type": "address" - } - ], - "name": "timeout", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "unpause", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/src/abis/IndexRouter.json b/src/abis/IndexRouter.json index 1fa17e59..9e6b4eb9 100644 --- a/src/abis/IndexRouter.json +++ b/src/abis/IndexRouter.json @@ -1,67 +1,4 @@ [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "previousAdmin", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "newAdmin", - "type": "address" - } - ], - "name": "AdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "beacon", - "type": "address" - } - ], - "name": "BeaconUpgraded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "implementation", - "type": "address" - } - ], - "name": "Upgraded", - "type": "event" - }, { "inputs": [], "name": "WETH", @@ -95,7 +32,7 @@ "type": "address" } ], - "internalType": "struct IIndexRouter.BurnParams", + "internalType": "struct IIndexRouterV2.BurnParams", "name": "_params", "type": "tuple" } @@ -136,6 +73,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -147,12 +89,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.BurnQuoteParams[]", + "internalType": "struct IIndexRouterV2.BurnQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.BurnSwapParams", + "internalType": "struct IIndexRouterV2.BurnSwapParams", "name": "_params", "type": "tuple" } @@ -199,6 +141,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -210,12 +157,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.BurnQuoteParams[]", + "internalType": "struct IIndexRouterV2.BurnQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.BurnSwapParams", + "internalType": "struct IIndexRouterV2.BurnSwapParams", "name": "_params", "type": "tuple" } @@ -262,6 +209,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -273,12 +225,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.BurnQuoteParams[]", + "internalType": "struct IIndexRouterV2.BurnQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.BurnSwapParams", + "internalType": "struct IIndexRouterV2.BurnSwapParams", "name": "_params", "type": "tuple" }, @@ -345,6 +297,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -356,12 +313,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.BurnQuoteParams[]", + "internalType": "struct IIndexRouterV2.BurnQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.BurnSwapParams", + "internalType": "struct IIndexRouterV2.BurnSwapParams", "name": "_params", "type": "tuple" }, @@ -441,7 +398,7 @@ "type": "address" } ], - "internalType": "struct IIndexRouter.BurnParams", + "internalType": "struct IIndexRouterV2.BurnParams", "name": "_params", "type": "tuple" } @@ -477,7 +434,7 @@ "type": "address" } ], - "internalType": "struct IIndexRouter.BurnParams", + "internalType": "struct IIndexRouterV2.BurnParams", "name": "_params", "type": "tuple" }, @@ -545,7 +502,7 @@ "type": "address" } ], - "internalType": "struct IIndexRouter.MintParams", + "internalType": "struct IIndexRouterV2.MintParams", "name": "_params", "type": "tuple" } @@ -597,6 +554,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -608,12 +570,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.MintQuoteParams[]", + "internalType": "struct IIndexRouterV2.MintQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.MintSwapParams", + "internalType": "struct IIndexRouterV2.MintSwapParams", "name": "_params", "type": "tuple" } @@ -665,6 +627,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -676,12 +643,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.MintQuoteParams[]", + "internalType": "struct IIndexRouterV2.MintQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.MintSwapParams", + "internalType": "struct IIndexRouterV2.MintSwapParams", "name": "_params", "type": "tuple" } @@ -723,6 +690,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -734,12 +706,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.MintQuoteParams[]", + "internalType": "struct IIndexRouterV2.MintQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.MintSwapValueParams", + "internalType": "struct IIndexRouterV2.MintSwapValueParams", "name": "_params", "type": "tuple" } @@ -791,6 +763,11 @@ "name": "swapTarget", "type": "address" }, + { + "internalType": "address", + "name": "allowanceTarget", + "type": "address" + }, { "internalType": "uint256", "name": "buyAssetMinAmount", @@ -802,12 +779,12 @@ "type": "bytes" } ], - "internalType": "struct IIndexRouter.MintQuoteParams[]", + "internalType": "struct IIndexRouterV2.MintQuoteParams[]", "name": "quotes", "type": "tuple[]" } ], - "internalType": "struct IIndexRouter.MintSwapParams", + "internalType": "struct IIndexRouterV2.MintSwapParams", "name": "_params", "type": "tuple" }, @@ -843,19 +820,6 @@ "stateMutability": "nonpayable", "type": "function" }, - { - "inputs": [], - "name": "proxiableUUID", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "registry", @@ -868,40 +832,5 @@ ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newImplementation", - "type": "address" - } - ], - "name": "upgradeTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newImplementation", - "type": "address" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "upgradeToAndCall", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" } ] diff --git a/src/abis/PhuturePriceOracle.json b/src/abis/PhuturePriceOracle.json index e448a524..ed75ba0e 100644 --- a/src/abis/PhuturePriceOracle.json +++ b/src/abis/PhuturePriceOracle.json @@ -1,192 +1,4 @@ [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "previousAdmin", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "newAdmin", - "type": "address" - } - ], - "name": "AdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "beacon", - "type": "address" - } - ], - "name": "BeaconUpgraded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "implementation", - "type": "address" - } - ], - "name": "Upgraded", - "type": "event" - }, - { - "inputs": [], - "name": "base", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_asset", - "type": "address" - } - ], - "name": "containsOracleOf", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_baseAmount", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "_indexDecimals", - "type": "uint8" - } - ], - "name": "convertToIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_registry", - "type": "address" - }, - { - "internalType": "address", - "name": "_base", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_asset", - "type": "address" - } - ], - "name": "lastAssetPerBaseInUQ", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "priceOracleOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "proxiableUUID", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -205,99 +17,5 @@ ], "stateMutability": "nonpayable", "type": "function" - }, - { - "inputs": [], - "name": "registry", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_asset", - "type": "address" - } - ], - "name": "removeOracleOf", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_asset", - "type": "address" - }, - { - "internalType": "address", - "name": "_oracle", - "type": "address" - } - ], - "name": "setOracleOf", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "_interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newImplementation", - "type": "address" - } - ], - "name": "upgradeTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newImplementation", - "type": "address" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "upgradeToAndCall", - "outputs": [], - "stateMutability": "payable", - "type": "function" } ] diff --git a/src/abis/SavingsVault.json b/src/abis/SavingsVault.json deleted file mode 100644 index abb66ea9..00000000 --- a/src/abis/SavingsVault.json +++ /dev/null @@ -1,1410 +0,0 @@ -[ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "previousAdmin", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "newAdmin", - "type": "address" - } - ], - "name": "AdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "beacon", - "type": "address" - } - ], - "name": "BeaconUpgraded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "Deposit", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IWrappedfCashComplete", - "name": "_fCashPosition", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "_assetAmount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "_fCashAmount", - "type": "uint256" - } - ], - "name": "FCashMinted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "previousAdminRole", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "newAdminRole", - "type": "bytes32" - } - ], - "name": "RoleAdminChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleGranted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "RoleRevoked", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "implementation", - "type": "address" - } - ], - "name": "Upgraded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "caller", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "receiver", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "assets", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "Withdraw", - "type": "event" - }, - { - "inputs": [], - "name": "AUM_SCALED_PER_SECONDS_RATE", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BP", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BURNING_FEE_IN_BP", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "DEFAULT_ADMIN_ROLE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MINTING_FEE_IN_BP", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "SUPPORTED_MATURITIES", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "asset", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "name": "convertToAssets", - "outputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "assets", - "type": "uint256" - } - ], - "name": "convertToShares", - "outputs": [ - { - "internalType": "uint256", - "name": "shares", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "currencyId", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_assets", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_receiver", - "type": "address" - } - ], - "name": "deposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_assets", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_receiver", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_deadline", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "_v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "_r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_s", - "type": "bytes32" - } - ], - "name": "depositWithPermit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - } - ], - "name": "getRoleAdmin", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getfCashPositions", - "outputs": [ - { - "internalType": "address[2]", - "name": "", - "type": "address[2]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "grantRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_maxDepositedAmount", - "type": "uint256" - } - ], - "name": "harvest", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "hasRole", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_name", - "type": "string" - }, - { - "internalType": "string", - "name": "_symbol", - "type": "string" - }, - { - "internalType": "address", - "name": "_asset", - "type": "address" - }, - { - "internalType": "uint16", - "name": "_currencyId", - "type": "uint16" - }, - { - "internalType": "contract IWrappedfCashFactory", - "name": "_wrappedfCashFactory", - "type": "address" - }, - { - "internalType": "address", - "name": "_notionalRouter", - "type": "address" - }, - { - "internalType": "uint16", - "name": "_maxLoss", - "type": "uint16" - }, - { - "internalType": "address", - "name": "_feeRecipient", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "maxDeposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "maxLoss", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "maxMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "maxRedeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "maxWithdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_shares", - "type": "uint256" - }, - { - "internalType": "address", - "name": "receiver", - "type": "address" - } - ], - "name": "mint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "notionalRouter", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "deadline", - "type": "uint256" - }, - { - "internalType": "uint8", - "name": "v", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "r", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "s", - "type": "bytes32" - } - ], - "name": "permit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_assets", - "type": "uint256" - } - ], - "name": "previewDeposit", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_shares", - "type": "uint256" - } - ], - "name": "previewMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_shares", - "type": "uint256" - } - ], - "name": "previewRedeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_assets", - "type": "uint256" - } - ], - "name": "previewWithdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "proxiableUUID", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_shares", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_receiver", - "type": "address" - }, - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "redeem", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_shares", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_receiver", - "type": "address" - }, - { - "internalType": "address", - "name": "_owner", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_minOutputAmount", - "type": "uint256" - } - ], - "name": "redeemWithMinOutputAmount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "renounceRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "role", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "revokeRole", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_feeRecipient", - "type": "address" - } - ], - "name": "setFeeRecipient", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint16", - "name": "_maxLoss", - "type": "uint16" - } - ], - "name": "setMaxLoss", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "sortMarketsByOracleRate", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "maturity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "oracleRate", - "type": "uint256" - } - ], - "internalType": "struct ISavingsVault.NotionalMarket", - "name": "lowestYieldMarket", - "type": "tuple" - }, - { - "components": [ - { - "internalType": "uint256", - "name": "maturity", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "oracleRate", - "type": "uint256" - } - ], - "internalType": "struct ISavingsVault.NotionalMarket", - "name": "highestYieldMarket", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalAssets", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newImplementation", - "type": "address" - } - ], - "name": "upgradeTo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newImplementation", - "type": "address" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "upgradeToAndCall", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_assets", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_receiver", - "type": "address" - }, - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "name": "withdraw", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "wrappedfCashFactory", - "outputs": [ - { - "internalType": "contract IWrappedfCashFactory", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } -] diff --git a/src/abis/SavingsVaultViews.json b/src/abis/SavingsVaultViews.json deleted file mode 100644 index 6eac45b1..00000000 --- a/src/abis/SavingsVaultViews.json +++ /dev/null @@ -1,121 +0,0 @@ -[ - { - "inputs": [], - "name": "BP", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract ISavingsVaultViewer", - "name": "_savingsVault", - "type": "address" - } - ], - "name": "getAPY", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_savingsVault", - "type": "address" - } - ], - "name": "getHighestYieldMarketParameters", - "outputs": [ - { - "internalType": "uint256", - "name": "maturity", - "type": "uint256" - }, - { - "internalType": "uint32", - "name": "minImpliedRate", - "type": "uint32" - }, - { - "internalType": "uint16", - "name": "currencyId", - "type": "uint16" - }, - { - "internalType": "contract INotionalV2", - "name": "calculationViews", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_savingsVault", - "type": "address" - } - ], - "name": "getMaxDepositedAmount", - "outputs": [ - { - "internalType": "uint256", - "name": "maxDepositedAmount", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_savingsVault", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_percentage", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_steps", - "type": "uint256" - } - ], - "name": "scaleAmount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } -] diff --git a/src/account/account.ts b/src/account/account.ts deleted file mode 100644 index 50f84295..00000000 --- a/src/account/account.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { BigNumber, Signer } from 'ethers' - -import { Address } from '../types' - -/** ### Account class for interacting with the blockchain through the Signer */ -export class Account { - /** - * ### Constructs an instance of the Account class - * - * @param _signer The signer to use for the account - * - * @returns {Account} The account instance - */ - constructor(private _signer: Signer) {} - - /** - * ### Gets the signer used for the account - * - * @returns The signer used for the account - */ - get signer(): Signer { - return this._signer - } - - /** - * ### Sets the signer to use for the account - * - * @param _signer The signer to use for the account - */ - set signer(_signer: Signer) { - this._signer = _signer - } - - /** - * ### Gets the address of the current signer - * - * @returns The address of the current signer - */ - public async address(): Promise
{ - return this.signer.getAddress() - } - - /** - * ### Gets the balance of the current signer - * - * @returns The balance of the current signer - */ - public async balance(): Promise { - return this.signer.getBalance() - } - - /** - * ### Gets the gas price - * - * @returns The gas price - */ - public async gasPrice(): Promise { - return this.signer.getGasPrice() - } - - /** - * ### Gets the chain id - * - * @returns The chain id - */ - public async chainId(): Promise { - return this.signer.getChainId() - } -} diff --git a/src/account/index.ts b/src/account/index.ts deleted file mode 100644 index 8a695b2e..00000000 --- a/src/account/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './account' diff --git a/src/auto-router.ts b/src/auto-router.ts new file mode 100644 index 00000000..c49378a6 --- /dev/null +++ b/src/auto-router.ts @@ -0,0 +1,598 @@ +import { constants, BigNumber } from "ethers"; + +import type { TransactionResponse } from "@ethersproject/abstract-provider"; +import type { ZeroExAggregator2, ZeroExRequest } from "./0x-aggregator-2"; +import { Erc20 } from "./erc-20"; +import { InsufficientAllowanceError } from "./errors"; +import type { IndexRouter } from "./index-router"; +import { BaseIndex__factory, IndexHelper__factory, PhuturePriceOracle__factory } from "./typechain"; + +const NATIVE = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"; + +const baseMintGas = 260_000; +const additionalMintGasPerAsset = 125_000; + +const baseBurnGas = 100_000; +const additionalBurnGasPerAsset = 195_000; + +/** ### Default PhuturePriceOracle address for network */ +export const defaultPhuturePriceOracleAddress: Record = { + /** ### Default PhuturePriceOracle address on mainnet. */ + 1: "0x384ac33558821383ff4fc73d1dee3539a74bf540", + /** ### Default PhuturePriceOracle address on c-chain. */ + 43114: "0x69e848b2f41019340cec3e6696d5c937e74da96b", +}; + +/** ### Default IndexHelper address for network */ +export const defaultIndexHelperAddress: Record = { + /** ### Default IndexHelper address on mainnet. */ + 1: "0x76dd4189d73f07e7b11350cffc9b503627fc7a3b", + /** ### Default IndexHelper address on c-chain. */ + 43114: "0xacef72ef3afeb044845f0869586445e5c6c2504a", +}; + +/** ### AutoRouter class */ +export class AutoRouter { + /** + * ### Creates a new AutoRouter instance + * + * @param indexRouter instance of IndexRouter + * @param zeroExAggregator ZeroEx client + * + * @returns New AutoRouter instance + */ + constructor( + public readonly indexRouter: IndexRouter, + public readonly zeroExAggregator: ZeroExAggregator2, + ) {} + + /** + * ### Static auto Buy + * + * @param index index address or it's Index interface + * @param sellAmount amount in input token + * @param sellToken Erc20 or Erc20Permit interface of input token + * @param zeroExOptions 0x request options + * + * @returns output amount of Index + */ + async selectBuy( + indexToken: string, + sellAmount: string, + sellToken: string, + zeroExOptions?: Partial, + ): Promise<{ + isMint: boolean; + target: string; + buyAmount: BigNumber; + expectedAllowance?: string; + }> { + const sellTokenInstance = new Erc20(this.indexRouter.signer, sellToken); + const indexTokenInstance = BaseIndex__factory.connect(indexToken, this.indexRouter.signer); + + const chainId = await this.indexRouter.signer.getChainId(); + + const [zeroExSwap, amounts, wethAddress] = await Promise.all([ + this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken, + sellAmount, + buyToken: indexToken, + taker: await this.indexRouter.signer.getAddress(), + }), + this.indexRouter.getIndexAnatomy(indexTokenInstance), + this.indexRouter.contract.WETH(), + ]); + + const indexHelperAddress = defaultIndexHelperAddress[chainId]; + if (!indexHelperAddress) throw Error("No default IndexHelper found for chain"); + + const indexHelper = IndexHelper__factory.connect(indexHelperAddress, this.indexRouter.signer); + + const priceOracleAddress = defaultPhuturePriceOracleAddress[chainId]; + if (!priceOracleAddress) throw Error("No default PhuturePriceOracle found for chain"); + + const priceOracle = PhuturePriceOracle__factory.connect( + priceOracleAddress, + this.indexRouter.signer, + ); + + const quotes = await Promise.all( + amounts + .map(({ asset, weight }) => ({ + asset, + amount: BigNumber.from(sellAmount).mul(weight).div(255), + weight, + })) + .map(async ({ amount, asset }) => { + if (asset.toLowerCase() === sellToken.toLowerCase()) + return { + asset, + swapTarget: constants.AddressZero, + buyAssetMinAmount: amount, + assetQuote: [], + estimatedGas: 0, + allowanceTarget: constants.AddressZero, + }; + + const data = await this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken, + buyToken: asset, + sellAmount: amount.toString(), + taker: this.indexRouter.contract.address, + }); + + return { + asset, + swapTarget: data.transaction.to, + buyAssetMinAmount: data.minBuyAmount, + assetQuote: data.transaction.data, + estimatedGas: data.gas || 0, + allowanceTarget: data.issues?.allowance?.spender ?? data.transaction.to, + }; + }), + ); + + const [indexRouterMintOutputAmount, totalEvaluation, ethBasePrice] = await Promise.all([ + this.indexRouter.mintIndexAmount(indexToken, sellAmount, quotes, sellToken), + indexHelper.totalEvaluation(indexToken), + priceOracle.callStatic.refreshedAssetPerBaseInUQ(wethAddress), + ]); + + const totalMintGas = BigNumber.from( + quotes + .reduce((curr, acc) => curr.add(acc.estimatedGas), BigNumber.from(0)) + .add(baseMintGas + quotes.length * additionalMintGasPerAsset), + ); + + const gasDiffInEth = totalMintGas + .sub(zeroExSwap.transaction.gas || 0) + .mul(zeroExSwap.transaction.gasPrice); + + const buyAmountDiffInEth = indexRouterMintOutputAmount + .sub(zeroExSwap.buyAmount) + .mul(totalEvaluation._indexPriceInBase) + .div(BigNumber.from(10).pow(18)) // we know for sure all our indicies are 18d + .mul(ethBasePrice) + .div(BigNumber.from(2).pow(112)); + + const isMint = gasDiffInEth.lte(buyAmountDiffInEth); + + const target = isMint ? this.indexRouter.contract.address : zeroExSwap.transaction.to; + + let expectedAllowance: string | undefined; + if (sellToken.toLowerCase() !== NATIVE.toLowerCase()) { + try { + await sellTokenInstance.checkAllowance(target, sellAmount); + } catch (error) { + if (error instanceof InsufficientAllowanceError) { + expectedAllowance = error.expectedAllowance; + } else { + throw error; + } + } + } + + return { + isMint, + target, + buyAmount: isMint ? indexRouterMintOutputAmount : BigNumber.from(zeroExSwap.buyAmount), + expectedAllowance, + }; + } + + /** + * ### Auto Buy + * + * @param isMint true if minting, false if swapping + * @param index index address or it's Index interface + * @param sellAmount amount in input token + * @param sellToken Erc20 or Erc20Permit interface of input token + * @param options 0x request options and permit options for transaction + * + * @returns mint or swap transaction + */ + async buy( + isMint: boolean, + indexToken: string, + sellAmount: string, + sellToken: string, + zeroExOptions?: Partial, + ): Promise { + return isMint + ? this.buyMint(indexToken, sellAmount, sellToken, zeroExOptions) + : this.buySwap(indexToken, sellAmount, sellToken, zeroExOptions); + } + + public async buyMint( + indexToken: string, + sellAmount: string, + sellToken: string, + zeroExOptions?: Partial, + ): Promise { + const chainId = await this.indexRouter.signer.getChainId(); + const recipient = await this.indexRouter.signer.getAddress(); + + const indexTokenInstance = BaseIndex__factory.connect(indexToken, this.indexRouter.signer); + + const amounts = await this.indexRouter.getIndexAnatomy(indexTokenInstance); + const isNativeSell = sellToken.toLowerCase() === NATIVE.toLowerCase(); + + const routerSellTokenAddress = isNativeSell + ? await this.indexRouter.contract.WETH() + : sellToken; + + const buyAmounts = await Promise.all( + amounts + .map(({ asset, weight }) => ({ + asset, + amount: BigNumber.from(sellAmount).mul(weight).div(255), + weight, + })) + .map(async ({ asset, amount }) => { + if (asset === sellToken || amount.isZero()) + return { + asset, + swapTarget: constants.AddressZero, + buyAssetMinAmount: amount, + assetQuote: [], + estimatedGas: 0, + }; + + const data = await this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken: routerSellTokenAddress, + buyToken: asset, + sellAmount: amount.toString(), + taker: this.indexRouter.contract.address, + }); + + return { + asset, + swapTarget: data.transaction.to, + buyAssetMinAmount: data.minBuyAmount, + assetQuote: data, + estimatedGas: data.gas || 0, + }; + }), + ); + + const priceOracleAddress = defaultPhuturePriceOracleAddress[chainId]; + if (!priceOracleAddress) throw Error("No default PhuturePriceOracle found for chain"); + + const priceOracle = PhuturePriceOracle__factory.connect( + priceOracleAddress, + this.indexRouter.signer, + ); + + const buyAmountsInBase = await Promise.all( + buyAmounts.map(async ({ asset, buyAssetMinAmount }, amountIndex) => { + const price = await priceOracle.callStatic.refreshedAssetPerBaseInUQ(asset); + return { + asset, + buyAmount: BigNumber.from(buyAssetMinAmount) + .mul(BigNumber.from(2).pow(112)) + .mul(255) + .div(price.mul(amounts[amountIndex]!.weight)), + }; + }), + ); + + const minAmount = buyAmountsInBase.reduce((min, curr) => + min.buyAmount.lte(curr.buyAmount) ? min : curr, + ); + + const scaledSellAmounts = Object.values( + amounts.map(({ asset, weight }) => ({ + asset, + amount: BigNumber.from(sellAmount).mul(weight).div(255), + weight, + })), + ).map(({ amount }, i) => amount.mul(minAmount.buyAmount).div(buyAmountsInBase[i].buyAmount)); + + const quotes = await Promise.all( + amounts.map(async ({ asset }, i) => { + const scaledSellAmount = scaledSellAmounts[i] as BigNumber; + if (asset === sellToken || scaledSellAmount.isZero()) + return { + asset, + swapTarget: constants.AddressZero, + buyAssetMinAmount: scaledSellAmounts[i]!, + assetQuote: [], + estimatedGas: 0, + allowanceTarget: constants.AddressZero, + }; + + const data = await this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken: routerSellTokenAddress, + sellAmount: scaledSellAmount.toString(), + buyToken: asset, + taker: this.indexRouter.contract.address, + }); + + return { + asset, + swapTarget: data.transaction.to, + buyAssetMinAmount: data.minBuyAmount, + assetQuote: data.transaction.data, + estimatedGas: data.gas || "0", + allowanceTarget: data.issues?.allowance?.spender ?? data.transaction.to, + }; + }), + ); + + sellAmount = scaledSellAmounts + .reduce((sum, curr) => sum.add(curr), BigNumber.from(0)) + .toString(); + + const mintOptions = { + index: indexToken, + recipient, + quotes, + amountInInputToken: sellAmount, + inputToken: routerSellTokenAddress, + }; + + return isNativeSell + ? this.indexRouter.mintSwapValue(mintOptions, sellAmount) + : this.indexRouter.mintSwap(mintOptions, sellAmount, sellToken); + } + + public async buySwap( + indexToken: string, + sellAmount: string, + sellToken: string, + zeroExOptions?: Partial, + ): Promise { + const chainId = await this.indexRouter.signer.getChainId(); + const taker = await this.indexRouter.signer.getAddress(); + + const data = await this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken, + sellAmount, + buyToken: indexToken, + taker, + }); + + // TODO: catch InsufficientAllowanceError from ZeroEx + + return await this.indexRouter.signer.sendTransaction({ + to: data.transaction.to, + data: data.transaction.data, + gasLimit: BigNumber.from(data.transaction.gas).toHexString(), + ...(sellToken.toLowerCase() !== NATIVE.toLowerCase() + ? {} + : { value: data.transaction.value }), // TODO + }); + } + + /** + * ### Static auto Sell + * + * @param index index address or it's Index interface + * @param indexAmount amount in index token + * @param buyToken instance or address of output token + * @param options 0x request options + * + * @returns output token amount + */ + async selectSell( + indexToken: string, + sellAmount: string, + buyToken: string, + zeroExOptions?: Partial, + ): Promise<{ + isBurn: boolean; + buyAmount: BigNumber; + target: string; + expectedAllowance?: string; + }> { + const indexTokenInstance = new Erc20(this.indexRouter.signer, indexToken); + + const chainId = await this.indexRouter.signer.getChainId(); + let buyTokenInstance: Erc20; + let buyTokenPriceEth = BigNumber.from(10).pow(18).toString(); + if (buyToken === NATIVE) { + buyTokenInstance = new Erc20(this.indexRouter.signer, await this.indexRouter.contract.WETH()); + } else { + buyTokenInstance = new Erc20(this.indexRouter.signer, buyToken); + const data = await this.zeroExAggregator.allowanceHolderPrice({ + ...zeroExOptions, + chainId, + sellToken: buyTokenInstance.contract.address, + buyToken: await this.indexRouter.contract.WETH(), + sellAmount: BigNumber.from(10) + .pow(await buyTokenInstance.contract.decimals()) + .toString(), + }); + buyTokenPriceEth = data.minBuyAmount; + } + + const taker = await this.indexRouter.signer.getAddress(); + + const [zeroExSwap, amounts] = await Promise.all([ + this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken: indexToken, + buyToken, + sellAmount, + taker, + }), + this.indexRouter.burnTokensAmount(indexToken, sellAmount), + ]); + + const prices = await Promise.all( + amounts.map(async ({ amount, asset }) => { + if (asset.toLowerCase() === buyToken.toLowerCase()) { + return { + minBuyAmount: 0, + gas: 0, + }; + } + + if (!amount || amount.isZero()) { + return { + minBuyAmount: 0, + gas: 0, + }; + } + + return this.zeroExAggregator.allowanceHolderPrice({ + ...zeroExOptions, + chainId, + sellToken: asset, + buyToken, + sellAmount: amount.mul(999).div(1000).toString(), + }); + }), + ); + + const indexRouterBurnOutputAmount = prices.reduce( + (acc, { minBuyAmount }) => acc.add(minBuyAmount), + BigNumber.from(0), + ); + + const totalBurnGas = BigNumber.from( + prices + .reduce((curr, { gas }) => curr.add(gas ?? 0), BigNumber.from(0)) + .add(baseBurnGas + prices.length * additionalBurnGasPerAsset), + ); + + const burnNet = indexRouterBurnOutputAmount.sub( + totalBurnGas.mul(zeroExSwap.transaction.gasPrice), + ); + const zeroExNet = BigNumber.from(buyTokenPriceEth).sub( + BigNumber.from(zeroExSwap.transaction.gas || 0).mul(zeroExSwap.transaction.gasPrice), + ); + + const isBurn = burnNet.gte(zeroExNet); + + const target = isBurn ? this.indexRouter.contract.address : zeroExSwap.transaction.to; + let expectedAllowance: string | undefined; + try { + await indexTokenInstance.checkAllowance(target, sellAmount); + } catch (error) { + if (error instanceof InsufficientAllowanceError) { + expectedAllowance = error.expectedAllowance; + } else { + throw error; + } + } + + return { + isBurn, + target, + buyAmount: isBurn ? indexRouterBurnOutputAmount : BigNumber.from(zeroExSwap.buyAmount), + expectedAllowance, + }; + } + + /** + * ### Auto Sell + * + * @param isBurn true if burn, false if swap + * @param index index interface + * @param indexAmount amount in index token + * @param buyToken instance or address of output token + * @param options 0x request and zeroEx options + * + * @returns burn or swap transaction + */ + async sell( + isBurn: boolean, + indexToken: string, + sellAmount: string, + buyToken: string, + zeroExOptions?: Partial, + ): Promise { + return isBurn + ? this.sellBurn(indexToken, sellAmount, buyToken, zeroExOptions) + : this.sellSwap(indexToken, sellAmount, buyToken, zeroExOptions); + } + + public async sellBurn( + indexToken: string, + sellAmount: string, + buyToken: string, + zeroExOptions?: Partial, + ): Promise { + const recipient = await this.indexRouter.signer.getAddress(); + const chainId = await this.indexRouter.signer.getChainId(); + + const isBuyingNative = buyToken.toLowerCase() === NATIVE.toLowerCase(); + const routerBuyToken = isBuyingNative ? await this.indexRouter.contract.WETH() : buyToken; + + const amounts = await this.indexRouter.burnAmount(indexToken, sellAmount); + + const quotes = await Promise.all( + amounts.map(async ({ amount, asset }) => { + if (!amount || amount.isZero() || asset.toLowerCase() === routerBuyToken.toLowerCase()) { + return { + swapTarget: constants.AddressZero, + assetQuote: [], + buyAssetMinAmount: 0, + estimatedGas: 0, + allowanceTarget: constants.AddressZero, + }; + } + + const data = await this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken: asset, + buyToken: routerBuyToken, + sellAmount: amount.mul(999).div(1000).toString(), + taker: this.indexRouter.contract.address, + }); + + return { + swapTarget: data.transaction.to, + buyAssetMinAmount: data.minBuyAmount, + assetQuote: data.transaction.data, + estimatedGas: data.transaction.gas, + allowanceTarget: data.issues?.allowance?.spender ?? data.transaction.to, + }; + }), + ); + + return isBuyingNative + ? this.indexRouter.burnSwapValue(indexToken, sellAmount, recipient, routerBuyToken, quotes) + : this.indexRouter.burnSwap(indexToken, sellAmount, recipient, routerBuyToken, quotes); + } + + public async sellSwap( + indexAddress: string, + sellAmount: string, + buyToken: string, + zeroExOptions?: Partial, + ): Promise { + const chainId = await this.indexRouter.signer.getChainId(); + const taker = await this.indexRouter.signer.getAddress(); + + const data = await this.zeroExAggregator.allowanceHolderQuote({ + ...zeroExOptions, + chainId, + sellToken: indexAddress, + sellAmount, + buyToken, + taker, + }); + + // TODO: catch InsufficientAllowanceError from ZeroExAggregator + + return this.indexRouter.signer.sendTransaction({ + to: data.transaction.to, + data: data.transaction.data, + gasLimit: BigNumber.from(data.transaction.gas).toHexString(), + }); + } +} diff --git a/src/auto-router/auto-router.ts b/src/auto-router/auto-router.ts deleted file mode 100644 index f0fbc5a9..00000000 --- a/src/auto-router/auto-router.ts +++ /dev/null @@ -1,627 +0,0 @@ -import { TransactionResponse } from '@ethersproject/abstract-provider' -import { BigNumber, BigNumberish, constants } from 'ethers' - -import { Zero0xQuoteOptions, ZeroExAggregator } from '../0x-aggregator' -import { Erc20, StandardPermitArguments } from '../erc-20' -import { InsufficientAllowanceError } from '../errors' -import { IndexRouter } from '../index-router' -import { getDefaultPriceOracle } from '../price-oracle' -import { getDefaultIndexHelper, Index } from '../products/index' -import { Router } from '../router' -import { Address, ChainId, ChainIds, TokenSymbol } from '../types' - -const baseMintGas = 260_000 -const additionalMintGasPerAsset = (network: ChainId): number => { - const gas = { - [ChainIds.Mainnet]: 148_000, - [ChainIds.CChain]: 105_000, - }[network] - - return gas || 135_000 -} - -const baseBurnGas = 100_000 -const additionalBurnGasPerAsset = (network: ChainId) => { - const gas = { - [ChainIds.Mainnet]: 234_000, - [ChainIds.CChain]: 192_000, - }[network] - - return gas || 300_000 -} - -export const nativeTokenSymbol = (network: ChainId): TokenSymbol => { - const symbol = { - [ChainIds.Mainnet]: 'ETH', - [ChainIds.CChain]: 'AVAX', - }[network] - - if (!symbol) throw new Error(`Unsupported network: ${network}`) - - return symbol -} - -/** ### AutoRouter class */ -export class AutoRouter implements Router { - /** - * ### Creates a new AutoRouter instance - * - * @param indexRouter instance of IndexRouter - * @param zeroExAggregator ZeroEx client - * - * @returns New AutoRouter instance - */ - constructor( - public readonly indexRouter: IndexRouter, - public readonly zeroExAggregator: ZeroExAggregator, - ) {} - - /** - * ### Static auto Buy - * - * @param index index address or it's Index interface - * @param amountInInputToken amount in input token - * @param inputToken Erc20 or Erc20Permit interface of input token - * @param options 0x request options - * - * @returns output amount of Index - */ - async selectBuy( - index: Index, - amountInInputToken: BigNumberish, - inputToken?: Erc20, - options?: Partial, - ): Promise<{ - isMint: boolean - target: Address - outputAmount: BigNumber - expectedAllowance?: BigNumber - }> { - const [zeroExSwap, amounts, IndexHelper, priceOracle, wethAddress] = - await Promise.all([ - this.zeroExAggregator.quote( - inputToken?.address || - nativeTokenSymbol(await index.account.chainId()), - index.address, - amountInInputToken, - options, - ), - index.scaleAmount(amountInInputToken), - getDefaultIndexHelper(index.account), - getDefaultPriceOracle(index.account), - this.indexRouter.weth(), - ]) - - const inputTokenAddress = inputToken?.address || wethAddress - - const quotes = await Promise.all( - amounts.map(async ({ amount, asset }) => { - if (asset === inputTokenAddress) - return { - asset, - swapTarget: constants.AddressZero, - buyAssetMinAmount: amount, - assetQuote: [], - estimatedGas: 0, - } - - const { to, buyAmount, data, estimatedGas } = - await this.zeroExAggregator.quote( - inputTokenAddress, - asset, - amount, - options, - ) - - return { - asset, - swapTarget: to, - buyAssetMinAmount: buyAmount, - assetQuote: data, - estimatedGas, - } - }), - ) - - const [indexRouterMintOutputAmount, totalEvaluation, ethBasePrice] = - await Promise.all([ - this.indexRouter.mintIndexAmount( - index.address, - amountInInputToken, - quotes, - inputToken?.address, - ), - IndexHelper.contract.totalEvaluation(index.address), - priceOracle.contract.callStatic.refreshedAssetPerBaseInUQ(wethAddress), - ]) - - const totalMintGas = BigNumber.from( - quotes - .reduce((curr, acc) => curr.add(acc.estimatedGas), BigNumber.from(0)) - .add( - baseMintGas + - quotes.length * - additionalMintGasPerAsset(await index.account.chainId()), - ), - ) - - const gasDiffInEth = totalMintGas - .sub(zeroExSwap.estimatedGas) - .mul(zeroExSwap.gasPrice) - - const outputAmountDiffInEth = indexRouterMintOutputAmount - .sub(zeroExSwap.buyAmount) - .mul(totalEvaluation._indexPriceInBase) - .div(BigNumber.from(10).pow(await index.decimals())) - .mul(ethBasePrice) - .div(BigNumber.from(2).pow(112)) - - const isMint = gasDiffInEth.lte(outputAmountDiffInEth) - const target = isMint ? this.indexRouter.address : zeroExSwap.to - - let expectedAllowance: BigNumber | undefined - if (inputToken) { - try { - await inputToken.checkAllowance(target, amountInInputToken) - } catch (error) { - if (error instanceof InsufficientAllowanceError) { - expectedAllowance = error.expectedAllowance - } else { - throw error - } - } - } - - return { - isMint, - target, - outputAmount: isMint - ? indexRouterMintOutputAmount - : BigNumber.from(zeroExSwap.buyAmount), - expectedAllowance, - } - } - - /** - * ### Auto Buy - * - * @param isMint true if minting, false if swapping - * @param index index address or it's Index interface - * @param amountInInputToken amount in input token - * @param inputToken Erc20 or Erc20Permit interface of input token - * @param options 0x request options and permit options for transaction - * - * @returns mint or swap transaction - */ - async buy( - isMint: boolean, - index: Index, - amountInInputToken: BigNumberish, - inputToken?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise { - if (isMint) - return this.buyMint(index, amountInInputToken, inputToken, options) - - return this.buySwap( - index.address, - amountInInputToken, - inputToken, - options?.zeroExOptions, - ) - } - - public async buyMint( - index: Index, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise { - const amounts = await index.scaleAmount(amountInInputToken) - - const routerInputTokenAddress = - inputTokenAddress || (await this.indexRouter.weth()) - const buyAmounts = await Promise.all( - amounts.map(async ({ asset, amount }) => { - if (asset === routerInputTokenAddress || amount.isZero()) - return { - asset, - swapTarget: constants.AddressZero, - buyAssetMinAmount: amount, - assetQuote: [], - estimatedGas: 0, - } - - const { to, buyAmount, data, estimatedGas } = - await this.zeroExAggregator.quote( - routerInputTokenAddress, - asset, - amount, - options?.zeroExOptions, - ) - - return { - asset, - swapTarget: to, - buyAssetMinAmount: buyAmount, - assetQuote: data, - estimatedGas, - } - }), - ) - - const priceOracle = await getDefaultPriceOracle(this.indexRouter.account) - const buyAmountsInBase = await Promise.all( - buyAmounts.map(async ({ asset, buyAssetMinAmount }, amountIndex) => { - const price = - await priceOracle.contract.callStatic.refreshedAssetPerBaseInUQ(asset) - return { - asset, - buyAmount: BigNumber.from(buyAssetMinAmount) - .mul(BigNumber.from(2).pow(112)) - .mul(255) - .div(price.mul(amounts[amountIndex]!.weight)), - } - }), - ) - - const minAmount = buyAmountsInBase.reduce((min, curr) => - min.buyAmount.lte(curr.buyAmount) ? min : curr, - ) - - const scaledSellAmounts = Object.values(amounts).map(({ amount }, i) => - amount.mul(minAmount.buyAmount).div(buyAmountsInBase[i]!.buyAmount), - ) - - const quotes = await Promise.all( - amounts.map(async ({ asset }, i) => { - const scaledSellAmount = scaledSellAmounts[i] as BigNumber - if (asset === routerInputTokenAddress || scaledSellAmount.isZero()) - return { - asset, - swapTarget: constants.AddressZero, - buyAssetMinAmount: scaledSellAmounts[i]!, - assetQuote: [], - estimatedGas: 0, - } - - const { - buyAmount, - to: swapTarget, - data: assetQuote, - estimatedGas, - } = await this.zeroExAggregator.quote( - routerInputTokenAddress, - asset, - scaledSellAmount, - options?.zeroExOptions, - ) - - let buyAssetMinAmount = BigNumber.from(buyAmount) - if (options?.zeroExOptions?.slippagePercentage) { - buyAssetMinAmount = buyAssetMinAmount - .mul(1000 - options?.zeroExOptions?.slippagePercentage * 1000) - .div(1000) - } - - return { - asset, - buyAssetMinAmount, - swapTarget, - assetQuote, - estimatedGas, - } - }), - ) - - amountInInputToken = scaledSellAmounts.reduce( - (sum, curr) => sum.add(curr), - BigNumber.from(0), - ) - - const mintOptions = { - index: index.address, - recipient: await this.indexRouter.account.address(), - quotes, - amountInInputToken, - inputToken: routerInputTokenAddress, - } - - return this.indexRouter.mintSwap( - mintOptions, - amountInInputToken, - inputTokenAddress, - options?.permitOptions, - ) - } - - public async buySwap( - indexAddress: Address, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - zeroExOptions?: Partial, - ): Promise { - const { to, sellAmount, data, estimatedGas } = - await this.zeroExAggregator.quote( - inputTokenAddress || - nativeTokenSymbol(await this.indexRouter.account.chainId()), - indexAddress, - amountInInputToken, - { - ...zeroExOptions, - takerAddress: await this.indexRouter.account.address(), - }, - ) - - // TODO: catch InsufficientAllowanceError from ZeroExAggregator instead - // if (inputToken) - // await inputToken.checkAllowance(to, sellAmount); - - return this.indexRouter.account.signer.sendTransaction({ - to, - data, - gasLimit: BigNumber.from(estimatedGas).toHexString(), - ...(inputTokenAddress - ? {} - : { value: BigNumber.from(sellAmount).toHexString() }), - }) - } - - /** - * ### Static auto Sell - * - * @param index index address or it's Index interface - * @param indexAmount amount in index token - * @param outputToken instance or address of output token - * @param options 0x request options - * - * @returns output token amount - */ - async selectSell( - index: Index, - indexAmount: BigNumberish, - outputToken?: Erc20, - options?: Partial, - ): Promise<{ - isBurn: boolean - outputAmount: BigNumber - target: Address - expectedAllowance?: BigNumber - }> { - let outputTokenAddress: Address - let outputTokenPriceEth: BigNumber = BigNumber.from(10).pow(18) - - if (outputToken) { - outputTokenAddress = outputToken.address - const { buyAmount } = await this.zeroExAggregator.price( - outputToken.address, - await this.indexRouter.weth(), - BigNumber.from(10).pow(await outputToken.decimals()), - options, - ) - - outputTokenPriceEth = BigNumber.from(buyAmount) - } else { - outputTokenAddress = await this.indexRouter.weth() - outputToken = new Erc20( - this.indexRouter.account, - await this.indexRouter.weth(), - ) - } - - const [zeroExSwap, amounts] = await Promise.all([ - this.zeroExAggregator.quote( - index.address, - outputTokenAddress || - nativeTokenSymbol(await this.indexRouter.account.chainId()), - indexAmount, - options, - ), - this.indexRouter.burnTokensAmount(index, indexAmount), - ]) - - const prices = await Promise.all( - amounts.map(async ({ amount, asset }) => { - if (asset === outputTokenAddress) { - return { - buyAmount: amount, - estimatedGas: 0, - } - } - - if (!amount || amount.isZero()) { - return { - buyAmount: 0, - estimatedGas: 0, - } - } - - return this.zeroExAggregator.price( - asset, - outputTokenAddress, - amount.mul(999).div(1000), - options, - ) - }), - ) - - const indexRouterBurnOutputAmount = prices.reduce( - (acc, { buyAmount }) => acc.add(buyAmount), - BigNumber.from(0), - ) - - const totalBurnGas = BigNumber.from( - prices - .reduce( - (curr, { estimatedGas }) => curr.add(estimatedGas), - BigNumber.from(0), - ) - .add( - baseBurnGas + - prices.length * - additionalBurnGasPerAsset( - await this.indexRouter.account.chainId(), - ), - ), - ) - - const isBurn = totalBurnGas - .sub(zeroExSwap.estimatedGas) - .mul(zeroExSwap.gasPrice) - .lte( - indexRouterBurnOutputAmount - .sub(zeroExSwap.buyAmount) - .mul(outputTokenPriceEth) - .div( - BigNumber.from(10).pow( - outputToken ? await outputToken.decimals() : 18, - ), - ), - ) - - const target = isBurn ? this.indexRouter.address : zeroExSwap.to - let expectedAllowance: BigNumber | undefined - try { - await index.checkAllowance(target, indexAmount) - } catch (error) { - if (error instanceof InsufficientAllowanceError) { - expectedAllowance = error.expectedAllowance - } else { - throw error - } - } - - return { - isBurn, - target, - outputAmount: isBurn - ? indexRouterBurnOutputAmount - : BigNumber.from(zeroExSwap.buyAmount), - expectedAllowance, - } - } - - /** - * ### Auto Sell - * - * @param isBurn true if burn, false if swap - * @param index index nterface - * @param indexAmount amount in index token - * @param outputTokenAddress instance or address of output token - * @param options 0x request and zeroEx options - * - * @returns burn or swap transaction - */ - async sell( - isBurn: boolean, - index: Index, - indexAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise { - if (isBurn) - return this.sellBurn(index, indexAmount, outputTokenAddress, options) - - return this.sellSwap( - index.address, - indexAmount, - outputTokenAddress, - options?.zeroExOptions, - ) - } - - public async sellBurn( - index: Index, - indexAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise { - const amounts = await this.indexRouter.burnAmount(index, indexAmount) - - const routerOutputTokenAddress = - outputTokenAddress || (await this.indexRouter.weth()) - const quotes = await Promise.all( - amounts.map(async ({ amount, asset }) => { - if (!amount || amount.isZero() || asset === routerOutputTokenAddress) { - return { - swapTarget: constants.AddressZero, - assetQuote: [], - buyAssetMinAmount: 0, - estimatedGas: 0, - } - } - - const { - buyAmount, - to: swapTarget, - data: assetQuote, - estimatedGas, - } = await this.zeroExAggregator.quote( - asset, - routerOutputTokenAddress, - amount.mul(999).div(1000), - options?.zeroExOptions, - ) - - const buyAssetMinAmount = options?.zeroExOptions?.slippagePercentage - ? BigNumber.from(buyAmount) - .mul(1000 - options?.zeroExOptions?.slippagePercentage * 1000) - .div(1000) - : buyAmount - return { - swapTarget, - buyAssetMinAmount, - assetQuote, - estimatedGas, - } - }), - ) - - return this.indexRouter.burnSwap( - index.address, - indexAmount, - await this.indexRouter.account.address(), - { - outputAsset: outputTokenAddress, - quotes, - permitOptions: options?.permitOptions, - }, - ) - } - - public async sellSwap( - indexAddress: Address, - indexAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial, - ): Promise { - const { to, data, estimatedGas } = await this.zeroExAggregator.quote( - indexAddress, - outputTokenAddress || - nativeTokenSymbol(await this.indexRouter.account.chainId()), - indexAmount, - { ...options, takerAddress: await this.indexRouter.account.address() }, - ) - - // TODO: catch InsufficientAllowanceError from ZeroExAggregator instead - // await index.checkAllowance(zeroExSwap.to, zeroExSwap.sellAmount); - - return this.indexRouter.account.signer.sendTransaction({ - to, - data, - gasLimit: BigNumber.from(estimatedGas).toHexString(), - }) - } -} diff --git a/src/auto-router/index.ts b/src/auto-router/index.ts deleted file mode 100644 index f3d288fc..00000000 --- a/src/auto-router/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './auto-router' diff --git a/src/contract/contract.ts b/src/contract/contract.ts deleted file mode 100644 index 73d634c9..00000000 --- a/src/contract/contract.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Contract as EthersContract } from 'ethers' - -import { Account } from '../account' -import type { Address, ContractFactory } from '../types' -import { isAddress } from '../types' - -/** ### Contract Instance */ -export class Contract { - /** ### Contract instance */ - public contract: C - - /** - * ### Constructs an instance of the contract class - * - * @param _account Account used for interacting with the contract - * @param contract Contract or contract address to interact with - * @param contractFactory Factory for creating the contract - * - * @returns {Contract} The contract instance - */ - constructor( - private _account: Account, - contract: C | Address, - protected readonly contractFactory: ContractFactory, - ) { - this.contract = isAddress(contract) - ? (contractFactory.connect(contract, _account.signer) as C) - : contract - } - - /** - * ### Get the address of the contract - * - * @returns Address of the contract - */ - get address(): Address { - return this.contract.address - } - - /** - * ### Set the address of the contract - * - * @param address Address of the contract - */ - set address(address: Address) { - this.contract = this.contractFactory.connect( - address, - this._account.signer, - ) as C - } - - /** - * ### Get the signer used for interacting with the contract - * - * @returns Signer used for interacting with the contract - */ - get account(): Account { - return this._account - } - - /** - * ### Set the signer used for interacting with the contract - * - * @param account Account used for interacting with the contract - */ - set account(account: Account) { - this._account = account - this.contract = this.contractFactory.connect( - this.address, - account.signer, - ) as C - } -} diff --git a/src/contract/index.ts b/src/contract/index.ts deleted file mode 100644 index da4753bb..00000000 --- a/src/contract/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './contract' diff --git a/src/erc-20.ts b/src/erc-20.ts new file mode 100644 index 00000000..03e46037 --- /dev/null +++ b/src/erc-20.ts @@ -0,0 +1,41 @@ +import type { JsonRpcSigner } from "@ethersproject/providers"; + +import { InsufficientAllowanceError } from "./errors"; +import { type ERC20 as ERC20ContractInterface, ERC20__factory } from "./typechain"; + +/** ### ERC20 Token Contract */ +export class Erc20 { + public contract: ERC20ContractInterface; + + /** + * ### Creates a new ERC20 instance + * + * @param signer Account to use for signing + * @param contract Contract instance or address of the ERC20 contract + * + * @returns New ERC20 token instance + */ + constructor( + public signer: JsonRpcSigner, + contract: string, + ) { + this.contract = ERC20__factory.connect(contract, signer); + } + + /** + * ### Check Allowance + * + * @param account Address of the account + * @param expectedAmount Amount of tokens to check + * + * @returns true if the account has enough tokens to transfer the amount + */ + public async checkAllowance(account: string, expectedAmount: string): Promise { + const allowance = await this.contract.allowance(await this.signer.getAddress(), account); + + if (allowance.lt(expectedAmount)) + throw new InsufficientAllowanceError(account, expectedAmount, allowance.toString()); + + return true; + } +} diff --git a/src/erc-20/addresses.ts b/src/erc-20/addresses.ts deleted file mode 100644 index 80fbc8cb..00000000 --- a/src/erc-20/addresses.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Address, ChainIds, TokenSymbol } from '../types' - -/** ### Default addresses for network ### */ -export const Addresses: { - [K: string]: Record -} = { - /** ### Default addresses on mainnet. */ - [ChainIds.Mainnet]: { - USDC: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', - WETH: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', - }, - [ChainIds.CChain]: { - USDC: '0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e', - }, -} diff --git a/src/erc-20/erc-20-permit.ts b/src/erc-20/erc-20-permit.ts deleted file mode 100644 index 2d3ba887..00000000 --- a/src/erc-20/erc-20-permit.ts +++ /dev/null @@ -1,237 +0,0 @@ -import { Interface } from '@ethersproject/abi' -import { BigNumber, BigNumberish } from 'ethers' - -import { Account } from '../account' -import { - ERC20Permit as ERC20PermitContractInterface, - ERC20Permit__factory, -} from '../typechain' -import { Address, ContractFactory, isAddress, Signature } from '../types' - -import { Erc20 } from './erc-20' - -/** ### Standard permit arguments */ -export interface StandardPermitArguments extends Signature { - amount: BigNumberish - deadline: BigNumberish -} - -/** ### Allowed permit arguments */ -export interface AllowedPermitArguments extends Signature { - nonce: BigNumberish - expiry: BigNumberish -} - -/** ### Erc20Permit options type */ -export type PermitOptions = StandardPermitArguments | AllowedPermitArguments - -/** - * ### Function to check if permit parameters are type of allowed - * @param options Permit options - * @returns True if options are allowed, false otherwise - */ -const isAllowedPermit = ( - options: PermitOptions, -): options is AllowedPermitArguments => 'nonce' in options - -/** ### Erc20Permit Contract Interface */ -const permitInterface = new Interface([ - { - inputs: [ - { - internalType: 'address', - name: 'token', - type: 'address', - }, - { - internalType: 'uint256', - name: 'value', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'deadline', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'v', - type: 'uint8', - }, - { - internalType: 'bytes32', - name: 'r', - type: 'bytes32', - }, - { - internalType: 'bytes32', - name: 's', - type: 'bytes32', - }, - ], - name: 'selfPermit', - outputs: [], - stateMutability: 'payable', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'token', - type: 'address', - }, - { - internalType: 'uint256', - name: 'nonce', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'expiry', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'v', - type: 'uint8', - }, - { - internalType: 'bytes32', - name: 'r', - type: 'bytes32', - }, - { - internalType: 'bytes32', - name: 's', - type: 'bytes32', - }, - ], - name: 'selfPermitAllowed', - outputs: [], - stateMutability: 'payable', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'token', - type: 'address', - }, - { - internalType: 'uint256', - name: 'nonce', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'expiry', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'v', - type: 'uint8', - }, - { - internalType: 'bytes32', - name: 'r', - type: 'bytes32', - }, - { - internalType: 'bytes32', - name: 's', - type: 'bytes32', - }, - ], - name: 'selfPermitAllowedIfNecessary', - outputs: [], - stateMutability: 'payable', - type: 'function', - }, - { - inputs: [ - { - internalType: 'address', - name: 'token', - type: 'address', - }, - { - internalType: 'uint256', - name: 'value', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'deadline', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'v', - type: 'uint8', - }, - { - internalType: 'bytes32', - name: 'r', - type: 'bytes32', - }, - { - internalType: 'bytes32', - name: 's', - type: 'bytes32', - }, - ], - name: 'selfPermitIfNecessary', - outputs: [], - stateMutability: 'payable', - type: 'function', - }, -]) - -/** - * ### Encodes permit data for given erc20 contract and options - * @param erc20 Erc20 contract instance of contract address - */ -export const encodePermit = - (erc20: Erc20 | Address) => - (options: PermitOptions): string => { - const [functionName, amount, deadline] = isAllowedPermit(options) - ? ['selfPermitAllowed', options.nonce, options.expiry] - : ['selfPermit', options.amount, options.deadline] - - return permitInterface.encodeFunctionData(functionName, [ - isAddress(erc20) ? erc20 : erc20.address, - BigNumber.from(amount).toHexString(), - BigNumber.from(deadline).toHexString(), - options.v, - options.r, - options.s, - ]) - } - -/** ### Erc20Permit Token Contract */ -export class Erc20Permit< - C extends ERC20PermitContractInterface = ERC20PermitContractInterface, -> extends Erc20 { - /** Encodes permit data for the given options */ - public encodePermit = encodePermit(this) - - /** - * ### Creates a new Erc20Permit instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the Erc20Permit token contract - * @param factory Contract factory to use for creating the contract - * - * @returns New Erc20Permit token instance - */ - constructor( - account: Account, - contract: Address | C, - factory: ContractFactory = ERC20Permit__factory, - ) { - super(account, contract, factory) - } -} diff --git a/src/erc-20/erc-20.ts b/src/erc-20/erc-20.ts deleted file mode 100644 index 3c156398..00000000 --- a/src/erc-20/erc-20.ts +++ /dev/null @@ -1,122 +0,0 @@ -import { BigNumberish } from 'ethers' -import { formatUnits } from 'ethers/lib/utils' - -import { Account } from '../account' -import { Contract } from '../contract' -import { InsufficientAllowanceError } from '../errors' -import { ERC20 as ERC20ContractInterface, ERC20__factory } from '../typechain' -import { Address, ContractFactory } from '../types' - -/** ### ERC20 Token Contract */ -export class Erc20< - C extends ERC20ContractInterface = ERC20ContractInterface, -> extends Contract { - - /** ### Decimals of the token */ - private _decimals?: number - - /** ### Symbol of the token */ - private _symbol?: string - - /** ### Name of the token */ - private _name?: string - - /** - * ### Creates a new ERC20 instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the ERC20 token contract - * @param factory Contract factory to use for creating the contract - * - * @returns New ERC20 token instance - */ - constructor( - account: Account, - contract: Address | C, - factory: ContractFactory = ERC20__factory, - ) { - super(account, contract, factory) - } - - /** - * ### Get the decimals of the token - * - * @returns Decimals of the token - */ - public async decimals(): Promise { - if (!this._decimals) this._decimals = await this.contract.decimals() - - return this._decimals - } - - /** - * ### Get the symbol of the token - * - * @returns Symbol of the token - */ - public async symbol(): Promise { - if (!this._symbol) this._symbol = await this.contract.symbol() - - return this._symbol - } - - /** - * ### Get the name of the token - * - * @returns Name of the token - */ - public async name(): Promise { - if (!this._name) this._name = await this.contract.name() - - return this._name - } - - /** - * ### Get the formatted total supply of the token - * - * @returns Formatted total supply of the token - */ - public async formattedTotalSupply(): Promise { - const totalSupply = await this.contract.totalSupply() - const decimals = await this.decimals() - - return formatUnits(totalSupply, decimals) - } - - /** - * ### Get the formatted balance of the account - * - * @param account Address of the account - * - * @returns Formatted balance of the account - */ - public async formattedBalanceOf(account: Address): Promise { - const balance = await this.contract.balanceOf(account) - const decimals = await this.decimals() - - return formatUnits(balance, decimals) - } - - /** - * ### Check Allowance - * - * @param account Address of the account - * @param expectedAmount Amount of tokens to check - * - * @returns true if the account has enough tokens to transfer the amount - */ - public async checkAllowance( - account: Address, - expectedAmount: BigNumberish, - ): Promise { - const allowance = await this.contract.allowance( - await this.account.address(), - account, - ) - - if (allowance.lt(expectedAmount)) - throw new InsufficientAllowanceError(account, expectedAmount, allowance) - - return true - } -} diff --git a/src/erc-20/index.ts b/src/erc-20/index.ts deleted file mode 100644 index a0da5b8c..00000000 --- a/src/erc-20/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './addresses' -export * from './erc-20' -export * from './erc-20-permit' diff --git a/src/erc-4626/erc-4626.ts b/src/erc-4626/erc-4626.ts deleted file mode 100644 index 27473aeb..00000000 --- a/src/erc-4626/erc-4626.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Account } from '../account' -import { Erc20Permit } from '../erc-20' -import { - ERC4626Upgradeable__factory as ERC4626__factory, - ERC4626WithPermit as ERC4626WithPermitContractInterface, -} from '../typechain' -import { Address, ContractFactory } from '../types' - -/** ### ERC4626 Token Contract */ -export class Erc4626< - C extends ERC4626WithPermitContractInterface = ERC4626WithPermitContractInterface, -> extends Erc20Permit { - /** - * ### Creates a new ERC4626 instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the ERC4626 token contract - * @param factory Contract factory to use for creating the contract - * - * @returns New ERC4626 token instance - */ - constructor( - account: Account, - contract: Address | C, - factory: ContractFactory = ERC4626__factory, - ) { - super(account, contract, factory) - } -} diff --git a/src/erc-4626/index.ts b/src/erc-4626/index.ts deleted file mode 100644 index 64b7a40a..00000000 --- a/src/erc-4626/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './erc-4626' diff --git a/src/errors/can-set-prototype.ts b/src/errors/can-set-prototype.ts index aa5dbea8..b25994f1 100644 --- a/src/errors/can-set-prototype.ts +++ b/src/errors/can-set-prototype.ts @@ -1 +1 @@ -export const canSetPrototype = 'setPrototypeOf' in Object +export const canSetPrototype = "setPrototypeOf" in Object; diff --git a/src/errors/index.ts b/src/errors/index.ts index 80f04b8b..122b7198 100644 --- a/src/errors/index.ts +++ b/src/errors/index.ts @@ -1,2 +1,2 @@ -export * from './insufficient-allowance.error' -export * from './phuture.error' +export * from "./insufficient-allowance.error"; +export * from "./phuture.error"; diff --git a/src/errors/insufficient-allowance.error.ts b/src/errors/insufficient-allowance.error.ts index 0002ac62..38f6487d 100644 --- a/src/errors/insufficient-allowance.error.ts +++ b/src/errors/insufficient-allowance.error.ts @@ -1,21 +1,17 @@ -import { BigNumber, BigNumberish } from 'ethers' - -import { Address } from '../types' - -import { canSetPrototype } from './can-set-prototype' +import { canSetPrototype } from "./can-set-prototype"; /** * ### Error thrown on insufficient allowance */ export class InsufficientAllowanceError extends Error { /** ### Address of the allowance target */ - public readonly target: Address + public readonly target: string; /** ### Excepted allowance */ - public readonly expectedAllowance: BigNumber + public readonly expectedAllowance: string; /** ### Actual allowance */ - public readonly actualAllowance: BigNumber + public readonly actualAllowance: string; /** * ### Creates an instance of InsufficientAllowanceError @@ -26,21 +22,15 @@ export class InsufficientAllowanceError extends Error { * * @returns Instance of InsufficientAllowanceError */ - constructor( - target: Address, - expectedAllowance: BigNumberish, - actualAllowance: BigNumberish = 0, - ) { - expectedAllowance = BigNumber.from(expectedAllowance) - actualAllowance = BigNumber.from(actualAllowance) - const message = `Insufficient allowance: expected ${expectedAllowance.toString()}, but got ${actualAllowance.toString()}` - super(message) - this.name = this.constructor.name + constructor(target: string, expectedAllowance: string, actualAllowance = "0") { + const message = `Insufficient allowance: expected ${expectedAllowance.toString()}, but got ${actualAllowance.toString()}`; + super(message); + this.name = this.constructor.name; - this.target = target - this.expectedAllowance = expectedAllowance - this.actualAllowance = actualAllowance + this.target = target; + this.expectedAllowance = expectedAllowance; + this.actualAllowance = actualAllowance; - if (canSetPrototype) Object.setPrototypeOf(this, new.target.prototype) + if (canSetPrototype) Object.setPrototypeOf(this, new.target.prototype); } } diff --git a/src/errors/phuture.error.ts b/src/errors/phuture.error.ts index cb1f5c5d..4106e2ea 100644 --- a/src/errors/phuture.error.ts +++ b/src/errors/phuture.error.ts @@ -1,4 +1,4 @@ -import { canSetPrototype } from './can-set-prototype' +import { canSetPrototype } from "./can-set-prototype"; /** * ### Error status code @@ -9,38 +9,35 @@ import { canSetPrototype } from './can-set-prototype' * @example * const statusCode: ErrorStatusCode = '500' */ -export type ErrorStatus = string | number +export type ErrorStatus = string | number; /** * ### Interface for error data */ export interface ErrorData { /** Error message */ - message: string + message: string; /** Error status code */ - status?: ErrorStatus + status?: ErrorStatus; } /** * ### Props for an error */ export type ErrorProps = { - status?: ErrorStatus -} & ( - | { message: string; errors?: never } - | { message?: never; errors: ErrorData[] } -) + status?: ErrorStatus; +} & ({ message: string; errors?: never } | { message?: never; errors: ErrorData[] }); /** * ### Error thrown on unexpected cases while interacting with Phuture interfaces */ export class PhutureError extends Error { /** Error code */ - public readonly status?: ErrorStatus + public readonly status?: ErrorStatus; /** Errors data list */ - public readonly errors: ErrorData[] + public readonly errors: ErrorData[]; /** * ### Creates an instance of PhutureError @@ -50,18 +47,16 @@ export class PhutureError extends Error { * @returns Instance of PhutureError */ constructor(props: ErrorProps) { - const { status, message, errors } = props - const error: ErrorData = message - ? { message, ...(status ? { status } : {}) } - : errors![0]! + const { status, message, errors } = props; + const error: ErrorData = message ? { message, ...(status ? { status } : {}) } : errors![0]!; - super(error.message) - this.name = this.constructor.name + super(error.message); + this.name = this.constructor.name; - this.errors = message ? [error] : errors! + this.errors = message ? [error] : errors!; - if (error.status) this.status = error.status + if (error.status) this.status = error.status; - if (canSetPrototype) Object.setPrototypeOf(this, new.target.prototype) + if (canSetPrototype) Object.setPrototypeOf(this, new.target.prototype); } } diff --git a/src/index-router.ts b/src/index-router.ts new file mode 100644 index 00000000..47dc0b6e --- /dev/null +++ b/src/index-router.ts @@ -0,0 +1,373 @@ +import type { JsonRpcSigner } from "@ethersproject/providers"; +import { BigNumber, type ContractTransaction, utils } from "ethers"; + +import { Erc20 } from "./erc-20"; +import { + type BaseIndex, + BaseIndex__factory, + type IndexRouter as IndexRouterContractInterface, + IndexRouter__factory, +} from "./typechain"; +import type { IIndexRouterV2 } from "./typechain/IndexRouter"; + +/** ### Default IndexRouter address for network */ +export const defaultIndexRouterAddress: Record = { + /** ### Default IndexRouter address on mainnet. */ + 1: "0x1985426d77c431fc95e5ca51547bcb9b793e8482", + /** ### Default IndexRouter address on c-chain. */ + 43114: "0xd6dd95610fc3a3579a2c32fe06158d8bfb8f4ee9", +}; + +const BALANCE_OF_SLOT = 8; +const ALLOWANCE_SLOT = 9; + +export type Anatomy = { + asset: string; + weight: number; +}[]; + +/** ### IndexRouter Contract */ +export class IndexRouter { + public contract: IndexRouterContractInterface; + + /** + * ### Creates a new IndexRouter instance + * + * @param signer Account to use for signing + * @param contract Contract instance or address of the IndexRouter contract + * + * @returns New IndexRouter token instance + */ + constructor( + public signer: JsonRpcSigner, + contract: string, + ) { + this.contract = IndexRouter__factory.connect(contract, signer); + } + + /** + * ### Mint + * + * @param options mint options + * @param sellAmount token's amount + * @param sellToken (optional) erc20 token + * + * @returns mint transaction + */ + async mintSwap( + options: IIndexRouterV2.MintSwapParamsStruct, + sellAmount: string, + sellToken: string, + ): Promise { + const sellTokenInstance = new Erc20(this.signer, sellToken); + await sellTokenInstance.checkAllowance(this.contract.address, sellAmount); + + const estimatedGas = await this.contract.estimateGas.mintSwap( + options as IIndexRouterV2.MintSwapParamsStruct, + ); + + return this.contract.mintSwap(options as IIndexRouterV2.MintSwapParamsStruct, { + gasLimit: estimatedGas.mul(105).div(100), + }); + } + + async mintSwapValue( + options: IIndexRouterV2.MintSwapParamsStruct, + sellAmount: string, + ): Promise { + const mintSwapValueOptions: IIndexRouterV2.MintSwapValueParamsStruct = { + index: options.index, + quotes: options.quotes, + recipient: options.recipient, + }; + + const mintSwapValueEstimatedGas = await this.contract.estimateGas.mintSwapValue( + mintSwapValueOptions, + { + value: sellAmount, + }, + ); + + return this.contract.mintSwapValue(mintSwapValueOptions, { + value: sellAmount, + gasLimit: mintSwapValueEstimatedGas.mul(105).div(100), + }); + } + + /** + * ### Mint Static + * + * @param options mint options + * @param sellAmount token's amount + * @param sellToken (optional) erc20 token + * + * @returns mint amount + */ + async mintSwapStatic( + options: IIndexRouterV2.MintSwapParamsStruct, + sellAmount: string, + sellToken?: Erc20, + ): Promise { + if (!sellToken) { + const mintSwapValueOptions: IIndexRouterV2.MintSwapValueParamsStruct = { + index: options.index, + quotes: options.quotes, + recipient: options.recipient, + }; + + return this.contract.callStatic.mintSwapValue(mintSwapValueOptions, { + value: sellAmount, + }); + } + + await sellToken.checkAllowance(this.contract.address, sellAmount); + + return this.contract.callStatic.mintSwap(options as IIndexRouterV2.MintSwapParamsStruct); + } + + /** + * ### Mint Index Amount + * + * @param index index address + * @param amountInInputToken token's amount + * @param quotes quotes for swaps + * @param inputToken (optional) token's address + * + * @returns mint amount in single token + */ + async mintIndexAmount( + index: string, + amountInInputToken: string, + quotes: IIndexRouterV2.MintQuoteParamsStruct[], + inputToken: string, + ): Promise { + const option: IIndexRouterV2.MintSwapParamsStruct = { + inputToken, + amountInInputToken, + quotes, + index, + recipient: await this.signer.getAddress(), + }; + + return this.contract.mintSwapIndexAmount(option); + } + + /** + * ### Burn + * + * @param index index address or it's erc20 interface + * @param amount index amount + * @param recipient address of account to receive tokens + * + * @returns burn transaction + */ + async burn(index: string, amount: string, recipient: string): Promise { + const indexInstance = new Erc20(this.signer, index); + const burnParameters: IIndexRouterV2.BurnParamsStruct = { + index, + amount, + recipient, + }; + + await indexInstance.checkAllowance(this.contract.address, amount); + + const estimatedGas = await this.contract.estimateGas.burn(burnParameters); + + return this.contract.burn(burnParameters, { + gasLimit: estimatedGas.mul(105).div(100), + }); + } + + /** + * ### Burn Swap + * + * @param index index address or it's erc20 interface + * @param amount index amount + * @param recipient signer's address + * @param options burn swap options + * + * @returns burn swap transaction + */ + async burnSwap( + index: string, + amount: string, + recipient: string, + outputAsset: string, + quotes: IIndexRouterV2.BurnQuoteParamsStruct[], + ): Promise { + const indexInstance = new Erc20(this.signer, index); + const burnParameters: IIndexRouterV2.BurnSwapParamsStruct = { + index, + amount, + recipient, + quotes, + outputAsset, + }; + + await indexInstance.checkAllowance(this.contract.address, amount); + + const estimatedGas = await this.contract.estimateGas.burnSwap(burnParameters); + + return this.contract.burnSwap(burnParameters, { + gasLimit: estimatedGas.mul(105).div(100), + }); + } + + async burnSwapValue( + index: string, + amount: string, + recipient: string, + outputAsset: string, + quotes: IIndexRouterV2.BurnQuoteParamsStruct[], + ): Promise { + const indexInstance = new Erc20(this.signer, index); + const burnParameters: IIndexRouterV2.BurnSwapParamsStruct = { + index, + amount, + recipient, + quotes, + outputAsset, + }; + + await indexInstance.checkAllowance(this.contract.address, amount); + + const estimatedGas = await this.contract.estimateGas.burnSwapValue(burnParameters); + + return this.contract.burnSwapValue(burnParameters, { + gasLimit: estimatedGas.mul(105).div(100), + }); + } + + /** + * ### Burn Swap Static + * + * @param index index address or it's erc20 interface + * @param amount index amount + * @param recipient signer's address + * @param options burn swap options + * + * @returns burn swap amount + */ + async burnSwapStatic( + index: string, + amount: string, + recipient: string, + outputAsset: string, + quotes: IIndexRouterV2.BurnQuoteParamsStruct[], + ): Promise { + const indexInstance = new Erc20(this.signer, index); + const burnParameters: IIndexRouterV2.BurnSwapParamsStruct = { + index, + amount, + recipient, + quotes, + outputAsset, + }; + + await indexInstance.checkAllowance(this.contract.address, amount); + + return this.contract.callStatic.burnSwap(burnParameters); + } + + /** + * ### Burn tokens amount view + * + * @param index index interface + * @param amount index amount + * + * @returns burn amount in single token or total from array of tokens + */ + async burnTokensAmount( + index: string, + amount: string, + ): Promise<{ asset: string; amount: BigNumber; weight: number }[]> { + const indexInstance = BaseIndex__factory.connect(index, this.signer); + + const [anatomy, inactiveAnatomy, burnTokensAmounts] = await Promise.all([ + this.getIndexAnatomy(indexInstance), + this.getIndexInactiveAnatomy(indexInstance), + this.contract.burnTokensAmount(index, amount), + ]); + + return [...anatomy, ...inactiveAnatomy].map((constituent, constituentIndex) => ({ + amount: burnTokensAmounts[constituentIndex] || BigNumber.from(0), + ...constituent, + })); + } + + /** + * ### Burn amounts static + * + * @param index index interface + * @param amount index amount + * + * @returns burn amount in single token or total from array of tokens + */ + async burnAmount( + index: string, + amount: string, + ): Promise<{ asset: string; amount: BigNumber; weight: number }[]> { + const indexInstance = BaseIndex__factory.connect(index, this.signer); + + const recipient = await this.signer.getAddress(); + const balanceOfOwnerSlot = utils.keccak256( + utils.defaultAbiCoder.encode(["address", "uint256"], [recipient, BALANCE_OF_SLOT]), + ); + + const allowanceOwnerSlot = utils.keccak256( + utils.defaultAbiCoder.encode(["address", "uint256"], [recipient, ALLOWANCE_SLOT]), + ); + const spenderSlot = utils.keccak256( + utils.defaultAbiCoder.encode( + ["address", "bytes32"], + [this.contract.address, allowanceOwnerSlot], + ), + ); + + const stateDiff = { + [index]: { + stateDiff: { + [balanceOfOwnerSlot]: utils.hexZeroPad(utils.hexValue(BigNumber.from(amount)), 32), + [spenderSlot]: utils.hexZeroPad(utils.hexValue(BigNumber.from(amount)), 32), + }, + }, + }; + + const [anatomy, inactiveAnatomy, rawBurnTokensAmounts] = await Promise.all([ + this.getIndexAnatomy(indexInstance), + this.getIndexInactiveAnatomy(indexInstance), + this.signer.provider.send("eth_call", [ + { + from: recipient, + to: this.contract.address, + data: this.contract.interface.encodeFunctionData("burnWithAmounts", [ + { + index, + recipient, + amount, + }, + ]), + }, + "latest", + stateDiff, + ]), + ]); + + const [burnTokensAmounts] = new utils.AbiCoder().decode(["uint[]"], rawBurnTokensAmounts); + + return [...anatomy, ...inactiveAnatomy].map((constituent, constituentIndex) => ({ + amount: burnTokensAmounts[constituentIndex] || BigNumber.from(0), + ...constituent, + })); + } + + async getIndexAnatomy(indexInstance: BaseIndex): Promise { + const { _assets, _weights } = await indexInstance.anatomy(); + return _assets.map((asset, i) => ({ asset, weight: Number(_weights[i]) })); + } + + async getIndexInactiveAnatomy(indexInstance: BaseIndex): Promise { + const _assets = await indexInstance.inactiveAnatomy(); + return _assets.map((asset) => ({ asset, weight: 0 })); + } +} diff --git a/src/index-router/index-router.ts b/src/index-router/index-router.ts deleted file mode 100644 index 745d6c64..00000000 --- a/src/index-router/index-router.ts +++ /dev/null @@ -1,450 +0,0 @@ -import { BigNumber, BigNumberish, ContractTransaction } from 'ethers' - -import { Account } from '../account' -import { Contract } from '../contract' -import { Erc20, StandardPermitArguments } from '../erc-20' -import { Index } from '../products/index' -import { - IndexRouter as IndexRouterContractInterface, - IndexRouter__factory, -} from '../typechain' -import { IIndexRouter } from '../typechain/IndexRouter' -import { Address, ChainId, ChainIds, isAddress } from '../types' - -/** ### Default IndexRouter address for network */ -export const defaultIndexRouterAddress: Record = { - /** ### Default IndexRouter address on mainnet. */ - [ChainIds.Mainnet]: '0x1985426d77c431fc95e5ca51547bcb9b793e8482', - /** ### Default IndexRouter address on c-chain. */ - [ChainIds.CChain]: '0xd6dd95610fc3a3579a2c32fe06158d8bfb8f4ee9', -} - -/** ### IndexRouter Contract */ -export class IndexRouter extends Contract { - private _weth?: Address - - /** - * ### Creates a new IndexRouter instance - * - * @param account Account to use for signing - * @param contract Contract instance or address of the IndexRouter contract - * - * @returns New IndexRouter token instance - */ - constructor( - account: Account, - contract: IndexRouterContractInterface | Address, - ) { - super(account, contract, IndexRouter__factory) - } - - async weth(): Promise
{ - if (!this._weth) this._weth = await this.contract.WETH() - - return this._weth - } - - /** - * ### Mint - * - * @param options mint options - * @param sellAmount token's amount - * @param sellToken (optional) erc20 token - * @param permitOptions (optional) permit options for transaction - * - * @returns mint transaction - */ - async mintSwap( - options: IIndexRouter.MintSwapParamsStruct, - sellAmount: BigNumberish, - sellToken?: Erc20 | Address, - permitOptions?: Omit, - ): Promise { - if (!sellToken) { - const mintSwapValueOptions: IIndexRouter.MintSwapValueParamsStruct = { - index: options.index, - quotes: options.quotes, - recipient: options.recipient, - } - - const mintSwapValueEstimatedGas = - await this.contract.estimateGas.mintSwapValue(mintSwapValueOptions, { - value: sellAmount, - }) - - return this.contract.mintSwapValue(mintSwapValueOptions, { - value: sellAmount, - gasLimit: mintSwapValueEstimatedGas.mul(100).div(95), - }) - } - - if (permitOptions !== undefined) { - const mintSwapWithPermitEstimatedGas = - await this.contract.estimateGas.mintSwapWithPermit( - options as IIndexRouter.MintSwapParamsStruct, - permitOptions.deadline, - permitOptions.v, - permitOptions.r, - permitOptions.s, - ) - - return this.contract.mintSwapWithPermit( - options as IIndexRouter.MintSwapParamsStruct, - permitOptions.deadline, - permitOptions.v, - permitOptions.r, - permitOptions.s, - { gasLimit: mintSwapWithPermitEstimatedGas.mul(100).div(95) }, - ) - } - - if (isAddress(sellToken)) sellToken = new Erc20(this.account, sellToken) - - await sellToken.checkAllowance(this.address, sellAmount) - - const estimatedGas = await this.contract.estimateGas.mintSwap( - options as IIndexRouter.MintSwapParamsStruct, - ) - - return this.contract.mintSwap( - options as IIndexRouter.MintSwapParamsStruct, - { gasLimit: estimatedGas.mul(100).div(95) }, - ) - } - - /** - * ### Mint Static - * - * @param options mint options - * @param sellAmount token's amount - * @param sellToken (optional) erc20 token - * @param permitOptions (optional) permit options for transaction - * - * @returns mint amount - */ - async mintSwapStatic( - options: IIndexRouter.MintSwapParamsStruct, - sellAmount: BigNumberish, - sellToken?: Erc20, - permitOptions?: Omit, - ): Promise { - if (!sellToken) { - const mintSwapValueOptions: IIndexRouter.MintSwapValueParamsStruct = { - index: options.index, - quotes: options.quotes, - recipient: options.recipient, - } - - return this.contract.callStatic.mintSwapValue(mintSwapValueOptions, { - value: sellAmount, - }) - } - - if (permitOptions !== undefined) { - return this.contract.callStatic.mintSwapWithPermit( - options as IIndexRouter.MintSwapParamsStruct, - permitOptions.deadline, - permitOptions.v, - permitOptions.r, - permitOptions.s, - ) - } - - await sellToken.checkAllowance(this.address, sellAmount) - - return this.contract.callStatic.mintSwap( - options as IIndexRouter.MintSwapParamsStruct, - ) - } - - /** - * ### Mint Index Amount - * - * @param index index address - * @param amountInInputToken token's amount - * @param quotes quotes for swaps - * @param inputToken (optional) token's address - * - * @returns mint amount in single token - */ - async mintIndexAmount( - index: Address, - amountInInputToken: BigNumberish, - quotes: IIndexRouter.MintQuoteParamsStruct[], - inputToken?: Address, - ): Promise { - if (!inputToken) { - inputToken = await this.weth() - } - - const option: IIndexRouter.MintSwapParamsStruct = { - inputToken, - amountInInputToken, - quotes, - index, - recipient: await this.account.address(), - } - - return this.contract.mintSwapIndexAmount(option) - } - - /** - * ### Burn - * - * @param index index address or it's erc20 interface - * @param amount index amount - * @param recipient address of account to receive tokens - * @param permitOptions permit options for transaction - * - * @returns burn transaction - */ - async burn( - index: Address | Erc20, - amount: BigNumberish, - recipient: Address, - permitOptions?: Omit, - ): Promise { - const indexInstance = isAddress(index) - ? new Erc20(this.account, index) - : index - const burnParameters: IIndexRouter.BurnParamsStruct = { - index: indexInstance.address, - amount, - recipient, - } - - if (permitOptions !== undefined) { - const burnWithPermitEstimatedGas = - await this.contract.estimateGas.burnWithPermit( - burnParameters, - permitOptions.deadline, - permitOptions.v, - permitOptions.r, - permitOptions.s, - ) - - return this.contract.burnWithPermit( - burnParameters, - permitOptions.deadline, - permitOptions.v, - permitOptions.r, - permitOptions.s, - { gasLimit: burnWithPermitEstimatedGas.mul(100).div(95) }, - ) - } - - await indexInstance.checkAllowance(this.address, amount) - - const estimatedGas = await this.contract.estimateGas.burn(burnParameters) - - return this.contract.burn(burnParameters, { - gasLimit: estimatedGas.mul(100).div(95), - }) - } - - /** - * ### Burn Swap - * - * @param index index address or it's erc20 interface - * @param amount index amount - * @param recipient signer's address - * @param options burn swap options - * - * @returns burn swap transaction - */ - async burnSwap( - index: Address | Erc20, - amount: BigNumberish, - recipient: Address, - options: { - quotes: IIndexRouter.BurnQuoteParamsStruct[] - outputAsset?: Address - permitOptions?: Omit - }, - ): Promise { - const indexInstance = isAddress(index) - ? new Erc20(this.account, index) - : index - const burnParameters: IIndexRouter.BurnSwapParamsStruct = { - index: indexInstance.address, - amount, - recipient, - quotes: options.quotes, - outputAsset: options.outputAsset || (await this.weth()), - } - - if (options.outputAsset === undefined) { - if (options.permitOptions !== undefined) { - const burnSwapWithPermitEstimatedGas = - await this.contract.estimateGas.burnSwapWithPermit( - burnParameters, - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - ) - - return this.contract.burnSwapValueWithPermit( - burnParameters, - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - { gasLimit: burnSwapWithPermitEstimatedGas.mul(100).div(95) }, - ) - } - - await indexInstance.checkAllowance(this.address, amount) - - const burnSwapEstimatedGas = await this.contract.estimateGas.burnSwap( - burnParameters, - ) - - return this.contract.burnSwapValue(burnParameters, { - gasLimit: burnSwapEstimatedGas.mul(100).div(95), - }) - } - - if (options.permitOptions !== undefined) { - const burnSwapWithPermitEstimatedGas = - await this.contract.estimateGas.burnSwapWithPermit( - burnParameters, - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - ) - - return this.contract.burnSwapWithPermit( - burnParameters, - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - { gasLimit: burnSwapWithPermitEstimatedGas.mul(100).div(95) }, - ) - } - - await indexInstance.checkAllowance(this.address, amount) - - const estimatedGas = await this.contract.estimateGas.burnSwap( - burnParameters, - ) - - return this.contract.burnSwap(burnParameters, { - gasLimit: estimatedGas.mul(100).div(95), - }) - } - - /** - * ### Burn Swap Static - * - * @param index index address or it's erc20 interface - * @param amount index amount - * @param recipient signer's address - * @param options burn swap options - * - * @returns burn swap amount - */ - async burnSwapStatic( - index: Address | Erc20, - amount: BigNumberish, - recipient: Address, - options: { - quotes: IIndexRouter.BurnQuoteParamsStruct[] - outputAsset?: Address - permitOptions?: Omit - }, - ): Promise { - const indexInstance = isAddress(index) - ? new Erc20(this.account, index) - : index - const burnParameters: IIndexRouter.BurnSwapParamsStruct = { - index: indexInstance.address, - amount, - recipient, - quotes: options.quotes, - outputAsset: options.outputAsset || (await this.weth()), - } - - if (options.outputAsset === undefined) { - if (options.permitOptions !== undefined) { - return this.contract.callStatic.burnSwapValueWithPermit( - burnParameters, - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - ) - } - - await indexInstance.checkAllowance(this.address, amount) - - return this.contract.callStatic.burnSwapValue(burnParameters) - } - - if (options.permitOptions !== undefined) { - return this.contract.callStatic.burnSwapWithPermit( - burnParameters, - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - ) - } - - await indexInstance.checkAllowance(this.address, amount) - - return this.contract.callStatic.burnSwap(burnParameters) - } - - /** - * ### Burn tokens amount view - * - * @param index index interface - * @param amount index amount - * - * @returns burn amount in single token or total from array of tokens - */ - async burnTokensAmount( - index: Index, - amount: BigNumberish, - ): Promise<{ asset: Address; amount: BigNumber; weight: number }[]> { - const [constituents, burnTokensAmounts] = await Promise.all([ - index.constituents(), - this.contract.burnTokensAmount(index.address, amount), - ]) - - return constituents.map((constituent, constituentIndex) => ({ - amount: burnTokensAmounts[constituentIndex] || BigNumber.from(0), - ...constituent, - })) - } - - /** - * ### Burn amounts static - * - * @param index index interface - * @param amount index amount - * - * @returns burn amount in single token or total from array of tokens - */ - async burnAmount( - index: Index, - amount: BigNumberish, - ): Promise<{ asset: Address; amount: BigNumber; weight: number }[]> { - const [constituents, burnTokensAmounts] = await Promise.all([ - index.constituents(), - this.contract.callStatic.burnWithAmounts({ - index: index.address, - recipient: this.account.address(), - amount, - }), - ]) - - return constituents.map((constituent, constituentIndex) => ({ - amount: burnTokensAmounts[constituentIndex] || BigNumber.from(0), - ...constituent, - })) - } -} diff --git a/src/index-router/index.ts b/src/index-router/index.ts deleted file mode 100644 index ee495408..00000000 --- a/src/index-router/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index-router' diff --git a/src/index.ts b/src/index.ts index a971717e..7f2f54e4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,14 +1,7 @@ -export * from './account' -export * from './auto-router' -export * from './contract' -export * from './erc-20' -export * from './erc-4626' -export * from './errors' -export * from './index-router' -export * from './meta-router' -export * from './price-oracle' -export * from './products/index' -export * from './products/savings-vault' -export * from './router' -export * from './types' -export * from './0x-aggregator' +export * from "./errors"; + +export * from "./0x-aggregator"; +export * from "./0x-aggregator-2"; +export * from "./auto-router"; +export * from "./erc-20"; +export * from "./index-router"; diff --git a/src/meta-router/index.ts b/src/meta-router/index.ts deleted file mode 100644 index ce49d96f..00000000 --- a/src/meta-router/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './meta-router' diff --git a/src/meta-router/meta-router.ts b/src/meta-router/meta-router.ts deleted file mode 100644 index 9b2d3e2d..00000000 --- a/src/meta-router/meta-router.ts +++ /dev/null @@ -1,256 +0,0 @@ -import { TransactionResponse } from '@ethersproject/abstract-provider' -import { BigNumber, BigNumberish } from 'ethers' - -import { Zero0xQuoteOptions } from '../0x-aggregator' -import { AutoRouter } from '../auto-router' -import { Erc20, Erc20Permit, StandardPermitArguments } from '../erc-20' -import { PhutureError } from '../errors' -import { Index } from '../products/index' -import { SavingsVault, SavingsVaultRouter } from '../products/savings-vault' -import { Router } from '../router' -import { Address, ProductType } from '../types' - -export class MetaRouter implements Router { - /** - * ### Creates a new MetaRouter instance - * - * @param savingsVaultRouter Instance of SavingsVaultRouter - * @param autoRouter Instance of AutoRouter - * @param products Record of address and its corresponding product type - * - * @returns New MetaRouter instance - */ - constructor( - private savingsVaultRouter: SavingsVaultRouter, - private autoRouter: AutoRouter, - private products: Record, - ) {} - - async selectBuy( - erc20Permit: Erc20Permit, - amountInInputToken: BigNumberish, - inputToken?: Erc20, - options?: Partial, - ): Promise<{ - isMint: boolean - target: Address - outputAmount: BigNumber - expectedAllowance?: BigNumber - }> { - switch (this.findProductType(erc20Permit.address)) { - case ProductType.INDEX: - return this.autoRouter.selectBuy( - erc20Permit as Index, - amountInInputToken, - inputToken, - options, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.selectBuy( - erc20Permit as SavingsVault, - amountInInputToken, - inputToken, - ) - } - } - - async buy( - isMint: boolean, - erc20Permit: Erc20Permit, - amountInInputToken: BigNumberish, - inputToken?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise { - switch (this.findProductType(erc20Permit.address)) { - case ProductType.INDEX: - return this.autoRouter.buy( - isMint, - erc20Permit as Index, - amountInInputToken, - inputToken, - options, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.buy( - isMint, - erc20Permit as SavingsVault, - amountInInputToken, - inputToken, - options, - ) - } - } - - async buyMint( - erc20Permit: Erc20Permit, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise { - switch (this.findProductType(erc20Permit.address)) { - case ProductType.INDEX: - return this.autoRouter.buyMint( - erc20Permit as Index, - amountInInputToken, - inputTokenAddress, - options, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.buyMint( - erc20Permit as SavingsVault, - amountInInputToken, - inputTokenAddress, - options, - ) - } - } - - async buySwap( - contractAddress: Address, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - zeroExOptions?: Partial, - ): Promise { - switch (this.findProductType(contractAddress)) { - case ProductType.INDEX: - return this.autoRouter.buySwap( - contractAddress, - amountInInputToken, - inputTokenAddress, - zeroExOptions, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.buySwap( - contractAddress, - amountInInputToken, - inputTokenAddress, - ) - } - } - - async selectSell( - erc20Permit: Erc20Permit, - sharesAmount: BigNumberish, - outputToken?: Erc20, - options?: Partial, - ): Promise<{ - isBurn: boolean - outputAmount: BigNumber - target: Address - expectedAllowance?: BigNumber - }> { - switch (this.findProductType(erc20Permit.address)) { - case ProductType.INDEX: - return this.autoRouter.selectSell( - erc20Permit as Index, - sharesAmount, - outputToken, - options, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.selectSell( - erc20Permit as SavingsVault, - sharesAmount, - ) - } - } - - async sell( - isBurn: boolean, - erc20Permit: Erc20Permit, - sharesAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - maxLoss: number - }>, - ): Promise { - switch (this.findProductType(erc20Permit.address)) { - case ProductType.INDEX: - return this.autoRouter.sell( - isBurn, - erc20Permit as Index, - sharesAmount, - outputTokenAddress, - options, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.sell( - isBurn, - erc20Permit as SavingsVault, - sharesAmount, - outputTokenAddress, - options, - ) - } - } - - async sellBurn( - erc20Permit: Erc20Permit, - sharesAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - maxLoss: number - }>, - ): Promise { - switch (this.findProductType(erc20Permit.address)) { - case ProductType.INDEX: - return this.autoRouter.sellBurn( - erc20Permit as Index, - sharesAmount, - outputTokenAddress, - options, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.sellBurn( - erc20Permit as SavingsVault, - sharesAmount, - outputTokenAddress, - options, - ) - } - } - - async sellSwap( - contractAddress: Address, - sharesAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial, - ): Promise { - switch (this.findProductType(contractAddress)) { - case ProductType.INDEX: - return this.autoRouter.sellSwap( - contractAddress, - sharesAmount, - outputTokenAddress, - options, - ) - case ProductType.SAVINGS_VAULT: - return this.savingsVaultRouter.sellSwap(contractAddress, sharesAmount) - } - } - - addProduct(productType: ProductType, contractAddress: Address) { - this.products[contractAddress] = productType - } - - findProductType(address: Address): ProductType { - const productType = this.products[address] - if (productType === undefined) { - throw new PhutureError({ - status: 400, - message: 'Product type not found', - }) - } - return productType - } -} diff --git a/src/price-oracle/default-price-oracle.ts b/src/price-oracle/default-price-oracle.ts deleted file mode 100644 index 7f83c6ed..00000000 --- a/src/price-oracle/default-price-oracle.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Account } from '../account' -import { Address, ChainId } from '../types' - -import { - defaultPhuturePriceOracleAddress, - PhuturePriceOracle, -} from './phuture-price-oracle' - -const defaultPriceOracles: Record = {} - -export const getDefaultPriceOracle = async ( - account: Account, -): Promise => { - const network = await account.chainId() - - const priceOracle = defaultPriceOracles[network] - if (priceOracle) { - return priceOracle - } - - const newPriceOracle = new PhuturePriceOracle( - account, - defaultPhuturePriceOracleAddress[network] as Address, - ) - defaultPriceOracles[network] = newPriceOracle - - return newPriceOracle -} diff --git a/src/price-oracle/index.ts b/src/price-oracle/index.ts deleted file mode 100644 index 6d5a5709..00000000 --- a/src/price-oracle/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './default-price-oracle' -export * from './phuture-price-oracle' diff --git a/src/price-oracle/phuture-price-oracle.ts b/src/price-oracle/phuture-price-oracle.ts deleted file mode 100644 index 800a7938..00000000 --- a/src/price-oracle/phuture-price-oracle.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Account } from '../account' -import { Contract } from '../contract' -import { - PhuturePriceOracle as PhuturePriceOracleContractInterface, - PhuturePriceOracle__factory, -} from '../typechain' -import { Address, ChainId, ChainIds, ContractFactory } from '../types' - -/** ### Default PhuturePriceOracle address for network */ -export const defaultPhuturePriceOracleAddress: Record = { - /** ### Default PhuturePriceOracle address on mainnet. */ - [ChainIds.Mainnet]: '0x384ac33558821383ff4fc73d1dee3539a74bf540', - /** ### Default PhuturePriceOracle address on c-chain. */ - [ChainIds.CChain]: '0x69e848b2f41019340cec3e6696d5c937e74da96b', -} - -/** ### ERC20 Token Contract */ -export class PhuturePriceOracle< - C extends PhuturePriceOracleContractInterface = PhuturePriceOracleContractInterface, -> extends Contract { - /** - * ### Creates a new PhuturePriceOracle instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the PhuturePriceOracle contract - * @param factory Contract factory to use for creating the contract - * - * @returns New PhuturePriceOracle token instance - */ - constructor( - account: Account, - contract: Address | C, - factory: ContractFactory = PhuturePriceOracle__factory, - ) { - super(account, contract, factory) - } -} diff --git a/src/products/index/base-index.ts b/src/products/index/base-index.ts deleted file mode 100644 index e571396c..00000000 --- a/src/products/index/base-index.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { BigNumber, BigNumberish } from 'ethers' - -import { Account } from '../../account' -import { Erc20Permit } from '../../erc-20' -import { BaseIndex, BaseIndex__factory } from '../../typechain' -import type { Address, Anatomy, ContractFactory } from '../../types' - -/** - * ### Index Contract - */ -export class Index extends Erc20Permit { - /** ### List of assets of the index */ - private _anatomy?: Anatomy - - /** ### List of inactive (with 0 weight) assets of the index */ - private _inactiveAnatomy?: Anatomy - - /** - * ### Creates a new Index instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the Index token contract - * @param factory Contract factory to use for creating the contract - * - * @returns New Index token instance - */ - constructor( - account: Account, - contract: Address | BaseIndex, - factory: ContractFactory = BaseIndex__factory, - ) { - super(account, contract, factory) - } - - /** - * ### Scale amount of input tokens to set underlying tokens amount in baseToken - * - * @param amountDesired Amount of input tokens to scale - * - * @returns Scaled amounts of underlying tokens and total amount in baseToken - */ - public async scaleAmount( - amountDesired: BigNumberish, - ): Promise<{ asset: Address; amount: BigNumber; weight: number }[]> { - const anatomy = await this.anatomy() - - return anatomy.map(({ asset, weight }) => ({ - asset, - amount: BigNumber.from(amountDesired).mul(weight).div(255), - weight, - })) - } - - public async anatomy(): Promise { - if (!this._anatomy) this._anatomy = await this.getAnatomy() - - return this._anatomy - } - - public async inactiveAnatomy(): Promise { - if (!this._inactiveAnatomy) - this._inactiveAnatomy = await this.getInactiveAnatomy() - - return this._inactiveAnatomy - } - - public async constituents(): Promise { - const [anatomy, inactiveAnatomy] = await Promise.all([ - this.anatomy(), - this.inactiveAnatomy(), - ]) - - return [...anatomy, ...inactiveAnatomy] - } - - private async getAnatomy(): Promise { - const { _assets, _weights } = await this.contract.anatomy() - if (_assets.length !== _weights.length) - throw new Error('Anatomy assets and weights length mismatch') - - return _assets.map((asset, i) => ({ asset, weight: Number(_weights[i]) })) - } - - private async getInactiveAnatomy(): Promise { - const _assets = await this.contract.inactiveAnatomy() - return _assets.map((asset) => ({ asset, weight: 0 })) - } -} diff --git a/src/products/index/default-index-helper.ts b/src/products/index/default-index-helper.ts deleted file mode 100644 index 778b36b3..00000000 --- a/src/products/index/default-index-helper.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Account } from '../../account' -import { Address, ChainId } from '../../types' - -import { defaultIndexHelperAddress, IndexHelper } from './index-helper' - -const defaultIndexHelpers: Record = {} - -export const getDefaultIndexHelper = async ( - account: Account, - network?: ChainId, -): Promise => { - if (!network) { - network = await account.chainId() - } - - const indexHelper = defaultIndexHelpers[network] - if (indexHelper) { - return indexHelper - } - - const newIndexHelper = new IndexHelper( - account, - defaultIndexHelperAddress[network] as Address, - ) - defaultIndexHelpers[network] = newIndexHelper - - return newIndexHelper -} diff --git a/src/products/index/index-helper.ts b/src/products/index/index-helper.ts deleted file mode 100644 index 716a5af3..00000000 --- a/src/products/index/index-helper.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Account } from '../../account' -import { Contract } from '../../contract' -import { - IndexHelper as IndexHelperContractInterface, - IndexHelper__factory, -} from '../../typechain' -import { Address, ContractFactory, ChainId, ChainIds } from '../../types' - -/** ### Default IndexHelper address for network */ -export const defaultIndexHelperAddress: Record = { - /** ### Default IndexHelper address on mainnet. */ - [ChainIds.Mainnet]: '0x76dd4189d73f07e7b11350cffc9b503627fc7a3b', - /** ### Default IndexHelper address on c-chain. */ - [ChainIds.CChain]: '0xacef72ef3afeb044845f0869586445e5c6c2504a', -} - -export class IndexHelper< - C extends IndexHelperContractInterface = IndexHelperContractInterface, -> extends Contract { - constructor( - account: Account, - contract: Address | C, - factory: ContractFactory = IndexHelper__factory, - ) { - super(account, contract, factory) - } -} diff --git a/src/products/index/index.ts b/src/products/index/index.ts deleted file mode 100644 index 6c6c400a..00000000 --- a/src/products/index/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './base-index' -export * from './default-index-helper' -export * from './index-helper' diff --git a/src/products/savings-vault/harvesting-job.ts b/src/products/savings-vault/harvesting-job.ts deleted file mode 100644 index 7061c07d..00000000 --- a/src/products/savings-vault/harvesting-job.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Account } from '../../account' -import { Contract } from '../../contract' -import { - IHarvestingJob as HarvestingJobInterface, - IHarvestingJob__factory, -} from '../../typechain' -import type { Address, ContractFactory } from '../../types' - -/** - * ### HarvestingJob Contract - */ -export class HarvestingJob extends Contract { - /** - * ### Creates a new HarvestingJob instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the HarvestingJob contract - * @param factory Contract factory to use for creating the contract - * - * @returns New HarvestingJob instance - */ - constructor( - account: Account, - contract: Address | HarvestingJobInterface, - factory: ContractFactory = IHarvestingJob__factory, - ) { - super(account, contract, factory) - } -} diff --git a/src/products/savings-vault/index.ts b/src/products/savings-vault/index.ts deleted file mode 100644 index 47ab8c0e..00000000 --- a/src/products/savings-vault/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './savings-vault' -export * from './savings-vault-views' -export * from './savings-vault-router' -export * from './harvesting-job' diff --git a/src/products/savings-vault/savings-vault-router.ts b/src/products/savings-vault/savings-vault-router.ts deleted file mode 100644 index 463c4dc7..00000000 --- a/src/products/savings-vault/savings-vault-router.ts +++ /dev/null @@ -1,279 +0,0 @@ -import { TransactionResponse } from '@ethersproject/abstract-provider' -import { BigNumber, BigNumberish } from 'ethers' - -import { Erc20, StandardPermitArguments } from '../../erc-20' -import { InsufficientAllowanceError, PhutureError } from '../../errors' -import { Router } from '../../router' -import { Address } from '../../types' - -import { SavingsVault } from './savings-vault' - -/** ### SavingsVaultRouter class */ -export class SavingsVaultRouter implements Router { - /** - * ### Select Buy - * - * @param savingsVault Contract which implements the SavingsVault interface - * @param amountInInputToken Amount in input token - * @param inputToken Erc20 or Erc20Permit interface of input token - * - * @returns isMint True if minting selected. - * @returns target Address of the target contract - * @returns output Amount of Index shares - * @returns expectedAllowance Allowance for the input token - */ - async selectBuy( - savingsVault: SavingsVault, - amountInInputToken: BigNumberish, - inputToken?: Erc20, - ): Promise<{ - isMint: boolean - target: Address - outputAmount: BigNumber - expectedAllowance?: BigNumber - }> { - const target = savingsVault.address - - let expectedAllowance: BigNumber | undefined - if (inputToken) { - if ( - inputToken.address.toLowerCase() !== - (await savingsVault.contract.asset()).toLowerCase() - ) { - throw new PhutureError({ - status: 400, - message: - 'Input token is not the underlying asset token of the SavingsVault', - }) - } - try { - await inputToken.checkAllowance(target, amountInInputToken) - } catch (error) { - if (error instanceof InsufficientAllowanceError) { - expectedAllowance = error.expectedAllowance - } else { - throw error - } - } - } - - return { - isMint: true, - target, - outputAmount: await savingsVault.contract.previewDeposit( - amountInInputToken, - ), - expectedAllowance, - } - } - - /** - * ### Auto Buy - * - * @param _isMint True if minting, false if swapping - * @param savingsVault Contract which implements the SavingsVault interface - * @param amountInInputToken Amount in input token - * @param inputTokenAddress Address of input token - * @param options 0x request options and permit options for transaction - * - * @returns mint or swap transaction - */ - async buy( - _isMint: boolean, - savingsVault: SavingsVault, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - }>, - ): Promise { - return this.buyMint( - savingsVault, - amountInInputToken, - inputTokenAddress, - options, - ) - } - - /** - * ### Buy mint - * - * @param savingsVault Contract which implements the SavingsVault interface - * @param amountInInputToken Amount in input token - * @param _inputTokenAddress Address of input token - * @param options 0x request options and permit options for transaction - * - * @returns mint transaction - */ - public async buyMint( - savingsVault: SavingsVault, - amountInInputToken: BigNumberish, - _inputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - }>, - ): Promise { - const accountAddress = await savingsVault.account.address() - if (options?.permitOptions !== undefined) { - const depositWithPermitEstimatedGas = - await savingsVault.contract.estimateGas.depositWithPermit( - amountInInputToken, - accountAddress, - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - ) - return savingsVault.contract.depositWithPermit( - amountInInputToken, - await savingsVault.account.address(), - options.permitOptions.deadline, - options.permitOptions.v, - options.permitOptions.r, - options.permitOptions.s, - { gasLimit: depositWithPermitEstimatedGas.mul(100).div(95) }, - ) - } - const sellToken = new Erc20( - savingsVault.account, - await savingsVault.contract.asset(), - ) - await sellToken.checkAllowance(savingsVault.address, amountInInputToken) - const estimatedGas = await savingsVault.contract.estimateGas.deposit( - amountInInputToken, - accountAddress, - ) - return savingsVault.contract.deposit(amountInInputToken, accountAddress, { - gasLimit: estimatedGas.mul(100).div(80), - }) - } - - /** - * ### Buy swap - * - * @param _savingsVaultAddress Address of the Savings Vault - * @param _amountInInputToken amount in input token - * @param _inputTokenAddress Address of input token - * - * @returns swap transaction - */ - public async buySwap( - _savingsVaultAddress: Address, - _amountInInputToken: BigNumberish, - _inputTokenAddress?: Address, - ): Promise { - throw new PhutureError({ - status: 404, - message: 'buySwap method is not defined', - }) - } - - /** - * ### Select sell - * - * @param savingsVault Contract which implements the SavingsVault interface - * @param amount Amount of Savings Vault shares - * - * @returns isBurn true if burn is selected - * @returns indexAmount Amount of index - * @returns outputToken Amount of output token - * @returns expectedAllowance Allowance for the output token - */ - async selectSell( - savingsVault: SavingsVault, - amount: BigNumberish, - ): Promise<{ - isBurn: boolean - outputAmount: BigNumber - target: Address - expectedAllowance?: BigNumber - }> { - return { - isBurn: true, - target: savingsVault.address, - outputAmount: await savingsVault.contract.previewRedeem(amount), - expectedAllowance: undefined, - } - } - - /** - * ### Auto Sell - * - * @param _isBurn true if tx is burn, false if swap - * @param savingsVault Contract which implements the SavingsVault interface - * @param amount Amount of Savings Vault shares - * @param outputTokenAddress Address of output token - * @param options maxLoss option - * - * @returns burn or swap transaction - */ - async sell( - _isBurn: boolean, - savingsVault: SavingsVault, - amount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial<{ - maxLoss?: number - }>, - ): Promise { - return this.sellBurn(savingsVault, amount, outputTokenAddress, options) - } - - /** - * ### Sell Burn - * - * @param savingsVault Contract which implements the SavingsVault interface - * @param amount Amount of Savings Vault shares - * @param _outputTokenAddress Address of output token - * @param options maxLoss option - * - * @returns burn transaction - */ - public async sellBurn( - savingsVault: SavingsVault, - amount: BigNumberish, - _outputTokenAddress?: Address, - options?: Partial<{ - maxLoss: number - }>, - ): Promise { - const owner = await savingsVault.account.address() - - if (options?.maxLoss) { - if (options.maxLoss < 0 || options.maxLoss >= 10000) - throw new RangeError('Parameter maxLoss must be between 0 and 10000.') - - const redeemed = await savingsVault.contract.previewRedeem(amount) - const minOutputAmount = redeemed.mul(10000 - options.maxLoss).div(10000) - - return savingsVault.redeemWithMinOutputAmount( - amount, - owner, - owner, - minOutputAmount, - ) - } - - return savingsVault.redeem(amount, owner, owner) - } - - /** - * ### Sell Swap - * - * @param _savingsVaultAddress Address of the Savings Vault - * @param _amount Amount of Savings Vault shares - * @param _outputTokenAddress Address of output token - * - * @returns burn transaction - */ - public async sellSwap( - _savingsVaultAddress: Address, - _amount: BigNumberish, - _outputTokenAddress?: Address, - ): Promise { - throw new PhutureError({ - status: 404, - message: 'sellSwap method is not defined', - }) - } -} diff --git a/src/products/savings-vault/savings-vault-views.ts b/src/products/savings-vault/savings-vault-views.ts deleted file mode 100644 index be797ded..00000000 --- a/src/products/savings-vault/savings-vault-views.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Account } from '../../account' -import { Contract } from '../../contract' -import { - SavingsVaultViews as SavingsVaultViewsContractInterface, - SavingsVaultViews__factory, -} from '../../typechain' -import { Address, ContractFactory } from '../../types' - -/** ### SavingsVaultViews Contract */ -export class SavingsVaultViews< - C extends SavingsVaultViewsContractInterface = SavingsVaultViewsContractInterface, -> extends Contract { - /** - * ### Creates a new SavingsVaultViews instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the SavingsVaultViews contract - * @param factory Contract factory to use for creating the contract - * - * @returns New SavingsVaultViews instance - */ - constructor( - account: Account, - contract: Address | C, - factory: ContractFactory = SavingsVaultViews__factory, - ) { - super(account, contract, factory) - } -} diff --git a/src/products/savings-vault/savings-vault.ts b/src/products/savings-vault/savings-vault.ts deleted file mode 100644 index d3aa9f5b..00000000 --- a/src/products/savings-vault/savings-vault.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { BigNumber, BigNumberish, ContractTransaction } from 'ethers' - -import { Account } from '../../account' -import { Erc4626 } from '../../erc-4626' -import { - SavingsVault as SavingsVaultContractInterface, - SavingsVault__factory, -} from '../../typechain' -import type { Address, ContractFactory } from '../../types' - -/** - * ### SavingsVault Contract - */ -export class SavingsVault extends Erc4626 { - /** - * ### Creates a new SavingsVault instance - * - * @param account Account to use for interacting with the contract - * @param contract Contract instance or address of the SavingsVault contract - * @param factory Contract factory to use for creating the contract - * - * @returns New SavingsVault instance - */ - constructor( - account: Account, - contract: Address | SavingsVaultContractInterface, - factory: ContractFactory = SavingsVault__factory, - ) { - super(account, contract, factory) - } - - public async redeem( - shares: BigNumberish, - _receiver: Address, - owner: Address, - ): Promise { - const estimatedGas = await this.contract.estimateGas.redeem( - shares, - owner, - owner, - ) - - return this.contract.redeem(shares, owner, owner, { - gasLimit: estimatedGas.mul(100).div(80), - }) - } - - public async redeemWithMinOutputAmount( - shares: BigNumberish, - receiver: Address, - owner: Address, - minOutputAmount: BigNumber, - ): Promise { - const estimatedGas = - await this.contract.estimateGas.redeemWithMinOutputAmount( - shares, - receiver, - owner, - minOutputAmount, - ) - - return this.contract.redeemWithMinOutputAmount( - shares, - receiver, - owner, - minOutputAmount, - { - gasLimit: estimatedGas.mul(100).div(80), - }, - ) - } -} diff --git a/src/router/index.ts b/src/router/index.ts deleted file mode 100644 index 398cae73..00000000 --- a/src/router/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './router' diff --git a/src/router/router.ts b/src/router/router.ts deleted file mode 100644 index 71ab077e..00000000 --- a/src/router/router.ts +++ /dev/null @@ -1,180 +0,0 @@ -import type { TransactionResponse } from '@ethersproject/abstract-provider' -import { BigNumber, BigNumberish } from 'ethers' - -import type { Zero0xQuoteOptions } from '../0x-aggregator' -import { Erc20, Erc20Permit, StandardPermitArguments } from '../erc-20' -import type { Address } from '../types' - -/** ### Router Interface */ -export interface Router { - /** - * ### Select Buy - * - * @param erc20PermitToken Contract which implements the ERC20Permit interface - * @param amountInInputToken amount in input token - * @param inputToken Erc20 or Erc20Permit interface of input token - * @param options 0x request options - * - * @returns isMint true if minting selected - * @returns target Address of the target contract - * @returns output Amount of output product shares - * @returns expectedAllowance Allowance for the input token - */ - selectBuy( - erc20PermitToken: Erc20Permit, - amountInInputToken: BigNumberish, - inputToken?: Erc20, - options?: Partial, - ): Promise<{ - isMint: boolean - target: Address - outputAmount: BigNumber - expectedAllowance?: BigNumber - }> - - /** - * ### Auto Buy - * - * @param isMint true if minting, false if swapping - * @param erc20PermitToken Contract which implements the ERC20Permit interface - * @param amountInInputToken Amount in input token - * @param inputTokenAddress Address of input token - * @param options 0x request options and permit options for transaction - * - * @returns mint or swap transaction - */ - buy( - isMint: boolean, - erc20PermitToken: Erc20Permit, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise - - /** - * ### Buy mint - * - * @param erc20PermitToken Contract which implements the ERC20Permit interface - * @param amountInInputToken amount in input token - * @param inputTokenAddress Address of input token - * @param options 0x request options and permit options for transaction - * - * @returns mint transaction - */ - buyMint( - erc20PermitToken: Erc20Permit, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - }>, - ): Promise - - /** - * ### Buy swap - * - * @param contractAddress Address of the product - * @param amountInInputToken amount in input token - * @param inputTokenAddress Address of input token - * @param zeroExOptions 0x request options for transaction - * - * @returns swap transaction - */ - buySwap( - contractAddress: Address, - amountInInputToken: BigNumberish, - inputTokenAddress?: Address, - zeroExOptions?: Partial, - ): Promise - - /** - * ### Select sell - * - * @param erc20PermitToken Contract which implements the ERC20Permit interface - * @param sharesAmount Amount of product shares - * @param outputToken Contract which implements the ERC20 interface - * @param options 0x request options for transaction - * - * @returns isBurn true if burn is selected - * @returns indexAmount Amount of index - * @returns outputToken Amount of output token - * @returns expectedAllowance Allowance for the output token - */ - selectSell( - erc20PermitToken: Erc20Permit, - sharesAmount: BigNumberish, - outputToken?: Erc20, - options?: Partial, - ): Promise<{ - isBurn: boolean - outputAmount: BigNumber - target: Address - expectedAllowance?: BigNumber - }> - - /** - * ### Auto Sell - * - * @param isBurn true if the tx is burn, false if swap - * @param erc20PermitToken Contract which implements the ERC20Permit interface - * @param sharesAmount Amount of product shares - * @param outputTokenAddress Address of output token - * @param options permit options for transaction - * @param options maxLoss option, 0x request options and permit options for transaction - * - * @returns burn or swap transaction - */ - sell( - isBurn: boolean, - erc20PermitToken: Erc20Permit, - sharesAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - maxLoss?: number - }>, - ): Promise - - /** - * ### Sell Burn - * - * @param erc20PermitToken Contract which implements the ERC20Permit interface - * @param sharesAmount Amount of product shares - * @param outputTokenAddress Address of output token - * @param options maxLoss option, 0x request options and permit options for transaction - * - * @returns burn transaction - */ - sellBurn( - erc20PermitToken: Erc20Permit, - sharesAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial<{ - permitOptions: Omit - zeroExOptions: Partial - maxLoss?: number - }>, - ): Promise - - /** - * ### Sell Swap - * - * @param contractAddress Address of the product - * @param sharesAmount Amount of product shares - * @param outputTokenAddress Address of output token - * @param options 0x request options for transaction - * - * @returns burn transaction - */ - sellSwap( - contractAddress: Address, //change it here to address of Contract - sharesAmount: BigNumberish, - outputTokenAddress?: Address, - options?: Partial, - ): Promise -} diff --git a/src/typechain/BaseIndex.ts b/src/typechain/BaseIndex.ts index 1f5b8976..be2ee16a 100644 --- a/src/typechain/BaseIndex.ts +++ b/src/typechain/BaseIndex.ts @@ -1,3 +1,5 @@ +import type { EventFragment, FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ @@ -14,17 +16,11 @@ import type { utils, } from "ethers"; import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, OnEvent, PromiseOrValue, + TypedEvent, + TypedEventFilter, + TypedListener, } from "./common"; export interface BaseIndexInterface extends utils.Interface { @@ -98,100 +94,64 @@ export interface BaseIndexInterface extends utils.Interface { | "transferFrom" | "transferFrom(address,address,uint256)" | "vTokenFactory" - | "vTokenFactory()" + | "vTokenFactory()", ): FunctionFragment; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR()", - values?: undefined - ): string; + encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string; + encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR()", values?: undefined): string; encodeFunctionData( functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "allowance(address,address)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData(functionFragment: "anatomy", values?: undefined): string; encodeFunctionData(functionFragment: "anatomy()", values?: undefined): string; encodeFunctionData( functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; + encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; encodeFunctionData( functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "burn(address)", - values: [PromiseOrValue] + values: [PromiseOrValue], ): string; + encodeFunctionData(functionFragment: "burn", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "burn(address)", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decimals()", - values?: undefined - ): string; + encodeFunctionData(functionFragment: "decimals()", values?: undefined): string; encodeFunctionData( functionFragment: "decreaseAllowance", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "decreaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData(functionFragment: "factory", values?: undefined): string; encodeFunctionData(functionFragment: "factory()", values?: undefined): string; - encodeFunctionData( - functionFragment: "inactiveAnatomy", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "inactiveAnatomy()", - values?: undefined - ): string; + encodeFunctionData(functionFragment: "inactiveAnatomy", values?: undefined): string; + encodeFunctionData(functionFragment: "inactiveAnatomy()", values?: undefined): string; encodeFunctionData( functionFragment: "increaseAllowance", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "increaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint(address)", - values: [PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; + encodeFunctionData(functionFragment: "mint", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "mint(address)", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "name()", values?: undefined): string; - encodeFunctionData( - functionFragment: "nonces", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "nonces(address)", - values: [PromiseOrValue] - ): string; + encodeFunctionData(functionFragment: "nonces", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "nonces(address)", values: [PromiseOrValue]): string; encodeFunctionData( functionFragment: "permit", values: [ @@ -201,8 +161,8 @@ export interface BaseIndexInterface extends utils.Interface { PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", @@ -213,203 +173,108 @@ export interface BaseIndexInterface extends utils.Interface { PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData(functionFragment: "registry", values?: undefined): string; - encodeFunctionData( - functionFragment: "registry()", - values?: undefined - ): string; + encodeFunctionData(functionFragment: "registry()", values?: undefined): string; encodeFunctionData( functionFragment: "supportsInterface", - values: [PromiseOrValue] + values: [PromiseOrValue], ): string; encodeFunctionData( functionFragment: "supportsInterface(bytes4)", - values: [PromiseOrValue] + values: [PromiseOrValue], ): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData(functionFragment: "symbol()", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply()", - values?: undefined - ): string; + encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; + encodeFunctionData(functionFragment: "totalSupply()", values?: undefined): string; encodeFunctionData( functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "transfer(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [PromiseOrValue, PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "vTokenFactory", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "vTokenFactory()", - values?: undefined + values: [PromiseOrValue, PromiseOrValue, PromiseOrValue], ): string; + encodeFunctionData(functionFragment: "vTokenFactory", values?: undefined): string; + encodeFunctionData(functionFragment: "vTokenFactory()", values?: undefined): string; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR()", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "DOMAIN_SEPARATOR", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "DOMAIN_SEPARATOR()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowance(address,address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "allowance(address,address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "anatomy", data: BytesLike): Result; decodeFunctionResult(functionFragment: "anatomy()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "approve(address,uint256)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "balanceOf(address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "burn(address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "burn(address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "decreaseAllowance", data: BytesLike): Result; decodeFunctionResult( functionFragment: "decreaseAllowance(address,uint256)", - data: BytesLike + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "factory", data: BytesLike): Result; decodeFunctionResult(functionFragment: "factory()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "inactiveAnatomy", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "inactiveAnatomy()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "inactiveAnatomy", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "inactiveAnatomy()", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "increaseAllowance", data: BytesLike): Result; decodeFunctionResult( functionFragment: "increaseAllowance(address,uint256)", - data: BytesLike + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "mint(address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "mint(address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "nonces(address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "nonces(address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; decodeFunctionResult( functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", - data: BytesLike + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registry()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface(bytes4)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "supportsInterface(bytes4)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply()", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalSupply()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transfer(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "transfer(address,uint256)", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; decodeFunctionResult( functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "vTokenFactory", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "vTokenFactory()", - data: BytesLike + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "vTokenFactory", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "vTokenFactory()", data: BytesLike): Result; events: { "Approval(address,address,uint256)": EventFragment; - "AssetRemoved(address)": EventFragment; "Transfer(address,address,uint256)": EventFragment; - "UpdateAnatomy(address,uint8)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Approval(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "AssetRemoved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "AssetRemoved(address)"): EventFragment; + getEvent(nameOrSignatureOrTopic: "Approval(address,address,uint256)"): EventFragment; getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Transfer(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "UpdateAnatomy"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "UpdateAnatomy(address,uint8)" - ): EventFragment; + getEvent(nameOrSignatureOrTopic: "Transfer(address,address,uint256)"): EventFragment; } export interface ApprovalEventObject { @@ -417,43 +282,19 @@ export interface ApprovalEventObject { spender: string; value: BigNumber; } -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; +export type ApprovalEvent = TypedEvent<[string, string, BigNumber], ApprovalEventObject>; export type ApprovalEventFilter = TypedEventFilter; -export interface AssetRemovedEventObject { - asset: string; -} -export type AssetRemovedEvent = TypedEvent<[string], AssetRemovedEventObject>; - -export type AssetRemovedEventFilter = TypedEventFilter; - export interface TransferEventObject { from: string; to: string; value: BigNumber; } -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; +export type TransferEvent = TypedEvent<[string, string, BigNumber], TransferEventObject>; export type TransferEventFilter = TypedEventFilter; -export interface UpdateAnatomyEventObject { - asset: string; - weight: number; -} -export type UpdateAnatomyEvent = TypedEvent< - [string, number], - UpdateAnatomyEventObject ->; - -export type UpdateAnatomyEventFilter = TypedEventFilter; - export interface BaseIndex extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; @@ -464,16 +305,14 @@ export interface BaseIndex extends BaseContract { queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined + toBlock?: string | number | undefined, ): Promise>; listeners( - eventFilter?: TypedEventFilter + eventFilter?: TypedEventFilter, ): Array>; listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; + removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; @@ -488,57 +327,50 @@ export interface BaseIndex extends BaseContract { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber]>; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber]>; anatomy( - overrides?: CallOverrides - ): Promise< - [string[], number[]] & { _assets: string[]; _weights: number[] } - >; + overrides?: CallOverrides, + ): Promise<[string[], number[]] & { _assets: string[]; _weights: number[] }>; "anatomy()"( - overrides?: CallOverrides - ): Promise< - [string[], number[]] & { _assets: string[]; _weights: number[] } - >; + overrides?: CallOverrides, + ): Promise<[string[], number[]] & { _assets: string[]; _weights: number[] }>; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber]>; burn( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; decimals(overrides?: CallOverrides): Promise<[number]>; @@ -548,13 +380,13 @@ export interface BaseIndex extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; factory(overrides?: CallOverrides): Promise<[string]>; @@ -568,37 +400,34 @@ export interface BaseIndex extends BaseContract { increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise<[string]>; "name()"(overrides?: CallOverrides): Promise<[string]>; - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; + nonces(owner: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; "nonces(address)"( owner: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber]>; permit( @@ -609,7 +438,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( @@ -620,7 +449,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; registry(overrides?: CallOverrides): Promise<[string]>; @@ -629,12 +458,12 @@ export interface BaseIndex extends BaseContract { supportsInterface( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[boolean]>; "supportsInterface(bytes4)"( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[boolean]>; symbol(overrides?: CallOverrides): Promise<[string]>; @@ -648,27 +477,27 @@ export interface BaseIndex extends BaseContract { transfer( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; vTokenFactory(overrides?: CallOverrides): Promise<[string]>; @@ -683,53 +512,50 @@ export interface BaseIndex extends BaseContract { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; anatomy( - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[string[], number[]] & { _assets: string[]; _weights: number[] }>; "anatomy()"( - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[string[], number[]] & { _assets: string[]; _weights: number[] }>; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burn( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; decimals(overrides?: CallOverrides): Promise; @@ -739,13 +565,13 @@ export interface BaseIndex extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; factory(overrides?: CallOverrides): Promise; @@ -759,38 +585,32 @@ export interface BaseIndex extends BaseContract { increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + nonces(owner: PromiseOrValue, overrides?: CallOverrides): Promise; - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "nonces(address)"(owner: PromiseOrValue, overrides?: CallOverrides): Promise; permit( owner: PromiseOrValue, @@ -800,7 +620,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( @@ -811,7 +631,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; registry(overrides?: CallOverrides): Promise; @@ -820,12 +640,12 @@ export interface BaseIndex extends BaseContract { supportsInterface( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "supportsInterface(bytes4)"( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; symbol(overrides?: CallOverrides): Promise; @@ -839,27 +659,27 @@ export interface BaseIndex extends BaseContract { transfer( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; vTokenFactory(overrides?: CallOverrides): Promise; @@ -874,58 +694,45 @@ export interface BaseIndex extends BaseContract { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; anatomy( - overrides?: CallOverrides - ): Promise< - [string[], number[]] & { _assets: string[]; _weights: number[] } - >; + overrides?: CallOverrides, + ): Promise<[string[], number[]] & { _assets: string[]; _weights: number[] }>; "anatomy()"( - overrides?: CallOverrides - ): Promise< - [string[], number[]] & { _assets: string[]; _weights: number[] } - >; + overrides?: CallOverrides, + ): Promise<[string[], number[]] & { _assets: string[]; _weights: number[] }>; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - burn( - _recipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + burn(_recipient: PromiseOrValue, overrides?: CallOverrides): Promise; - "burn(address)"( - _recipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "burn(address)"(_recipient: PromiseOrValue, overrides?: CallOverrides): Promise; decimals(overrides?: CallOverrides): Promise; @@ -934,13 +741,13 @@ export interface BaseIndex extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; factory(overrides?: CallOverrides): Promise; @@ -954,38 +761,26 @@ export interface BaseIndex extends BaseContract { increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - mint( - _recipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + mint(_recipient: PromiseOrValue, overrides?: CallOverrides): Promise; - "mint(address)"( - _recipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "mint(address)"(_recipient: PromiseOrValue, overrides?: CallOverrides): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + nonces(owner: PromiseOrValue, overrides?: CallOverrides): Promise; - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "nonces(address)"(owner: PromiseOrValue, overrides?: CallOverrides): Promise; permit( owner: PromiseOrValue, @@ -995,7 +790,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( @@ -1006,7 +801,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; registry(overrides?: CallOverrides): Promise; @@ -1015,12 +810,12 @@ export interface BaseIndex extends BaseContract { supportsInterface( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "supportsInterface(bytes4)"( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; symbol(overrides?: CallOverrides): Promise; @@ -1034,27 +829,27 @@ export interface BaseIndex extends BaseContract { transfer( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "transfer(address,uint256)"( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; transferFrom( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "transferFrom(address,address,uint256)"( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; vTokenFactory(overrides?: CallOverrides): Promise; @@ -1066,33 +861,24 @@ export interface BaseIndex extends BaseContract { "Approval(address,address,uint256)"( owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, - value?: null + value?: null, ): ApprovalEventFilter; Approval( owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, - value?: null + value?: null, ): ApprovalEventFilter; - "AssetRemoved(address)"(asset?: null): AssetRemovedEventFilter; - AssetRemoved(asset?: null): AssetRemovedEventFilter; - "Transfer(address,address,uint256)"( from?: PromiseOrValue | null, to?: PromiseOrValue | null, - value?: null + value?: null, ): TransferEventFilter; Transfer( from?: PromiseOrValue | null, to?: PromiseOrValue | null, - value?: null + value?: null, ): TransferEventFilter; - - "UpdateAnatomy(address,uint8)"( - asset?: null, - weight?: null - ): UpdateAnatomyEventFilter; - UpdateAnatomy(asset?: null, weight?: null): UpdateAnatomyEventFilter; }; estimateGas: { @@ -1103,13 +889,13 @@ export interface BaseIndex extends BaseContract { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; anatomy(overrides?: CallOverrides): Promise; @@ -1119,33 +905,30 @@ export interface BaseIndex extends BaseContract { approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burn( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; decimals(overrides?: CallOverrides): Promise; @@ -1155,13 +938,13 @@ export interface BaseIndex extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; factory(overrides?: CallOverrides): Promise; @@ -1175,38 +958,32 @@ export interface BaseIndex extends BaseContract { increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + nonces(owner: PromiseOrValue, overrides?: CallOverrides): Promise; - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + "nonces(address)"(owner: PromiseOrValue, overrides?: CallOverrides): Promise; permit( owner: PromiseOrValue, @@ -1216,7 +993,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( @@ -1227,7 +1004,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; registry(overrides?: CallOverrides): Promise; @@ -1236,12 +1013,12 @@ export interface BaseIndex extends BaseContract { supportsInterface( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "supportsInterface(bytes4)"( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; symbol(overrides?: CallOverrides): Promise; @@ -1255,27 +1032,27 @@ export interface BaseIndex extends BaseContract { transfer( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; vTokenFactory(overrides?: CallOverrides): Promise; @@ -1286,20 +1063,18 @@ export interface BaseIndex extends BaseContract { populateTransaction: { DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - "DOMAIN_SEPARATOR()"( - overrides?: CallOverrides - ): Promise; + "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; anatomy(overrides?: CallOverrides): Promise; @@ -1309,33 +1084,33 @@ export interface BaseIndex extends BaseContract { approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; balanceOf( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burn( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; decimals(overrides?: CallOverrides): Promise; @@ -1345,13 +1120,13 @@ export interface BaseIndex extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; factory(overrides?: CallOverrides): Promise; @@ -1360,44 +1135,39 @@ export interface BaseIndex extends BaseContract { inactiveAnatomy(overrides?: CallOverrides): Promise; - "inactiveAnatomy()"( - overrides?: CallOverrides - ): Promise; + "inactiveAnatomy()"(overrides?: CallOverrides): Promise; increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint(address)"( _recipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + nonces(owner: PromiseOrValue, overrides?: CallOverrides): Promise; "nonces(address)"( owner: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; permit( @@ -1408,7 +1178,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( @@ -1419,7 +1189,7 @@ export interface BaseIndex extends BaseContract { v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; registry(overrides?: CallOverrides): Promise; @@ -1428,12 +1198,12 @@ export interface BaseIndex extends BaseContract { supportsInterface( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "supportsInterface(bytes4)"( _interfaceId: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; symbol(overrides?: CallOverrides): Promise; @@ -1447,27 +1217,27 @@ export interface BaseIndex extends BaseContract { transfer( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; vTokenFactory(overrides?: CallOverrides): Promise; diff --git a/src/typechain/ERC20.ts b/src/typechain/ERC20.ts index a552e1fa..1dd23cca 100644 --- a/src/typechain/ERC20.ts +++ b/src/typechain/ERC20.ts @@ -1,3 +1,5 @@ +import type { EventFragment, FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ @@ -14,17 +16,11 @@ import type { utils, } from "ethers"; import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, OnEvent, PromiseOrValue, + TypedEvent, + TypedEventFilter, + TypedListener, } from "./common"; export interface ERC20Interface extends utils.Interface { @@ -65,148 +61,101 @@ export interface ERC20Interface extends utils.Interface { | "transfer" | "transfer(address,uint256)" | "transferFrom" - | "transferFrom(address,address,uint256)" + | "transferFrom(address,address,uint256)", ): FunctionFragment; encodeFunctionData( functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "allowance(address,address)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; + encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; encodeFunctionData( functionFragment: "balanceOf(address)", - values: [PromiseOrValue] + values: [PromiseOrValue], ): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decimals()", - values?: undefined - ): string; + encodeFunctionData(functionFragment: "decimals()", values?: undefined): string; encodeFunctionData( functionFragment: "decreaseAllowance", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "decreaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "increaseAllowance", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "increaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "name()", values?: undefined): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData(functionFragment: "symbol()", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply()", - values?: undefined - ): string; + encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; + encodeFunctionData(functionFragment: "totalSupply()", values?: undefined): string; encodeFunctionData( functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "transfer(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [PromiseOrValue, PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] + values: [PromiseOrValue, PromiseOrValue, PromiseOrValue], ): string; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowance(address,address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "allowance(address,address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "approve(address,uint256)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "balanceOf(address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "decreaseAllowance", data: BytesLike): Result; decodeFunctionResult( functionFragment: "decreaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "increaseAllowance", data: BytesLike): Result; decodeFunctionResult( functionFragment: "increaseAllowance(address,uint256)", - data: BytesLike + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply()", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalSupply()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transfer(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "transfer(address,uint256)", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; decodeFunctionResult( functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike + data: BytesLike, ): Result; events: { @@ -215,13 +164,9 @@ export interface ERC20Interface extends utils.Interface { }; getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Approval(address,address,uint256)" - ): EventFragment; + getEvent(nameOrSignatureOrTopic: "Approval(address,address,uint256)"): EventFragment; getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Transfer(address,address,uint256)" - ): EventFragment; + getEvent(nameOrSignatureOrTopic: "Transfer(address,address,uint256)"): EventFragment; } export interface ApprovalEventObject { @@ -229,10 +174,7 @@ export interface ApprovalEventObject { spender: string; value: BigNumber; } -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; +export type ApprovalEvent = TypedEvent<[string, string, BigNumber], ApprovalEventObject>; export type ApprovalEventFilter = TypedEventFilter; @@ -241,10 +183,7 @@ export interface TransferEventObject { to: string; value: BigNumber; } -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; +export type TransferEvent = TypedEvent<[string, string, BigNumber], TransferEventObject>; export type TransferEventFilter = TypedEventFilter; @@ -258,16 +197,14 @@ export interface ERC20 extends BaseContract { queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined + toBlock?: string | number | undefined, ): Promise>; listeners( - eventFilter?: TypedEventFilter + eventFilter?: TypedEventFilter, ): Array>; listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; + removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; @@ -278,35 +215,32 @@ export interface ERC20 extends BaseContract { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber]>; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber]>; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber]>; decimals(overrides?: CallOverrides): Promise<[number]>; @@ -316,25 +250,25 @@ export interface ERC20 extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise<[string]>; @@ -352,62 +286,59 @@ export interface ERC20 extends BaseContract { transfer( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; }; allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; decimals(overrides?: CallOverrides): Promise; @@ -417,25 +348,25 @@ export interface ERC20 extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise; @@ -453,62 +384,59 @@ export interface ERC20 extends BaseContract { transfer( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; callStatic: { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; decimals(overrides?: CallOverrides): Promise; @@ -518,25 +446,25 @@ export interface ERC20 extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; name(overrides?: CallOverrides): Promise; @@ -554,27 +482,27 @@ export interface ERC20 extends BaseContract { transfer( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "transfer(address,uint256)"( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; transferFrom( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "transferFrom(address,address,uint256)"( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; }; @@ -582,23 +510,23 @@ export interface ERC20 extends BaseContract { "Approval(address,address,uint256)"( owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, - value?: null + value?: null, ): ApprovalEventFilter; Approval( owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, - value?: null + value?: null, ): ApprovalEventFilter; "Transfer(address,address,uint256)"( from?: PromiseOrValue | null, to?: PromiseOrValue | null, - value?: null + value?: null, ): TransferEventFilter; Transfer( from?: PromiseOrValue | null, to?: PromiseOrValue | null, - value?: null + value?: null, ): TransferEventFilter; }; @@ -606,35 +534,32 @@ export interface ERC20 extends BaseContract { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; decimals(overrides?: CallOverrides): Promise; @@ -644,25 +569,25 @@ export interface ERC20 extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise; @@ -680,27 +605,27 @@ export interface ERC20 extends BaseContract { transfer( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; }; @@ -708,35 +633,35 @@ export interface ERC20 extends BaseContract { allowance( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "allowance(address,address)"( owner: PromiseOrValue, spender: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; approve( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "approve(address,uint256)"( spender: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; balanceOf( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "balanceOf(address)"( account: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; decimals(overrides?: CallOverrides): Promise; @@ -746,25 +671,25 @@ export interface ERC20 extends BaseContract { decreaseAllowance( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "decreaseAllowance(address,uint256)"( spender: PromiseOrValue, subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; increaseAllowance( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "increaseAllowance(address,uint256)"( spender: PromiseOrValue, addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; name(overrides?: CallOverrides): Promise; @@ -782,27 +707,27 @@ export interface ERC20 extends BaseContract { transfer( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transfer(address,uint256)"( recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; transferFrom( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "transferFrom(address,address,uint256)"( sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; }; } diff --git a/src/typechain/ERC20Permit.ts b/src/typechain/ERC20Permit.ts deleted file mode 100644 index f4ce2993..00000000 --- a/src/typechain/ERC20Permit.ts +++ /dev/null @@ -1,1057 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface ERC20PermitInterface extends utils.Interface { - functions: { - "DOMAIN_SEPARATOR()": FunctionFragment; - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "name()": FunctionFragment; - "nonces(address)": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "symbol()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "DOMAIN_SEPARATOR" - | "DOMAIN_SEPARATOR()" - | "allowance" - | "allowance(address,address)" - | "approve" - | "approve(address,uint256)" - | "balanceOf" - | "balanceOf(address)" - | "decimals" - | "decimals()" - | "decreaseAllowance" - | "decreaseAllowance(address,uint256)" - | "increaseAllowance" - | "increaseAllowance(address,uint256)" - | "name" - | "name()" - | "nonces" - | "nonces(address)" - | "permit" - | "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)" - | "symbol" - | "symbol()" - | "totalSupply" - | "totalSupply()" - | "transfer" - | "transfer(address,uint256)" - | "transferFrom" - | "transferFrom(address,address,uint256)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance(address,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decimals()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "name()", values?: undefined): string; - encodeFunctionData( - functionFragment: "nonces", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "nonces(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData(functionFragment: "symbol()", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transfer(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowance(address,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "nonces(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transfer(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Approval(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Transfer(address,address,uint256)" - ): EventFragment; -} - -export interface ApprovalEventObject { - owner: string; - spender: string; - value: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface TransferEventObject { - from: string; - to: string; - value: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface ERC20Permit extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ERC20PermitInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise<[string]>; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - "decimals()"(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - "name()"(overrides?: CallOverrides): Promise<[string]>; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - "symbol()"(overrides?: CallOverrides): Promise<[string]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - "totalSupply()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - Approval( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - - "Transfer(address,address,uint256)"( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - Transfer( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - }; - - estimateGas: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"( - overrides?: CallOverrides - ): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/typechain/ERC4626Upgradeable.ts b/src/typechain/ERC4626Upgradeable.ts deleted file mode 100644 index 1681a634..00000000 --- a/src/typechain/ERC4626Upgradeable.ts +++ /dev/null @@ -1,1973 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface ERC4626UpgradeableInterface extends utils.Interface { - functions: { - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "asset()": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "convertToAssets(uint256)": FunctionFragment; - "convertToShares(uint256)": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "deposit(uint256,address)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "maxDeposit(address)": FunctionFragment; - "maxMint(address)": FunctionFragment; - "maxRedeem(address)": FunctionFragment; - "maxWithdraw(address)": FunctionFragment; - "mint(uint256,address)": FunctionFragment; - "name()": FunctionFragment; - "previewDeposit(uint256)": FunctionFragment; - "previewMint(uint256)": FunctionFragment; - "previewRedeem(uint256)": FunctionFragment; - "previewWithdraw(uint256)": FunctionFragment; - "redeem(uint256,address,address)": FunctionFragment; - "symbol()": FunctionFragment; - "totalAssets()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "withdraw(uint256,address,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "allowance" - | "allowance(address,address)" - | "approve" - | "approve(address,uint256)" - | "asset" - | "asset()" - | "balanceOf" - | "balanceOf(address)" - | "convertToAssets" - | "convertToAssets(uint256)" - | "convertToShares" - | "convertToShares(uint256)" - | "decimals" - | "decimals()" - | "decreaseAllowance" - | "decreaseAllowance(address,uint256)" - | "deposit" - | "deposit(uint256,address)" - | "increaseAllowance" - | "increaseAllowance(address,uint256)" - | "maxDeposit" - | "maxDeposit(address)" - | "maxMint" - | "maxMint(address)" - | "maxRedeem" - | "maxRedeem(address)" - | "maxWithdraw" - | "maxWithdraw(address)" - | "mint" - | "mint(uint256,address)" - | "name" - | "name()" - | "previewDeposit" - | "previewDeposit(uint256)" - | "previewMint" - | "previewMint(uint256)" - | "previewRedeem" - | "previewRedeem(uint256)" - | "previewWithdraw" - | "previewWithdraw(uint256)" - | "redeem" - | "redeem(uint256,address,address)" - | "symbol" - | "symbol()" - | "totalAssets" - | "totalAssets()" - | "totalSupply" - | "totalSupply()" - | "transfer" - | "transfer(address,uint256)" - | "transferFrom" - | "transferFrom(address,address,uint256)" - | "withdraw" - | "withdraw(uint256,address,address)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance(address,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "asset", values?: undefined): string; - encodeFunctionData(functionFragment: "asset()", values?: undefined): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToAssets", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToAssets(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToShares", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToShares(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decimals()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "deposit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "deposit(uint256,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxDeposit", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxDeposit(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxMint", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxMint(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxRedeem", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxRedeem(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxWithdraw", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxWithdraw(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint(uint256,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "name()", values?: undefined): string; - encodeFunctionData( - functionFragment: "previewDeposit", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewDeposit(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewMint", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewMint(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewRedeem", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewRedeem(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewWithdraw", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewWithdraw(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "redeem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "redeem(uint256,address,address)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData(functionFragment: "symbol()", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalAssets", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalAssets()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transfer(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "withdraw", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "withdraw(uint256,address,address)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowance(address,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "asset", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "asset()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToAssets", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToAssets(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToShares", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToShares(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "deposit(uint256,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxDeposit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxDeposit(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxMint", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxMint(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxRedeem", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxRedeem(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "maxWithdraw", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "maxWithdraw(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "mint(uint256,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "previewDeposit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewDeposit(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewMint", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewMint(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewRedeem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewRedeem(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewWithdraw", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewWithdraw(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "redeem(uint256,address,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalAssets", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalAssets()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transfer(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "withdraw(uint256,address,address)", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "Deposit(address,address,uint256,uint256)": EventFragment; - "Initialized(uint8)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "Withdraw(address,address,address,uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Approval(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Deposit"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Deposit(address,address,uint256,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized(uint8)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Transfer(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Withdraw"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Withdraw(address,address,address,uint256,uint256)" - ): EventFragment; -} - -export interface ApprovalEventObject { - owner: string; - spender: string; - value: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface DepositEventObject { - caller: string; - owner: string; - assets: BigNumber; - shares: BigNumber; -} -export type DepositEvent = TypedEvent< - [string, string, BigNumber, BigNumber], - DepositEventObject ->; - -export type DepositEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface TransferEventObject { - from: string; - to: string; - value: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface WithdrawEventObject { - caller: string; - receiver: string; - owner: string; - assets: BigNumber; - shares: BigNumber; -} -export type WithdrawEvent = TypedEvent< - [string, string, string, BigNumber, BigNumber], - WithdrawEventObject ->; - -export type WithdrawEventFilter = TypedEventFilter; - -export interface ERC4626Upgradeable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ERC4626UpgradeableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise<[string]>; - - "asset()"(overrides?: CallOverrides): Promise<[string]>; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { assets: BigNumber }>; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { assets: BigNumber }>; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { shares: BigNumber }>; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { shares: BigNumber }>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - "decimals()"(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - "name()"(overrides?: CallOverrides): Promise<[string]>; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - "symbol()"(overrides?: CallOverrides): Promise<[string]>; - - totalAssets(overrides?: CallOverrides): Promise<[BigNumber]>; - - "totalAssets()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - "totalSupply()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - Approval( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - - "Deposit(address,address,uint256,uint256)"( - caller?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): DepositEventFilter; - Deposit( - caller?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): DepositEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Transfer(address,address,uint256)"( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - Transfer( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - - "Withdraw(address,address,address,uint256,uint256)"( - caller?: PromiseOrValue | null, - receiver?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): WithdrawEventFilter; - Withdraw( - caller?: PromiseOrValue | null, - receiver?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): WithdrawEventFilter; - }; - - estimateGas: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/typechain/ERC4626WithPermit.ts b/src/typechain/ERC4626WithPermit.ts deleted file mode 100644 index 44116700..00000000 --- a/src/typechain/ERC4626WithPermit.ts +++ /dev/null @@ -1,2209 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface ERC4626WithPermitInterface extends utils.Interface { - functions: { - "DOMAIN_SEPARATOR()": FunctionFragment; - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "asset()": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "convertToAssets(uint256)": FunctionFragment; - "convertToShares(uint256)": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "deposit(uint256,address)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "maxDeposit(address)": FunctionFragment; - "maxMint(address)": FunctionFragment; - "maxRedeem(address)": FunctionFragment; - "maxWithdraw(address)": FunctionFragment; - "mint(uint256,address)": FunctionFragment; - "name()": FunctionFragment; - "nonces(address)": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "previewDeposit(uint256)": FunctionFragment; - "previewMint(uint256)": FunctionFragment; - "previewRedeem(uint256)": FunctionFragment; - "previewWithdraw(uint256)": FunctionFragment; - "redeem(uint256,address,address)": FunctionFragment; - "symbol()": FunctionFragment; - "totalAssets()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "withdraw(uint256,address,address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "DOMAIN_SEPARATOR" - | "DOMAIN_SEPARATOR()" - | "allowance" - | "allowance(address,address)" - | "approve" - | "approve(address,uint256)" - | "asset" - | "asset()" - | "balanceOf" - | "balanceOf(address)" - | "convertToAssets" - | "convertToAssets(uint256)" - | "convertToShares" - | "convertToShares(uint256)" - | "decimals" - | "decimals()" - | "decreaseAllowance" - | "decreaseAllowance(address,uint256)" - | "deposit" - | "deposit(uint256,address)" - | "increaseAllowance" - | "increaseAllowance(address,uint256)" - | "maxDeposit" - | "maxDeposit(address)" - | "maxMint" - | "maxMint(address)" - | "maxRedeem" - | "maxRedeem(address)" - | "maxWithdraw" - | "maxWithdraw(address)" - | "mint" - | "mint(uint256,address)" - | "name" - | "name()" - | "nonces" - | "nonces(address)" - | "permit" - | "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)" - | "previewDeposit" - | "previewDeposit(uint256)" - | "previewMint" - | "previewMint(uint256)" - | "previewRedeem" - | "previewRedeem(uint256)" - | "previewWithdraw" - | "previewWithdraw(uint256)" - | "redeem" - | "redeem(uint256,address,address)" - | "symbol" - | "symbol()" - | "totalAssets" - | "totalAssets()" - | "totalSupply" - | "totalSupply()" - | "transfer" - | "transfer(address,uint256)" - | "transferFrom" - | "transferFrom(address,address,uint256)" - | "withdraw" - | "withdraw(uint256,address,address)" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance(address,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "asset", values?: undefined): string; - encodeFunctionData(functionFragment: "asset()", values?: undefined): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToAssets", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToAssets(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToShares", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToShares(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decimals()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "deposit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "deposit(uint256,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxDeposit", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxDeposit(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxMint", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxMint(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxRedeem", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxRedeem(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxWithdraw", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxWithdraw(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint(uint256,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "name()", values?: undefined): string; - encodeFunctionData( - functionFragment: "nonces", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "nonces(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "previewDeposit", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewDeposit(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewMint", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewMint(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewRedeem", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewRedeem(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewWithdraw", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewWithdraw(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "redeem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "redeem(uint256,address,address)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData(functionFragment: "symbol()", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalAssets", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalAssets()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transfer(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "withdraw", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "withdraw(uint256,address,address)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowance(address,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "asset", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "asset()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToAssets", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToAssets(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToShares", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToShares(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "deposit(uint256,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxDeposit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxDeposit(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxMint", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxMint(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxRedeem", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxRedeem(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "maxWithdraw", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "maxWithdraw(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "mint(uint256,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "nonces(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewDeposit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewDeposit(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewMint", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewMint(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewRedeem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewRedeem(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewWithdraw", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewWithdraw(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "redeem(uint256,address,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalAssets", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalAssets()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transfer(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "withdraw(uint256,address,address)", - data: BytesLike - ): Result; - - events: { - "Approval(address,address,uint256)": EventFragment; - "Deposit(address,address,uint256,uint256)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "Withdraw(address,address,address,uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Approval(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Deposit"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Deposit(address,address,uint256,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Transfer(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Withdraw"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Withdraw(address,address,address,uint256,uint256)" - ): EventFragment; -} - -export interface ApprovalEventObject { - owner: string; - spender: string; - value: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface DepositEventObject { - caller: string; - owner: string; - assets: BigNumber; - shares: BigNumber; -} -export type DepositEvent = TypedEvent< - [string, string, BigNumber, BigNumber], - DepositEventObject ->; - -export type DepositEventFilter = TypedEventFilter; - -export interface TransferEventObject { - from: string; - to: string; - value: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface WithdrawEventObject { - caller: string; - receiver: string; - owner: string; - assets: BigNumber; - shares: BigNumber; -} -export type WithdrawEvent = TypedEvent< - [string, string, string, BigNumber, BigNumber], - WithdrawEventObject ->; - -export type WithdrawEventFilter = TypedEventFilter; - -export interface ERC4626WithPermit extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ERC4626WithPermitInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise<[string]>; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise<[string]>; - - "asset()"(overrides?: CallOverrides): Promise<[string]>; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { assets: BigNumber }>; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { assets: BigNumber }>; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { shares: BigNumber }>; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { shares: BigNumber }>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - "decimals()"(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - "name()"(overrides?: CallOverrides): Promise<[string]>; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - "symbol()"(overrides?: CallOverrides): Promise<[string]>; - - totalAssets(overrides?: CallOverrides): Promise<[BigNumber]>; - - "totalAssets()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - "totalSupply()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Approval(address,address,uint256)"( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - Approval( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - - "Deposit(address,address,uint256,uint256)"( - caller?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): DepositEventFilter; - Deposit( - caller?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): DepositEventFilter; - - "Transfer(address,address,uint256)"( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - Transfer( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - - "Withdraw(address,address,address,uint256,uint256)"( - caller?: PromiseOrValue | null, - receiver?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): WithdrawEventFilter; - Withdraw( - caller?: PromiseOrValue | null, - receiver?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): WithdrawEventFilter; - }; - - estimateGas: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"( - overrides?: CallOverrides - ): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeem( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - shares: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - assets: PromiseOrValue, - receiver: PromiseOrValue, - owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/typechain/IHarvestingJob.ts b/src/typechain/IHarvestingJob.ts deleted file mode 100644 index 253cc24e..00000000 --- a/src/typechain/IHarvestingJob.ts +++ /dev/null @@ -1,503 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface IHarvestingJobInterface extends utils.Interface { - functions: { - "canHarvest(address)": FunctionFragment; - "harvest(address)": FunctionFragment; - "lastHarvest(address)": FunctionFragment; - "pause()": FunctionFragment; - "setTimeout(uint32,address)": FunctionFragment; - "timeout(address)": FunctionFragment; - "unpause()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "canHarvest" - | "canHarvest(address)" - | "harvest" - | "harvest(address)" - | "lastHarvest" - | "lastHarvest(address)" - | "pause" - | "pause()" - | "setTimeout" - | "setTimeout(uint32,address)" - | "timeout" - | "timeout(address)" - | "unpause" - | "unpause()" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "canHarvest", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "canHarvest(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "harvest", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "harvest(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "lastHarvest", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "lastHarvest(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "pause", values?: undefined): string; - encodeFunctionData(functionFragment: "pause()", values?: undefined): string; - encodeFunctionData( - functionFragment: "setTimeout", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setTimeout(uint32,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "timeout", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "timeout(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "unpause", values?: undefined): string; - encodeFunctionData(functionFragment: "unpause()", values?: undefined): string; - - decodeFunctionResult(functionFragment: "canHarvest", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "canHarvest(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "harvest", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "harvest(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lastHarvest", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lastHarvest(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "pause()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setTimeout", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setTimeout(uint32,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "timeout", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "timeout(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "unpause()", data: BytesLike): Result; - - events: {}; -} - -export interface IHarvestingJob extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IHarvestingJobInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - canHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "canHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - harvest( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(address)"( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "lastHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - pause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTimeout( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setTimeout(uint32,address)"( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - timeout( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[number]>; - - "timeout(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[number]>; - - unpause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "unpause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - canHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "canHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - harvest( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(address)"( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTimeout( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setTimeout(uint32,address)"( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - timeout( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "timeout(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - unpause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "unpause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - canHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "canHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - harvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "harvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - lastHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pause(overrides?: CallOverrides): Promise; - - "pause()"(overrides?: CallOverrides): Promise; - - setTimeout( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setTimeout(uint32,address)"( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - timeout( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "timeout(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - unpause(overrides?: CallOverrides): Promise; - - "unpause()"(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - canHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "canHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - harvest( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(address)"( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTimeout( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setTimeout(uint32,address)"( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - timeout( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "timeout(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - unpause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "unpause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - canHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "canHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - harvest( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(address)"( - _vault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastHarvest( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastHarvest(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - pause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "pause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setTimeout( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setTimeout(uint32,address)"( - _timeout: PromiseOrValue, - _savingsVault: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - timeout( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "timeout(address)"( - _vault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - unpause( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "unpause()"( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/src/typechain/IndexHelper.ts b/src/typechain/IndexHelper.ts index 892b7713..fc7a502e 100644 --- a/src/typechain/IndexHelper.ts +++ b/src/typechain/IndexHelper.ts @@ -1,3 +1,5 @@ +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ @@ -10,14 +12,12 @@ import type { Signer, utils, } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; import type { - TypedEventFilter, - TypedEvent, - TypedListener, OnEvent, PromiseOrValue, + TypedEvent, + TypedEventFilter, + TypedListener, } from "./common"; export interface IndexHelperInterface extends utils.Interface { @@ -26,26 +26,17 @@ export interface IndexHelperInterface extends utils.Interface { }; getFunction( - nameOrSignatureOrTopic: "totalEvaluation" | "totalEvaluation(address)" + nameOrSignatureOrTopic: "totalEvaluation" | "totalEvaluation(address)", ): FunctionFragment; - encodeFunctionData( - functionFragment: "totalEvaluation", - values: [PromiseOrValue] - ): string; + encodeFunctionData(functionFragment: "totalEvaluation", values: [PromiseOrValue]): string; encodeFunctionData( functionFragment: "totalEvaluation(address)", - values: [PromiseOrValue] + values: [PromiseOrValue], ): string; - decodeFunctionResult( - functionFragment: "totalEvaluation", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalEvaluation(address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "totalEvaluation", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalEvaluation(address)", data: BytesLike): Result; events: {}; } @@ -60,16 +51,14 @@ export interface IndexHelper extends BaseContract { queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined + toBlock?: string | number | undefined, ): Promise>; listeners( - eventFilter?: TypedEventFilter + eventFilter?: TypedEventFilter, ): Array>; listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; + removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; @@ -79,7 +68,7 @@ export interface IndexHelper extends BaseContract { functions: { totalEvaluation( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise< [BigNumber, BigNumber] & { _totalEvaluation: BigNumber; @@ -89,7 +78,7 @@ export interface IndexHelper extends BaseContract { "totalEvaluation(address)"( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise< [BigNumber, BigNumber] & { _totalEvaluation: BigNumber; @@ -100,7 +89,7 @@ export interface IndexHelper extends BaseContract { totalEvaluation( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise< [BigNumber, BigNumber] & { _totalEvaluation: BigNumber; @@ -110,7 +99,7 @@ export interface IndexHelper extends BaseContract { "totalEvaluation(address)"( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise< [BigNumber, BigNumber] & { _totalEvaluation: BigNumber; @@ -121,7 +110,7 @@ export interface IndexHelper extends BaseContract { callStatic: { totalEvaluation( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise< [BigNumber, BigNumber] & { _totalEvaluation: BigNumber; @@ -131,7 +120,7 @@ export interface IndexHelper extends BaseContract { "totalEvaluation(address)"( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise< [BigNumber, BigNumber] & { _totalEvaluation: BigNumber; @@ -143,26 +132,23 @@ export interface IndexHelper extends BaseContract { filters: {}; estimateGas: { - totalEvaluation( - _index: PromiseOrValue, - overrides?: CallOverrides - ): Promise; + totalEvaluation(_index: PromiseOrValue, overrides?: CallOverrides): Promise; "totalEvaluation(address)"( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; }; populateTransaction: { totalEvaluation( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "totalEvaluation(address)"( _index: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; }; } diff --git a/src/typechain/IndexRouter.ts b/src/typechain/IndexRouter.ts index 4a8b1622..3c59b8c1 100644 --- a/src/typechain/IndexRouter.ts +++ b/src/typechain/IndexRouter.ts @@ -1,3 +1,5 @@ +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ @@ -15,20 +17,14 @@ import type { utils, } from "ethers"; import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, OnEvent, PromiseOrValue, + TypedEvent, + TypedEventFilter, + TypedListener, } from "./common"; -export declare namespace IIndexRouter { +export declare namespace IIndexRouterV2 { export type BurnParamsStruct = { index: PromiseOrValue; amount: PromiseOrValue; @@ -43,12 +39,14 @@ export declare namespace IIndexRouter { export type BurnQuoteParamsStruct = { swapTarget: PromiseOrValue; + allowanceTarget: PromiseOrValue; buyAssetMinAmount: PromiseOrValue; assetQuote: PromiseOrValue; }; - export type BurnQuoteParamsStructOutput = [string, BigNumber, string] & { + export type BurnQuoteParamsStructOutput = [string, string, BigNumber, string] & { swapTarget: string; + allowanceTarget: string; buyAssetMinAmount: BigNumber; assetQuote: string; }; @@ -58,7 +56,7 @@ export declare namespace IIndexRouter { amount: PromiseOrValue; outputAsset: PromiseOrValue; recipient: PromiseOrValue; - quotes: IIndexRouter.BurnQuoteParamsStruct[]; + quotes: IIndexRouterV2.BurnQuoteParamsStruct[]; }; export type BurnSwapParamsStructOutput = [ @@ -66,13 +64,13 @@ export declare namespace IIndexRouter { BigNumber, string, string, - IIndexRouter.BurnQuoteParamsStructOutput[] + IIndexRouterV2.BurnQuoteParamsStructOutput[], ] & { index: string; amount: BigNumber; outputAsset: string; recipient: string; - quotes: IIndexRouter.BurnQuoteParamsStructOutput[]; + quotes: IIndexRouterV2.BurnQuoteParamsStructOutput[]; }; export type MintParamsStruct = { @@ -90,18 +88,15 @@ export declare namespace IIndexRouter { export type MintQuoteParamsStruct = { asset: PromiseOrValue; swapTarget: PromiseOrValue; + allowanceTarget: PromiseOrValue; buyAssetMinAmount: PromiseOrValue; assetQuote: PromiseOrValue; }; - export type MintQuoteParamsStructOutput = [ - string, - string, - BigNumber, - string - ] & { + export type MintQuoteParamsStructOutput = [string, string, string, BigNumber, string] & { asset: string; swapTarget: string; + allowanceTarget: string; buyAssetMinAmount: BigNumber; assetQuote: string; }; @@ -111,7 +106,7 @@ export declare namespace IIndexRouter { inputToken: PromiseOrValue; amountInInputToken: PromiseOrValue; recipient: PromiseOrValue; - quotes: IIndexRouter.MintQuoteParamsStruct[]; + quotes: IIndexRouterV2.MintQuoteParamsStruct[]; }; export type MintSwapParamsStructOutput = [ @@ -119,29 +114,29 @@ export declare namespace IIndexRouter { string, BigNumber, string, - IIndexRouter.MintQuoteParamsStructOutput[] + IIndexRouterV2.MintQuoteParamsStructOutput[], ] & { index: string; inputToken: string; amountInInputToken: BigNumber; recipient: string; - quotes: IIndexRouter.MintQuoteParamsStructOutput[]; + quotes: IIndexRouterV2.MintQuoteParamsStructOutput[]; }; export type MintSwapValueParamsStruct = { index: PromiseOrValue; recipient: PromiseOrValue; - quotes: IIndexRouter.MintQuoteParamsStruct[]; + quotes: IIndexRouterV2.MintQuoteParamsStruct[]; }; export type MintSwapValueParamsStructOutput = [ string, string, - IIndexRouter.MintQuoteParamsStructOutput[] + IIndexRouterV2.MintQuoteParamsStructOutput[], ] & { index: string; recipient: string; - quotes: IIndexRouter.MintQuoteParamsStructOutput[]; + quotes: IIndexRouterV2.MintQuoteParamsStructOutput[]; }; } @@ -149,23 +144,20 @@ export interface IndexRouterInterface extends utils.Interface { functions: { "WETH()": FunctionFragment; "burn((address,uint256,address))": FunctionFragment; - "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))": FunctionFragment; - "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))": FunctionFragment; - "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)": FunctionFragment; - "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)": FunctionFragment; + "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))": FunctionFragment; + "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))": FunctionFragment; + "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)": FunctionFragment; + "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)": FunctionFragment; "burnTokensAmount(address,uint256)": FunctionFragment; "burnWithAmounts((address,uint256,address))": FunctionFragment; "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)": FunctionFragment; "initialize(address,address)": FunctionFragment; "mint((address,uint256,address))": FunctionFragment; - "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))": FunctionFragment; - "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))": FunctionFragment; - "mintSwapValue((address,address,(address,address,uint256,bytes)[]))": FunctionFragment; - "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)": FunctionFragment; - "proxiableUUID()": FunctionFragment; + "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))": FunctionFragment; + "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))": FunctionFragment; + "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))": FunctionFragment; + "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)": FunctionFragment; "registry()": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; }; getFunction( @@ -175,13 +167,13 @@ export interface IndexRouterInterface extends utils.Interface { | "burn" | "burn((address,uint256,address))" | "burnSwap" - | "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))" + | "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))" | "burnSwapValue" - | "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))" + | "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))" | "burnSwapValueWithPermit" - | "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)" + | "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)" | "burnSwapWithPermit" - | "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)" + | "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)" | "burnTokensAmount" | "burnTokensAmount(address,uint256)" | "burnWithAmounts" @@ -193,392 +185,251 @@ export interface IndexRouterInterface extends utils.Interface { | "mint" | "mint((address,uint256,address))" | "mintSwap" - | "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))" + | "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))" | "mintSwapIndexAmount" - | "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))" + | "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))" | "mintSwapValue" - | "mintSwapValue((address,address,(address,address,uint256,bytes)[]))" + | "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))" | "mintSwapWithPermit" - | "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)" - | "proxiableUUID" - | "proxiableUUID()" + | "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)" | "registry" - | "registry()" - | "upgradeTo" - | "upgradeTo(address)" - | "upgradeToAndCall" - | "upgradeToAndCall(address,bytes)" + | "registry()", ): FunctionFragment; encodeFunctionData(functionFragment: "WETH", values?: undefined): string; encodeFunctionData(functionFragment: "WETH()", values?: undefined): string; - encodeFunctionData( - functionFragment: "burn", - values: [IIndexRouter.BurnParamsStruct] - ): string; + encodeFunctionData(functionFragment: "burn", values: [IIndexRouterV2.BurnParamsStruct]): string; encodeFunctionData( functionFragment: "burn((address,uint256,address))", - values: [IIndexRouter.BurnParamsStruct] + values: [IIndexRouterV2.BurnParamsStruct], ): string; encodeFunctionData( functionFragment: "burnSwap", - values: [IIndexRouter.BurnSwapParamsStruct] + values: [IIndexRouterV2.BurnSwapParamsStruct], ): string; encodeFunctionData( - functionFragment: "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))", - values: [IIndexRouter.BurnSwapParamsStruct] + functionFragment: "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))", + values: [IIndexRouterV2.BurnSwapParamsStruct], ): string; encodeFunctionData( functionFragment: "burnSwapValue", - values: [IIndexRouter.BurnSwapParamsStruct] + values: [IIndexRouterV2.BurnSwapParamsStruct], ): string; encodeFunctionData( - functionFragment: "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))", - values: [IIndexRouter.BurnSwapParamsStruct] + functionFragment: "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))", + values: [IIndexRouterV2.BurnSwapParamsStruct], ): string; encodeFunctionData( functionFragment: "burnSwapValueWithPermit", values: [ - IIndexRouter.BurnSwapParamsStruct, + IIndexRouterV2.BurnSwapParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( - functionFragment: "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", + functionFragment: "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", values: [ - IIndexRouter.BurnSwapParamsStruct, + IIndexRouterV2.BurnSwapParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( functionFragment: "burnSwapWithPermit", values: [ - IIndexRouter.BurnSwapParamsStruct, + IIndexRouterV2.BurnSwapParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( - functionFragment: "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", + functionFragment: "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", values: [ - IIndexRouter.BurnSwapParamsStruct, + IIndexRouterV2.BurnSwapParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( functionFragment: "burnTokensAmount", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "burnTokensAmount(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "burnWithAmounts", - values: [IIndexRouter.BurnParamsStruct] + values: [IIndexRouterV2.BurnParamsStruct], ): string; encodeFunctionData( functionFragment: "burnWithAmounts((address,uint256,address))", - values: [IIndexRouter.BurnParamsStruct] + values: [IIndexRouterV2.BurnParamsStruct], ): string; encodeFunctionData( functionFragment: "burnWithPermit", values: [ - IIndexRouter.BurnParamsStruct, + IIndexRouterV2.BurnParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( functionFragment: "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)", values: [ - IIndexRouter.BurnParamsStruct, + IIndexRouterV2.BurnParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( functionFragment: "initialize", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue, PromiseOrValue], ): string; encodeFunctionData( functionFragment: "initialize(address,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [IIndexRouter.MintParamsStruct] + values: [PromiseOrValue, PromiseOrValue], ): string; + encodeFunctionData(functionFragment: "mint", values: [IIndexRouterV2.MintParamsStruct]): string; encodeFunctionData( functionFragment: "mint((address,uint256,address))", - values: [IIndexRouter.MintParamsStruct] + values: [IIndexRouterV2.MintParamsStruct], ): string; encodeFunctionData( functionFragment: "mintSwap", - values: [IIndexRouter.MintSwapParamsStruct] + values: [IIndexRouterV2.MintSwapParamsStruct], ): string; encodeFunctionData( - functionFragment: "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))", - values: [IIndexRouter.MintSwapParamsStruct] + functionFragment: "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))", + values: [IIndexRouterV2.MintSwapParamsStruct], ): string; encodeFunctionData( functionFragment: "mintSwapIndexAmount", - values: [IIndexRouter.MintSwapParamsStruct] + values: [IIndexRouterV2.MintSwapParamsStruct], ): string; encodeFunctionData( - functionFragment: "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))", - values: [IIndexRouter.MintSwapParamsStruct] + functionFragment: "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))", + values: [IIndexRouterV2.MintSwapParamsStruct], ): string; encodeFunctionData( functionFragment: "mintSwapValue", - values: [IIndexRouter.MintSwapValueParamsStruct] + values: [IIndexRouterV2.MintSwapValueParamsStruct], ): string; encodeFunctionData( - functionFragment: "mintSwapValue((address,address,(address,address,uint256,bytes)[]))", - values: [IIndexRouter.MintSwapValueParamsStruct] + functionFragment: "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))", + values: [IIndexRouterV2.MintSwapValueParamsStruct], ): string; encodeFunctionData( functionFragment: "mintSwapWithPermit", values: [ - IIndexRouter.MintSwapParamsStruct, + IIndexRouterV2.MintSwapParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] + PromiseOrValue, + ], ): string; encodeFunctionData( - functionFragment: "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", + functionFragment: "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", values: [ - IIndexRouter.MintSwapParamsStruct, + IIndexRouterV2.MintSwapParamsStruct, PromiseOrValue, PromiseOrValue, PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID()", - values?: undefined + PromiseOrValue, + ], ): string; encodeFunctionData(functionFragment: "registry", values?: undefined): string; - encodeFunctionData( - functionFragment: "registry()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "upgradeTo", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall(address,bytes)", - values: [PromiseOrValue, PromiseOrValue] - ): string; + encodeFunctionData(functionFragment: "registry()", values?: undefined): string; decodeFunctionResult(functionFragment: "WETH", data: BytesLike): Result; decodeFunctionResult(functionFragment: "WETH()", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; decodeFunctionResult( functionFragment: "burn((address,uint256,address))", - data: BytesLike + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "burnSwap", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "burnSwapValue", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))", - data: BytesLike + functionFragment: "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))", + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "burnSwapValue", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "burnSwapValueWithPermit", - data: BytesLike + functionFragment: "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))", + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "burnSwapValueWithPermit", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", - data: BytesLike + functionFragment: "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "burnSwapWithPermit", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "burnSwapWithPermit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "burnTokensAmount", - data: BytesLike + functionFragment: "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "burnTokensAmount", data: BytesLike): Result; decodeFunctionResult( functionFragment: "burnTokensAmount(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "burnWithAmounts", - data: BytesLike + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "burnWithAmounts", data: BytesLike): Result; decodeFunctionResult( functionFragment: "burnWithAmounts((address,uint256,address))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "burnWithPermit", - data: BytesLike + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "burnWithPermit", data: BytesLike): Result; decodeFunctionResult( functionFragment: "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)", - data: BytesLike + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "initialize(address,address)", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "initialize(address,address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; decodeFunctionResult( functionFragment: "mint((address,uint256,address))", - data: BytesLike + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "mintSwap", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mintSwapIndexAmount", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))", - data: BytesLike + functionFragment: "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))", + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "mintSwapIndexAmount", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "mintSwapValue", - data: BytesLike + functionFragment: "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))", + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "mintSwapValue", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "mintSwapValue((address,address,(address,address,uint256,bytes)[]))", - data: BytesLike + functionFragment: "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))", + data: BytesLike, ): Result; + decodeFunctionResult(functionFragment: "mintSwapWithPermit", data: BytesLike): Result; decodeFunctionResult( - functionFragment: "mintSwapWithPermit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID()", - data: BytesLike + functionFragment: "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)", + data: BytesLike, ): Result; decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registry()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "upgradeTo(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall(address,bytes)", - data: BytesLike - ): Result; - events: { - "AdminChanged(address,address)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "Initialized(uint8)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "AdminChanged(address,address)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded(address)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized(uint8)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded(address)"): EventFragment; + events: {}; } -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; -} -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; - -export interface BeaconUpgradedEventObject { - beacon: string; -} -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; - -export type BeaconUpgradedEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; - -export type UpgradedEventFilter = TypedEventFilter; - export interface IndexRouter extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; @@ -589,16 +440,14 @@ export interface IndexRouter extends BaseContract { queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined + toBlock?: string | number | undefined, ): Promise>; listeners( - eventFilter?: TypedEventFilter + eventFilter?: TypedEventFilter, ): Array>; listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; + removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; @@ -611,210 +460,184 @@ export interface IndexRouter extends BaseContract { "WETH()"(overrides?: CallOverrides): Promise<[string]>; burn( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwap( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValue( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValueWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnTokensAmount( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber[]] & { _amounts: BigNumber[] }>; "burnTokensAmount(address,uint256)"( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise<[BigNumber[]] & { _amounts: BigNumber[] }>; burnWithAmounts( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithAmounts((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnWithPermit( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; initialize( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "initialize(address,address)"( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint((address,uint256,address))"( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwap( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwapIndexAmount( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise<[BigNumber] & { _amount: BigNumber }>; - "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise<[BigNumber] & { _amount: BigNumber }>; mintSwapValue( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapValue((address,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; mintSwapWithPermit( - _params: IIndexRouter.MintSwapParamsStruct, + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.MintSwapParamsStruct, + "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - "proxiableUUID()"(overrides?: CallOverrides): Promise<[string]>; - registry(overrides?: CallOverrides): Promise<[string]>; "registry()"(overrides?: CallOverrides): Promise<[string]>; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; }; WETH(overrides?: CallOverrides): Promise; @@ -822,450 +645,366 @@ export interface IndexRouter extends BaseContract { "WETH()"(overrides?: CallOverrides): Promise; burn( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwap( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValue( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValueWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnTokensAmount( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "burnTokensAmount(address,uint256)"( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burnWithAmounts( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithAmounts((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnWithPermit( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; initialize( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "initialize(address,address)"( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint((address,uint256,address))"( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwap( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwapIndexAmount( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; - "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; mintSwapValue( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapValue((address,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; mintSwapWithPermit( - _params: IIndexRouter.MintSwapParamsStruct, + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.MintSwapParamsStruct, + "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - registry(overrides?: CallOverrides): Promise; "registry()"(overrides?: CallOverrides): Promise; - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - callStatic: { WETH(overrides?: CallOverrides): Promise; "WETH()"(overrides?: CallOverrides): Promise; - burn( - _params: IIndexRouter.BurnParamsStruct, - overrides?: CallOverrides - ): Promise; + burn(_params: IIndexRouterV2.BurnParamsStruct, overrides?: CallOverrides): Promise; "burn((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: CallOverrides, ): Promise; burnSwap( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: CallOverrides, ): Promise; - "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: CallOverrides + "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: CallOverrides, ): Promise; burnSwapValue( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: CallOverrides, ): Promise; - "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: CallOverrides + "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: CallOverrides, ): Promise; burnSwapValueWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burnSwapWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burnTokensAmount( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "burnTokensAmount(address,uint256)"( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burnWithAmounts( - _params: IIndexRouter.BurnParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: CallOverrides, ): Promise; "burnWithAmounts((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: CallOverrides, ): Promise; burnWithPermit( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; initialize( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "initialize(address,address)"( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - mint( - _params: IIndexRouter.MintParamsStruct, - overrides?: CallOverrides - ): Promise; + mint(_params: IIndexRouterV2.MintParamsStruct, overrides?: CallOverrides): Promise; "mint((address,uint256,address))"( - _params: IIndexRouter.MintParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintParamsStruct, + overrides?: CallOverrides, ): Promise; mintSwap( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; - "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; mintSwapIndexAmount( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; - "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; mintSwapValue( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: CallOverrides, ): Promise; - "mintSwapValue((address,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: CallOverrides + "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: CallOverrides, ): Promise; mintSwapWithPermit( - _params: IIndexRouter.MintSwapParamsStruct, + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.MintSwapParamsStruct, + "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - registry(overrides?: CallOverrides): Promise; "registry()"(overrides?: CallOverrides): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; }; - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; + filters: {}; estimateGas: { WETH(overrides?: CallOverrides): Promise; @@ -1273,210 +1012,184 @@ export interface IndexRouter extends BaseContract { "WETH()"(overrides?: CallOverrides): Promise; burn( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwap( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValue( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValueWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnTokensAmount( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "burnTokensAmount(address,uint256)"( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burnWithAmounts( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithAmounts((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnWithPermit( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; initialize( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "initialize(address,address)"( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint((address,uint256,address))"( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwap( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwapIndexAmount( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; - "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; mintSwapValue( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapValue((address,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; mintSwapWithPermit( - _params: IIndexRouter.MintSwapParamsStruct, + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.MintSwapParamsStruct, + "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - registry(overrides?: CallOverrides): Promise; "registry()"(overrides?: CallOverrides): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; }; populateTransaction: { @@ -1485,209 +1198,183 @@ export interface IndexRouter extends BaseContract { "WETH()"(overrides?: CallOverrides): Promise; burn( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burn((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwap( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwap((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwap((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValue( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValue((address,uint256,address,address,(address,uint256,bytes)[]))"( - _params: IIndexRouter.BurnSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "burnSwapValue((address,uint256,address,address,(address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.BurnSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapValueWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapValueWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapValueWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnSwapWithPermit( - _params: IIndexRouter.BurnSwapParamsStruct, + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "burnSwapWithPermit((address,uint256,address,address,(address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnSwapParamsStruct, + "burnSwapWithPermit((address,uint256,address,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.BurnSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnTokensAmount( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "burnTokensAmount(address,uint256)"( _index: PromiseOrValue, _amount: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; burnWithAmounts( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithAmounts((address,uint256,address))"( - _params: IIndexRouter.BurnParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.BurnParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; burnWithPermit( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "burnWithPermit((address,uint256,address),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.BurnParamsStruct, + _params: IIndexRouterV2.BurnParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; initialize( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "initialize(address,address)"( _WETH: PromiseOrValue, _registry: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mint( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "mint((address,uint256,address))"( - _params: IIndexRouter.MintParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwap( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwap((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: Overrides & { from?: PromiseOrValue } + "mintSwap((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; mintSwapIndexAmount( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; - "mintSwapIndexAmount((address,address,uint256,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapParamsStruct, - overrides?: CallOverrides + "mintSwapIndexAmount((address,address,uint256,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapParamsStruct, + overrides?: CallOverrides, ): Promise; mintSwapValue( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapValue((address,address,(address,address,uint256,bytes)[]))"( - _params: IIndexRouter.MintSwapValueParamsStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } + "mintSwapValue((address,address,(address,address,address,uint256,bytes)[]))"( + _params: IIndexRouterV2.MintSwapValueParamsStruct, + overrides?: PayableOverrides & { from?: PromiseOrValue }, ): Promise; mintSwapWithPermit( - _params: IIndexRouter.MintSwapParamsStruct, + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - "mintSwapWithPermit((address,address,uint256,address,(address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( - _params: IIndexRouter.MintSwapParamsStruct, + "mintSwapWithPermit((address,address,uint256,address,(address,address,address,uint256,bytes)[]),uint256,uint8,bytes32,bytes32)"( + _params: IIndexRouterV2.MintSwapParamsStruct, _deadline: PromiseOrValue, _v: PromiseOrValue, _r: PromiseOrValue, _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - registry(overrides?: CallOverrides): Promise; "registry()"(overrides?: CallOverrides): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; }; } diff --git a/src/typechain/PhuturePriceOracle.ts b/src/typechain/PhuturePriceOracle.ts index 56d1ace7..51d66702 100644 --- a/src/typechain/PhuturePriceOracle.ts +++ b/src/typechain/PhuturePriceOracle.ts @@ -1,335 +1,53 @@ +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, - BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, - PayableOverrides, PopulatedTransaction, Signer, utils, } from "ethers"; import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, OnEvent, PromiseOrValue, + TypedEvent, + TypedEventFilter, + TypedListener, } from "./common"; export interface PhuturePriceOracleInterface extends utils.Interface { functions: { - "base()": FunctionFragment; - "containsOracleOf(address)": FunctionFragment; - "convertToIndex(uint256,uint8)": FunctionFragment; - "initialize(address,address)": FunctionFragment; - "lastAssetPerBaseInUQ(address)": FunctionFragment; - "priceOracleOf(address)": FunctionFragment; - "proxiableUUID()": FunctionFragment; "refreshedAssetPerBaseInUQ(address)": FunctionFragment; - "registry()": FunctionFragment; - "removeOracleOf(address)": FunctionFragment; - "setOracleOf(address,address)": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; }; getFunction( - nameOrSignatureOrTopic: - | "base" - | "base()" - | "containsOracleOf" - | "containsOracleOf(address)" - | "convertToIndex" - | "convertToIndex(uint256,uint8)" - | "initialize" - | "initialize(address,address)" - | "lastAssetPerBaseInUQ" - | "lastAssetPerBaseInUQ(address)" - | "priceOracleOf" - | "priceOracleOf(address)" - | "proxiableUUID" - | "proxiableUUID()" - | "refreshedAssetPerBaseInUQ" - | "refreshedAssetPerBaseInUQ(address)" - | "registry" - | "registry()" - | "removeOracleOf" - | "removeOracleOf(address)" - | "setOracleOf" - | "setOracleOf(address,address)" - | "supportsInterface" - | "supportsInterface(bytes4)" - | "upgradeTo" - | "upgradeTo(address)" - | "upgradeToAndCall" - | "upgradeToAndCall(address,bytes)" + nameOrSignatureOrTopic: "refreshedAssetPerBaseInUQ" | "refreshedAssetPerBaseInUQ(address)", ): FunctionFragment; - encodeFunctionData(functionFragment: "base", values?: undefined): string; - encodeFunctionData(functionFragment: "base()", values?: undefined): string; - encodeFunctionData( - functionFragment: "containsOracleOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "containsOracleOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToIndex", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToIndex(uint256,uint8)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "initialize(address,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "lastAssetPerBaseInUQ", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "lastAssetPerBaseInUQ(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "priceOracleOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "priceOracleOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID()", - values?: undefined - ): string; encodeFunctionData( functionFragment: "refreshedAssetPerBaseInUQ", - values: [PromiseOrValue] + values: [PromiseOrValue], ): string; encodeFunctionData( functionFragment: "refreshedAssetPerBaseInUQ(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "registry", values?: undefined): string; - encodeFunctionData( - functionFragment: "registry()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeOracleOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "removeOracleOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setOracleOf", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setOracleOf(address,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface(bytes4)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall(address,bytes)", - values: [PromiseOrValue, PromiseOrValue] + values: [PromiseOrValue], ): string; - decodeFunctionResult(functionFragment: "base", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "base()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "containsOracleOf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "containsOracleOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToIndex", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToIndex(uint256,uint8)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "initialize(address,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lastAssetPerBaseInUQ", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lastAssetPerBaseInUQ(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "priceOracleOf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "priceOracleOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "refreshedAssetPerBaseInUQ", - data: BytesLike - ): Result; + decodeFunctionResult(functionFragment: "refreshedAssetPerBaseInUQ", data: BytesLike): Result; decodeFunctionResult( functionFragment: "refreshedAssetPerBaseInUQ(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "registry()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "removeOracleOf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeOracleOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setOracleOf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setOracleOf(address,address)", - data: BytesLike + data: BytesLike, ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface(bytes4)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "upgradeTo(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall(address,bytes)", - data: BytesLike - ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "Initialized(uint8)": EventFragment; - "Upgraded(address)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "AdminChanged(address,address)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded(address)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized(uint8)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded(address)"): EventFragment; -} - -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; -} -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; - -export interface BeaconUpgradedEventObject { - beacon: string; -} -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; - -export type BeaconUpgradedEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; -export type InitializedEventFilter = TypedEventFilter; - -export interface UpgradedEventObject { - implementation: string; + events: {}; } -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; - -export type UpgradedEventFilter = TypedEventFilter; export interface PhuturePriceOracle extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; @@ -341,16 +59,14 @@ export interface PhuturePriceOracle extends BaseContract { queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined + toBlock?: string | number | undefined, ): Promise>; listeners( - eventFilter?: TypedEventFilter + eventFilter?: TypedEventFilter, ): Array>; listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; + removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; @@ -358,688 +74,62 @@ export interface PhuturePriceOracle extends BaseContract { removeListener: OnEvent; functions: { - base(overrides?: CallOverrides): Promise<[string]>; - - "base()"(overrides?: CallOverrides): Promise<[string]>; - - containsOracleOf( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "containsOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - convertToIndex( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "convertToIndex(uint256,uint8)"( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - initialize( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(address,address)"( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastAssetPerBaseInUQ( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "lastAssetPerBaseInUQ(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - priceOracleOf( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - "priceOracleOf(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - "proxiableUUID()"(overrides?: CallOverrides): Promise<[string]>; - refreshedAssetPerBaseInUQ( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "refreshedAssetPerBaseInUQ(address)"( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registry(overrides?: CallOverrides): Promise<[string]>; - - "registry()"(overrides?: CallOverrides): Promise<[string]>; - - removeOracleOf( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "removeOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setOracleOf( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setOracleOf(address,address)"( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "supportsInterface(bytes4)"( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; }; - base(overrides?: CallOverrides): Promise; - - "base()"(overrides?: CallOverrides): Promise; - - containsOracleOf( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "containsOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToIndex( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToIndex(uint256,uint8)"( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(address,address)"( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastAssetPerBaseInUQ( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastAssetPerBaseInUQ(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - priceOracleOf( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "priceOracleOf(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - refreshedAssetPerBaseInUQ( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "refreshedAssetPerBaseInUQ(address)"( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registry(overrides?: CallOverrides): Promise; - - "registry()"(overrides?: CallOverrides): Promise; - - removeOracleOf( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "removeOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setOracleOf( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setOracleOf(address,address)"( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; callStatic: { - base(overrides?: CallOverrides): Promise; - - "base()"(overrides?: CallOverrides): Promise; - - containsOracleOf( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "containsOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToIndex( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToIndex(uint256,uint8)"( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "initialize(address,address)"( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - lastAssetPerBaseInUQ( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastAssetPerBaseInUQ(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - priceOracleOf( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "priceOracleOf(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - refreshedAssetPerBaseInUQ( _asset: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; "refreshedAssetPerBaseInUQ(address)"( _asset: PromiseOrValue, - overrides?: CallOverrides + overrides?: CallOverrides, ): Promise; - - registry(overrides?: CallOverrides): Promise; - - "registry()"(overrides?: CallOverrides): Promise; - - removeOracleOf( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "removeOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setOracleOf( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setOracleOf(address,address)"( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - supportsInterface( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; }; - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - }; + filters: {}; estimateGas: { - base(overrides?: CallOverrides): Promise; - - "base()"(overrides?: CallOverrides): Promise; - - containsOracleOf( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "containsOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToIndex( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToIndex(uint256,uint8)"( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(address,address)"( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastAssetPerBaseInUQ( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastAssetPerBaseInUQ(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - priceOracleOf( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "priceOracleOf(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - refreshedAssetPerBaseInUQ( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "refreshedAssetPerBaseInUQ(address)"( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registry(overrides?: CallOverrides): Promise; - - "registry()"(overrides?: CallOverrides): Promise; - - removeOracleOf( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "removeOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setOracleOf( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setOracleOf(address,address)"( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; }; populateTransaction: { - base(overrides?: CallOverrides): Promise; - - "base()"(overrides?: CallOverrides): Promise; - - containsOracleOf( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "containsOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToIndex( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToIndex(uint256,uint8)"( - _baseAmount: PromiseOrValue, - _indexDecimals: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(address,address)"( - _registry: PromiseOrValue, - _base: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - lastAssetPerBaseInUQ( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "lastAssetPerBaseInUQ(address)"( - _asset: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - priceOracleOf( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "priceOracleOf(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - refreshedAssetPerBaseInUQ( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; "refreshedAssetPerBaseInUQ(address)"( _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - registry(overrides?: CallOverrides): Promise; - - "registry()"(overrides?: CallOverrides): Promise; - - removeOracleOf( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "removeOracleOf(address)"( - _asset: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setOracleOf( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setOracleOf(address,address)"( - _asset: PromiseOrValue, - _oracle: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - supportsInterface( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - _interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } + overrides?: Overrides & { from?: PromiseOrValue }, ): Promise; }; } diff --git a/src/typechain/SavingsVault.ts b/src/typechain/SavingsVault.ts deleted file mode 100644 index 1ac3e892..00000000 --- a/src/typechain/SavingsVault.ts +++ /dev/null @@ -1,4177 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { - FunctionFragment, - Result, - EventFragment, -} from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export declare namespace ISavingsVault { - export type NotionalMarketStruct = { - maturity: PromiseOrValue; - oracleRate: PromiseOrValue; - }; - - export type NotionalMarketStructOutput = [BigNumber, BigNumber] & { - maturity: BigNumber; - oracleRate: BigNumber; - }; -} - -export interface SavingsVaultInterface extends utils.Interface { - functions: { - "AUM_SCALED_PER_SECONDS_RATE()": FunctionFragment; - "BP()": FunctionFragment; - "BURNING_FEE_IN_BP()": FunctionFragment; - "DEFAULT_ADMIN_ROLE()": FunctionFragment; - "DOMAIN_SEPARATOR()": FunctionFragment; - "MINTING_FEE_IN_BP()": FunctionFragment; - "SUPPORTED_MATURITIES()": FunctionFragment; - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "asset()": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "convertToAssets(uint256)": FunctionFragment; - "convertToShares(uint256)": FunctionFragment; - "currencyId()": FunctionFragment; - "decimals()": FunctionFragment; - "decreaseAllowance(address,uint256)": FunctionFragment; - "deposit(uint256,address)": FunctionFragment; - "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "getRoleAdmin(bytes32)": FunctionFragment; - "getfCashPositions()": FunctionFragment; - "grantRole(bytes32,address)": FunctionFragment; - "harvest(uint256)": FunctionFragment; - "hasRole(bytes32,address)": FunctionFragment; - "increaseAllowance(address,uint256)": FunctionFragment; - "initialize(string,string,address,uint16,address,address,uint16,address)": FunctionFragment; - "maxDeposit(address)": FunctionFragment; - "maxLoss()": FunctionFragment; - "maxMint(address)": FunctionFragment; - "maxRedeem(address)": FunctionFragment; - "maxWithdraw(address)": FunctionFragment; - "mint(uint256,address)": FunctionFragment; - "name()": FunctionFragment; - "nonces(address)": FunctionFragment; - "notionalRouter()": FunctionFragment; - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; - "previewDeposit(uint256)": FunctionFragment; - "previewMint(uint256)": FunctionFragment; - "previewRedeem(uint256)": FunctionFragment; - "previewWithdraw(uint256)": FunctionFragment; - "proxiableUUID()": FunctionFragment; - "redeem(uint256,address,address)": FunctionFragment; - "redeemWithMinOutputAmount(uint256,address,address,uint256)": FunctionFragment; - "renounceRole(bytes32,address)": FunctionFragment; - "revokeRole(bytes32,address)": FunctionFragment; - "setFeeRecipient(address)": FunctionFragment; - "setMaxLoss(uint16)": FunctionFragment; - "sortMarketsByOracleRate()": FunctionFragment; - "supportsInterface(bytes4)": FunctionFragment; - "symbol()": FunctionFragment; - "totalAssets()": FunctionFragment; - "totalSupply()": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - "upgradeTo(address)": FunctionFragment; - "upgradeToAndCall(address,bytes)": FunctionFragment; - "withdraw(uint256,address,address)": FunctionFragment; - "wrappedfCashFactory()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "AUM_SCALED_PER_SECONDS_RATE" - | "AUM_SCALED_PER_SECONDS_RATE()" - | "BP" - | "BP()" - | "BURNING_FEE_IN_BP" - | "BURNING_FEE_IN_BP()" - | "DEFAULT_ADMIN_ROLE" - | "DEFAULT_ADMIN_ROLE()" - | "DOMAIN_SEPARATOR" - | "DOMAIN_SEPARATOR()" - | "MINTING_FEE_IN_BP" - | "MINTING_FEE_IN_BP()" - | "SUPPORTED_MATURITIES" - | "SUPPORTED_MATURITIES()" - | "allowance" - | "allowance(address,address)" - | "approve" - | "approve(address,uint256)" - | "asset" - | "asset()" - | "balanceOf" - | "balanceOf(address)" - | "convertToAssets" - | "convertToAssets(uint256)" - | "convertToShares" - | "convertToShares(uint256)" - | "currencyId" - | "currencyId()" - | "decimals" - | "decimals()" - | "decreaseAllowance" - | "decreaseAllowance(address,uint256)" - | "deposit" - | "deposit(uint256,address)" - | "depositWithPermit" - | "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)" - | "getRoleAdmin" - | "getRoleAdmin(bytes32)" - | "getfCashPositions" - | "getfCashPositions()" - | "grantRole" - | "grantRole(bytes32,address)" - | "harvest" - | "harvest(uint256)" - | "hasRole" - | "hasRole(bytes32,address)" - | "increaseAllowance" - | "increaseAllowance(address,uint256)" - | "initialize" - | "initialize(string,string,address,uint16,address,address,uint16,address)" - | "maxDeposit" - | "maxDeposit(address)" - | "maxLoss" - | "maxLoss()" - | "maxMint" - | "maxMint(address)" - | "maxRedeem" - | "maxRedeem(address)" - | "maxWithdraw" - | "maxWithdraw(address)" - | "mint" - | "mint(uint256,address)" - | "name" - | "name()" - | "nonces" - | "nonces(address)" - | "notionalRouter" - | "notionalRouter()" - | "permit" - | "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)" - | "previewDeposit" - | "previewDeposit(uint256)" - | "previewMint" - | "previewMint(uint256)" - | "previewRedeem" - | "previewRedeem(uint256)" - | "previewWithdraw" - | "previewWithdraw(uint256)" - | "proxiableUUID" - | "proxiableUUID()" - | "redeem" - | "redeem(uint256,address,address)" - | "redeemWithMinOutputAmount" - | "redeemWithMinOutputAmount(uint256,address,address,uint256)" - | "renounceRole" - | "renounceRole(bytes32,address)" - | "revokeRole" - | "revokeRole(bytes32,address)" - | "setFeeRecipient" - | "setFeeRecipient(address)" - | "setMaxLoss" - | "setMaxLoss(uint16)" - | "sortMarketsByOracleRate" - | "sortMarketsByOracleRate()" - | "supportsInterface" - | "supportsInterface(bytes4)" - | "symbol" - | "symbol()" - | "totalAssets" - | "totalAssets()" - | "totalSupply" - | "totalSupply()" - | "transfer" - | "transfer(address,uint256)" - | "transferFrom" - | "transferFrom(address,address,uint256)" - | "upgradeTo" - | "upgradeTo(address)" - | "upgradeToAndCall" - | "upgradeToAndCall(address,bytes)" - | "withdraw" - | "withdraw(uint256,address,address)" - | "wrappedfCashFactory" - | "wrappedfCashFactory()" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "AUM_SCALED_PER_SECONDS_RATE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "AUM_SCALED_PER_SECONDS_RATE()", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "BP", values?: undefined): string; - encodeFunctionData(functionFragment: "BP()", values?: undefined): string; - encodeFunctionData( - functionFragment: "BURNING_FEE_IN_BP", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "BURNING_FEE_IN_BP()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DEFAULT_ADMIN_ROLE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DEFAULT_ADMIN_ROLE()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "MINTING_FEE_IN_BP", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "MINTING_FEE_IN_BP()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "SUPPORTED_MATURITIES", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "SUPPORTED_MATURITIES()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "allowance(address,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "asset", values?: undefined): string; - encodeFunctionData(functionFragment: "asset()", values?: undefined): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "balanceOf(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToAssets", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToAssets(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToShares", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "convertToShares(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "currencyId", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "currencyId()", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData( - functionFragment: "decimals()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "decreaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "deposit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "deposit(uint256,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "depositWithPermit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "getRoleAdmin", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getRoleAdmin(bytes32)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getfCashPositions", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getfCashPositions()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "grantRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "grantRole(bytes32,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "harvest", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "harvest(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "hasRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "hasRole(bytes32,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "increaseAllowance(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "initialize(string,string,address,uint16,address,address,uint16,address)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "maxDeposit", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxDeposit(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "maxLoss", values?: undefined): string; - encodeFunctionData(functionFragment: "maxLoss()", values?: undefined): string; - encodeFunctionData( - functionFragment: "maxMint", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxMint(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxRedeem", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxRedeem(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxWithdraw", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "maxWithdraw(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "mint(uint256,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "name()", values?: undefined): string; - encodeFunctionData( - functionFragment: "nonces", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "nonces(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "notionalRouter", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "notionalRouter()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "previewDeposit", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewDeposit(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewMint", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewMint(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewRedeem", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewRedeem(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewWithdraw", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "previewWithdraw(uint256)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "redeem", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "redeem(uint256,address,address)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "redeemWithMinOutputAmount", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "redeemWithMinOutputAmount(uint256,address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "renounceRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "renounceRole(bytes32,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "revokeRole(bytes32,address)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setFeeRecipient", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setFeeRecipient(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setMaxLoss", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "setMaxLoss(uint16)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "sortMarketsByOracleRate", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "sortMarketsByOracleRate()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface(bytes4)", - values: [PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData(functionFragment: "symbol()", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalAssets", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalAssets()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "totalSupply()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transfer(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeTo(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall(address,bytes)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "withdraw", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "withdraw(uint256,address,address)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "wrappedfCashFactory", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "wrappedfCashFactory()", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "AUM_SCALED_PER_SECONDS_RATE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "AUM_SCALED_PER_SECONDS_RATE()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "BP", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "BP()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "BURNING_FEE_IN_BP", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "BURNING_FEE_IN_BP()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DEFAULT_ADMIN_ROLE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DEFAULT_ADMIN_ROLE()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "MINTING_FEE_IN_BP", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "MINTING_FEE_IN_BP()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "SUPPORTED_MATURITIES", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "SUPPORTED_MATURITIES()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowance(address,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "asset", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "asset()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "balanceOf(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToAssets", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToAssets(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToShares", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "convertToShares(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "currencyId", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "currencyId()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "decreaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "deposit(uint256,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "depositWithPermit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRoleAdmin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getRoleAdmin(bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getfCashPositions", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getfCashPositions()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "grantRole(bytes32,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "harvest", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "harvest(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "hasRole(bytes32,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "increaseAllowance(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "initialize(string,string,address,uint16,address,address,uint16,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxDeposit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxDeposit(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxLoss", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxLoss()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMint", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxMint(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "maxRedeem", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "maxRedeem(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "maxWithdraw", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "maxWithdraw(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "mint(uint256,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "nonces(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "notionalRouter", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "notionalRouter()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewDeposit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewDeposit(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewMint", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewMint(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewRedeem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewRedeem(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewWithdraw", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "previewWithdraw(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "redeem(uint256,address,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "redeemWithMinOutputAmount", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "redeemWithMinOutputAmount(uint256,address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceRole", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceRole(bytes32,address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "revokeRole(bytes32,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setFeeRecipient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setFeeRecipient(address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "setMaxLoss", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setMaxLoss(uint16)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sortMarketsByOracleRate", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sortMarketsByOracleRate()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "supportsInterface(bytes4)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol()", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalAssets", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalAssets()", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "totalSupply()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transfer(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "upgradeTo(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall(address,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "withdraw(uint256,address,address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "wrappedfCashFactory", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "wrappedfCashFactory()", - data: BytesLike - ): Result; - - events: { - "AdminChanged(address,address)": EventFragment; - "Approval(address,address,uint256)": EventFragment; - "BeaconUpgraded(address)": EventFragment; - "Deposit(address,address,uint256,uint256)": EventFragment; - "FCashMinted(address,uint256,uint256)": EventFragment; - "Initialized(uint8)": EventFragment; - "RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment; - "RoleGranted(bytes32,address,address)": EventFragment; - "RoleRevoked(bytes32,address,address)": EventFragment; - "Transfer(address,address,uint256)": EventFragment; - "Upgraded(address)": EventFragment; - "Withdraw(address,address,address,uint256,uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "AdminChanged(address,address)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Approval(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "BeaconUpgraded(address)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Deposit"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Deposit(address,address,uint256,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "FCashMinted"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "FCashMinted(address,uint256,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Initialized(uint8)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "RoleAdminChanged(bytes32,bytes32,bytes32)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "RoleGranted(bytes32,address,address)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "RoleRevoked(bytes32,address,address)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Transfer(address,address,uint256)" - ): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Upgraded(address)"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Withdraw"): EventFragment; - getEvent( - nameOrSignatureOrTopic: "Withdraw(address,address,address,uint256,uint256)" - ): EventFragment; -} - -export interface AdminChangedEventObject { - previousAdmin: string; - newAdmin: string; -} -export type AdminChangedEvent = TypedEvent< - [string, string], - AdminChangedEventObject ->; - -export type AdminChangedEventFilter = TypedEventFilter; - -export interface ApprovalEventObject { - owner: string; - spender: string; - value: BigNumber; -} -export type ApprovalEvent = TypedEvent< - [string, string, BigNumber], - ApprovalEventObject ->; - -export type ApprovalEventFilter = TypedEventFilter; - -export interface BeaconUpgradedEventObject { - beacon: string; -} -export type BeaconUpgradedEvent = TypedEvent< - [string], - BeaconUpgradedEventObject ->; - -export type BeaconUpgradedEventFilter = TypedEventFilter; - -export interface DepositEventObject { - caller: string; - owner: string; - assets: BigNumber; - shares: BigNumber; -} -export type DepositEvent = TypedEvent< - [string, string, BigNumber, BigNumber], - DepositEventObject ->; - -export type DepositEventFilter = TypedEventFilter; - -export interface FCashMintedEventObject { - _fCashPosition: string; - _assetAmount: BigNumber; - _fCashAmount: BigNumber; -} -export type FCashMintedEvent = TypedEvent< - [string, BigNumber, BigNumber], - FCashMintedEventObject ->; - -export type FCashMintedEventFilter = TypedEventFilter; - -export interface InitializedEventObject { - version: number; -} -export type InitializedEvent = TypedEvent<[number], InitializedEventObject>; - -export type InitializedEventFilter = TypedEventFilter; - -export interface RoleAdminChangedEventObject { - role: string; - previousAdminRole: string; - newAdminRole: string; -} -export type RoleAdminChangedEvent = TypedEvent< - [string, string, string], - RoleAdminChangedEventObject ->; - -export type RoleAdminChangedEventFilter = - TypedEventFilter; - -export interface RoleGrantedEventObject { - role: string; - account: string; - sender: string; -} -export type RoleGrantedEvent = TypedEvent< - [string, string, string], - RoleGrantedEventObject ->; - -export type RoleGrantedEventFilter = TypedEventFilter; - -export interface RoleRevokedEventObject { - role: string; - account: string; - sender: string; -} -export type RoleRevokedEvent = TypedEvent< - [string, string, string], - RoleRevokedEventObject ->; - -export type RoleRevokedEventFilter = TypedEventFilter; - -export interface TransferEventObject { - from: string; - to: string; - value: BigNumber; -} -export type TransferEvent = TypedEvent< - [string, string, BigNumber], - TransferEventObject ->; - -export type TransferEventFilter = TypedEventFilter; - -export interface UpgradedEventObject { - implementation: string; -} -export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>; - -export type UpgradedEventFilter = TypedEventFilter; - -export interface WithdrawEventObject { - caller: string; - receiver: string; - owner: string; - assets: BigNumber; - shares: BigNumber; -} -export type WithdrawEvent = TypedEvent< - [string, string, string, BigNumber, BigNumber], - WithdrawEventObject ->; - -export type WithdrawEventFilter = TypedEventFilter; - -export interface SavingsVault extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SavingsVaultInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - AUM_SCALED_PER_SECONDS_RATE( - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "AUM_SCALED_PER_SECONDS_RATE()"( - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - BP(overrides?: CallOverrides): Promise<[number]>; - - "BP()"(overrides?: CallOverrides): Promise<[number]>; - - BURNING_FEE_IN_BP(overrides?: CallOverrides): Promise<[BigNumber]>; - - "BURNING_FEE_IN_BP()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>; - - "DEFAULT_ADMIN_ROLE()"(overrides?: CallOverrides): Promise<[string]>; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise<[string]>; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise<[string]>; - - MINTING_FEE_IN_BP(overrides?: CallOverrides): Promise<[BigNumber]>; - - "MINTING_FEE_IN_BP()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - SUPPORTED_MATURITIES(overrides?: CallOverrides): Promise<[number]>; - - "SUPPORTED_MATURITIES()"(overrides?: CallOverrides): Promise<[number]>; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise<[string]>; - - "asset()"(overrides?: CallOverrides): Promise<[string]>; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { assets: BigNumber }>; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { assets: BigNumber }>; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { shares: BigNumber }>; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { shares: BigNumber }>; - - currencyId(overrides?: CallOverrides): Promise<[number]>; - - "currencyId()"(overrides?: CallOverrides): Promise<[number]>; - - decimals(overrides?: CallOverrides): Promise<[number]>; - - "decimals()"(overrides?: CallOverrides): Promise<[number]>; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - depositWithPermit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - "getRoleAdmin(bytes32)"( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[string]>; - - getfCashPositions(overrides?: CallOverrides): Promise<[[string, string]]>; - - "getfCashPositions()"( - overrides?: CallOverrides - ): Promise<[[string, string]]>; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "grantRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - harvest( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(uint256)"( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "hasRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(string,string,address,uint16,address,address,uint16,address)"( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxLoss(overrides?: CallOverrides): Promise<[number]>; - - "maxLoss()"(overrides?: CallOverrides): Promise<[number]>; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - maxWithdraw( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "maxWithdraw(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - mint( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise<[string]>; - - "name()"(overrides?: CallOverrides): Promise<[string]>; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - notionalRouter(overrides?: CallOverrides): Promise<[string]>; - - "notionalRouter()"(overrides?: CallOverrides): Promise<[string]>; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewDeposit(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewMint( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewMint(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewRedeem( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewRedeem(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - previewWithdraw( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "previewWithdraw(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - proxiableUUID(overrides?: CallOverrides): Promise<[string]>; - - "proxiableUUID()"(overrides?: CallOverrides): Promise<[string]>; - - redeem( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - redeemWithMinOutputAmount( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeemWithMinOutputAmount(uint256,address,address,uint256)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "renounceRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "revokeRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFeeRecipient( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setFeeRecipient(address)"( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxLoss( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMaxLoss(uint16)"( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sortMarketsByOracleRate( - overrides?: CallOverrides - ): Promise< - [ - ISavingsVault.NotionalMarketStructOutput, - ISavingsVault.NotionalMarketStructOutput - ] & { - lowestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - highestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - } - >; - - "sortMarketsByOracleRate()"( - overrides?: CallOverrides - ): Promise< - [ - ISavingsVault.NotionalMarketStructOutput, - ISavingsVault.NotionalMarketStructOutput - ] & { - lowestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - highestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - } - >; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - "supportsInterface(bytes4)"( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - - symbol(overrides?: CallOverrides): Promise<[string]>; - - "symbol()"(overrides?: CallOverrides): Promise<[string]>; - - totalAssets(overrides?: CallOverrides): Promise<[BigNumber]>; - - "totalAssets()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; - - "totalSupply()"(overrides?: CallOverrides): Promise<[BigNumber]>; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - wrappedfCashFactory(overrides?: CallOverrides): Promise<[string]>; - - "wrappedfCashFactory()"(overrides?: CallOverrides): Promise<[string]>; - }; - - AUM_SCALED_PER_SECONDS_RATE(overrides?: CallOverrides): Promise; - - "AUM_SCALED_PER_SECONDS_RATE()"( - overrides?: CallOverrides - ): Promise; - - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - BURNING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "BURNING_FEE_IN_BP()"(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - "DEFAULT_ADMIN_ROLE()"(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - MINTING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "MINTING_FEE_IN_BP()"(overrides?: CallOverrides): Promise; - - SUPPORTED_MATURITIES(overrides?: CallOverrides): Promise; - - "SUPPORTED_MATURITIES()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - currencyId(overrides?: CallOverrides): Promise; - - "currencyId()"(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - depositWithPermit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRoleAdmin(bytes32)"( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getfCashPositions(overrides?: CallOverrides): Promise<[string, string]>; - - "getfCashPositions()"(overrides?: CallOverrides): Promise<[string, string]>; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "grantRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - harvest( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(uint256)"( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "hasRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(string,string,address,uint16,address,address,uint16,address)"( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxLoss(overrides?: CallOverrides): Promise; - - "maxLoss()"(overrides?: CallOverrides): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - notionalRouter(overrides?: CallOverrides): Promise; - - "notionalRouter()"(overrides?: CallOverrides): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - - redeem( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - redeemWithMinOutputAmount( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeemWithMinOutputAmount(uint256,address,address,uint256)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "renounceRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "revokeRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFeeRecipient( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setFeeRecipient(address)"( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxLoss( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMaxLoss(uint16)"( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sortMarketsByOracleRate( - overrides?: CallOverrides - ): Promise< - [ - ISavingsVault.NotionalMarketStructOutput, - ISavingsVault.NotionalMarketStructOutput - ] & { - lowestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - highestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - } - >; - - "sortMarketsByOracleRate()"( - overrides?: CallOverrides - ): Promise< - [ - ISavingsVault.NotionalMarketStructOutput, - ISavingsVault.NotionalMarketStructOutput - ] & { - lowestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - highestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - } - >; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - wrappedfCashFactory(overrides?: CallOverrides): Promise; - - "wrappedfCashFactory()"(overrides?: CallOverrides): Promise; - - callStatic: { - AUM_SCALED_PER_SECONDS_RATE(overrides?: CallOverrides): Promise; - - "AUM_SCALED_PER_SECONDS_RATE()"( - overrides?: CallOverrides - ): Promise; - - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - BURNING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "BURNING_FEE_IN_BP()"(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - "DEFAULT_ADMIN_ROLE()"(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - MINTING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "MINTING_FEE_IN_BP()"(overrides?: CallOverrides): Promise; - - SUPPORTED_MATURITIES(overrides?: CallOverrides): Promise; - - "SUPPORTED_MATURITIES()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - currencyId(overrides?: CallOverrides): Promise; - - "currencyId()"(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - deposit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "deposit(uint256,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - depositWithPermit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRoleAdmin(bytes32)"( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getfCashPositions(overrides?: CallOverrides): Promise<[string, string]>; - - "getfCashPositions()"(overrides?: CallOverrides): Promise<[string, string]>; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "grantRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - harvest( - _maxDepositedAmount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "harvest(uint256)"( - _maxDepositedAmount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "hasRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "initialize(string,string,address,uint16,address,address,uint16,address)"( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxLoss(overrides?: CallOverrides): Promise; - - "maxLoss()"(overrides?: CallOverrides): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "mint(uint256,address)"( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - notionalRouter(overrides?: CallOverrides): Promise; - - "notionalRouter()"(overrides?: CallOverrides): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewDeposit( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - - redeem( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "redeem(uint256,address,address)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - redeemWithMinOutputAmount( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "redeemWithMinOutputAmount(uint256,address,address,uint256)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "renounceRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "revokeRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setFeeRecipient( - _feeRecipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setFeeRecipient(address)"( - _feeRecipient: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMaxLoss( - _maxLoss: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "setMaxLoss(uint16)"( - _maxLoss: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sortMarketsByOracleRate( - overrides?: CallOverrides - ): Promise< - [ - ISavingsVault.NotionalMarketStructOutput, - ISavingsVault.NotionalMarketStructOutput - ] & { - lowestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - highestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - } - >; - - "sortMarketsByOracleRate()"( - overrides?: CallOverrides - ): Promise< - [ - ISavingsVault.NotionalMarketStructOutput, - ISavingsVault.NotionalMarketStructOutput - ] & { - lowestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - highestYieldMarket: ISavingsVault.NotionalMarketStructOutput; - } - >; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - withdraw( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "withdraw(uint256,address,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - wrappedfCashFactory(overrides?: CallOverrides): Promise; - - "wrappedfCashFactory()"(overrides?: CallOverrides): Promise; - }; - - filters: { - "AdminChanged(address,address)"( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - AdminChanged( - previousAdmin?: null, - newAdmin?: null - ): AdminChangedEventFilter; - - "Approval(address,address,uint256)"( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - Approval( - owner?: PromiseOrValue | null, - spender?: PromiseOrValue | null, - value?: null - ): ApprovalEventFilter; - - "BeaconUpgraded(address)"( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - BeaconUpgraded( - beacon?: PromiseOrValue | null - ): BeaconUpgradedEventFilter; - - "Deposit(address,address,uint256,uint256)"( - caller?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): DepositEventFilter; - Deposit( - caller?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): DepositEventFilter; - - "FCashMinted(address,uint256,uint256)"( - _fCashPosition?: PromiseOrValue | null, - _assetAmount?: null, - _fCashAmount?: null - ): FCashMintedEventFilter; - FCashMinted( - _fCashPosition?: PromiseOrValue | null, - _assetAmount?: null, - _fCashAmount?: null - ): FCashMintedEventFilter; - - "Initialized(uint8)"(version?: null): InitializedEventFilter; - Initialized(version?: null): InitializedEventFilter; - - "RoleAdminChanged(bytes32,bytes32,bytes32)"( - role?: PromiseOrValue | null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - RoleAdminChanged( - role?: PromiseOrValue | null, - previousAdminRole?: PromiseOrValue | null, - newAdminRole?: PromiseOrValue | null - ): RoleAdminChangedEventFilter; - - "RoleGranted(bytes32,address,address)"( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - RoleGranted( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleGrantedEventFilter; - - "RoleRevoked(bytes32,address,address)"( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - RoleRevoked( - role?: PromiseOrValue | null, - account?: PromiseOrValue | null, - sender?: PromiseOrValue | null - ): RoleRevokedEventFilter; - - "Transfer(address,address,uint256)"( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - Transfer( - from?: PromiseOrValue | null, - to?: PromiseOrValue | null, - value?: null - ): TransferEventFilter; - - "Upgraded(address)"( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - Upgraded( - implementation?: PromiseOrValue | null - ): UpgradedEventFilter; - - "Withdraw(address,address,address,uint256,uint256)"( - caller?: PromiseOrValue | null, - receiver?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): WithdrawEventFilter; - Withdraw( - caller?: PromiseOrValue | null, - receiver?: PromiseOrValue | null, - owner?: PromiseOrValue | null, - assets?: null, - shares?: null - ): WithdrawEventFilter; - }; - - estimateGas: { - AUM_SCALED_PER_SECONDS_RATE(overrides?: CallOverrides): Promise; - - "AUM_SCALED_PER_SECONDS_RATE()"( - overrides?: CallOverrides - ): Promise; - - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - BURNING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "BURNING_FEE_IN_BP()"(overrides?: CallOverrides): Promise; - - DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise; - - "DEFAULT_ADMIN_ROLE()"(overrides?: CallOverrides): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"(overrides?: CallOverrides): Promise; - - MINTING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "MINTING_FEE_IN_BP()"(overrides?: CallOverrides): Promise; - - SUPPORTED_MATURITIES(overrides?: CallOverrides): Promise; - - "SUPPORTED_MATURITIES()"(overrides?: CallOverrides): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - currencyId(overrides?: CallOverrides): Promise; - - "currencyId()"(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - depositWithPermit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRoleAdmin(bytes32)"( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getfCashPositions(overrides?: CallOverrides): Promise; - - "getfCashPositions()"(overrides?: CallOverrides): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "grantRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - harvest( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(uint256)"( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "hasRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(string,string,address,uint16,address,address,uint16,address)"( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxLoss(overrides?: CallOverrides): Promise; - - "maxLoss()"(overrides?: CallOverrides): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - notionalRouter(overrides?: CallOverrides): Promise; - - "notionalRouter()"(overrides?: CallOverrides): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - - redeem( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - redeemWithMinOutputAmount( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeemWithMinOutputAmount(uint256,address,address,uint256)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "renounceRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "revokeRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFeeRecipient( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setFeeRecipient(address)"( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxLoss( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMaxLoss(uint16)"( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sortMarketsByOracleRate(overrides?: CallOverrides): Promise; - - "sortMarketsByOracleRate()"(overrides?: CallOverrides): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - wrappedfCashFactory(overrides?: CallOverrides): Promise; - - "wrappedfCashFactory()"(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - AUM_SCALED_PER_SECONDS_RATE( - overrides?: CallOverrides - ): Promise; - - "AUM_SCALED_PER_SECONDS_RATE()"( - overrides?: CallOverrides - ): Promise; - - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - BURNING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "BURNING_FEE_IN_BP()"( - overrides?: CallOverrides - ): Promise; - - DEFAULT_ADMIN_ROLE( - overrides?: CallOverrides - ): Promise; - - "DEFAULT_ADMIN_ROLE()"( - overrides?: CallOverrides - ): Promise; - - DOMAIN_SEPARATOR(overrides?: CallOverrides): Promise; - - "DOMAIN_SEPARATOR()"( - overrides?: CallOverrides - ): Promise; - - MINTING_FEE_IN_BP(overrides?: CallOverrides): Promise; - - "MINTING_FEE_IN_BP()"( - overrides?: CallOverrides - ): Promise; - - SUPPORTED_MATURITIES( - overrides?: CallOverrides - ): Promise; - - "SUPPORTED_MATURITIES()"( - overrides?: CallOverrides - ): Promise; - - allowance( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "allowance(address,address)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "approve(address,uint256)"( - spender: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - asset(overrides?: CallOverrides): Promise; - - "asset()"(overrides?: CallOverrides): Promise; - - balanceOf( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "balanceOf(address)"( - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToAssets( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToAssets(uint256)"( - shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - convertToShares( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "convertToShares(uint256)"( - assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - currencyId(overrides?: CallOverrides): Promise; - - "currencyId()"(overrides?: CallOverrides): Promise; - - decimals(overrides?: CallOverrides): Promise; - - "decimals()"(overrides?: CallOverrides): Promise; - - decreaseAllowance( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "decreaseAllowance(address,uint256)"( - spender: PromiseOrValue, - subtractedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - deposit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "deposit(uint256,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - depositWithPermit( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "depositWithPermit(uint256,address,uint256,uint8,bytes32,bytes32)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _deadline: PromiseOrValue, - _v: PromiseOrValue, - _r: PromiseOrValue, - _s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getRoleAdmin( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getRoleAdmin(bytes32)"( - role: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getfCashPositions(overrides?: CallOverrides): Promise; - - "getfCashPositions()"( - overrides?: CallOverrides - ): Promise; - - grantRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "grantRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - harvest( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "harvest(uint256)"( - _maxDepositedAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hasRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "hasRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - increaseAllowance( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "increaseAllowance(address,uint256)"( - spender: PromiseOrValue, - addedValue: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - initialize( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "initialize(string,string,address,uint16,address,address,uint16,address)"( - _name: PromiseOrValue, - _symbol: PromiseOrValue, - _asset: PromiseOrValue, - _currencyId: PromiseOrValue, - _wrappedfCashFactory: PromiseOrValue, - _notionalRouter: PromiseOrValue, - _maxLoss: PromiseOrValue, - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - maxDeposit( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxDeposit(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxLoss(overrides?: CallOverrides): Promise; - - "maxLoss()"(overrides?: CallOverrides): Promise; - - maxMint( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxMint(address)"( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxRedeem( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxRedeem(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - maxWithdraw( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "maxWithdraw(address)"( - _owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - mint( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "mint(uint256,address)"( - _shares: PromiseOrValue, - receiver: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - name(overrides?: CallOverrides): Promise; - - "name()"(overrides?: CallOverrides): Promise; - - nonces( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "nonces(address)"( - owner: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - notionalRouter(overrides?: CallOverrides): Promise; - - "notionalRouter()"( - overrides?: CallOverrides - ): Promise; - - permit( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)"( - owner: PromiseOrValue, - spender: PromiseOrValue, - value: PromiseOrValue, - deadline: PromiseOrValue, - v: PromiseOrValue, - r: PromiseOrValue, - s: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - previewDeposit( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewDeposit(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewMint( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewMint(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewRedeem( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewRedeem(uint256)"( - _shares: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - previewWithdraw( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "previewWithdraw(uint256)"( - _assets: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - proxiableUUID(overrides?: CallOverrides): Promise; - - "proxiableUUID()"(overrides?: CallOverrides): Promise; - - redeem( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeem(uint256,address,address)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - redeemWithMinOutputAmount( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "redeemWithMinOutputAmount(uint256,address,address,uint256)"( - _shares: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - _minOutputAmount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - renounceRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "renounceRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - revokeRole( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "revokeRole(bytes32,address)"( - role: PromiseOrValue, - account: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFeeRecipient( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setFeeRecipient(address)"( - _feeRecipient: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxLoss( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "setMaxLoss(uint16)"( - _maxLoss: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sortMarketsByOracleRate( - overrides?: CallOverrides - ): Promise; - - "sortMarketsByOracleRate()"( - overrides?: CallOverrides - ): Promise; - - supportsInterface( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "supportsInterface(bytes4)"( - interfaceId: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - symbol(overrides?: CallOverrides): Promise; - - "symbol()"(overrides?: CallOverrides): Promise; - - totalAssets(overrides?: CallOverrides): Promise; - - "totalAssets()"(overrides?: CallOverrides): Promise; - - totalSupply(overrides?: CallOverrides): Promise; - - "totalSupply()"(overrides?: CallOverrides): Promise; - - transfer( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transfer(address,uint256)"( - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "transferFrom(address,address,uint256)"( - from: PromiseOrValue, - to: PromiseOrValue, - amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeTo( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeTo(address)"( - newImplementation: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - upgradeToAndCall( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "upgradeToAndCall(address,bytes)"( - newImplementation: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - withdraw( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "withdraw(uint256,address,address)"( - _assets: PromiseOrValue, - _receiver: PromiseOrValue, - _owner: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - wrappedfCashFactory( - overrides?: CallOverrides - ): Promise; - - "wrappedfCashFactory()"( - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/typechain/SavingsVaultViews.ts b/src/typechain/SavingsVaultViews.ts deleted file mode 100644 index 9ddeae63..00000000 --- a/src/typechain/SavingsVaultViews.ts +++ /dev/null @@ -1,454 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { - TypedEventFilter, - TypedEvent, - TypedListener, - OnEvent, - PromiseOrValue, -} from "./common"; - -export interface SavingsVaultViewsInterface extends utils.Interface { - functions: { - "BP()": FunctionFragment; - "getAPY(address)": FunctionFragment; - "getHighestYieldMarketParameters(address)": FunctionFragment; - "getMaxDepositedAmount(address)": FunctionFragment; - "scaleAmount(address,uint256,uint256,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BP" - | "BP()" - | "getAPY" - | "getAPY(address)" - | "getHighestYieldMarketParameters" - | "getHighestYieldMarketParameters(address)" - | "getMaxDepositedAmount" - | "getMaxDepositedAmount(address)" - | "scaleAmount" - | "scaleAmount(address,uint256,uint256,uint256)" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BP", values?: undefined): string; - encodeFunctionData(functionFragment: "BP()", values?: undefined): string; - encodeFunctionData( - functionFragment: "getAPY", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getAPY(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getHighestYieldMarketParameters", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getHighestYieldMarketParameters(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getMaxDepositedAmount", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "getMaxDepositedAmount(address)", - values: [PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "scaleAmount", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "scaleAmount(address,uint256,uint256,uint256)", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "BP", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "BP()", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getAPY", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getAPY(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getHighestYieldMarketParameters", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getHighestYieldMarketParameters(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getMaxDepositedAmount", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getMaxDepositedAmount(address)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "scaleAmount", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "scaleAmount(address,uint256,uint256,uint256)", - data: BytesLike - ): Result; - - events: {}; -} - -export interface SavingsVaultViews extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SavingsVaultViewsInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners( - eventFilter?: TypedEventFilter - ): Array>; - listeners(eventName?: string): Array; - removeAllListeners( - eventFilter: TypedEventFilter - ): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BP(overrides?: CallOverrides): Promise<[number]>; - - "BP()"(overrides?: CallOverrides): Promise<[number]>; - - getAPY( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "getAPY(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - getHighestYieldMarketParameters( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, number, number, string] & { - maturity: BigNumber; - minImpliedRate: number; - currencyId: number; - calculationViews: string; - } - >; - - "getHighestYieldMarketParameters(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, number, number, string] & { - maturity: BigNumber; - minImpliedRate: number; - currencyId: number; - calculationViews: string; - } - >; - - getMaxDepositedAmount( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { maxDepositedAmount: BigNumber }>; - - "getMaxDepositedAmount(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { maxDepositedAmount: BigNumber }>; - - scaleAmount( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - "scaleAmount(address,uint256,uint256,uint256)"( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - }; - - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - getAPY( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getAPY(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getHighestYieldMarketParameters( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, number, number, string] & { - maturity: BigNumber; - minImpliedRate: number; - currencyId: number; - calculationViews: string; - } - >; - - "getHighestYieldMarketParameters(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, number, number, string] & { - maturity: BigNumber; - minImpliedRate: number; - currencyId: number; - calculationViews: string; - } - >; - - getMaxDepositedAmount( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getMaxDepositedAmount(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - scaleAmount( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "scaleAmount(address,uint256,uint256,uint256)"( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - getAPY( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getAPY(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getHighestYieldMarketParameters( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, number, number, string] & { - maturity: BigNumber; - minImpliedRate: number; - currencyId: number; - calculationViews: string; - } - >; - - "getHighestYieldMarketParameters(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [BigNumber, number, number, string] & { - maturity: BigNumber; - minImpliedRate: number; - currencyId: number; - calculationViews: string; - } - >; - - getMaxDepositedAmount( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getMaxDepositedAmount(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - scaleAmount( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "scaleAmount(address,uint256,uint256,uint256)"( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - getAPY( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getAPY(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getHighestYieldMarketParameters( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getHighestYieldMarketParameters(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMaxDepositedAmount( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getMaxDepositedAmount(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - scaleAmount( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "scaleAmount(address,uint256,uint256,uint256)"( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - BP(overrides?: CallOverrides): Promise; - - "BP()"(overrides?: CallOverrides): Promise; - - getAPY( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getAPY(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getHighestYieldMarketParameters( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getHighestYieldMarketParameters(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - getMaxDepositedAmount( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "getMaxDepositedAmount(address)"( - _savingsVault: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - scaleAmount( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - "scaleAmount(address,uint256,uint256,uint256)"( - _savingsVault: PromiseOrValue, - _amount: PromiseOrValue, - _percentage: PromiseOrValue, - _steps: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/src/typechain/common.ts b/src/typechain/common.ts index 4c90b08b..630cf698 100644 --- a/src/typechain/common.ts +++ b/src/typechain/common.ts @@ -4,26 +4,22 @@ import type { Listener } from "@ethersproject/providers"; import type { Event, EventFilter } from "ethers"; -export interface TypedEvent< - TArgsArray extends Array = any, - TArgsObject = any -> extends Event { +export interface TypedEvent = any, TArgsObject = any> extends Event { args: TArgsArray & TArgsObject; } -export interface TypedEventFilter<_TEvent extends TypedEvent> - extends EventFilter {} +export interface TypedEventFilter<_TEvent extends TypedEvent> extends EventFilter {} -export interface TypedListener { - (...listenerArg: [...__TypechainArgsArray, TEvent]): void; -} +export type TypedListener = ( + ...listenerArg: [...__TypechainArgsArray, TEvent] +) => void; type __TypechainArgsArray = T extends TypedEvent ? U : never; export interface OnEvent { ( eventFilter: TypedEventFilter, - listener: TypedListener + listener: TypedListener, ): TRes; (eventName: string, listener: Listener): TRes; } @@ -32,12 +28,7 @@ export type MinEthersFactory = { deploy(...a: ARGS[]): Promise; }; -export type GetContractTypeFromFactory = F extends MinEthersFactory< - infer C, - any -> - ? C - : never; +export type GetContractTypeFromFactory = F extends MinEthersFactory ? C : never; export type GetARGsTypeFromFactory = F extends MinEthersFactory ? Parameters diff --git a/src/typechain/factories/BaseIndex__factory.ts b/src/typechain/factories/BaseIndex__factory.ts index d66904c3..c1cd9dc9 100644 --- a/src/typechain/factories/BaseIndex__factory.ts +++ b/src/typechain/factories/BaseIndex__factory.ts @@ -2,8 +2,8 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; +import { Contract, type Signer, utils } from "ethers"; import type { BaseIndex, BaseIndexInterface } from "../BaseIndex"; const _abi = [ @@ -32,19 +32,6 @@ const _abi = [ name: "Approval", type: "event", }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "asset", - type: "address", - }, - ], - name: "AssetRemoved", - type: "event", - }, { anonymous: false, inputs: [ @@ -70,25 +57,6 @@ const _abi = [ name: "Transfer", type: "event", }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "asset", - type: "address", - }, - { - indexed: false, - internalType: "uint8", - name: "weight", - type: "uint8", - }, - ], - name: "UpdateAnatomy", - type: "event", - }, { inputs: [], name: "DOMAIN_SEPARATOR", @@ -506,10 +474,7 @@ export class BaseIndex__factory { static createInterface(): BaseIndexInterface { return new utils.Interface(_abi) as BaseIndexInterface; } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): BaseIndex { + static connect(address: string, signerOrProvider: Signer | Provider): BaseIndex { return new Contract(address, _abi, signerOrProvider) as BaseIndex; } } diff --git a/src/typechain/factories/ERC20Permit__factory.ts b/src/typechain/factories/ERC20Permit__factory.ts deleted file mode 100644 index e9cf73ea..00000000 --- a/src/typechain/factories/ERC20Permit__factory.ts +++ /dev/null @@ -1,368 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { ERC20Permit, ERC20PermitInterface } from "../ERC20Permit"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class ERC20Permit__factory { - static readonly abi = _abi; - static createInterface(): ERC20PermitInterface { - return new utils.Interface(_abi) as ERC20PermitInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC20Permit { - return new Contract(address, _abi, signerOrProvider) as ERC20Permit; - } -} diff --git a/src/typechain/factories/ERC20__factory.ts b/src/typechain/factories/ERC20__factory.ts index 16c93635..6a3e9818 100644 --- a/src/typechain/factories/ERC20__factory.ts +++ b/src/typechain/factories/ERC20__factory.ts @@ -2,37 +2,11 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; +import { Contract, type Signer, utils } from "ethers"; import type { ERC20, ERC20Interface } from "../ERC20"; const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "_name", - type: "string", - }, - { - internalType: "string", - name: "_symbol", - type: "string", - }, - { - internalType: "address", - name: "initialAccount", - type: "address", - }, - { - internalType: "uint256", - name: "initialBalance", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, { anonymous: false, inputs: [ diff --git a/src/typechain/factories/ERC4626Upgradeable__factory.ts b/src/typechain/factories/ERC4626Upgradeable__factory.ts deleted file mode 100644 index 35d868e2..00000000 --- a/src/typechain/factories/ERC4626Upgradeable__factory.ts +++ /dev/null @@ -1,699 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - ERC4626Upgradeable, - ERC4626UpgradeableInterface, -} from "../ERC4626Upgradeable"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "caller", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "Deposit", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "caller", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "receiver", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "Withdraw", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "asset", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "convertToAssets", - outputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - name: "convertToShares", - outputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "maxDeposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "maxMint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "maxRedeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "maxWithdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "mint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - name: "previewDeposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "previewMint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "previewRedeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - name: "previewWithdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "redeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalAssets", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "withdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class ERC4626Upgradeable__factory { - static readonly abi = _abi; - static createInterface(): ERC4626UpgradeableInterface { - return new utils.Interface(_abi) as ERC4626UpgradeableInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC4626Upgradeable { - return new Contract(address, _abi, signerOrProvider) as ERC4626Upgradeable; - } -} diff --git a/src/typechain/factories/ERC4626WithPermit__factory.ts b/src/typechain/factories/ERC4626WithPermit__factory.ts deleted file mode 100644 index 6a55cd72..00000000 --- a/src/typechain/factories/ERC4626WithPermit__factory.ts +++ /dev/null @@ -1,761 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - ERC4626WithPermit, - ERC4626WithPermitInterface, -} from "../ERC4626WithPermit"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "caller", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "Deposit", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "caller", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "receiver", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "Withdraw", - type: "event", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "asset", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "convertToAssets", - outputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - name: "convertToShares", - outputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "maxDeposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "maxMint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "maxRedeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "maxWithdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "mint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - name: "previewDeposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "previewMint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "previewRedeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - name: "previewWithdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "redeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalAssets", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "withdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class ERC4626WithPermit__factory { - static readonly abi = _abi; - static createInterface(): ERC4626WithPermitInterface { - return new utils.Interface(_abi) as ERC4626WithPermitInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): ERC4626WithPermit { - return new Contract(address, _abi, signerOrProvider) as ERC4626WithPermit; - } -} diff --git a/src/typechain/factories/IHarvestingJob__factory.ts b/src/typechain/factories/IHarvestingJob__factory.ts deleted file mode 100644 index 9097b53d..00000000 --- a/src/typechain/factories/IHarvestingJob__factory.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IHarvestingJob, - IHarvestingJobInterface, -} from "../IHarvestingJob"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_vault", - type: "address", - }, - ], - name: "canHarvest", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_vault", - type: "address", - }, - ], - name: "harvest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_vault", - type: "address", - }, - ], - name: "lastHarvest", - outputs: [ - { - internalType: "uint96", - name: "", - type: "uint96", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pause", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "_timeout", - type: "uint32", - }, - { - internalType: "address", - name: "_savingsVault", - type: "address", - }, - ], - name: "setTimeout", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_vault", - type: "address", - }, - ], - name: "timeout", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "unpause", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -]; - -export class IHarvestingJob__factory { - static readonly abi = _abi; - static createInterface(): IHarvestingJobInterface { - return new utils.Interface(_abi) as IHarvestingJobInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IHarvestingJob { - return new Contract(address, _abi, signerOrProvider) as IHarvestingJob; - } -} diff --git a/src/typechain/factories/IndexHelper__factory.ts b/src/typechain/factories/IndexHelper__factory.ts index dcdfef23..7aa71960 100644 --- a/src/typechain/factories/IndexHelper__factory.ts +++ b/src/typechain/factories/IndexHelper__factory.ts @@ -2,8 +2,8 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; +import { Contract, type Signer, utils } from "ethers"; import type { IndexHelper, IndexHelperInterface } from "../IndexHelper"; const _abi = [ @@ -38,10 +38,7 @@ export class IndexHelper__factory { static createInterface(): IndexHelperInterface { return new utils.Interface(_abi) as IndexHelperInterface; } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IndexHelper { + static connect(address: string, signerOrProvider: Signer | Provider): IndexHelper { return new Contract(address, _abi, signerOrProvider) as IndexHelper; } } diff --git a/src/typechain/factories/IndexRouter__factory.ts b/src/typechain/factories/IndexRouter__factory.ts index 6a2003fd..7caec11a 100644 --- a/src/typechain/factories/IndexRouter__factory.ts +++ b/src/typechain/factories/IndexRouter__factory.ts @@ -2,74 +2,11 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; +import { Contract, type Signer, utils } from "ethers"; import type { IndexRouter, IndexRouterInterface } from "../IndexRouter"; const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, { inputs: [], name: "WETH", @@ -103,7 +40,7 @@ const _abi = [ type: "address", }, ], - internalType: "struct IIndexRouter.BurnParams", + internalType: "struct IIndexRouterV2.BurnParams", name: "_params", type: "tuple", }, @@ -144,6 +81,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -155,12 +97,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.BurnQuoteParams[]", + internalType: "struct IIndexRouterV2.BurnQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.BurnSwapParams", + internalType: "struct IIndexRouterV2.BurnSwapParams", name: "_params", type: "tuple", }, @@ -207,6 +149,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -218,12 +165,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.BurnQuoteParams[]", + internalType: "struct IIndexRouterV2.BurnQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.BurnSwapParams", + internalType: "struct IIndexRouterV2.BurnSwapParams", name: "_params", type: "tuple", }, @@ -270,6 +217,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -281,12 +233,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.BurnQuoteParams[]", + internalType: "struct IIndexRouterV2.BurnQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.BurnSwapParams", + internalType: "struct IIndexRouterV2.BurnSwapParams", name: "_params", type: "tuple", }, @@ -353,6 +305,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -364,12 +321,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.BurnQuoteParams[]", + internalType: "struct IIndexRouterV2.BurnQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.BurnSwapParams", + internalType: "struct IIndexRouterV2.BurnSwapParams", name: "_params", type: "tuple", }, @@ -449,7 +406,7 @@ const _abi = [ type: "address", }, ], - internalType: "struct IIndexRouter.BurnParams", + internalType: "struct IIndexRouterV2.BurnParams", name: "_params", type: "tuple", }, @@ -485,7 +442,7 @@ const _abi = [ type: "address", }, ], - internalType: "struct IIndexRouter.BurnParams", + internalType: "struct IIndexRouterV2.BurnParams", name: "_params", type: "tuple", }, @@ -553,7 +510,7 @@ const _abi = [ type: "address", }, ], - internalType: "struct IIndexRouter.MintParams", + internalType: "struct IIndexRouterV2.MintParams", name: "_params", type: "tuple", }, @@ -605,6 +562,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -616,12 +578,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.MintQuoteParams[]", + internalType: "struct IIndexRouterV2.MintQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.MintSwapParams", + internalType: "struct IIndexRouterV2.MintSwapParams", name: "_params", type: "tuple", }, @@ -673,6 +635,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -684,12 +651,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.MintQuoteParams[]", + internalType: "struct IIndexRouterV2.MintQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.MintSwapParams", + internalType: "struct IIndexRouterV2.MintSwapParams", name: "_params", type: "tuple", }, @@ -731,6 +698,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -742,12 +714,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.MintQuoteParams[]", + internalType: "struct IIndexRouterV2.MintQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.MintSwapValueParams", + internalType: "struct IIndexRouterV2.MintSwapValueParams", name: "_params", type: "tuple", }, @@ -799,6 +771,11 @@ const _abi = [ name: "swapTarget", type: "address", }, + { + internalType: "address", + name: "allowanceTarget", + type: "address", + }, { internalType: "uint256", name: "buyAssetMinAmount", @@ -810,12 +787,12 @@ const _abi = [ type: "bytes", }, ], - internalType: "struct IIndexRouter.MintQuoteParams[]", + internalType: "struct IIndexRouterV2.MintQuoteParams[]", name: "quotes", type: "tuple[]", }, ], - internalType: "struct IIndexRouter.MintSwapParams", + internalType: "struct IIndexRouterV2.MintSwapParams", name: "_params", type: "tuple", }, @@ -851,19 +828,6 @@ const _abi = [ stateMutability: "nonpayable", type: "function", }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, { inputs: [], name: "registry", @@ -877,41 +841,6 @@ const _abi = [ stateMutability: "view", type: "function", }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - ], - name: "upgradeTo", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - stateMutability: "payable", - type: "receive", - }, ]; export class IndexRouter__factory { @@ -919,10 +848,7 @@ export class IndexRouter__factory { static createInterface(): IndexRouterInterface { return new utils.Interface(_abi) as IndexRouterInterface; } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): IndexRouter { + static connect(address: string, signerOrProvider: Signer | Provider): IndexRouter { return new Contract(address, _abi, signerOrProvider) as IndexRouter; } } diff --git a/src/typechain/factories/PhuturePriceOracle__factory.ts b/src/typechain/factories/PhuturePriceOracle__factory.ts index 1c79b45d..79e7b7f2 100644 --- a/src/typechain/factories/PhuturePriceOracle__factory.ts +++ b/src/typechain/factories/PhuturePriceOracle__factory.ts @@ -2,202 +2,11 @@ /* tslint:disable */ /* eslint-disable */ -import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; -import type { - PhuturePriceOracle, - PhuturePriceOracleInterface, -} from "../PhuturePriceOracle"; +import { Contract, type Signer, utils } from "ethers"; +import type { PhuturePriceOracle, PhuturePriceOracleInterface } from "../PhuturePriceOracle"; const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "base", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_asset", - type: "address", - }, - ], - name: "containsOracleOf", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_baseAmount", - type: "uint256", - }, - { - internalType: "uint8", - name: "_indexDecimals", - type: "uint8", - }, - ], - name: "convertToIndex", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_registry", - type: "address", - }, - { - internalType: "address", - name: "_base", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_asset", - type: "address", - }, - ], - name: "lastAssetPerBaseInUQ", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "priceOracleOf", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, { inputs: [ { @@ -217,100 +26,6 @@ const _abi = [ stateMutability: "nonpayable", type: "function", }, - { - inputs: [], - name: "registry", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_asset", - type: "address", - }, - ], - name: "removeOracleOf", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_asset", - type: "address", - }, - { - internalType: "address", - name: "_oracle", - type: "address", - }, - ], - name: "setOracleOf", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "_interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - ], - name: "upgradeTo", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, ]; export class PhuturePriceOracle__factory { @@ -318,10 +33,7 @@ export class PhuturePriceOracle__factory { static createInterface(): PhuturePriceOracleInterface { return new utils.Interface(_abi) as PhuturePriceOracleInterface; } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): PhuturePriceOracle { + static connect(address: string, signerOrProvider: Signer | Provider): PhuturePriceOracle { return new Contract(address, _abi, signerOrProvider) as PhuturePriceOracle; } } diff --git a/src/typechain/factories/SavingsVaultViews__factory.ts b/src/typechain/factories/SavingsVaultViews__factory.ts deleted file mode 100644 index a9ee1893..00000000 --- a/src/typechain/factories/SavingsVaultViews__factory.ts +++ /dev/null @@ -1,145 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - SavingsVaultViews, - SavingsVaultViewsInterface, -} from "../SavingsVaultViews"; - -const _abi = [ - { - inputs: [], - name: "BP", - outputs: [ - { - internalType: "uint16", - name: "", - type: "uint16", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "contract ISavingsVaultViewer", - name: "_savingsVault", - type: "address", - }, - ], - name: "getAPY", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_savingsVault", - type: "address", - }, - ], - name: "getHighestYieldMarketParameters", - outputs: [ - { - internalType: "uint256", - name: "maturity", - type: "uint256", - }, - { - internalType: "uint32", - name: "minImpliedRate", - type: "uint32", - }, - { - internalType: "uint16", - name: "currencyId", - type: "uint16", - }, - { - internalType: "contract INotionalV2", - name: "calculationViews", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_savingsVault", - type: "address", - }, - ], - name: "getMaxDepositedAmount", - outputs: [ - { - internalType: "uint256", - name: "maxDepositedAmount", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_savingsVault", - type: "address", - }, - { - internalType: "uint256", - name: "_amount", - type: "uint256", - }, - { - internalType: "uint256", - name: "_percentage", - type: "uint256", - }, - { - internalType: "uint256", - name: "_steps", - type: "uint256", - }, - ], - name: "scaleAmount", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class SavingsVaultViews__factory { - static readonly abi = _abi; - static createInterface(): SavingsVaultViewsInterface { - return new utils.Interface(_abi) as SavingsVaultViewsInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SavingsVaultViews { - return new Contract(address, _abi, signerOrProvider) as SavingsVaultViews; - } -} diff --git a/src/typechain/factories/SavingsVault__factory.ts b/src/typechain/factories/SavingsVault__factory.ts deleted file mode 100644 index 24e3deb6..00000000 --- a/src/typechain/factories/SavingsVault__factory.ts +++ /dev/null @@ -1,1431 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { SavingsVault, SavingsVaultInterface } from "../SavingsVault"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "caller", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "Deposit", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "contract IWrappedfCashComplete", - name: "_fCashPosition", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "_assetAmount", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_fCashAmount", - type: "uint256", - }, - ], - name: "FCashMinted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint8", - name: "version", - type: "uint8", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "previousAdminRole", - type: "bytes32", - }, - { - indexed: true, - internalType: "bytes32", - name: "newAdminRole", - type: "bytes32", - }, - ], - name: "RoleAdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleGranted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - indexed: true, - internalType: "address", - name: "account", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - ], - name: "RoleRevoked", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "Transfer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "caller", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "receiver", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "assets", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "Withdraw", - type: "event", - }, - { - inputs: [], - name: "AUM_SCALED_PER_SECONDS_RATE", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "BP", - outputs: [ - { - internalType: "uint16", - name: "", - type: "uint16", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "BURNING_FEE_IN_BP", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DEFAULT_ADMIN_ROLE", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "DOMAIN_SEPARATOR", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "MINTING_FEE_IN_BP", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "SUPPORTED_MATURITIES", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "asset", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - name: "convertToAssets", - outputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "assets", - type: "uint256", - }, - ], - name: "convertToShares", - outputs: [ - { - internalType: "uint256", - name: "shares", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "currencyId", - outputs: [ - { - internalType: "uint16", - name: "", - type: "uint16", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "subtractedValue", - type: "uint256", - }, - ], - name: "decreaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_assets", - type: "uint256", - }, - { - internalType: "address", - name: "_receiver", - type: "address", - }, - ], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_assets", - type: "uint256", - }, - { - internalType: "address", - name: "_receiver", - type: "address", - }, - { - internalType: "uint256", - name: "_deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "_v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "_r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "_s", - type: "bytes32", - }, - ], - name: "depositWithPermit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - ], - name: "getRoleAdmin", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getfCashPositions", - outputs: [ - { - internalType: "address[2]", - name: "", - type: "address[2]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "grantRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_maxDepositedAmount", - type: "uint256", - }, - ], - name: "harvest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "hasRole", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "addedValue", - type: "uint256", - }, - ], - name: "increaseAllowance", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "string", - name: "_name", - type: "string", - }, - { - internalType: "string", - name: "_symbol", - type: "string", - }, - { - internalType: "address", - name: "_asset", - type: "address", - }, - { - internalType: "uint16", - name: "_currencyId", - type: "uint16", - }, - { - internalType: "contract IWrappedfCashFactory", - name: "_wrappedfCashFactory", - type: "address", - }, - { - internalType: "address", - name: "_notionalRouter", - type: "address", - }, - { - internalType: "uint16", - name: "_maxLoss", - type: "uint16", - }, - { - internalType: "address", - name: "_feeRecipient", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "maxDeposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxLoss", - outputs: [ - { - internalType: "uint16", - name: "", - type: "uint16", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "maxMint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "maxRedeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "maxWithdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_shares", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "mint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "nonces", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "notionalRouter", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "deadline", - type: "uint256", - }, - { - internalType: "uint8", - name: "v", - type: "uint8", - }, - { - internalType: "bytes32", - name: "r", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "permit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_assets", - type: "uint256", - }, - ], - name: "previewDeposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_shares", - type: "uint256", - }, - ], - name: "previewMint", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_shares", - type: "uint256", - }, - ], - name: "previewRedeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_assets", - type: "uint256", - }, - ], - name: "previewWithdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_shares", - type: "uint256", - }, - { - internalType: "address", - name: "_receiver", - type: "address", - }, - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "redeem", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_shares", - type: "uint256", - }, - { - internalType: "address", - name: "_receiver", - type: "address", - }, - { - internalType: "address", - name: "_owner", - type: "address", - }, - { - internalType: "uint256", - name: "_minOutputAmount", - type: "uint256", - }, - ], - name: "redeemWithMinOutputAmount", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "renounceRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "role", - type: "bytes32", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "revokeRole", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_feeRecipient", - type: "address", - }, - ], - name: "setFeeRecipient", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "_maxLoss", - type: "uint16", - }, - ], - name: "setMaxLoss", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sortMarketsByOracleRate", - outputs: [ - { - components: [ - { - internalType: "uint256", - name: "maturity", - type: "uint256", - }, - { - internalType: "uint256", - name: "oracleRate", - type: "uint256", - }, - ], - internalType: "struct ISavingsVault.NotionalMarket", - name: "lowestYieldMarket", - type: "tuple", - }, - { - components: [ - { - internalType: "uint256", - name: "maturity", - type: "uint256", - }, - { - internalType: "uint256", - name: "oracleRate", - type: "uint256", - }, - ], - internalType: "struct ISavingsVault.NotionalMarket", - name: "highestYieldMarket", - type: "tuple", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes4", - name: "interfaceId", - type: "bytes4", - }, - ], - name: "supportsInterface", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalAssets", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - ], - name: "upgradeTo", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_assets", - type: "uint256", - }, - { - internalType: "address", - name: "_receiver", - type: "address", - }, - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "withdraw", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "wrappedfCashFactory", - outputs: [ - { - internalType: "contract IWrappedfCashFactory", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -]; - -export class SavingsVault__factory { - static readonly abi = _abi; - static createInterface(): SavingsVaultInterface { - return new utils.Interface(_abi) as SavingsVaultInterface; - } - static connect( - address: string, - signerOrProvider: Signer | Provider - ): SavingsVault { - return new Contract(address, _abi, signerOrProvider) as SavingsVault; - } -} diff --git a/src/typechain/factories/index.ts b/src/typechain/factories/index.ts index 13ad66e2..991f015d 100644 --- a/src/typechain/factories/index.ts +++ b/src/typechain/factories/index.ts @@ -3,12 +3,6 @@ /* eslint-disable */ export { BaseIndex__factory } from "./BaseIndex__factory"; export { ERC20__factory } from "./ERC20__factory"; -export { ERC20Permit__factory } from "./ERC20Permit__factory"; -export { ERC4626Upgradeable__factory } from "./ERC4626Upgradeable__factory"; -export { ERC4626WithPermit__factory } from "./ERC4626WithPermit__factory"; -export { IHarvestingJob__factory } from "./IHarvestingJob__factory"; export { IndexHelper__factory } from "./IndexHelper__factory"; export { IndexRouter__factory } from "./IndexRouter__factory"; export { PhuturePriceOracle__factory } from "./PhuturePriceOracle__factory"; -export { SavingsVault__factory } from "./SavingsVault__factory"; -export { SavingsVaultViews__factory } from "./SavingsVaultViews__factory"; diff --git a/src/typechain/index.ts b/src/typechain/index.ts index 46279eb9..219af08f 100644 --- a/src/typechain/index.ts +++ b/src/typechain/index.ts @@ -3,24 +3,12 @@ /* eslint-disable */ export type { BaseIndex } from "./BaseIndex"; export type { ERC20 } from "./ERC20"; -export type { ERC20Permit } from "./ERC20Permit"; -export type { ERC4626Upgradeable } from "./ERC4626Upgradeable"; -export type { ERC4626WithPermit } from "./ERC4626WithPermit"; -export type { IHarvestingJob } from "./IHarvestingJob"; export type { IndexHelper } from "./IndexHelper"; export type { IndexRouter } from "./IndexRouter"; export type { PhuturePriceOracle } from "./PhuturePriceOracle"; -export type { SavingsVault } from "./SavingsVault"; -export type { SavingsVaultViews } from "./SavingsVaultViews"; export * as factories from "./factories"; export { BaseIndex__factory } from "./factories/BaseIndex__factory"; export { ERC20__factory } from "./factories/ERC20__factory"; -export { ERC20Permit__factory } from "./factories/ERC20Permit__factory"; -export { ERC4626Upgradeable__factory } from "./factories/ERC4626Upgradeable__factory"; -export { ERC4626WithPermit__factory } from "./factories/ERC4626WithPermit__factory"; -export { IHarvestingJob__factory } from "./factories/IHarvestingJob__factory"; export { IndexHelper__factory } from "./factories/IndexHelper__factory"; export { IndexRouter__factory } from "./factories/IndexRouter__factory"; export { PhuturePriceOracle__factory } from "./factories/PhuturePriceOracle__factory"; -export { SavingsVault__factory } from "./factories/SavingsVault__factory"; -export { SavingsVaultViews__factory } from "./factories/SavingsVaultViews__factory"; diff --git a/src/types/address.ts b/src/types/address.ts deleted file mode 100644 index d38550b9..00000000 --- a/src/types/address.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { utils } from 'ethers' - -/** - * ### The unique identifier of the contract or an EOA. - * Keccak hash of an ECDSA public key (160 bits). - * - * @see https://ethereum.org/en/glossary/#address - * - * @example - * const addressZero: Address = "0x0000000000000000000000000000000000000000" - * - * @example - * const phtrAddress: Address = "0xe1fc4455f62a6e89476f1072530c20cf1a0622da" - */ -export type Address = string // `0x${string}` - -export const isAddress = (address: unknown): address is Address => - typeof address === 'string' && utils.isAddress(address) diff --git a/src/types/anatomy.ts b/src/types/anatomy.ts deleted file mode 100644 index d1de82d1..00000000 --- a/src/types/anatomy.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Address } from './address' - -export type Anatomy = { - asset: Address - weight: number -}[] diff --git a/src/types/chain-id.ts b/src/types/chain-id.ts deleted file mode 100644 index d42cedd9..00000000 --- a/src/types/chain-id.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Unique identifier of a chain - * - * @see https://eips.ethereum.org/EIPS/eip-155 - * @see https://eips.ethereum.org/EIPS/eip-1344 - * @see https://chainlist.org - * - * @example - * const mainnetChainId: ChainId = 1 - * - * @example - * const avalancheChainId: ChainId = 43114 - */ -export type ChainId = number - -/** ### Collection of ChainIds mapped to their network name */ -export const ChainIds: Record<'Mainnet' | 'CChain', ChainId> = { - /** ### Ethereum Mainnet */ - Mainnet: 1, - /** ### Avalanche C-Chain */ - CChain: 43114, -} as const - -/** - * ### Is the given chain id valid - * - * @param chainId Chain id - * - * @returns **true** if the chain id is valid, **false** otherwise - */ -export const isChainId = (chainId: unknown): chainId is ChainId => - typeof chainId === 'number' && chainId > 0 diff --git a/src/types/chain.ts b/src/types/chain.ts deleted file mode 100644 index 65d1885d..00000000 --- a/src/types/chain.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Network } from '@ethersproject/providers' - -import { Address } from './address' -import { Token } from './token' - -export type Chain = Network & { - network: string - blockExplorer?: string - nativeCurrency?: Token - wrappedNativeCurrency?: Token - usdc?: Token - multicall?: Address -} diff --git a/src/types/constructor.ts b/src/types/constructor.ts deleted file mode 100644 index 792ee3d0..00000000 --- a/src/types/constructor.ts +++ /dev/null @@ -1,2 +0,0 @@ -/** ### Generic constructor Type */ -export type Constructor> = new (...args: any[]) => T diff --git a/src/types/contract-factory.ts b/src/types/contract-factory.ts deleted file mode 100644 index 6c7d201b..00000000 --- a/src/types/contract-factory.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Contract, Signer } from 'ethers' - -import { Address } from './address' - -/** ### Contract factory Interface */ -export interface ContractFactory { - connect(address: Address, signer: Signer): Contract -} diff --git a/src/types/http-method.ts b/src/types/http-method.ts deleted file mode 100644 index ae8df78f..00000000 --- a/src/types/http-method.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * ### HTTP Method - * - * @see https://developer.mozilla.org/docs/Web/HTTP/Methods - * - * @example - * const method: HttpMethod = HttpMethod.GET - */ -export enum HttpMethod { - /** GET method to get the resource */ - GET = 'GET', - - /** HEAD method to get the headers of the resource */ - HEAD = 'HEAD', - - /** POST method to create a new resource */ - POST = 'POST', - - /** PUT method to replace an existing resource */ - PUT = 'PUT', - - /** DELETE method to delete an existing resource */ - DELETE = 'DELETE', - - /** CONNECT method to connect to a remote host */ - CONNECT = 'CONNECT', - - /** OPTIONS method to get the options of the resource */ - OPTIONS = 'OPTIONS', - - /** TRACE method to get the trace of the resource */ - TRACE = 'TRACE', - - /** PATCH method to patch an existing resource */ - PATCH = 'PATCH', -} - -/** - * ### Check if the given method is a valid HTTP method - * - * @param {string} method The method to check - * @return {method is HttpMethod} True if the method is a valid HTTP method - */ -export const isHttpMethod = (method: unknown): method is HttpMethod => - typeof method === 'string' && method in HttpMethod diff --git a/src/types/index.ts b/src/types/index.ts deleted file mode 100644 index 7d10ff67..00000000 --- a/src/types/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -export * from './address' -export * from './anatomy' -export * from './chain-id' -export * from './constructor' -export * from './contract-factory' -export * from './http-method' -export * from './maybe-array' -export * from './pair' -export * from './signature' -export * from './token-symbol' -export * from './url' -export * from './product-type' diff --git a/src/types/maybe-array.ts b/src/types/maybe-array.ts deleted file mode 100644 index f4f3260f..00000000 --- a/src/types/maybe-array.ts +++ /dev/null @@ -1,2 +0,0 @@ -/** ### Single item or an array of items */ -export type MaybeArray = T | T[] diff --git a/src/types/pair.ts b/src/types/pair.ts deleted file mode 100644 index 1c087222..00000000 --- a/src/types/pair.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { BigNumberish } from 'ethers' - -import { Address } from './address' - -/** - * Pair of tokens represented by their addresses - */ -export interface TokensPair { - /** Address of token0 */ - token0: Address - - /** Address of token1 */ - token1: Address -} - -/** - * Pair of tokens represented by their addresses and reserves - */ -export type PairInfo = { - /** Liquidity of {@link TokensPair.token0} in pair */ - reserve0: BigNumberish - - /** Liquidity of {@link TokensPair.token1} in pair */ - reserve1: BigNumberish -} & TokensPair diff --git a/src/types/product-type.ts b/src/types/product-type.ts deleted file mode 100644 index 505ca595..00000000 --- a/src/types/product-type.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Types of products offered by Phuture Finance - */ -export enum ProductType { - INDEX = 'Index', - SAVINGS_VAULT = 'SavingsVault', -} diff --git a/src/types/signature.ts b/src/types/signature.ts deleted file mode 100644 index 30248b56..00000000 --- a/src/types/signature.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** Recovery ID */ -export type V = 0 | 1 | 27 | 28 - -/** Raw signature output */ -export interface Signature { - v: number - r: string - s: string -} diff --git a/src/types/token-symbol.ts b/src/types/token-symbol.ts deleted file mode 100644 index 53c9ea04..00000000 --- a/src/types/token-symbol.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * ### Token symbol - * - * @example - * const symbol: TokenSymbol = 'PHTR'; - */ -export type TokenSymbol = string diff --git a/src/types/token.ts b/src/types/token.ts deleted file mode 100644 index 914b9e6b..00000000 --- a/src/types/token.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Address } from './address' - -export interface Token { - decimals: number - symbol: string - name: string - address: Address -} diff --git a/src/types/url.ts b/src/types/url.ts deleted file mode 100644 index 2874aa81..00000000 --- a/src/types/url.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * ### Absolute or relative URL - * - * @see https://url.spec.whatwg.org/#url-interface - */ -export type Url = AbsoluteUrl | RelativeUrl - -/** - * ### Absolute URL - * - * @example - * const url: AbsoluteUrl = "https://phuture.finance" - */ -export type AbsoluteUrl = string - -/** - * ### Relative URL - * - * @example - * const url: RelativeUrl = "/some/path" - */ -export type RelativeUrl = string diff --git a/tsconfig.json b/tsconfig.json index 814f9d7e..32e496e9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,38 +1,19 @@ { "compilerOptions": { "module": "esnext", - "lib": ["dom", "esnext"], + "lib": ["esnext"], "importHelpers": true, - // output .d.ts declaration files for consumers "declaration": true, - // output .js.map sourcemap files for consumers "sourceMap": true, - // match output dir to input dir. e.g. dist/index instead of dist/src/index - "rootDir": "./src", - // stricter type-checking for stronger correctness. Recommended by TS + "rootDir": "src", "strict": true, - // linter checks for common issues - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, - // noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative - "noUnusedLocals": true, - "noUnusedParameters": true, - // use Node's module resolution algorithm, instead of the legacy TS one "moduleResolution": "node", - // transpile JSX to React.createElement - "jsx": "react", - // interop between ESM and CJS modules. Recommended by TS "esModuleInterop": true, - // significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS + "emitDeclarationOnly": true, "skipLibCheck": true, - // error out if import and file system have a casing mismatch. Recommended by TS - "forceConsistentCasingInFileNames": true, - // `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc` - "noEmit": true, - // allows javascript files to be used in the project "allowJs": true, - // target ECMAScript 5 and higher. - "target": "es5" + "target": "es5", + "outDir": "./dist/types" }, "exclude": ["node_modules", "**/dist/**"], "include": ["src/**/*"]