From 50e8d715af6b4b2cf769ca46d2f50d2c08f50199 Mon Sep 17 00:00:00 2001 From: leovs09 Date: Sun, 21 Jul 2024 06:33:45 +0200 Subject: [PATCH 1/6] add configuration for production environment --- .../workflows/deploy-subgraph-to-mainnet.yaml | 1 + packages/contracts/package.json | 2 +- packages/subgraph/deploy/config.yaml | 25 ++ .../environments/eonian-bsc-development.yaml | 4 +- .../environments/eonian-bsc-production.yaml | 365 ++++++++++++++++++ .../environments/eonian-bsc-staging.yaml | 4 +- .../environments/eonian-sepolia-testnet.yaml | 4 +- .../subgraph/deploy/environments/local.yaml | 4 +- packages/subgraph/deploy/template.yaml | 4 +- packages/subgraph/networks.json | 18 + packages/subgraph/package.json | 2 +- yarn.lock | 22 +- 12 files changed, 437 insertions(+), 18 deletions(-) create mode 100644 packages/subgraph/deploy/environments/eonian-bsc-production.yaml diff --git a/.github/workflows/deploy-subgraph-to-mainnet.yaml b/.github/workflows/deploy-subgraph-to-mainnet.yaml index c8b18805f..dabe46333 100644 --- a/.github/workflows/deploy-subgraph-to-mainnet.yaml +++ b/.github/workflows/deploy-subgraph-to-mainnet.yaml @@ -3,6 +3,7 @@ name: Deploy Subgraph to Mainnet on: push: branches: + - main - staging - development paths: diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 763645ec3..a5157acde 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -75,6 +75,6 @@ "lodash": "^4.17.21", "sinon": "^15.1.0", "tree-kill": "^1.2.2", - "@eonian/upgradeable": "0.2.0" + "@eonian/upgradeable": "0.2.1" } } diff --git a/packages/subgraph/deploy/config.yaml b/packages/subgraph/deploy/config.yaml index 76a7f6fd8..577017fec 100644 --- a/packages/subgraph/deploy/config.yaml +++ b/packages/subgraph/deploy/config.yaml @@ -74,6 +74,31 @@ files: eventHandlers: file: ../../src/event-handlers.ts + - output: eonian-bsc-production.yaml + data: + network: bsc + description: The production subgraph of Eonian yield aggregator protocol for Binance Smart Chain + schema: ../../schema.graphql + vaults: + - name: "USDT Vault" + address: "0xaBfCaA1c65d78C2f1D51fd796290029f976192B3" + startBlock: 40594939 + - name: "USDC Vault" + address: "0x5340f5a1B7b847Ae71865D2D7B200dc8a06a9ffC" + startBlock: 40594891 + - name: "WETH Vault" + address: "0x03A49bc893bBBEec9181b02C2D6abD6eb8e10311" + startBlock: 40595023 + - name: "BTCB Vault" + address: "0x33C29951844aAa19524F51177cF725D6A0D720d4" + startBlock: 40594975 + abis: + Vault: ../../abis/VaultImplementation.json + ERC20: ../../abis/ERC20.json + ChainLinkPriceFeed: ../../abis/ChainLinkPriceFeed.json + eventHandlers: + file: ../../src/event-handlers.ts + # used primarly for testing # matchstick framework doesn't allow to pass the path to the schema - output: local.yaml diff --git a/packages/subgraph/deploy/environments/eonian-bsc-development.yaml b/packages/subgraph/deploy/environments/eonian-bsc-development.yaml index 103333406..0cfca0eda 100644 --- a/packages/subgraph/deploy/environments/eonian-bsc-development.yaml +++ b/packages/subgraph/deploy/environments/eonian-bsc-development.yaml @@ -1,7 +1,9 @@ -specVersion: 0.0.5 +specVersion: 1.0.0 description: The subgraph of Eonian yield aggregator protocol for Binance Smart Chain development environment repository: https://github.com/eonian-core/farm +indexerHints: + prune: auto schema: file: ../../schema.graphql dataSources: diff --git a/packages/subgraph/deploy/environments/eonian-bsc-production.yaml b/packages/subgraph/deploy/environments/eonian-bsc-production.yaml new file mode 100644 index 000000000..df9366a75 --- /dev/null +++ b/packages/subgraph/deploy/environments/eonian-bsc-production.yaml @@ -0,0 +1,365 @@ +specVersion: 1.0.0 +description: The production subgraph of Eonian yield aggregator protocol for + Binance Smart Chain +repository: https://github.com/eonian-core/farm +indexerHints: + prune: auto +schema: + file: ../../schema.graphql +dataSources: + - kind: ethereum + name: USDT Vault + network: bsc + source: + address: "0xaBfCaA1c65d78C2f1D51fd796290029f976192B3" + abi: Vault + startBlock: 40594939 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - Vault + - ContractAdminChanged + - Approval + - AuthorizedOperator + - ContractBeaconUpgraded + - BorrowerDebtManagementReported + - Burned + - Deposit + - Initialized + - LockedProfitReleaseRateChanged + - Minted + - OwnershipTransferred + - Paused + - RevokedOperator + - Sent + - StrategyAdded + - StrategyRemoved + - StrategyReturnedToQueue + - StrategyRevoked + - Transfer + - Unpaused + - ContractUpgraded + - Withdraw + abis: + - name: Vault + file: ../../abis/VaultImplementation.json + - name: ERC20 + file: ../../abis/ERC20.json + - name: ChainLinkPriceFeed + file: ../../abis/ChainLinkPriceFeed.json + eventHandlers: + - event: AdminChanged(address,address) + handler: handleAdminChanged + - event: Approval(indexed address,indexed address,uint256) + handler: handleApproval + - event: AuthorizedOperator(indexed address,indexed address) + handler: handleAuthorizedOperator + - event: BeaconUpgraded(indexed address) + handler: handleBeaconUpgraded + - event: BorrowerDebtManagementReported(indexed + address,uint256,uint256,uint256,uint256,uint256) + handler: handleBorrowerDebtManagementReported + - event: Burned(indexed address,indexed address,uint256,bytes,bytes) + handler: handleBurned + - event: Deposit(indexed address,indexed address,uint256,uint256) + handler: handleDeposit + - event: Initialized(uint8) + handler: handleInitialized + - event: LockedProfitReleaseRateChanged(uint256) + handler: handleLockedProfitReleaseRateChanged + - event: Minted(indexed address,indexed address,uint256,bytes,bytes) + handler: handleMinted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: Paused(address) + handler: handlePaused + - event: RevokedOperator(indexed address,indexed address) + handler: handleRevokedOperator + - event: Sent(indexed address,indexed address,indexed address,uint256,bytes,bytes) + handler: handleSent + - event: StrategyAdded(indexed address,uint256) + handler: handleStrategyAdded + - event: StrategyRemoved(indexed address,bool) + handler: handleStrategyRemoved + - event: StrategyReturnedToQueue(indexed address) + handler: handleStrategyReturnedToQueue + - event: StrategyRevoked(indexed address) + handler: handleStrategyRevoked + - event: Transfer(indexed address,indexed address,uint256) + handler: handleTransfer + - event: Unpaused(address) + handler: handleUnpaused + - event: Upgraded(indexed address) + handler: handleUpgraded + - event: Withdraw(indexed address,indexed address,indexed address,uint256,uint256) + handler: handleWithdraw + file: ../../src/event-handlers.ts + - kind: ethereum + name: USDC Vault + network: bsc + source: + address: "0x5340f5a1B7b847Ae71865D2D7B200dc8a06a9ffC" + abi: Vault + startBlock: 40594891 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - Vault + - ContractAdminChanged + - Approval + - AuthorizedOperator + - ContractBeaconUpgraded + - BorrowerDebtManagementReported + - Burned + - Deposit + - Initialized + - LockedProfitReleaseRateChanged + - Minted + - OwnershipTransferred + - Paused + - RevokedOperator + - Sent + - StrategyAdded + - StrategyRemoved + - StrategyReturnedToQueue + - StrategyRevoked + - Transfer + - Unpaused + - ContractUpgraded + - Withdraw + abis: + - name: Vault + file: ../../abis/VaultImplementation.json + - name: ERC20 + file: ../../abis/ERC20.json + - name: ChainLinkPriceFeed + file: ../../abis/ChainLinkPriceFeed.json + eventHandlers: + - event: AdminChanged(address,address) + handler: handleAdminChanged + - event: Approval(indexed address,indexed address,uint256) + handler: handleApproval + - event: AuthorizedOperator(indexed address,indexed address) + handler: handleAuthorizedOperator + - event: BeaconUpgraded(indexed address) + handler: handleBeaconUpgraded + - event: BorrowerDebtManagementReported(indexed + address,uint256,uint256,uint256,uint256,uint256) + handler: handleBorrowerDebtManagementReported + - event: Burned(indexed address,indexed address,uint256,bytes,bytes) + handler: handleBurned + - event: Deposit(indexed address,indexed address,uint256,uint256) + handler: handleDeposit + - event: Initialized(uint8) + handler: handleInitialized + - event: LockedProfitReleaseRateChanged(uint256) + handler: handleLockedProfitReleaseRateChanged + - event: Minted(indexed address,indexed address,uint256,bytes,bytes) + handler: handleMinted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: Paused(address) + handler: handlePaused + - event: RevokedOperator(indexed address,indexed address) + handler: handleRevokedOperator + - event: Sent(indexed address,indexed address,indexed address,uint256,bytes,bytes) + handler: handleSent + - event: StrategyAdded(indexed address,uint256) + handler: handleStrategyAdded + - event: StrategyRemoved(indexed address,bool) + handler: handleStrategyRemoved + - event: StrategyReturnedToQueue(indexed address) + handler: handleStrategyReturnedToQueue + - event: StrategyRevoked(indexed address) + handler: handleStrategyRevoked + - event: Transfer(indexed address,indexed address,uint256) + handler: handleTransfer + - event: Unpaused(address) + handler: handleUnpaused + - event: Upgraded(indexed address) + handler: handleUpgraded + - event: Withdraw(indexed address,indexed address,indexed address,uint256,uint256) + handler: handleWithdraw + file: ../../src/event-handlers.ts + - kind: ethereum + name: WETH Vault + network: bsc + source: + address: "0x03A49bc893bBBEec9181b02C2D6abD6eb8e10311" + abi: Vault + startBlock: 40595023 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - Vault + - ContractAdminChanged + - Approval + - AuthorizedOperator + - ContractBeaconUpgraded + - BorrowerDebtManagementReported + - Burned + - Deposit + - Initialized + - LockedProfitReleaseRateChanged + - Minted + - OwnershipTransferred + - Paused + - RevokedOperator + - Sent + - StrategyAdded + - StrategyRemoved + - StrategyReturnedToQueue + - StrategyRevoked + - Transfer + - Unpaused + - ContractUpgraded + - Withdraw + abis: + - name: Vault + file: ../../abis/VaultImplementation.json + - name: ERC20 + file: ../../abis/ERC20.json + - name: ChainLinkPriceFeed + file: ../../abis/ChainLinkPriceFeed.json + eventHandlers: + - event: AdminChanged(address,address) + handler: handleAdminChanged + - event: Approval(indexed address,indexed address,uint256) + handler: handleApproval + - event: AuthorizedOperator(indexed address,indexed address) + handler: handleAuthorizedOperator + - event: BeaconUpgraded(indexed address) + handler: handleBeaconUpgraded + - event: BorrowerDebtManagementReported(indexed + address,uint256,uint256,uint256,uint256,uint256) + handler: handleBorrowerDebtManagementReported + - event: Burned(indexed address,indexed address,uint256,bytes,bytes) + handler: handleBurned + - event: Deposit(indexed address,indexed address,uint256,uint256) + handler: handleDeposit + - event: Initialized(uint8) + handler: handleInitialized + - event: LockedProfitReleaseRateChanged(uint256) + handler: handleLockedProfitReleaseRateChanged + - event: Minted(indexed address,indexed address,uint256,bytes,bytes) + handler: handleMinted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: Paused(address) + handler: handlePaused + - event: RevokedOperator(indexed address,indexed address) + handler: handleRevokedOperator + - event: Sent(indexed address,indexed address,indexed address,uint256,bytes,bytes) + handler: handleSent + - event: StrategyAdded(indexed address,uint256) + handler: handleStrategyAdded + - event: StrategyRemoved(indexed address,bool) + handler: handleStrategyRemoved + - event: StrategyReturnedToQueue(indexed address) + handler: handleStrategyReturnedToQueue + - event: StrategyRevoked(indexed address) + handler: handleStrategyRevoked + - event: Transfer(indexed address,indexed address,uint256) + handler: handleTransfer + - event: Unpaused(address) + handler: handleUnpaused + - event: Upgraded(indexed address) + handler: handleUpgraded + - event: Withdraw(indexed address,indexed address,indexed address,uint256,uint256) + handler: handleWithdraw + file: ../../src/event-handlers.ts + - kind: ethereum + name: BTCB Vault + network: bsc + source: + address: "0x33C29951844aAa19524F51177cF725D6A0D720d4" + abi: Vault + startBlock: 40594975 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - Vault + - ContractAdminChanged + - Approval + - AuthorizedOperator + - ContractBeaconUpgraded + - BorrowerDebtManagementReported + - Burned + - Deposit + - Initialized + - LockedProfitReleaseRateChanged + - Minted + - OwnershipTransferred + - Paused + - RevokedOperator + - Sent + - StrategyAdded + - StrategyRemoved + - StrategyReturnedToQueue + - StrategyRevoked + - Transfer + - Unpaused + - ContractUpgraded + - Withdraw + abis: + - name: Vault + file: ../../abis/VaultImplementation.json + - name: ERC20 + file: ../../abis/ERC20.json + - name: ChainLinkPriceFeed + file: ../../abis/ChainLinkPriceFeed.json + eventHandlers: + - event: AdminChanged(address,address) + handler: handleAdminChanged + - event: Approval(indexed address,indexed address,uint256) + handler: handleApproval + - event: AuthorizedOperator(indexed address,indexed address) + handler: handleAuthorizedOperator + - event: BeaconUpgraded(indexed address) + handler: handleBeaconUpgraded + - event: BorrowerDebtManagementReported(indexed + address,uint256,uint256,uint256,uint256,uint256) + handler: handleBorrowerDebtManagementReported + - event: Burned(indexed address,indexed address,uint256,bytes,bytes) + handler: handleBurned + - event: Deposit(indexed address,indexed address,uint256,uint256) + handler: handleDeposit + - event: Initialized(uint8) + handler: handleInitialized + - event: LockedProfitReleaseRateChanged(uint256) + handler: handleLockedProfitReleaseRateChanged + - event: Minted(indexed address,indexed address,uint256,bytes,bytes) + handler: handleMinted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: Paused(address) + handler: handlePaused + - event: RevokedOperator(indexed address,indexed address) + handler: handleRevokedOperator + - event: Sent(indexed address,indexed address,indexed address,uint256,bytes,bytes) + handler: handleSent + - event: StrategyAdded(indexed address,uint256) + handler: handleStrategyAdded + - event: StrategyRemoved(indexed address,bool) + handler: handleStrategyRemoved + - event: StrategyReturnedToQueue(indexed address) + handler: handleStrategyReturnedToQueue + - event: StrategyRevoked(indexed address) + handler: handleStrategyRevoked + - event: Transfer(indexed address,indexed address,uint256) + handler: handleTransfer + - event: Unpaused(address) + handler: handleUnpaused + - event: Upgraded(indexed address) + handler: handleUpgraded + - event: Withdraw(indexed address,indexed address,indexed address,uint256,uint256) + handler: handleWithdraw + file: ../../src/event-handlers.ts diff --git a/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml b/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml index b9220ceee..038a71b9d 100644 --- a/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml +++ b/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml @@ -1,7 +1,9 @@ -specVersion: 0.0.5 +specVersion: 1.0.0 description: The subgraph of Eonian yield aggregator protocol for Binance Smart Chain staging environment repository: https://github.com/eonian-core/farm +indexerHints: + prune: auto schema: file: ../../schema.graphql dataSources: diff --git a/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml b/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml index f6d2593b7..21f2f08bf 100644 --- a/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml +++ b/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml @@ -1,6 +1,8 @@ -specVersion: 0.0.5 +specVersion: 1.0.0 description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet repository: https://github.com/eonian-core/farm +indexerHints: + prune: auto schema: file: ../../schema.graphql dataSources: diff --git a/packages/subgraph/deploy/environments/local.yaml b/packages/subgraph/deploy/environments/local.yaml index ce0f1eb94..b5f90834f 100644 --- a/packages/subgraph/deploy/environments/local.yaml +++ b/packages/subgraph/deploy/environments/local.yaml @@ -1,6 +1,8 @@ -specVersion: 0.0.5 +specVersion: 1.0.0 description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet repository: https://github.com/eonian-core/farm +indexerHints: + prune: auto schema: file: ./schema.graphql dataSources: diff --git a/packages/subgraph/deploy/template.yaml b/packages/subgraph/deploy/template.yaml index ecbefc70c..727fe2e5b 100644 --- a/packages/subgraph/deploy/template.yaml +++ b/packages/subgraph/deploy/template.yaml @@ -1,6 +1,8 @@ -specVersion: 0.0.5 +specVersion: 1.0.0 description: {{ description }} repository: https://github.com/eonian-core/farm +indexerHints: + prune: auto schema: file: {{ schema }} dataSources: diff --git a/packages/subgraph/networks.json b/packages/subgraph/networks.json index b6d1a27d4..7b6f4523a 100644 --- a/packages/subgraph/networks.json +++ b/packages/subgraph/networks.json @@ -7,5 +7,23 @@ "Contract": { "address": "0x718b3c3b29A802fb406044dB3c710DB9eDDf4552" } + }, + "bsc": { + "USDTVault": { + "address": "0xaBfCaA1c65d78C2f1D51fd796290029f976192B3", + "startBlock": 40594939 + }, + "USDCVault": { + "address": "0x5340f5a1B7b847Ae71865D2D7B200dc8a06a9ffC", + "startBlock": 40594891 + }, + "WETHVault": { + "address": "0x03A49bc893bBBEec9181b02C2D6abD6eb8e10311", + "startBlock": 40595023 + }, + "BTCBVault": { + "address": "0x33C29951844aAa19524F51177cF725D6A0D720d4", + "startBlock": 40594975 + } } } \ No newline at end of file diff --git a/packages/subgraph/package.json b/packages/subgraph/package.json index 177978083..a7adeb3e7 100644 --- a/packages/subgraph/package.json +++ b/packages/subgraph/package.json @@ -22,7 +22,7 @@ "gen:code": "graph codegen ./deploy/environments/eonian-bsc-development.yaml" }, "dependencies": { - "@graphprotocol/graph-cli": "0.78.0", + "@graphprotocol/graph-cli": "^0.79.0", "@graphprotocol/graph-ts": "0.35.1", "source-map-support": "^0.5.21" }, diff --git a/yarn.lock b/yarn.lock index 69bd001c5..5bfb257db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1693,10 +1693,10 @@ graphql-import-node "^0.0.5" js-yaml "^4.1.0" -"@graphprotocol/graph-cli@0.78.0": - version "0.78.0" - resolved "https://registry.yarnpkg.com/@graphprotocol/graph-cli/-/graph-cli-0.78.0.tgz#9e64bdeef4be66793f92d40db3cfafac2c42cf2e" - integrity sha512-Zw/6k7YYjVoHFgy1BbqpllPUSjzk1ubkIBbYp7HlD//mPUnUhWQLgId92yENw1DqbWOx1R+LhXjeKkwbJgjUxA== +"@graphprotocol/graph-cli@^0.79.0": + version "0.79.0" + resolved "https://registry.yarnpkg.com/@graphprotocol/graph-cli/-/graph-cli-0.79.0.tgz#c994c976c4fa4cc95a27527c8b57064429f13619" + integrity sha512-16s+qN0HbAjN4UfVMW2XyMPJc4PuAiBPx6dZLjgUAuU3ROAej7DExqJW+zTX36IG2H/pe7cilpkkykbwise1Kw== dependencies: "@float-capital/float-subgraph-uncrashable" "^0.0.0-alpha.4" "@oclif/core" "2.8.6" @@ -1727,6 +1727,13 @@ which "2.0.2" yaml "1.10.2" +"@graphprotocol/graph-ts@0.30.0", "@graphprotocol/graph-ts@^0.27.0": + version "0.30.0" + resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.30.0.tgz#591dee3c7d9fc236ad57ce0712779e94aef9a50a" + integrity sha512-h5tJqlsZXglGYM0PcBsBOqof4PT0Fr4Z3QBTYN/IjMF3VvRX2A8/bdpqaAnva+2N0uAfXXwRcwcOcW5O35yzXw== + dependencies: + assemblyscript "0.19.10" + "@graphprotocol/graph-ts@0.35.1": version "0.35.1" resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.35.1.tgz#1e1ecc36d8f7a727ef3a6f1fed4c5ce16de378c2" @@ -1734,13 +1741,6 @@ dependencies: assemblyscript "0.19.10" -"@graphprotocol/graph-ts@^0.27.0": - version "0.27.0" - resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.27.0.tgz#948fe1716f6082964a01a63a19bcbf9ac44e06ff" - integrity sha512-r1SPDIZVQiGMxcY8rhFSM0y7d/xAbQf5vHMWUf59js1KgoyWpM6P3tczZqmQd7JTmeyNsDGIPzd9FeaxllsU4w== - dependencies: - assemblyscript "0.19.10" - "@humanwhocodes/config-array@^0.11.13": version "0.11.13" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297" From 2f0a02ed7656fc933b499c18fd011d67d9472800 Mon Sep 17 00:00:00 2001 From: leovs09 Date: Fri, 9 Aug 2024 02:04:26 +0200 Subject: [PATCH 2/6] correct subgraph description --- packages/subgraph/deploy/config.yaml | 10 +++++----- .../deploy/environments/eonian-bsc-development.yaml | 2 +- .../deploy/environments/eonian-bsc-production.yaml | 2 +- .../deploy/environments/eonian-bsc-staging.yaml | 2 +- .../deploy/environments/eonian-sepolia-testnet.yaml | 2 +- packages/subgraph/deploy/environments/local.yaml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/subgraph/deploy/config.yaml b/packages/subgraph/deploy/config.yaml index 577017fec..5d5521ac9 100644 --- a/packages/subgraph/deploy/config.yaml +++ b/packages/subgraph/deploy/config.yaml @@ -2,7 +2,7 @@ files: - output: eonian-sepolia-testnet.yaml data: network: sepolia - description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet + description: The subgraph of Eonian savings account protocol for Sepolia testnet schema: ../../schema.graphql vaults: - name: "USDT Vault" @@ -27,7 +27,7 @@ files: - output: eonian-bsc-development.yaml data: network: bsc - description: The subgraph of Eonian yield aggregator protocol for Binance Smart Chain development environment + description: The subgraph of Eonian savings account protocol for Binance Smart Chain development environment schema: ../../schema.graphql vaults: - name: "USDT Vault" @@ -52,7 +52,7 @@ files: - output: eonian-bsc-staging.yaml data: network: bsc - description: The subgraph of Eonian yield aggregator protocol for Binance Smart Chain staging environment + description: The subgraph of Eonian savings account protocol for Binance Smart Chain staging environment schema: ../../schema.graphql vaults: - name: "USDT Vault" @@ -77,7 +77,7 @@ files: - output: eonian-bsc-production.yaml data: network: bsc - description: The production subgraph of Eonian yield aggregator protocol for Binance Smart Chain + description: The production subgraph of Eonian savings account protocol for Binance Smart Chain schema: ../../schema.graphql vaults: - name: "USDT Vault" @@ -104,7 +104,7 @@ files: - output: local.yaml data: network: sepolia - description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet + description: The subgraph of Eonian savings account protocol for Sepolia testnet schema: ./schema.graphql vaults: - name: "USDT Vault" diff --git a/packages/subgraph/deploy/environments/eonian-bsc-development.yaml b/packages/subgraph/deploy/environments/eonian-bsc-development.yaml index 0cfca0eda..ba8272714 100644 --- a/packages/subgraph/deploy/environments/eonian-bsc-development.yaml +++ b/packages/subgraph/deploy/environments/eonian-bsc-development.yaml @@ -1,5 +1,5 @@ specVersion: 1.0.0 -description: The subgraph of Eonian yield aggregator protocol for Binance Smart +description: The subgraph of Eonian savings account protocol for Binance Smart Chain development environment repository: https://github.com/eonian-core/farm indexerHints: diff --git a/packages/subgraph/deploy/environments/eonian-bsc-production.yaml b/packages/subgraph/deploy/environments/eonian-bsc-production.yaml index df9366a75..8cdf67f73 100644 --- a/packages/subgraph/deploy/environments/eonian-bsc-production.yaml +++ b/packages/subgraph/deploy/environments/eonian-bsc-production.yaml @@ -1,5 +1,5 @@ specVersion: 1.0.0 -description: The production subgraph of Eonian yield aggregator protocol for +description: The production subgraph of Eonian savings account protocol for Binance Smart Chain repository: https://github.com/eonian-core/farm indexerHints: diff --git a/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml b/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml index 038a71b9d..117a584af 100644 --- a/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml +++ b/packages/subgraph/deploy/environments/eonian-bsc-staging.yaml @@ -1,5 +1,5 @@ specVersion: 1.0.0 -description: The subgraph of Eonian yield aggregator protocol for Binance Smart +description: The subgraph of Eonian savings account protocol for Binance Smart Chain staging environment repository: https://github.com/eonian-core/farm indexerHints: diff --git a/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml b/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml index 21f2f08bf..13f0a96ab 100644 --- a/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml +++ b/packages/subgraph/deploy/environments/eonian-sepolia-testnet.yaml @@ -1,5 +1,5 @@ specVersion: 1.0.0 -description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet +description: The subgraph of Eonian savings account protocol for Sepolia testnet repository: https://github.com/eonian-core/farm indexerHints: prune: auto diff --git a/packages/subgraph/deploy/environments/local.yaml b/packages/subgraph/deploy/environments/local.yaml index b5f90834f..f3f614e59 100644 --- a/packages/subgraph/deploy/environments/local.yaml +++ b/packages/subgraph/deploy/environments/local.yaml @@ -1,5 +1,5 @@ specVersion: 1.0.0 -description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet +description: The subgraph of Eonian savings account protocol for Sepolia testnet repository: https://github.com/eonian-core/farm indexerHints: prune: auto From 6e7b7c6561c905e8a56747f6e27ea0499d1dded4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Aug 2024 23:19:18 +0000 Subject: [PATCH 3/6] Bump webpack from 5.89.0 to 5.94.0 Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.94.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0) --- updated-dependencies: - dependency-name: webpack dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 296 +++++++++++++++++++++++++++++------------------------- 1 file changed, 157 insertions(+), 139 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0caa4fa78..d54f92696 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2076,7 +2076,7 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== @@ -2084,7 +2084,7 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": +"@jridgewell/trace-mapping@^0.3.9": version "0.3.20" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== @@ -3600,23 +3600,7 @@ dependencies: "@types/ms" "*" -"@types/eslint-scope@^3.7.3": - version "3.7.7" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" - integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*": - version "8.44.7" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.44.7.tgz#430b3cc96db70c81f405e6a08aebdb13869198f5" - integrity sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" - -"@types/estree@*", "@types/estree@^1.0.0": +"@types/estree@*", "@types/estree@^1.0.5": version "1.0.5" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== @@ -3680,7 +3664,7 @@ expect "^29.0.0" pretty-format "^29.0.0" -"@types/json-schema@*", "@types/json-schema@^7.0.12", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": +"@types/json-schema@^7.0.12", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== @@ -4034,10 +4018,10 @@ optionalDependencies: prettier "^1.18.2 || ^2.0.0" -"@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" - integrity sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q== +"@webassemblyjs/ast@1.12.1", "@webassemblyjs/ast@^1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.12.1.tgz#bb16a0e8b1914f979f45864c23819cc3e3f0d4bb" + integrity sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg== dependencies: "@webassemblyjs/helper-numbers" "1.11.6" "@webassemblyjs/helper-wasm-bytecode" "1.11.6" @@ -4052,10 +4036,10 @@ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== -"@webassemblyjs/helper-buffer@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz#b66d73c43e296fd5e88006f18524feb0f2c7c093" - integrity sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA== +"@webassemblyjs/helper-buffer@1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz#6df20d272ea5439bf20ab3492b7fb70e9bfcb3f6" + integrity sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw== "@webassemblyjs/helper-numbers@1.11.6": version "1.11.6" @@ -4071,15 +4055,15 @@ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== -"@webassemblyjs/helper-wasm-section@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz#ff97f3863c55ee7f580fd5c41a381e9def4aa577" - integrity sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g== +"@webassemblyjs/helper-wasm-section@1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz#3da623233ae1a60409b509a52ade9bc22a37f7bf" + integrity sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g== dependencies: - "@webassemblyjs/ast" "1.11.6" - "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/ast" "1.12.1" + "@webassemblyjs/helper-buffer" "1.12.1" "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-gen" "1.12.1" "@webassemblyjs/ieee754@1.11.6": version "1.11.6" @@ -4100,59 +4084,59 @@ resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== -"@webassemblyjs/wasm-edit@^1.11.5": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz#c72fa8220524c9b416249f3d94c2958dfe70ceab" - integrity sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw== +"@webassemblyjs/wasm-edit@^1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz#9f9f3ff52a14c980939be0ef9d5df9ebc678ae3b" + integrity sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g== dependencies: - "@webassemblyjs/ast" "1.11.6" - "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/ast" "1.12.1" + "@webassemblyjs/helper-buffer" "1.12.1" "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/helper-wasm-section" "1.11.6" - "@webassemblyjs/wasm-gen" "1.11.6" - "@webassemblyjs/wasm-opt" "1.11.6" - "@webassemblyjs/wasm-parser" "1.11.6" - "@webassemblyjs/wast-printer" "1.11.6" - -"@webassemblyjs/wasm-gen@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz#fb5283e0e8b4551cc4e9c3c0d7184a65faf7c268" - integrity sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA== - dependencies: - "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-wasm-section" "1.12.1" + "@webassemblyjs/wasm-gen" "1.12.1" + "@webassemblyjs/wasm-opt" "1.12.1" + "@webassemblyjs/wasm-parser" "1.12.1" + "@webassemblyjs/wast-printer" "1.12.1" + +"@webassemblyjs/wasm-gen@1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz#a6520601da1b5700448273666a71ad0a45d78547" + integrity sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w== + dependencies: + "@webassemblyjs/ast" "1.12.1" "@webassemblyjs/helper-wasm-bytecode" "1.11.6" "@webassemblyjs/ieee754" "1.11.6" "@webassemblyjs/leb128" "1.11.6" "@webassemblyjs/utf8" "1.11.6" -"@webassemblyjs/wasm-opt@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz#d9a22d651248422ca498b09aa3232a81041487c2" - integrity sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g== +"@webassemblyjs/wasm-opt@1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz#9e6e81475dfcfb62dab574ac2dda38226c232bc5" + integrity sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg== dependencies: - "@webassemblyjs/ast" "1.11.6" - "@webassemblyjs/helper-buffer" "1.11.6" - "@webassemblyjs/wasm-gen" "1.11.6" - "@webassemblyjs/wasm-parser" "1.11.6" + "@webassemblyjs/ast" "1.12.1" + "@webassemblyjs/helper-buffer" "1.12.1" + "@webassemblyjs/wasm-gen" "1.12.1" + "@webassemblyjs/wasm-parser" "1.12.1" -"@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz#bb85378c527df824004812bbdb784eea539174a1" - integrity sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ== +"@webassemblyjs/wasm-parser@1.12.1", "@webassemblyjs/wasm-parser@^1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz#c47acb90e6f083391e3fa61d113650eea1e95937" + integrity sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ== dependencies: - "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/ast" "1.12.1" "@webassemblyjs/helper-api-error" "1.11.6" "@webassemblyjs/helper-wasm-bytecode" "1.11.6" "@webassemblyjs/ieee754" "1.11.6" "@webassemblyjs/leb128" "1.11.6" "@webassemblyjs/utf8" "1.11.6" -"@webassemblyjs/wast-printer@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz#a7bf8dd7e362aeb1668ff43f35cb849f188eff20" - integrity sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A== +"@webassemblyjs/wast-printer@1.12.1": + version "1.12.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz#bcecf661d7d1abdaf989d8341a4833e33e2b31ac" + integrity sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA== dependencies: - "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/ast" "1.12.1" "@xtuc/long" "4.2.2" "@whatwg-node/events@^0.0.3": @@ -4298,10 +4282,10 @@ abstract-leveldown@7.2.0, abstract-leveldown@^7.2.0: level-supports "^2.0.1" queue-microtask "^1.2.3" -acorn-import-assertions@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" - integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== +acorn-import-attributes@^1.9.5: + version "1.9.5" + resolved "https://registry.yarnpkg.com/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz#7eb1557b1ba05ef18b5ed0ec67591bfab04688ef" + integrity sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ== acorn-jsx@^5.3.2: version "5.3.2" @@ -5104,15 +5088,15 @@ browserslist@^4.0.0, browserslist@^4.21.4, browserslist@^4.22.2, browserslist@^4 node-releases "^2.0.14" update-browserslist-db "^1.0.16" -browserslist@^4.14.5: - version "4.22.1" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619" - integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ== +browserslist@^4.21.10: + version "4.23.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" + integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== dependencies: - caniuse-lite "^1.0.30001541" - electron-to-chromium "^1.4.535" - node-releases "^2.0.13" - update-browserslist-db "^1.0.13" + caniuse-lite "^1.0.30001646" + electron-to-chromium "^1.5.4" + node-releases "^2.0.18" + update-browserslist-db "^1.1.0" bs-logger@0.x: version "0.2.6" @@ -5353,10 +5337,10 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001599, caniuse-lite@^1.0.30001629: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz#b15f52d2bdb95fad32c2f53c0b68032b85188a78" integrity sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg== -caniuse-lite@^1.0.30001541: - version "1.0.30001561" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz#752f21f56f96f1b1a52e97aae98c57c562d5d9da" - integrity sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw== +caniuse-lite@^1.0.30001646: + version "1.0.30001655" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz#0ce881f5a19a2dcfda2ecd927df4d5c1684b982f" + integrity sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg== cardinal@^2.1.1: version "2.1.1" @@ -6603,16 +6587,16 @@ electron-fetch@^1.7.2: dependencies: encoding "^0.1.13" -electron-to-chromium@^1.4.535: - version "1.4.579" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.579.tgz#40ddec29bb5549908e82ccd652cf5da2e5900c23" - integrity sha512-bJKvA+awBIzYR0xRced7PrQuRIwGQPpo6ZLP62GAShahU9fWpsNN2IP6BSP1BLDDSbxvBVRGAMWlvVVq3npmLA== - electron-to-chromium@^1.4.796: version "1.4.811" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.811.tgz#031c8b101e7d0a7cde1dfdb0623dbdb5e19655cd" integrity sha512-CDyzcJ5XW78SHzsIOdn27z8J4ist8eaFLhdto2hSMSJQgsiwvbv2fbizcKUICryw1Wii1TI/FEkvzvJsR3awrA== +electron-to-chromium@^1.5.4: + version "1.5.13" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz#1abf0410c5344b2b829b7247e031f02810d442e6" + integrity sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q== + elliptic@6.5.4, elliptic@^6.5.2, elliptic@^6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" @@ -6665,10 +6649,10 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1: dependencies: once "^1.4.0" -enhanced-resolve@^5.15.0: - version "5.15.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" - integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== +enhanced-resolve@^5.17.1: + version "5.17.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15" + integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -8321,7 +8305,7 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -graceful-fs@4.2.11, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +graceful-fs@4.2.11, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -11340,16 +11324,16 @@ node-machine-id@1.1.12: resolved "https://registry.yarnpkg.com/node-machine-id/-/node-machine-id-1.1.12.tgz#37904eee1e59b320bb9c5d6c0a59f3b469cb6267" integrity sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ== -node-releases@^2.0.13: - version "2.0.13" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" - integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== - node-releases@^2.0.14: version "2.0.14" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== +node-releases@^2.0.18: + version "2.0.18" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" + integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g== + nodemon@^2.0.22: version "2.0.22" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.22.tgz#182c45c3a78da486f673d6c1702e00728daf5258" @@ -13846,7 +13830,16 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -13956,7 +13949,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -13977,6 +13970,13 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -14192,16 +14192,16 @@ temp-dir@1.0.0: resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== -terser-webpack-plugin@^5.3.7: - version "5.3.9" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" - integrity sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA== +terser-webpack-plugin@^5.3.10: + version "5.3.10" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz#904f4c9193c6fd2a03f693a2150c62a92f40d199" + integrity sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w== dependencies: - "@jridgewell/trace-mapping" "^0.3.17" + "@jridgewell/trace-mapping" "^0.3.20" jest-worker "^27.4.5" schema-utils "^3.1.1" serialize-javascript "^6.0.1" - terser "^5.16.8" + terser "^5.26.0" terser@^5.0.0, terser@^5.7.0: version "5.31.1" @@ -14213,7 +14213,7 @@ terser@^5.0.0, terser@^5.7.0: commander "^2.20.0" source-map-support "~0.5.20" -terser@^5.10.0, terser@^5.16.8: +terser@^5.10.0: version "5.24.0" resolved "https://registry.yarnpkg.com/terser/-/terser-5.24.0.tgz#4ae50302977bca4831ccc7b4fef63a3c04228364" integrity sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw== @@ -14223,6 +14223,16 @@ terser@^5.10.0, terser@^5.16.8: commander "^2.20.0" source-map-support "~0.5.20" +terser@^5.26.0: + version "5.31.6" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.31.6.tgz#c63858a0f0703988d0266a82fcbf2d7ba76422b1" + integrity sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg== + dependencies: + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" + commander "^2.20.0" + source-map-support "~0.5.20" + test-exclude@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" @@ -14801,14 +14811,6 @@ upath@2.0.1: resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== -update-browserslist-db@^1.0.13: - version "1.0.13" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" - integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== - dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" - update-browserslist-db@^1.0.16: version "1.0.16" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz#f6d489ed90fb2f07d67784eb3f53d7891f736356" @@ -14817,6 +14819,14 @@ update-browserslist-db@^1.0.16: escalade "^3.1.2" picocolors "^1.0.1" +update-browserslist-db@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz#7ca61c0d8650766090728046e416a8cde682859e" + integrity sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ== + dependencies: + escalade "^3.1.2" + picocolors "^1.0.1" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -14990,10 +15000,10 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -watchpack@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" - integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== +watchpack@^2.4.1: + version "2.4.2" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.2.tgz#2feeaed67412e7c33184e5a79ca738fbd38564da" + integrity sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw== dependencies: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" @@ -15067,33 +15077,32 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.65.0: - version "5.89.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.89.0.tgz#56b8bf9a34356e93a6625770006490bf3a7f32dc" - integrity sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw== - dependencies: - "@types/eslint-scope" "^3.7.3" - "@types/estree" "^1.0.0" - "@webassemblyjs/ast" "^1.11.5" - "@webassemblyjs/wasm-edit" "^1.11.5" - "@webassemblyjs/wasm-parser" "^1.11.5" + version "5.94.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.94.0.tgz#77a6089c716e7ab90c1c67574a28da518a20970f" + integrity sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg== + dependencies: + "@types/estree" "^1.0.5" + "@webassemblyjs/ast" "^1.12.1" + "@webassemblyjs/wasm-edit" "^1.12.1" + "@webassemblyjs/wasm-parser" "^1.12.1" acorn "^8.7.1" - acorn-import-assertions "^1.9.0" - browserslist "^4.14.5" + acorn-import-attributes "^1.9.5" + browserslist "^4.21.10" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.15.0" + enhanced-resolve "^5.17.1" es-module-lexer "^1.2.1" eslint-scope "5.1.1" events "^3.2.0" glob-to-regexp "^0.4.1" - graceful-fs "^4.2.9" + graceful-fs "^4.2.11" json-parse-even-better-errors "^2.3.1" loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" schema-utils "^3.2.0" tapable "^2.1.1" - terser-webpack-plugin "^5.3.7" - watchpack "^2.4.0" + terser-webpack-plugin "^5.3.10" + watchpack "^2.4.1" webpack-sources "^3.2.3" whatwg-url@^5.0.0: @@ -15195,7 +15204,7 @@ workerpool@6.2.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -15213,6 +15222,15 @@ wrap-ansi@^6.0.1: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" From 3c89609058798a31dc28b34d385b2cd7972cbde7 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 31 Aug 2024 01:01:43 +0000 Subject: [PATCH 4/6] [skip ci] Generate subgraph configs and schema --- .../BTCB Vault/ChainLinkPriceFeed.ts | 88 ++++--- .../subgraph/generated/BTCB Vault/ERC20.ts | 36 +-- .../subgraph/generated/BTCB Vault/Vault.ts | 226 +++++++++--------- .../USDC Vault/ChainLinkPriceFeed.ts | 88 ++++--- .../subgraph/generated/USDC Vault/ERC20.ts | 36 +-- .../subgraph/generated/USDC Vault/Vault.ts | 226 +++++++++--------- .../USDT Vault/ChainLinkPriceFeed.ts | 88 ++++--- .../subgraph/generated/USDT Vault/ERC20.ts | 36 +-- .../subgraph/generated/USDT Vault/Vault.ts | 226 +++++++++--------- .../WETH Vault/ChainLinkPriceFeed.ts | 88 ++++--- .../subgraph/generated/WETH Vault/ERC20.ts | 36 +-- .../subgraph/generated/WETH Vault/Vault.ts | 226 +++++++++--------- packages/subgraph/generated/schema.ts | 168 ++++++------- packages/subgraph/package.json | 2 +- 14 files changed, 785 insertions(+), 785 deletions(-) diff --git a/packages/subgraph/generated/BTCB Vault/ChainLinkPriceFeed.ts b/packages/subgraph/generated/BTCB Vault/ChainLinkPriceFeed.ts index eca7190ac..6c822b6b9 100644 --- a/packages/subgraph/generated/BTCB Vault/ChainLinkPriceFeed.ts +++ b/packages/subgraph/generated/BTCB Vault/ChainLinkPriceFeed.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AnswerUpdated extends ethereum.Event { @@ -118,7 +118,7 @@ export class ChainLinkPriceFeed__getRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -170,7 +170,7 @@ export class ChainLinkPriceFeed__latestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -222,7 +222,7 @@ export class ChainLinkPriceFeed__proposedGetRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -274,7 +274,7 @@ export class ChainLinkPriceFeed__proposedLatestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -323,7 +323,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "accessController", "accessController():(address)", - [] + [], ); return result[0].toAddress(); @@ -333,7 +333,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "accessController", "accessController():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -389,7 +389,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { getAnswer(_roundId: BigInt): BigInt { let result = super.call("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -397,7 +397,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { try_getAnswer(_roundId: BigInt): ethereum.CallResult { let result = super.tryCall("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -410,7 +410,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__getRoundDataResult( @@ -418,17 +418,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_getRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -440,14 +440,14 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } getTimestamp(_roundId: BigInt): BigInt { let result = super.call("getTimestamp", "getTimestamp(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -457,7 +457,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "getTimestamp", "getTimestamp(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -500,7 +500,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__latestRoundDataResult( @@ -508,17 +508,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_latestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__latestRoundDataResult - > { + try_latestRoundData(): ethereum.CallResult { let result = super.tryCall( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -530,8 +528,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -539,7 +537,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -549,7 +547,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -577,7 +575,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); return result[0].toAddress(); @@ -587,7 +585,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); if (result.reverted) { return new ethereum.CallResult(); @@ -615,7 +613,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); return result[0].toAddress(); @@ -625,7 +623,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -635,12 +633,12 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { } proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ChainLinkPriceFeed__proposedGetRoundDataResult { let result = super.call( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__proposedGetRoundDataResult( @@ -648,17 +646,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -670,8 +668,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -679,7 +677,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__proposedLatestRoundDataResult( @@ -687,17 +685,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_proposedLatestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__proposedLatestRoundDataResult - > { + try_proposedLatestRoundData(): ethereum.CallResult { let result = super.tryCall( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -709,8 +705,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } diff --git a/packages/subgraph/generated/BTCB Vault/ERC20.ts b/packages/subgraph/generated/BTCB Vault/ERC20.ts index b57845f12..74ed011c6 100644 --- a/packages/subgraph/generated/BTCB Vault/ERC20.ts +++ b/packages/subgraph/generated/BTCB Vault/ERC20.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class Approval extends ethereum.Event { @@ -85,7 +85,7 @@ export class ERC20 extends ethereum.SmartContract { approve(_spender: Address, _value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -94,7 +94,7 @@ export class ERC20 extends ethereum.SmartContract { try_approve(_spender: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -125,8 +125,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); return result[0].toBoolean(); @@ -135,7 +135,7 @@ export class ERC20 extends ethereum.SmartContract { try_transferFrom( _from: Address, _to: Address, - _value: BigInt + _value: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -143,8 +143,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -170,7 +170,7 @@ export class ERC20 extends ethereum.SmartContract { balanceOf(_owner: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); return result[0].toBigInt(); @@ -178,7 +178,7 @@ export class ERC20 extends ethereum.SmartContract { try_balanceOf(_owner: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -205,7 +205,7 @@ export class ERC20 extends ethereum.SmartContract { transfer(_to: Address, _value: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -214,7 +214,7 @@ export class ERC20 extends ethereum.SmartContract { try_transfer(_to: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -227,7 +227,10 @@ export class ERC20 extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); return result[0].toBigInt(); @@ -235,12 +238,15 @@ export class ERC20 extends ethereum.SmartContract { try_allowance( _owner: Address, - _spender: Address + _spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/BTCB Vault/Vault.ts b/packages/subgraph/generated/BTCB Vault/Vault.ts index 6ab201335..dad753354 100644 --- a/packages/subgraph/generated/BTCB Vault/Vault.ts +++ b/packages/subgraph/generated/BTCB Vault/Vault.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AdminChanged extends ethereum.Event { @@ -705,7 +705,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -715,7 +715,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -743,7 +743,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); return result[0].toBigInt(); @@ -751,12 +751,12 @@ export class Vault extends ethereum.SmartContract { try_allowance( holder: Address, - spender: Address + spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -768,7 +768,7 @@ export class Vault extends ethereum.SmartContract { approve(spender: Address, value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); return result[0].toBoolean(); @@ -777,7 +777,7 @@ export class Vault extends ethereum.SmartContract { try_approve(spender: Address, value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -805,7 +805,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "availableCredit", "availableCredit():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -815,7 +815,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "availableCredit", "availableCredit():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -826,7 +826,7 @@ export class Vault extends ethereum.SmartContract { balanceOf(tokenHolder: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); return result[0].toBigInt(); @@ -834,7 +834,7 @@ export class Vault extends ethereum.SmartContract { try_balanceOf(tokenHolder: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -847,24 +847,24 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); return new Vault__borrowersDataResult( result[0].toBigInt(), result[1].toBigInt(), result[2].toBigInt(), - result[3].toBigInt() + result[3].toBigInt(), ); } try_borrowersData( - param0: Address + param0: Address, ): ethereum.CallResult { let result = super.tryCall( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -875,8 +875,8 @@ export class Vault extends ethereum.SmartContract { value[0].toBigInt(), value[1].toBigInt(), value[2].toBigInt(), - value[3].toBigInt() - ) + value[3].toBigInt(), + ), ); } @@ -884,7 +884,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -894,7 +894,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -907,7 +907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -917,7 +917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -943,7 +943,7 @@ export class Vault extends ethereum.SmartContract { currentDebt1(borrower: Address): BigInt { let result = super.call("currentDebt", "currentDebt(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -953,7 +953,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebt", "currentDebt(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -966,7 +966,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -976,7 +976,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -989,7 +989,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -999,7 +999,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1042,7 +1042,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); return result[0].toAddressArray(); @@ -1052,7 +1052,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1064,7 +1064,7 @@ export class Vault extends ethereum.SmartContract { deposit(assets: BigInt, param1: Address): BigInt { let result = super.call("deposit", "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1076,8 +1076,8 @@ export class Vault extends ethereum.SmartContract { "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) - ] + ethereum.Value.fromAddress(param1), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1088,7 +1088,7 @@ export class Vault extends ethereum.SmartContract { deposit1(assets: BigInt): BigInt { let result = super.call("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1096,7 +1096,7 @@ export class Vault extends ethereum.SmartContract { try_deposit1(assets: BigInt): ethereum.CallResult { let result = super.tryCall("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1107,7 +1107,7 @@ export class Vault extends ethereum.SmartContract { depositHooks(param0: BigInt): Address { let result = super.call("depositHooks", "depositHooks(uint256):(address)", [ - ethereum.Value.fromUnsignedBigInt(param0) + ethereum.Value.fromUnsignedBigInt(param0), ]); return result[0].toAddress(); @@ -1117,7 +1117,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "depositHooks", "depositHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1205,22 +1205,20 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); return new Vault__interestRatePerBlockResult( result[0].toBigInt(), - result[1].toBigInt() + result[1].toBigInt(), ); } - try_interestRatePerBlock(): ethereum.CallResult< - Vault__interestRatePerBlockResult - > { + try_interestRatePerBlock(): ethereum.CallResult { let result = super.tryCall( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1229,8 +1227,8 @@ export class Vault extends ethereum.SmartContract { return ethereum.CallResult.fromValue( new Vault__interestRatePerBlockResult( value[0].toBigInt(), - value[1].toBigInt() - ) + value[1].toBigInt(), + ), ); } @@ -1251,7 +1249,7 @@ export class Vault extends ethereum.SmartContract { isActivated1(borrower: Address): boolean { let result = super.call("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBoolean(); @@ -1259,7 +1257,7 @@ export class Vault extends ethereum.SmartContract { try_isActivated1(borrower: Address): ethereum.CallResult { let result = super.tryCall("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1274,8 +1272,8 @@ export class Vault extends ethereum.SmartContract { "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); return result[0].toBoolean(); @@ -1283,15 +1281,15 @@ export class Vault extends ethereum.SmartContract { try_isOperatorFor( operator: Address, - tokenHolder: Address + tokenHolder: Address, ): ethereum.CallResult { let result = super.tryCall( "isOperatorFor", "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1302,7 +1300,7 @@ export class Vault extends ethereum.SmartContract { lastReport(borrower: Address): BigInt { let result = super.call("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -1310,7 +1308,7 @@ export class Vault extends ethereum.SmartContract { try_lastReport(borrower: Address): ethereum.CallResult { let result = super.tryCall("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1338,7 +1336,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1348,7 +1346,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1361,7 +1359,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1371,7 +1369,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1384,7 +1382,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1394,7 +1392,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1413,7 +1411,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "managementFee", "managementFee():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1424,7 +1422,7 @@ export class Vault extends ethereum.SmartContract { maxDeposit(param0: Address): BigInt { let result = super.call("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1432,7 +1430,7 @@ export class Vault extends ethereum.SmartContract { try_maxDeposit(param0: Address): ethereum.CallResult { let result = super.tryCall("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1443,7 +1441,7 @@ export class Vault extends ethereum.SmartContract { maxMint(param0: Address): BigInt { let result = super.call("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1451,7 +1449,7 @@ export class Vault extends ethereum.SmartContract { try_maxMint(param0: Address): ethereum.CallResult { let result = super.tryCall("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1462,7 +1460,7 @@ export class Vault extends ethereum.SmartContract { maxRedeem(owner: Address): BigInt { let result = super.call("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1470,7 +1468,7 @@ export class Vault extends ethereum.SmartContract { try_maxRedeem(owner: Address): ethereum.CallResult { let result = super.tryCall("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1481,7 +1479,7 @@ export class Vault extends ethereum.SmartContract { maxWithdraw(owner: Address): BigInt { let result = super.call("maxWithdraw", "maxWithdraw(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1491,7 +1489,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "maxWithdraw", "maxWithdraw(address):(uint256)", - [ethereum.Value.fromAddress(owner)] + [ethereum.Value.fromAddress(owner)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1503,7 +1501,7 @@ export class Vault extends ethereum.SmartContract { mint(shares: BigInt, param1: Address): BigInt { let result = super.call("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1512,7 +1510,7 @@ export class Vault extends ethereum.SmartContract { try_mint(shares: BigInt, param1: Address): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1523,7 +1521,7 @@ export class Vault extends ethereum.SmartContract { mint1(shares: BigInt): BigInt { let result = super.call("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1531,7 +1529,7 @@ export class Vault extends ethereum.SmartContract { try_mint1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1559,7 +1557,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1569,7 +1567,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1612,7 +1610,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1622,7 +1620,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1633,7 +1631,7 @@ export class Vault extends ethereum.SmartContract { previewMint(shares: BigInt): BigInt { let result = super.call("previewMint", "previewMint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1643,7 +1641,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewMint", "previewMint(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1656,7 +1654,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -1666,7 +1664,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1679,7 +1677,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1689,7 +1687,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1708,7 +1706,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "proxiableUUID", "proxiableUUID():(bytes32)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1724,8 +1722,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -1734,7 +1732,7 @@ export class Vault extends ethereum.SmartContract { try_redeem( shares: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "redeem", @@ -1742,8 +1740,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1754,7 +1752,7 @@ export class Vault extends ethereum.SmartContract { redeem1(shares: BigInt): BigInt { let result = super.call("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1762,7 +1760,7 @@ export class Vault extends ethereum.SmartContract { try_redeem1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1849,7 +1847,7 @@ export class Vault extends ethereum.SmartContract { transfer(recipient: Address, amount: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); return result[0].toBoolean(); @@ -1857,11 +1855,11 @@ export class Vault extends ethereum.SmartContract { try_transfer( recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1877,8 +1875,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); return result[0].toBoolean(); @@ -1887,7 +1885,7 @@ export class Vault extends ethereum.SmartContract { try_transferFrom( holder: Address, recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -1895,8 +1893,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1909,7 +1907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); return result[0].toBoolean(); @@ -1919,7 +1917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1932,7 +1930,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -1942,7 +1940,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1968,7 +1966,7 @@ export class Vault extends ethereum.SmartContract { withdraw(assets: BigInt): BigInt { let result = super.call("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1976,7 +1974,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw(assets: BigInt): ethereum.CallResult { let result = super.tryCall("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1992,8 +1990,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -2002,7 +2000,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw1( assets: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "withdraw", @@ -2010,8 +2008,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2024,7 +2022,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2034,7 +2032,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2047,7 +2045,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2057,7 +2055,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/USDC Vault/ChainLinkPriceFeed.ts b/packages/subgraph/generated/USDC Vault/ChainLinkPriceFeed.ts index eca7190ac..6c822b6b9 100644 --- a/packages/subgraph/generated/USDC Vault/ChainLinkPriceFeed.ts +++ b/packages/subgraph/generated/USDC Vault/ChainLinkPriceFeed.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AnswerUpdated extends ethereum.Event { @@ -118,7 +118,7 @@ export class ChainLinkPriceFeed__getRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -170,7 +170,7 @@ export class ChainLinkPriceFeed__latestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -222,7 +222,7 @@ export class ChainLinkPriceFeed__proposedGetRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -274,7 +274,7 @@ export class ChainLinkPriceFeed__proposedLatestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -323,7 +323,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "accessController", "accessController():(address)", - [] + [], ); return result[0].toAddress(); @@ -333,7 +333,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "accessController", "accessController():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -389,7 +389,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { getAnswer(_roundId: BigInt): BigInt { let result = super.call("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -397,7 +397,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { try_getAnswer(_roundId: BigInt): ethereum.CallResult { let result = super.tryCall("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -410,7 +410,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__getRoundDataResult( @@ -418,17 +418,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_getRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -440,14 +440,14 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } getTimestamp(_roundId: BigInt): BigInt { let result = super.call("getTimestamp", "getTimestamp(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -457,7 +457,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "getTimestamp", "getTimestamp(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -500,7 +500,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__latestRoundDataResult( @@ -508,17 +508,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_latestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__latestRoundDataResult - > { + try_latestRoundData(): ethereum.CallResult { let result = super.tryCall( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -530,8 +528,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -539,7 +537,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -549,7 +547,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -577,7 +575,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); return result[0].toAddress(); @@ -587,7 +585,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); if (result.reverted) { return new ethereum.CallResult(); @@ -615,7 +613,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); return result[0].toAddress(); @@ -625,7 +623,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -635,12 +633,12 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { } proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ChainLinkPriceFeed__proposedGetRoundDataResult { let result = super.call( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__proposedGetRoundDataResult( @@ -648,17 +646,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -670,8 +668,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -679,7 +677,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__proposedLatestRoundDataResult( @@ -687,17 +685,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_proposedLatestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__proposedLatestRoundDataResult - > { + try_proposedLatestRoundData(): ethereum.CallResult { let result = super.tryCall( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -709,8 +705,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } diff --git a/packages/subgraph/generated/USDC Vault/ERC20.ts b/packages/subgraph/generated/USDC Vault/ERC20.ts index b57845f12..74ed011c6 100644 --- a/packages/subgraph/generated/USDC Vault/ERC20.ts +++ b/packages/subgraph/generated/USDC Vault/ERC20.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class Approval extends ethereum.Event { @@ -85,7 +85,7 @@ export class ERC20 extends ethereum.SmartContract { approve(_spender: Address, _value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -94,7 +94,7 @@ export class ERC20 extends ethereum.SmartContract { try_approve(_spender: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -125,8 +125,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); return result[0].toBoolean(); @@ -135,7 +135,7 @@ export class ERC20 extends ethereum.SmartContract { try_transferFrom( _from: Address, _to: Address, - _value: BigInt + _value: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -143,8 +143,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -170,7 +170,7 @@ export class ERC20 extends ethereum.SmartContract { balanceOf(_owner: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); return result[0].toBigInt(); @@ -178,7 +178,7 @@ export class ERC20 extends ethereum.SmartContract { try_balanceOf(_owner: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -205,7 +205,7 @@ export class ERC20 extends ethereum.SmartContract { transfer(_to: Address, _value: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -214,7 +214,7 @@ export class ERC20 extends ethereum.SmartContract { try_transfer(_to: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -227,7 +227,10 @@ export class ERC20 extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); return result[0].toBigInt(); @@ -235,12 +238,15 @@ export class ERC20 extends ethereum.SmartContract { try_allowance( _owner: Address, - _spender: Address + _spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/USDC Vault/Vault.ts b/packages/subgraph/generated/USDC Vault/Vault.ts index 6ab201335..dad753354 100644 --- a/packages/subgraph/generated/USDC Vault/Vault.ts +++ b/packages/subgraph/generated/USDC Vault/Vault.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AdminChanged extends ethereum.Event { @@ -705,7 +705,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -715,7 +715,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -743,7 +743,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); return result[0].toBigInt(); @@ -751,12 +751,12 @@ export class Vault extends ethereum.SmartContract { try_allowance( holder: Address, - spender: Address + spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -768,7 +768,7 @@ export class Vault extends ethereum.SmartContract { approve(spender: Address, value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); return result[0].toBoolean(); @@ -777,7 +777,7 @@ export class Vault extends ethereum.SmartContract { try_approve(spender: Address, value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -805,7 +805,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "availableCredit", "availableCredit():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -815,7 +815,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "availableCredit", "availableCredit():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -826,7 +826,7 @@ export class Vault extends ethereum.SmartContract { balanceOf(tokenHolder: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); return result[0].toBigInt(); @@ -834,7 +834,7 @@ export class Vault extends ethereum.SmartContract { try_balanceOf(tokenHolder: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -847,24 +847,24 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); return new Vault__borrowersDataResult( result[0].toBigInt(), result[1].toBigInt(), result[2].toBigInt(), - result[3].toBigInt() + result[3].toBigInt(), ); } try_borrowersData( - param0: Address + param0: Address, ): ethereum.CallResult { let result = super.tryCall( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -875,8 +875,8 @@ export class Vault extends ethereum.SmartContract { value[0].toBigInt(), value[1].toBigInt(), value[2].toBigInt(), - value[3].toBigInt() - ) + value[3].toBigInt(), + ), ); } @@ -884,7 +884,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -894,7 +894,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -907,7 +907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -917,7 +917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -943,7 +943,7 @@ export class Vault extends ethereum.SmartContract { currentDebt1(borrower: Address): BigInt { let result = super.call("currentDebt", "currentDebt(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -953,7 +953,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebt", "currentDebt(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -966,7 +966,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -976,7 +976,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -989,7 +989,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -999,7 +999,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1042,7 +1042,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); return result[0].toAddressArray(); @@ -1052,7 +1052,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1064,7 +1064,7 @@ export class Vault extends ethereum.SmartContract { deposit(assets: BigInt, param1: Address): BigInt { let result = super.call("deposit", "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1076,8 +1076,8 @@ export class Vault extends ethereum.SmartContract { "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) - ] + ethereum.Value.fromAddress(param1), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1088,7 +1088,7 @@ export class Vault extends ethereum.SmartContract { deposit1(assets: BigInt): BigInt { let result = super.call("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1096,7 +1096,7 @@ export class Vault extends ethereum.SmartContract { try_deposit1(assets: BigInt): ethereum.CallResult { let result = super.tryCall("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1107,7 +1107,7 @@ export class Vault extends ethereum.SmartContract { depositHooks(param0: BigInt): Address { let result = super.call("depositHooks", "depositHooks(uint256):(address)", [ - ethereum.Value.fromUnsignedBigInt(param0) + ethereum.Value.fromUnsignedBigInt(param0), ]); return result[0].toAddress(); @@ -1117,7 +1117,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "depositHooks", "depositHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1205,22 +1205,20 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); return new Vault__interestRatePerBlockResult( result[0].toBigInt(), - result[1].toBigInt() + result[1].toBigInt(), ); } - try_interestRatePerBlock(): ethereum.CallResult< - Vault__interestRatePerBlockResult - > { + try_interestRatePerBlock(): ethereum.CallResult { let result = super.tryCall( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1229,8 +1227,8 @@ export class Vault extends ethereum.SmartContract { return ethereum.CallResult.fromValue( new Vault__interestRatePerBlockResult( value[0].toBigInt(), - value[1].toBigInt() - ) + value[1].toBigInt(), + ), ); } @@ -1251,7 +1249,7 @@ export class Vault extends ethereum.SmartContract { isActivated1(borrower: Address): boolean { let result = super.call("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBoolean(); @@ -1259,7 +1257,7 @@ export class Vault extends ethereum.SmartContract { try_isActivated1(borrower: Address): ethereum.CallResult { let result = super.tryCall("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1274,8 +1272,8 @@ export class Vault extends ethereum.SmartContract { "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); return result[0].toBoolean(); @@ -1283,15 +1281,15 @@ export class Vault extends ethereum.SmartContract { try_isOperatorFor( operator: Address, - tokenHolder: Address + tokenHolder: Address, ): ethereum.CallResult { let result = super.tryCall( "isOperatorFor", "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1302,7 +1300,7 @@ export class Vault extends ethereum.SmartContract { lastReport(borrower: Address): BigInt { let result = super.call("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -1310,7 +1308,7 @@ export class Vault extends ethereum.SmartContract { try_lastReport(borrower: Address): ethereum.CallResult { let result = super.tryCall("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1338,7 +1336,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1348,7 +1346,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1361,7 +1359,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1371,7 +1369,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1384,7 +1382,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1394,7 +1392,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1413,7 +1411,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "managementFee", "managementFee():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1424,7 +1422,7 @@ export class Vault extends ethereum.SmartContract { maxDeposit(param0: Address): BigInt { let result = super.call("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1432,7 +1430,7 @@ export class Vault extends ethereum.SmartContract { try_maxDeposit(param0: Address): ethereum.CallResult { let result = super.tryCall("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1443,7 +1441,7 @@ export class Vault extends ethereum.SmartContract { maxMint(param0: Address): BigInt { let result = super.call("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1451,7 +1449,7 @@ export class Vault extends ethereum.SmartContract { try_maxMint(param0: Address): ethereum.CallResult { let result = super.tryCall("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1462,7 +1460,7 @@ export class Vault extends ethereum.SmartContract { maxRedeem(owner: Address): BigInt { let result = super.call("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1470,7 +1468,7 @@ export class Vault extends ethereum.SmartContract { try_maxRedeem(owner: Address): ethereum.CallResult { let result = super.tryCall("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1481,7 +1479,7 @@ export class Vault extends ethereum.SmartContract { maxWithdraw(owner: Address): BigInt { let result = super.call("maxWithdraw", "maxWithdraw(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1491,7 +1489,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "maxWithdraw", "maxWithdraw(address):(uint256)", - [ethereum.Value.fromAddress(owner)] + [ethereum.Value.fromAddress(owner)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1503,7 +1501,7 @@ export class Vault extends ethereum.SmartContract { mint(shares: BigInt, param1: Address): BigInt { let result = super.call("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1512,7 +1510,7 @@ export class Vault extends ethereum.SmartContract { try_mint(shares: BigInt, param1: Address): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1523,7 +1521,7 @@ export class Vault extends ethereum.SmartContract { mint1(shares: BigInt): BigInt { let result = super.call("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1531,7 +1529,7 @@ export class Vault extends ethereum.SmartContract { try_mint1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1559,7 +1557,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1569,7 +1567,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1612,7 +1610,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1622,7 +1620,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1633,7 +1631,7 @@ export class Vault extends ethereum.SmartContract { previewMint(shares: BigInt): BigInt { let result = super.call("previewMint", "previewMint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1643,7 +1641,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewMint", "previewMint(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1656,7 +1654,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -1666,7 +1664,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1679,7 +1677,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1689,7 +1687,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1708,7 +1706,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "proxiableUUID", "proxiableUUID():(bytes32)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1724,8 +1722,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -1734,7 +1732,7 @@ export class Vault extends ethereum.SmartContract { try_redeem( shares: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "redeem", @@ -1742,8 +1740,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1754,7 +1752,7 @@ export class Vault extends ethereum.SmartContract { redeem1(shares: BigInt): BigInt { let result = super.call("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1762,7 +1760,7 @@ export class Vault extends ethereum.SmartContract { try_redeem1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1849,7 +1847,7 @@ export class Vault extends ethereum.SmartContract { transfer(recipient: Address, amount: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); return result[0].toBoolean(); @@ -1857,11 +1855,11 @@ export class Vault extends ethereum.SmartContract { try_transfer( recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1877,8 +1875,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); return result[0].toBoolean(); @@ -1887,7 +1885,7 @@ export class Vault extends ethereum.SmartContract { try_transferFrom( holder: Address, recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -1895,8 +1893,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1909,7 +1907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); return result[0].toBoolean(); @@ -1919,7 +1917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1932,7 +1930,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -1942,7 +1940,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1968,7 +1966,7 @@ export class Vault extends ethereum.SmartContract { withdraw(assets: BigInt): BigInt { let result = super.call("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1976,7 +1974,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw(assets: BigInt): ethereum.CallResult { let result = super.tryCall("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1992,8 +1990,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -2002,7 +2000,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw1( assets: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "withdraw", @@ -2010,8 +2008,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2024,7 +2022,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2034,7 +2032,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2047,7 +2045,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2057,7 +2055,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/USDT Vault/ChainLinkPriceFeed.ts b/packages/subgraph/generated/USDT Vault/ChainLinkPriceFeed.ts index eca7190ac..6c822b6b9 100644 --- a/packages/subgraph/generated/USDT Vault/ChainLinkPriceFeed.ts +++ b/packages/subgraph/generated/USDT Vault/ChainLinkPriceFeed.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AnswerUpdated extends ethereum.Event { @@ -118,7 +118,7 @@ export class ChainLinkPriceFeed__getRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -170,7 +170,7 @@ export class ChainLinkPriceFeed__latestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -222,7 +222,7 @@ export class ChainLinkPriceFeed__proposedGetRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -274,7 +274,7 @@ export class ChainLinkPriceFeed__proposedLatestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -323,7 +323,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "accessController", "accessController():(address)", - [] + [], ); return result[0].toAddress(); @@ -333,7 +333,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "accessController", "accessController():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -389,7 +389,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { getAnswer(_roundId: BigInt): BigInt { let result = super.call("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -397,7 +397,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { try_getAnswer(_roundId: BigInt): ethereum.CallResult { let result = super.tryCall("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -410,7 +410,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__getRoundDataResult( @@ -418,17 +418,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_getRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -440,14 +440,14 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } getTimestamp(_roundId: BigInt): BigInt { let result = super.call("getTimestamp", "getTimestamp(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -457,7 +457,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "getTimestamp", "getTimestamp(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -500,7 +500,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__latestRoundDataResult( @@ -508,17 +508,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_latestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__latestRoundDataResult - > { + try_latestRoundData(): ethereum.CallResult { let result = super.tryCall( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -530,8 +528,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -539,7 +537,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -549,7 +547,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -577,7 +575,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); return result[0].toAddress(); @@ -587,7 +585,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); if (result.reverted) { return new ethereum.CallResult(); @@ -615,7 +613,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); return result[0].toAddress(); @@ -625,7 +623,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -635,12 +633,12 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { } proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ChainLinkPriceFeed__proposedGetRoundDataResult { let result = super.call( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__proposedGetRoundDataResult( @@ -648,17 +646,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -670,8 +668,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -679,7 +677,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__proposedLatestRoundDataResult( @@ -687,17 +685,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_proposedLatestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__proposedLatestRoundDataResult - > { + try_proposedLatestRoundData(): ethereum.CallResult { let result = super.tryCall( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -709,8 +705,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } diff --git a/packages/subgraph/generated/USDT Vault/ERC20.ts b/packages/subgraph/generated/USDT Vault/ERC20.ts index b57845f12..74ed011c6 100644 --- a/packages/subgraph/generated/USDT Vault/ERC20.ts +++ b/packages/subgraph/generated/USDT Vault/ERC20.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class Approval extends ethereum.Event { @@ -85,7 +85,7 @@ export class ERC20 extends ethereum.SmartContract { approve(_spender: Address, _value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -94,7 +94,7 @@ export class ERC20 extends ethereum.SmartContract { try_approve(_spender: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -125,8 +125,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); return result[0].toBoolean(); @@ -135,7 +135,7 @@ export class ERC20 extends ethereum.SmartContract { try_transferFrom( _from: Address, _to: Address, - _value: BigInt + _value: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -143,8 +143,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -170,7 +170,7 @@ export class ERC20 extends ethereum.SmartContract { balanceOf(_owner: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); return result[0].toBigInt(); @@ -178,7 +178,7 @@ export class ERC20 extends ethereum.SmartContract { try_balanceOf(_owner: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -205,7 +205,7 @@ export class ERC20 extends ethereum.SmartContract { transfer(_to: Address, _value: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -214,7 +214,7 @@ export class ERC20 extends ethereum.SmartContract { try_transfer(_to: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -227,7 +227,10 @@ export class ERC20 extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); return result[0].toBigInt(); @@ -235,12 +238,15 @@ export class ERC20 extends ethereum.SmartContract { try_allowance( _owner: Address, - _spender: Address + _spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/USDT Vault/Vault.ts b/packages/subgraph/generated/USDT Vault/Vault.ts index 6ab201335..dad753354 100644 --- a/packages/subgraph/generated/USDT Vault/Vault.ts +++ b/packages/subgraph/generated/USDT Vault/Vault.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AdminChanged extends ethereum.Event { @@ -705,7 +705,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -715,7 +715,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -743,7 +743,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); return result[0].toBigInt(); @@ -751,12 +751,12 @@ export class Vault extends ethereum.SmartContract { try_allowance( holder: Address, - spender: Address + spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -768,7 +768,7 @@ export class Vault extends ethereum.SmartContract { approve(spender: Address, value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); return result[0].toBoolean(); @@ -777,7 +777,7 @@ export class Vault extends ethereum.SmartContract { try_approve(spender: Address, value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -805,7 +805,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "availableCredit", "availableCredit():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -815,7 +815,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "availableCredit", "availableCredit():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -826,7 +826,7 @@ export class Vault extends ethereum.SmartContract { balanceOf(tokenHolder: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); return result[0].toBigInt(); @@ -834,7 +834,7 @@ export class Vault extends ethereum.SmartContract { try_balanceOf(tokenHolder: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -847,24 +847,24 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); return new Vault__borrowersDataResult( result[0].toBigInt(), result[1].toBigInt(), result[2].toBigInt(), - result[3].toBigInt() + result[3].toBigInt(), ); } try_borrowersData( - param0: Address + param0: Address, ): ethereum.CallResult { let result = super.tryCall( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -875,8 +875,8 @@ export class Vault extends ethereum.SmartContract { value[0].toBigInt(), value[1].toBigInt(), value[2].toBigInt(), - value[3].toBigInt() - ) + value[3].toBigInt(), + ), ); } @@ -884,7 +884,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -894,7 +894,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -907,7 +907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -917,7 +917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -943,7 +943,7 @@ export class Vault extends ethereum.SmartContract { currentDebt1(borrower: Address): BigInt { let result = super.call("currentDebt", "currentDebt(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -953,7 +953,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebt", "currentDebt(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -966,7 +966,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -976,7 +976,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -989,7 +989,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -999,7 +999,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1042,7 +1042,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); return result[0].toAddressArray(); @@ -1052,7 +1052,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1064,7 +1064,7 @@ export class Vault extends ethereum.SmartContract { deposit(assets: BigInt, param1: Address): BigInt { let result = super.call("deposit", "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1076,8 +1076,8 @@ export class Vault extends ethereum.SmartContract { "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) - ] + ethereum.Value.fromAddress(param1), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1088,7 +1088,7 @@ export class Vault extends ethereum.SmartContract { deposit1(assets: BigInt): BigInt { let result = super.call("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1096,7 +1096,7 @@ export class Vault extends ethereum.SmartContract { try_deposit1(assets: BigInt): ethereum.CallResult { let result = super.tryCall("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1107,7 +1107,7 @@ export class Vault extends ethereum.SmartContract { depositHooks(param0: BigInt): Address { let result = super.call("depositHooks", "depositHooks(uint256):(address)", [ - ethereum.Value.fromUnsignedBigInt(param0) + ethereum.Value.fromUnsignedBigInt(param0), ]); return result[0].toAddress(); @@ -1117,7 +1117,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "depositHooks", "depositHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1205,22 +1205,20 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); return new Vault__interestRatePerBlockResult( result[0].toBigInt(), - result[1].toBigInt() + result[1].toBigInt(), ); } - try_interestRatePerBlock(): ethereum.CallResult< - Vault__interestRatePerBlockResult - > { + try_interestRatePerBlock(): ethereum.CallResult { let result = super.tryCall( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1229,8 +1227,8 @@ export class Vault extends ethereum.SmartContract { return ethereum.CallResult.fromValue( new Vault__interestRatePerBlockResult( value[0].toBigInt(), - value[1].toBigInt() - ) + value[1].toBigInt(), + ), ); } @@ -1251,7 +1249,7 @@ export class Vault extends ethereum.SmartContract { isActivated1(borrower: Address): boolean { let result = super.call("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBoolean(); @@ -1259,7 +1257,7 @@ export class Vault extends ethereum.SmartContract { try_isActivated1(borrower: Address): ethereum.CallResult { let result = super.tryCall("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1274,8 +1272,8 @@ export class Vault extends ethereum.SmartContract { "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); return result[0].toBoolean(); @@ -1283,15 +1281,15 @@ export class Vault extends ethereum.SmartContract { try_isOperatorFor( operator: Address, - tokenHolder: Address + tokenHolder: Address, ): ethereum.CallResult { let result = super.tryCall( "isOperatorFor", "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1302,7 +1300,7 @@ export class Vault extends ethereum.SmartContract { lastReport(borrower: Address): BigInt { let result = super.call("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -1310,7 +1308,7 @@ export class Vault extends ethereum.SmartContract { try_lastReport(borrower: Address): ethereum.CallResult { let result = super.tryCall("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1338,7 +1336,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1348,7 +1346,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1361,7 +1359,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1371,7 +1369,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1384,7 +1382,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1394,7 +1392,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1413,7 +1411,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "managementFee", "managementFee():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1424,7 +1422,7 @@ export class Vault extends ethereum.SmartContract { maxDeposit(param0: Address): BigInt { let result = super.call("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1432,7 +1430,7 @@ export class Vault extends ethereum.SmartContract { try_maxDeposit(param0: Address): ethereum.CallResult { let result = super.tryCall("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1443,7 +1441,7 @@ export class Vault extends ethereum.SmartContract { maxMint(param0: Address): BigInt { let result = super.call("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1451,7 +1449,7 @@ export class Vault extends ethereum.SmartContract { try_maxMint(param0: Address): ethereum.CallResult { let result = super.tryCall("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1462,7 +1460,7 @@ export class Vault extends ethereum.SmartContract { maxRedeem(owner: Address): BigInt { let result = super.call("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1470,7 +1468,7 @@ export class Vault extends ethereum.SmartContract { try_maxRedeem(owner: Address): ethereum.CallResult { let result = super.tryCall("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1481,7 +1479,7 @@ export class Vault extends ethereum.SmartContract { maxWithdraw(owner: Address): BigInt { let result = super.call("maxWithdraw", "maxWithdraw(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1491,7 +1489,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "maxWithdraw", "maxWithdraw(address):(uint256)", - [ethereum.Value.fromAddress(owner)] + [ethereum.Value.fromAddress(owner)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1503,7 +1501,7 @@ export class Vault extends ethereum.SmartContract { mint(shares: BigInt, param1: Address): BigInt { let result = super.call("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1512,7 +1510,7 @@ export class Vault extends ethereum.SmartContract { try_mint(shares: BigInt, param1: Address): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1523,7 +1521,7 @@ export class Vault extends ethereum.SmartContract { mint1(shares: BigInt): BigInt { let result = super.call("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1531,7 +1529,7 @@ export class Vault extends ethereum.SmartContract { try_mint1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1559,7 +1557,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1569,7 +1567,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1612,7 +1610,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1622,7 +1620,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1633,7 +1631,7 @@ export class Vault extends ethereum.SmartContract { previewMint(shares: BigInt): BigInt { let result = super.call("previewMint", "previewMint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1643,7 +1641,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewMint", "previewMint(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1656,7 +1654,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -1666,7 +1664,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1679,7 +1677,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1689,7 +1687,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1708,7 +1706,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "proxiableUUID", "proxiableUUID():(bytes32)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1724,8 +1722,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -1734,7 +1732,7 @@ export class Vault extends ethereum.SmartContract { try_redeem( shares: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "redeem", @@ -1742,8 +1740,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1754,7 +1752,7 @@ export class Vault extends ethereum.SmartContract { redeem1(shares: BigInt): BigInt { let result = super.call("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1762,7 +1760,7 @@ export class Vault extends ethereum.SmartContract { try_redeem1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1849,7 +1847,7 @@ export class Vault extends ethereum.SmartContract { transfer(recipient: Address, amount: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); return result[0].toBoolean(); @@ -1857,11 +1855,11 @@ export class Vault extends ethereum.SmartContract { try_transfer( recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1877,8 +1875,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); return result[0].toBoolean(); @@ -1887,7 +1885,7 @@ export class Vault extends ethereum.SmartContract { try_transferFrom( holder: Address, recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -1895,8 +1893,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1909,7 +1907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); return result[0].toBoolean(); @@ -1919,7 +1917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1932,7 +1930,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -1942,7 +1940,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1968,7 +1966,7 @@ export class Vault extends ethereum.SmartContract { withdraw(assets: BigInt): BigInt { let result = super.call("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1976,7 +1974,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw(assets: BigInt): ethereum.CallResult { let result = super.tryCall("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1992,8 +1990,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -2002,7 +2000,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw1( assets: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "withdraw", @@ -2010,8 +2008,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2024,7 +2022,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2034,7 +2032,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2047,7 +2045,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2057,7 +2055,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/WETH Vault/ChainLinkPriceFeed.ts b/packages/subgraph/generated/WETH Vault/ChainLinkPriceFeed.ts index eca7190ac..6c822b6b9 100644 --- a/packages/subgraph/generated/WETH Vault/ChainLinkPriceFeed.ts +++ b/packages/subgraph/generated/WETH Vault/ChainLinkPriceFeed.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AnswerUpdated extends ethereum.Event { @@ -118,7 +118,7 @@ export class ChainLinkPriceFeed__getRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -170,7 +170,7 @@ export class ChainLinkPriceFeed__latestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -222,7 +222,7 @@ export class ChainLinkPriceFeed__proposedGetRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -274,7 +274,7 @@ export class ChainLinkPriceFeed__proposedLatestRoundDataResult { value1: BigInt, value2: BigInt, value3: BigInt, - value4: BigInt + value4: BigInt, ) { this.value0 = value0; this.value1 = value1; @@ -323,7 +323,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "accessController", "accessController():(address)", - [] + [], ); return result[0].toAddress(); @@ -333,7 +333,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "accessController", "accessController():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -389,7 +389,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { getAnswer(_roundId: BigInt): BigInt { let result = super.call("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -397,7 +397,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { try_getAnswer(_roundId: BigInt): ethereum.CallResult { let result = super.tryCall("getAnswer", "getAnswer(uint256):(int256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -410,7 +410,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__getRoundDataResult( @@ -418,17 +418,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_getRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "getRoundData", "getRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -440,14 +440,14 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } getTimestamp(_roundId: BigInt): BigInt { let result = super.call("getTimestamp", "getTimestamp(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(_roundId) + ethereum.Value.fromUnsignedBigInt(_roundId), ]); return result[0].toBigInt(); @@ -457,7 +457,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "getTimestamp", "getTimestamp(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -500,7 +500,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__latestRoundDataResult( @@ -508,17 +508,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_latestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__latestRoundDataResult - > { + try_latestRoundData(): ethereum.CallResult { let result = super.tryCall( "latestRoundData", "latestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -530,8 +528,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -539,7 +537,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -549,7 +547,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "latestTimestamp", "latestTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -577,7 +575,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); return result[0].toAddress(); @@ -587,7 +585,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "phaseAggregators", "phaseAggregators(uint16):(address)", - [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))] + [ethereum.Value.fromUnsignedBigInt(BigInt.fromI32(param0))], ); if (result.reverted) { return new ethereum.CallResult(); @@ -615,7 +613,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); return result[0].toAddress(); @@ -625,7 +623,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.tryCall( "proposedAggregator", "proposedAggregator():(address)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -635,12 +633,12 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { } proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ChainLinkPriceFeed__proposedGetRoundDataResult { let result = super.call( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); return new ChainLinkPriceFeed__proposedGetRoundDataResult( @@ -648,17 +646,17 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } try_proposedGetRoundData( - _roundId: BigInt + _roundId: BigInt, ): ethereum.CallResult { let result = super.tryCall( "proposedGetRoundData", "proposedGetRoundData(uint80):(uint80,int256,uint256,uint256,uint80)", - [ethereum.Value.fromUnsignedBigInt(_roundId)] + [ethereum.Value.fromUnsignedBigInt(_roundId)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -670,8 +668,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } @@ -679,7 +677,7 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { let result = super.call( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); return new ChainLinkPriceFeed__proposedLatestRoundDataResult( @@ -687,17 +685,15 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { result[1].toBigInt(), result[2].toBigInt(), result[3].toBigInt(), - result[4].toBigInt() + result[4].toBigInt(), ); } - try_proposedLatestRoundData(): ethereum.CallResult< - ChainLinkPriceFeed__proposedLatestRoundDataResult - > { + try_proposedLatestRoundData(): ethereum.CallResult { let result = super.tryCall( "proposedLatestRoundData", "proposedLatestRoundData():(uint80,int256,uint256,uint256,uint80)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -709,8 +705,8 @@ export class ChainLinkPriceFeed extends ethereum.SmartContract { value[1].toBigInt(), value[2].toBigInt(), value[3].toBigInt(), - value[4].toBigInt() - ) + value[4].toBigInt(), + ), ); } diff --git a/packages/subgraph/generated/WETH Vault/ERC20.ts b/packages/subgraph/generated/WETH Vault/ERC20.ts index b57845f12..74ed011c6 100644 --- a/packages/subgraph/generated/WETH Vault/ERC20.ts +++ b/packages/subgraph/generated/WETH Vault/ERC20.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class Approval extends ethereum.Event { @@ -85,7 +85,7 @@ export class ERC20 extends ethereum.SmartContract { approve(_spender: Address, _value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -94,7 +94,7 @@ export class ERC20 extends ethereum.SmartContract { try_approve(_spender: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(_spender), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -125,8 +125,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); return result[0].toBoolean(); @@ -135,7 +135,7 @@ export class ERC20 extends ethereum.SmartContract { try_transferFrom( _from: Address, _to: Address, - _value: BigInt + _value: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -143,8 +143,8 @@ export class ERC20 extends ethereum.SmartContract { [ ethereum.Value.fromAddress(_from), ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) - ] + ethereum.Value.fromUnsignedBigInt(_value), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -170,7 +170,7 @@ export class ERC20 extends ethereum.SmartContract { balanceOf(_owner: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); return result[0].toBigInt(); @@ -178,7 +178,7 @@ export class ERC20 extends ethereum.SmartContract { try_balanceOf(_owner: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(_owner) + ethereum.Value.fromAddress(_owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -205,7 +205,7 @@ export class ERC20 extends ethereum.SmartContract { transfer(_to: Address, _value: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); return result[0].toBoolean(); @@ -214,7 +214,7 @@ export class ERC20 extends ethereum.SmartContract { try_transfer(_to: Address, _value: BigInt): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(_to), - ethereum.Value.fromUnsignedBigInt(_value) + ethereum.Value.fromUnsignedBigInt(_value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -227,7 +227,10 @@ export class ERC20 extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); return result[0].toBigInt(); @@ -235,12 +238,15 @@ export class ERC20 extends ethereum.SmartContract { try_allowance( _owner: Address, - _spender: Address + _spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(_owner), ethereum.Value.fromAddress(_spender)] + [ + ethereum.Value.fromAddress(_owner), + ethereum.Value.fromAddress(_spender), + ], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/WETH Vault/Vault.ts b/packages/subgraph/generated/WETH Vault/Vault.ts index 6ab201335..dad753354 100644 --- a/packages/subgraph/generated/WETH Vault/Vault.ts +++ b/packages/subgraph/generated/WETH Vault/Vault.ts @@ -7,7 +7,7 @@ import { Entity, Bytes, Address, - BigInt + BigInt, } from "@graphprotocol/graph-ts"; export class AdminChanged extends ethereum.Event { @@ -705,7 +705,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -715,7 +715,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "LOCKED_PROFIT_RELEASE_SCALE", "LOCKED_PROFIT_RELEASE_SCALE():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -743,7 +743,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); return result[0].toBigInt(); @@ -751,12 +751,12 @@ export class Vault extends ethereum.SmartContract { try_allowance( holder: Address, - spender: Address + spender: Address, ): ethereum.CallResult { let result = super.tryCall( "allowance", "allowance(address,address):(uint256)", - [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)] + [ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(spender)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -768,7 +768,7 @@ export class Vault extends ethereum.SmartContract { approve(spender: Address, value: BigInt): boolean { let result = super.call("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); return result[0].toBoolean(); @@ -777,7 +777,7 @@ export class Vault extends ethereum.SmartContract { try_approve(spender: Address, value: BigInt): ethereum.CallResult { let result = super.tryCall("approve", "approve(address,uint256):(bool)", [ ethereum.Value.fromAddress(spender), - ethereum.Value.fromUnsignedBigInt(value) + ethereum.Value.fromUnsignedBigInt(value), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -805,7 +805,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "availableCredit", "availableCredit():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -815,7 +815,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "availableCredit", "availableCredit():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -826,7 +826,7 @@ export class Vault extends ethereum.SmartContract { balanceOf(tokenHolder: Address): BigInt { let result = super.call("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); return result[0].toBigInt(); @@ -834,7 +834,7 @@ export class Vault extends ethereum.SmartContract { try_balanceOf(tokenHolder: Address): ethereum.CallResult { let result = super.tryCall("balanceOf", "balanceOf(address):(uint256)", [ - ethereum.Value.fromAddress(tokenHolder) + ethereum.Value.fromAddress(tokenHolder), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -847,24 +847,24 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); return new Vault__borrowersDataResult( result[0].toBigInt(), result[1].toBigInt(), result[2].toBigInt(), - result[3].toBigInt() + result[3].toBigInt(), ); } try_borrowersData( - param0: Address + param0: Address, ): ethereum.CallResult { let result = super.tryCall( "borrowersData", "borrowersData(address):(uint256,uint256,uint256,uint256)", - [ethereum.Value.fromAddress(param0)] + [ethereum.Value.fromAddress(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -875,8 +875,8 @@ export class Vault extends ethereum.SmartContract { value[0].toBigInt(), value[1].toBigInt(), value[2].toBigInt(), - value[3].toBigInt() - ) + value[3].toBigInt(), + ), ); } @@ -884,7 +884,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -894,7 +894,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToAssets", "convertToAssets(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -907,7 +907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -917,7 +917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "convertToShares", "convertToShares(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -943,7 +943,7 @@ export class Vault extends ethereum.SmartContract { currentDebt1(borrower: Address): BigInt { let result = super.call("currentDebt", "currentDebt(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -953,7 +953,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebt", "currentDebt(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -966,7 +966,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -976,7 +976,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -989,7 +989,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -999,7 +999,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "currentDebtRatio", "currentDebtRatio(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1042,7 +1042,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); return result[0].toAddressArray(); @@ -1052,7 +1052,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "defaultOperators", "defaultOperators():(address[])", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1064,7 +1064,7 @@ export class Vault extends ethereum.SmartContract { deposit(assets: BigInt, param1: Address): BigInt { let result = super.call("deposit", "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1076,8 +1076,8 @@ export class Vault extends ethereum.SmartContract { "deposit(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(assets), - ethereum.Value.fromAddress(param1) - ] + ethereum.Value.fromAddress(param1), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1088,7 +1088,7 @@ export class Vault extends ethereum.SmartContract { deposit1(assets: BigInt): BigInt { let result = super.call("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1096,7 +1096,7 @@ export class Vault extends ethereum.SmartContract { try_deposit1(assets: BigInt): ethereum.CallResult { let result = super.tryCall("deposit", "deposit(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1107,7 +1107,7 @@ export class Vault extends ethereum.SmartContract { depositHooks(param0: BigInt): Address { let result = super.call("depositHooks", "depositHooks(uint256):(address)", [ - ethereum.Value.fromUnsignedBigInt(param0) + ethereum.Value.fromUnsignedBigInt(param0), ]); return result[0].toAddress(); @@ -1117,7 +1117,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "depositHooks", "depositHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1205,22 +1205,20 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); return new Vault__interestRatePerBlockResult( result[0].toBigInt(), - result[1].toBigInt() + result[1].toBigInt(), ); } - try_interestRatePerBlock(): ethereum.CallResult< - Vault__interestRatePerBlockResult - > { + try_interestRatePerBlock(): ethereum.CallResult { let result = super.tryCall( "interestRatePerBlock", "interestRatePerBlock():(uint256,uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1229,8 +1227,8 @@ export class Vault extends ethereum.SmartContract { return ethereum.CallResult.fromValue( new Vault__interestRatePerBlockResult( value[0].toBigInt(), - value[1].toBigInt() - ) + value[1].toBigInt(), + ), ); } @@ -1251,7 +1249,7 @@ export class Vault extends ethereum.SmartContract { isActivated1(borrower: Address): boolean { let result = super.call("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBoolean(); @@ -1259,7 +1257,7 @@ export class Vault extends ethereum.SmartContract { try_isActivated1(borrower: Address): ethereum.CallResult { let result = super.tryCall("isActivated", "isActivated(address):(bool)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1274,8 +1272,8 @@ export class Vault extends ethereum.SmartContract { "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); return result[0].toBoolean(); @@ -1283,15 +1281,15 @@ export class Vault extends ethereum.SmartContract { try_isOperatorFor( operator: Address, - tokenHolder: Address + tokenHolder: Address, ): ethereum.CallResult { let result = super.tryCall( "isOperatorFor", "isOperatorFor(address,address):(bool)", [ ethereum.Value.fromAddress(operator), - ethereum.Value.fromAddress(tokenHolder) - ] + ethereum.Value.fromAddress(tokenHolder), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1302,7 +1300,7 @@ export class Vault extends ethereum.SmartContract { lastReport(borrower: Address): BigInt { let result = super.call("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); return result[0].toBigInt(); @@ -1310,7 +1308,7 @@ export class Vault extends ethereum.SmartContract { try_lastReport(borrower: Address): ethereum.CallResult { let result = super.tryCall("lastReport", "lastReport(address):(uint256)", [ - ethereum.Value.fromAddress(borrower) + ethereum.Value.fromAddress(borrower), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1338,7 +1336,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1348,7 +1346,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lastReportTimestamp", "lastReportTimestamp():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1361,7 +1359,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1371,7 +1369,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitBaseline", "lockedProfitBaseline():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1384,7 +1382,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1394,7 +1392,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "lockedProfitReleaseRate", "lockedProfitReleaseRate():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1413,7 +1411,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "managementFee", "managementFee():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1424,7 +1422,7 @@ export class Vault extends ethereum.SmartContract { maxDeposit(param0: Address): BigInt { let result = super.call("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1432,7 +1430,7 @@ export class Vault extends ethereum.SmartContract { try_maxDeposit(param0: Address): ethereum.CallResult { let result = super.tryCall("maxDeposit", "maxDeposit(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1443,7 +1441,7 @@ export class Vault extends ethereum.SmartContract { maxMint(param0: Address): BigInt { let result = super.call("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); return result[0].toBigInt(); @@ -1451,7 +1449,7 @@ export class Vault extends ethereum.SmartContract { try_maxMint(param0: Address): ethereum.CallResult { let result = super.tryCall("maxMint", "maxMint(address):(uint256)", [ - ethereum.Value.fromAddress(param0) + ethereum.Value.fromAddress(param0), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1462,7 +1460,7 @@ export class Vault extends ethereum.SmartContract { maxRedeem(owner: Address): BigInt { let result = super.call("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1470,7 +1468,7 @@ export class Vault extends ethereum.SmartContract { try_maxRedeem(owner: Address): ethereum.CallResult { let result = super.tryCall("maxRedeem", "maxRedeem(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1481,7 +1479,7 @@ export class Vault extends ethereum.SmartContract { maxWithdraw(owner: Address): BigInt { let result = super.call("maxWithdraw", "maxWithdraw(address):(uint256)", [ - ethereum.Value.fromAddress(owner) + ethereum.Value.fromAddress(owner), ]); return result[0].toBigInt(); @@ -1491,7 +1489,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "maxWithdraw", "maxWithdraw(address):(uint256)", - [ethereum.Value.fromAddress(owner)] + [ethereum.Value.fromAddress(owner)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1503,7 +1501,7 @@ export class Vault extends ethereum.SmartContract { mint(shares: BigInt, param1: Address): BigInt { let result = super.call("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); return result[0].toBigInt(); @@ -1512,7 +1510,7 @@ export class Vault extends ethereum.SmartContract { try_mint(shares: BigInt, param1: Address): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256,address):(uint256)", [ ethereum.Value.fromUnsignedBigInt(shares), - ethereum.Value.fromAddress(param1) + ethereum.Value.fromAddress(param1), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1523,7 +1521,7 @@ export class Vault extends ethereum.SmartContract { mint1(shares: BigInt): BigInt { let result = super.call("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1531,7 +1529,7 @@ export class Vault extends ethereum.SmartContract { try_mint1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("mint", "mint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1559,7 +1557,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); return result[0].toBigInt(); @@ -1569,7 +1567,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "outstandingDebt", "outstandingDebt():(uint256)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1612,7 +1610,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1622,7 +1620,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewDeposit", "previewDeposit(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1633,7 +1631,7 @@ export class Vault extends ethereum.SmartContract { previewMint(shares: BigInt): BigInt { let result = super.call("previewMint", "previewMint(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1643,7 +1641,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewMint", "previewMint(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1656,7 +1654,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); return result[0].toBigInt(); @@ -1666,7 +1664,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewRedeem", "previewRedeem(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(shares)] + [ethereum.Value.fromUnsignedBigInt(shares)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1679,7 +1677,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); return result[0].toBigInt(); @@ -1689,7 +1687,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "previewWithdraw", "previewWithdraw(uint256):(uint256)", - [ethereum.Value.fromUnsignedBigInt(assets)] + [ethereum.Value.fromUnsignedBigInt(assets)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1708,7 +1706,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "proxiableUUID", "proxiableUUID():(bytes32)", - [] + [], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1724,8 +1722,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -1734,7 +1732,7 @@ export class Vault extends ethereum.SmartContract { try_redeem( shares: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "redeem", @@ -1742,8 +1740,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(shares), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1754,7 +1752,7 @@ export class Vault extends ethereum.SmartContract { redeem1(shares: BigInt): BigInt { let result = super.call("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); return result[0].toBigInt(); @@ -1762,7 +1760,7 @@ export class Vault extends ethereum.SmartContract { try_redeem1(shares: BigInt): ethereum.CallResult { let result = super.tryCall("redeem", "redeem(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(shares) + ethereum.Value.fromUnsignedBigInt(shares), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1849,7 +1847,7 @@ export class Vault extends ethereum.SmartContract { transfer(recipient: Address, amount: BigInt): boolean { let result = super.call("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); return result[0].toBoolean(); @@ -1857,11 +1855,11 @@ export class Vault extends ethereum.SmartContract { try_transfer( recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall("transfer", "transfer(address,uint256):(bool)", [ ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) + ethereum.Value.fromUnsignedBigInt(amount), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1877,8 +1875,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); return result[0].toBoolean(); @@ -1887,7 +1885,7 @@ export class Vault extends ethereum.SmartContract { try_transferFrom( holder: Address, recipient: Address, - amount: BigInt + amount: BigInt, ): ethereum.CallResult { let result = super.tryCall( "transferFrom", @@ -1895,8 +1893,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromAddress(holder), ethereum.Value.fromAddress(recipient), - ethereum.Value.fromUnsignedBigInt(amount) - ] + ethereum.Value.fromUnsignedBigInt(amount), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1909,7 +1907,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); return result[0].toBoolean(); @@ -1919,7 +1917,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "unregisterLifecycleHook", "unregisterLifecycleHook(address):(bool)", - [ethereum.Value.fromAddress(hook)] + [ethereum.Value.fromAddress(hook)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1932,7 +1930,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); return result[0].toBigInt(); @@ -1942,7 +1940,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "utilizationRate", "utilizationRate(address):(uint256)", - [ethereum.Value.fromAddress(borrower)] + [ethereum.Value.fromAddress(borrower)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -1968,7 +1966,7 @@ export class Vault extends ethereum.SmartContract { withdraw(assets: BigInt): BigInt { let result = super.call("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); return result[0].toBigInt(); @@ -1976,7 +1974,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw(assets: BigInt): ethereum.CallResult { let result = super.tryCall("withdraw", "withdraw(uint256):(uint256)", [ - ethereum.Value.fromUnsignedBigInt(assets) + ethereum.Value.fromUnsignedBigInt(assets), ]); if (result.reverted) { return new ethereum.CallResult(); @@ -1992,8 +1990,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); return result[0].toBigInt(); @@ -2002,7 +2000,7 @@ export class Vault extends ethereum.SmartContract { try_withdraw1( assets: BigInt, param1: Address, - param2: Address + param2: Address, ): ethereum.CallResult { let result = super.tryCall( "withdraw", @@ -2010,8 +2008,8 @@ export class Vault extends ethereum.SmartContract { [ ethereum.Value.fromUnsignedBigInt(assets), ethereum.Value.fromAddress(param1), - ethereum.Value.fromAddress(param2) - ] + ethereum.Value.fromAddress(param2), + ], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2024,7 +2022,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2034,7 +2032,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawHooks", "withdrawHooks(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); @@ -2047,7 +2045,7 @@ export class Vault extends ethereum.SmartContract { let result = super.call( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); return result[0].toAddress(); @@ -2057,7 +2055,7 @@ export class Vault extends ethereum.SmartContract { let result = super.tryCall( "withdrawalQueue", "withdrawalQueue(uint256):(address)", - [ethereum.Value.fromUnsignedBigInt(param0)] + [ethereum.Value.fromUnsignedBigInt(param0)], ); if (result.reverted) { return new ethereum.CallResult(); diff --git a/packages/subgraph/generated/schema.ts b/packages/subgraph/generated/schema.ts index 94db8e7a5..049d84077 100644 --- a/packages/subgraph/generated/schema.ts +++ b/packages/subgraph/generated/schema.ts @@ -8,7 +8,7 @@ import { store, Bytes, BigInt, - BigDecimal + BigDecimal, } from "@graphprotocol/graph-ts"; export class Vault extends Entity { @@ -23,7 +23,7 @@ export class Vault extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Vault must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Vault must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Vault", id.toBytes().toHexString(), this); } @@ -31,7 +31,7 @@ export class Vault extends Entity { static loadInBlock(id: Bytes): Vault | null { return changetype( - store.get_in_block("Vault", id.toHexString()) + store.get_in_block("Vault", id.toHexString()), ); } @@ -273,7 +273,7 @@ export class Token extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Token must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Token must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Token", id.toBytes().toHexString(), this); } @@ -281,7 +281,7 @@ export class Token extends Entity { static loadInBlock(id: Bytes): Token | null { return changetype( - store.get_in_block("Token", id.toHexString()) + store.get_in_block("Token", id.toHexString()), ); } @@ -380,7 +380,7 @@ export class Price extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Price must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Price must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Price", id.toBytes().toHexString(), this); } @@ -388,7 +388,7 @@ export class Price extends Entity { static loadInBlock(id: Bytes): Price | null { return changetype( - store.get_in_block("Price", id.toHexString()) + store.get_in_block("Price", id.toHexString()), ); } @@ -448,7 +448,7 @@ export class InterestRate extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type InterestRate must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type InterestRate must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("InterestRate", id.toBytes().toHexString(), this); } @@ -456,13 +456,13 @@ export class InterestRate extends Entity { static loadInBlock(id: Bytes): InterestRate | null { return changetype( - store.get_in_block("InterestRate", id.toHexString()) + store.get_in_block("InterestRate", id.toHexString()), ); } static load(id: Bytes): InterestRate | null { return changetype( - store.get("InterestRate", id.toHexString()) + store.get("InterestRate", id.toHexString()), ); } @@ -574,7 +574,7 @@ export class RewardAPY extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type RewardAPY must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type RewardAPY must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("RewardAPY", id.toBytes().toHexString(), this); } @@ -582,13 +582,13 @@ export class RewardAPY extends Entity { static loadInBlock(id: Bytes): RewardAPY | null { return changetype( - store.get_in_block("RewardAPY", id.toHexString()) + store.get_in_block("RewardAPY", id.toHexString()), ); } static load(id: Bytes): RewardAPY | null { return changetype( - store.get("RewardAPY", id.toHexString()) + store.get("RewardAPY", id.toHexString()), ); } @@ -683,7 +683,7 @@ export class AdminChanged extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type AdminChanged must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type AdminChanged must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("AdminChanged", id.toBytes().toHexString(), this); } @@ -691,13 +691,13 @@ export class AdminChanged extends Entity { static loadInBlock(id: Bytes): AdminChanged | null { return changetype( - store.get_in_block("AdminChanged", id.toHexString()) + store.get_in_block("AdminChanged", id.toHexString()), ); } static load(id: Bytes): AdminChanged | null { return changetype( - store.get("AdminChanged", id.toHexString()) + store.get("AdminChanged", id.toHexString()), ); } @@ -792,7 +792,7 @@ export class BeaconUpgraded extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type BeaconUpgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type BeaconUpgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("BeaconUpgraded", id.toBytes().toHexString(), this); } @@ -800,13 +800,13 @@ export class BeaconUpgraded extends Entity { static loadInBlock(id: Bytes): BeaconUpgraded | null { return changetype( - store.get_in_block("BeaconUpgraded", id.toHexString()) + store.get_in_block("BeaconUpgraded", id.toHexString()), ); } static load(id: Bytes): BeaconUpgraded | null { return changetype( - store.get("BeaconUpgraded", id.toHexString()) + store.get("BeaconUpgraded", id.toHexString()), ); } @@ -888,7 +888,7 @@ export class Upgraded extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Upgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Upgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Upgraded", id.toBytes().toHexString(), this); } @@ -896,7 +896,7 @@ export class Upgraded extends Entity { static loadInBlock(id: Bytes): Upgraded | null { return changetype( - store.get_in_block("Upgraded", id.toHexString()) + store.get_in_block("Upgraded", id.toHexString()), ); } @@ -995,7 +995,7 @@ export class ContractAdminChanged extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type ContractAdminChanged must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type ContractAdminChanged must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("ContractAdminChanged", id.toBytes().toHexString(), this); } @@ -1003,13 +1003,13 @@ export class ContractAdminChanged extends Entity { static loadInBlock(id: Bytes): ContractAdminChanged | null { return changetype( - store.get_in_block("ContractAdminChanged", id.toHexString()) + store.get_in_block("ContractAdminChanged", id.toHexString()), ); } static load(id: Bytes): ContractAdminChanged | null { return changetype( - store.get("ContractAdminChanged", id.toHexString()) + store.get("ContractAdminChanged", id.toHexString()), ); } @@ -1104,7 +1104,7 @@ export class Approval extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Approval must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Approval must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Approval", id.toBytes().toHexString(), this); } @@ -1112,7 +1112,7 @@ export class Approval extends Entity { static loadInBlock(id: Bytes): Approval | null { return changetype( - store.get_in_block("Approval", id.toHexString()) + store.get_in_block("Approval", id.toHexString()), ); } @@ -1224,7 +1224,7 @@ export class AuthorizedOperator extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type AuthorizedOperator must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type AuthorizedOperator must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("AuthorizedOperator", id.toBytes().toHexString(), this); } @@ -1232,13 +1232,13 @@ export class AuthorizedOperator extends Entity { static loadInBlock(id: Bytes): AuthorizedOperator | null { return changetype( - store.get_in_block("AuthorizedOperator", id.toHexString()) + store.get_in_block("AuthorizedOperator", id.toHexString()), ); } static load(id: Bytes): AuthorizedOperator | null { return changetype( - store.get("AuthorizedOperator", id.toHexString()) + store.get("AuthorizedOperator", id.toHexString()), ); } @@ -1331,12 +1331,12 @@ export class ContractBeaconUpgraded extends Entity { let id = this.get("id"); assert( id != null, - "Cannot save ContractBeaconUpgraded entity without an ID" + "Cannot save ContractBeaconUpgraded entity without an ID", ); if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type ContractBeaconUpgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type ContractBeaconUpgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("ContractBeaconUpgraded", id.toBytes().toHexString(), this); } @@ -1344,13 +1344,13 @@ export class ContractBeaconUpgraded extends Entity { static loadInBlock(id: Bytes): ContractBeaconUpgraded | null { return changetype( - store.get_in_block("ContractBeaconUpgraded", id.toHexString()) + store.get_in_block("ContractBeaconUpgraded", id.toHexString()), ); } static load(id: Bytes): ContractBeaconUpgraded | null { return changetype( - store.get("ContractBeaconUpgraded", id.toHexString()) + store.get("ContractBeaconUpgraded", id.toHexString()), ); } @@ -1430,30 +1430,30 @@ export class BorrowerDebtManagementReported extends Entity { let id = this.get("id"); assert( id != null, - "Cannot save BorrowerDebtManagementReported entity without an ID" + "Cannot save BorrowerDebtManagementReported entity without an ID", ); if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type BorrowerDebtManagementReported must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type BorrowerDebtManagementReported must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set( "BorrowerDebtManagementReported", id.toBytes().toHexString(), - this + this, ); } } static loadInBlock(id: Bytes): BorrowerDebtManagementReported | null { return changetype( - store.get_in_block("BorrowerDebtManagementReported", id.toHexString()) + store.get_in_block("BorrowerDebtManagementReported", id.toHexString()), ); } static load(id: Bytes): BorrowerDebtManagementReported | null { return changetype( - store.get("BorrowerDebtManagementReported", id.toHexString()) + store.get("BorrowerDebtManagementReported", id.toHexString()), ); } @@ -1600,7 +1600,7 @@ export class Burned extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Burned must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Burned must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Burned", id.toBytes().toHexString(), this); } @@ -1608,7 +1608,7 @@ export class Burned extends Entity { static loadInBlock(id: Bytes): Burned | null { return changetype( - store.get_in_block("Burned", id.toHexString()) + store.get_in_block("Burned", id.toHexString()), ); } @@ -1746,7 +1746,7 @@ export class Deposit extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Deposit must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Deposit must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Deposit", id.toBytes().toHexString(), this); } @@ -1754,7 +1754,7 @@ export class Deposit extends Entity { static loadInBlock(id: Bytes): Deposit | null { return changetype( - store.get_in_block("Deposit", id.toHexString()) + store.get_in_block("Deposit", id.toHexString()), ); } @@ -1879,7 +1879,7 @@ export class Initialized extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Initialized must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Initialized must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Initialized", id.toBytes().toHexString(), this); } @@ -1887,13 +1887,13 @@ export class Initialized extends Entity { static loadInBlock(id: Bytes): Initialized | null { return changetype( - store.get_in_block("Initialized", id.toHexString()) + store.get_in_block("Initialized", id.toHexString()), ); } static load(id: Bytes): Initialized | null { return changetype( - store.get("Initialized", id.toHexString()) + store.get("Initialized", id.toHexString()), ); } @@ -1973,30 +1973,30 @@ export class LockedProfitReleaseRateChanged extends Entity { let id = this.get("id"); assert( id != null, - "Cannot save LockedProfitReleaseRateChanged entity without an ID" + "Cannot save LockedProfitReleaseRateChanged entity without an ID", ); if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type LockedProfitReleaseRateChanged must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type LockedProfitReleaseRateChanged must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set( "LockedProfitReleaseRateChanged", id.toBytes().toHexString(), - this + this, ); } } static loadInBlock(id: Bytes): LockedProfitReleaseRateChanged | null { return changetype( - store.get_in_block("LockedProfitReleaseRateChanged", id.toHexString()) + store.get_in_block("LockedProfitReleaseRateChanged", id.toHexString()), ); } static load(id: Bytes): LockedProfitReleaseRateChanged | null { return changetype( - store.get("LockedProfitReleaseRateChanged", id.toHexString()) + store.get("LockedProfitReleaseRateChanged", id.toHexString()), ); } @@ -2078,7 +2078,7 @@ export class Minted extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Minted must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Minted must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Minted", id.toBytes().toHexString(), this); } @@ -2086,7 +2086,7 @@ export class Minted extends Entity { static loadInBlock(id: Bytes): Minted | null { return changetype( - store.get_in_block("Minted", id.toHexString()) + store.get_in_block("Minted", id.toHexString()), ); } @@ -2224,7 +2224,7 @@ export class OwnershipTransferred extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type OwnershipTransferred must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type OwnershipTransferred must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("OwnershipTransferred", id.toBytes().toHexString(), this); } @@ -2232,13 +2232,13 @@ export class OwnershipTransferred extends Entity { static loadInBlock(id: Bytes): OwnershipTransferred | null { return changetype( - store.get_in_block("OwnershipTransferred", id.toHexString()) + store.get_in_block("OwnershipTransferred", id.toHexString()), ); } static load(id: Bytes): OwnershipTransferred | null { return changetype( - store.get("OwnershipTransferred", id.toHexString()) + store.get("OwnershipTransferred", id.toHexString()), ); } @@ -2333,7 +2333,7 @@ export class Paused extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Paused must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Paused must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Paused", id.toBytes().toHexString(), this); } @@ -2341,7 +2341,7 @@ export class Paused extends Entity { static loadInBlock(id: Bytes): Paused | null { return changetype( - store.get_in_block("Paused", id.toHexString()) + store.get_in_block("Paused", id.toHexString()), ); } @@ -2427,7 +2427,7 @@ export class RevokedOperator extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type RevokedOperator must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type RevokedOperator must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("RevokedOperator", id.toBytes().toHexString(), this); } @@ -2435,13 +2435,13 @@ export class RevokedOperator extends Entity { static loadInBlock(id: Bytes): RevokedOperator | null { return changetype( - store.get_in_block("RevokedOperator", id.toHexString()) + store.get_in_block("RevokedOperator", id.toHexString()), ); } static load(id: Bytes): RevokedOperator | null { return changetype( - store.get("RevokedOperator", id.toHexString()) + store.get("RevokedOperator", id.toHexString()), ); } @@ -2536,7 +2536,7 @@ export class Sent extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Sent must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Sent must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Sent", id.toBytes().toHexString(), this); } @@ -2544,7 +2544,7 @@ export class Sent extends Entity { static loadInBlock(id: Bytes): Sent | null { return changetype( - store.get_in_block("Sent", id.toHexString()) + store.get_in_block("Sent", id.toHexString()), ); } @@ -2695,7 +2695,7 @@ export class StrategyAdded extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type StrategyAdded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type StrategyAdded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("StrategyAdded", id.toBytes().toHexString(), this); } @@ -2703,13 +2703,13 @@ export class StrategyAdded extends Entity { static loadInBlock(id: Bytes): StrategyAdded | null { return changetype( - store.get_in_block("StrategyAdded", id.toHexString()) + store.get_in_block("StrategyAdded", id.toHexString()), ); } static load(id: Bytes): StrategyAdded | null { return changetype( - store.get("StrategyAdded", id.toHexString()) + store.get("StrategyAdded", id.toHexString()), ); } @@ -2804,7 +2804,7 @@ export class StrategyRemoved extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type StrategyRemoved must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type StrategyRemoved must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("StrategyRemoved", id.toBytes().toHexString(), this); } @@ -2812,13 +2812,13 @@ export class StrategyRemoved extends Entity { static loadInBlock(id: Bytes): StrategyRemoved | null { return changetype( - store.get_in_block("StrategyRemoved", id.toHexString()) + store.get_in_block("StrategyRemoved", id.toHexString()), ); } static load(id: Bytes): StrategyRemoved | null { return changetype( - store.get("StrategyRemoved", id.toHexString()) + store.get("StrategyRemoved", id.toHexString()), ); } @@ -2911,12 +2911,12 @@ export class StrategyReturnedToQueue extends Entity { let id = this.get("id"); assert( id != null, - "Cannot save StrategyReturnedToQueue entity without an ID" + "Cannot save StrategyReturnedToQueue entity without an ID", ); if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type StrategyReturnedToQueue must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type StrategyReturnedToQueue must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("StrategyReturnedToQueue", id.toBytes().toHexString(), this); } @@ -2924,13 +2924,13 @@ export class StrategyReturnedToQueue extends Entity { static loadInBlock(id: Bytes): StrategyReturnedToQueue | null { return changetype( - store.get_in_block("StrategyReturnedToQueue", id.toHexString()) + store.get_in_block("StrategyReturnedToQueue", id.toHexString()), ); } static load(id: Bytes): StrategyReturnedToQueue | null { return changetype( - store.get("StrategyReturnedToQueue", id.toHexString()) + store.get("StrategyReturnedToQueue", id.toHexString()), ); } @@ -3012,7 +3012,7 @@ export class StrategyRevoked extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type StrategyRevoked must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type StrategyRevoked must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("StrategyRevoked", id.toBytes().toHexString(), this); } @@ -3020,13 +3020,13 @@ export class StrategyRevoked extends Entity { static loadInBlock(id: Bytes): StrategyRevoked | null { return changetype( - store.get_in_block("StrategyRevoked", id.toHexString()) + store.get_in_block("StrategyRevoked", id.toHexString()), ); } static load(id: Bytes): StrategyRevoked | null { return changetype( - store.get("StrategyRevoked", id.toHexString()) + store.get("StrategyRevoked", id.toHexString()), ); } @@ -3108,7 +3108,7 @@ export class Transfer extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Transfer must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Transfer must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Transfer", id.toBytes().toHexString(), this); } @@ -3116,7 +3116,7 @@ export class Transfer extends Entity { static loadInBlock(id: Bytes): Transfer | null { return changetype( - store.get_in_block("Transfer", id.toHexString()) + store.get_in_block("Transfer", id.toHexString()), ); } @@ -3228,7 +3228,7 @@ export class Unpaused extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Unpaused must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Unpaused must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Unpaused", id.toBytes().toHexString(), this); } @@ -3236,7 +3236,7 @@ export class Unpaused extends Entity { static loadInBlock(id: Bytes): Unpaused | null { return changetype( - store.get_in_block("Unpaused", id.toHexString()) + store.get_in_block("Unpaused", id.toHexString()), ); } @@ -3322,7 +3322,7 @@ export class ContractUpgraded extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type ContractUpgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type ContractUpgraded must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("ContractUpgraded", id.toBytes().toHexString(), this); } @@ -3330,13 +3330,13 @@ export class ContractUpgraded extends Entity { static loadInBlock(id: Bytes): ContractUpgraded | null { return changetype( - store.get_in_block("ContractUpgraded", id.toHexString()) + store.get_in_block("ContractUpgraded", id.toHexString()), ); } static load(id: Bytes): ContractUpgraded | null { return changetype( - store.get("ContractUpgraded", id.toHexString()) + store.get("ContractUpgraded", id.toHexString()), ); } @@ -3418,7 +3418,7 @@ export class Withdraw extends Entity { if (id) { assert( id.kind == ValueKind.BYTES, - `Entities of type Withdraw must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}` + `Entities of type Withdraw must have an ID of type Bytes but the id '${id.displayData()}' is of type ${id.displayKind()}`, ); store.set("Withdraw", id.toBytes().toHexString(), this); } @@ -3426,7 +3426,7 @@ export class Withdraw extends Entity { static loadInBlock(id: Bytes): Withdraw | null { return changetype( - store.get_in_block("Withdraw", id.toHexString()) + store.get_in_block("Withdraw", id.toHexString()), ); } diff --git a/packages/subgraph/package.json b/packages/subgraph/package.json index a7adeb3e7..fc9403be7 100644 --- a/packages/subgraph/package.json +++ b/packages/subgraph/package.json @@ -1,6 +1,6 @@ { "name": "@eonian/subgraph", - "version": "0.23.3", + "version": "0.24.0", "scripts": { "dev": "graph codegen ./deploy/environments//eonian-bsc-development.yaml --watch", "build": "graph build ./deploy/environments/eonian-bsc-development.yaml", From 56452b3b6acad1ee1b2e7e0e8625917c3c9b0b47 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:08:17 +0000 Subject: [PATCH 5/6] Bump micromatch from 4.0.5 to 4.0.8 Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0caa4fa78..c931178b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5043,7 +5043,7 @@ brace-expansion@^2.0.1: dependencies: balanced-match "^1.0.0" -braces@^3.0.2, braces@~3.0.2: +braces@^3.0.3, braces@~3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== @@ -10902,11 +10902,11 @@ micromark@~2.11.0: parse-entities "^2.0.0" micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + version "4.0.8" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== dependencies: - braces "^3.0.2" + braces "^3.0.3" picomatch "^2.3.1" mime-db@1.52.0: @@ -13846,7 +13846,16 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -13956,7 +13965,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -13977,6 +13986,13 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -15195,7 +15211,7 @@ workerpool@6.2.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -15213,6 +15229,15 @@ wrap-ansi@^6.0.1: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" From c24ee8502960955b3bb40b3e6857a43727a8cded Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 06:24:42 +0000 Subject: [PATCH 6/6] Bump rollup from 2.79.1 to 2.79.2 Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2) --- updated-dependencies: - dependency-name: rollup dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0caa4fa78..ff7243d3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13145,9 +13145,9 @@ rollup-pluginutils@^2.8.2: estree-walker "^0.6.1" rollup@^2.35.1: - version "2.79.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7" - integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== + version "2.79.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.2.tgz#f150e4a5db4b121a21a747d762f701e5e9f49090" + integrity sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ== optionalDependencies: fsevents "~2.3.2" @@ -13846,7 +13846,16 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -13956,7 +13965,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -13977,6 +13986,13 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -15195,7 +15211,7 @@ workerpool@6.2.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -15213,6 +15229,15 @@ wrap-ansi@^6.0.1: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"