@bgd-labs/toolbox 0.0.49 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -717,6 +717,7 @@ declare const ChainId: {
717
717
  readonly soneium: 1868;
718
718
  readonly bob: 60808;
719
719
  readonly plasma: 9745;
720
+ readonly xLayer: 196;
720
721
  };
721
722
  declare const ChainList: Record<valueOf<typeof ChainId>, Chain>;
722
723
 
@@ -742,8 +743,8 @@ declare const publicRPCs: {
742
743
  readonly 9745: "https://rpc.plasma.to";
743
744
  readonly 57073: "https://ink-public.nodies.app";
744
745
  };
745
- declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 9745 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002)[];
746
- declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA";
746
+ declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 9745 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002 | 196)[];
747
+ declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA" | "RPC_XLAYER";
747
748
  declare function getExplicitRPC(chainId: SupportedChainIds): string;
748
749
  declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
749
750
  declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.plasma.to" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools" | "https://ink-public.nodies.app";
@@ -21502,6 +21503,272 @@ declare const IAaveOracle_ABI: readonly [{
21502
21503
  readonly anonymous: false;
21503
21504
  }];
21504
21505
 
21506
+ declare const IncentivizedERC20_ABI: readonly [{
21507
+ readonly type: "function";
21508
+ readonly name: "POOL";
21509
+ readonly inputs: readonly [];
21510
+ readonly outputs: readonly [{
21511
+ readonly name: "";
21512
+ readonly type: "address";
21513
+ readonly internalType: "contract IPool";
21514
+ }];
21515
+ readonly stateMutability: "view";
21516
+ }, {
21517
+ readonly type: "function";
21518
+ readonly name: "REWARDS_CONTROLLER";
21519
+ readonly inputs: readonly [];
21520
+ readonly outputs: readonly [{
21521
+ readonly name: "";
21522
+ readonly type: "address";
21523
+ readonly internalType: "contract IAaveIncentivesController";
21524
+ }];
21525
+ readonly stateMutability: "view";
21526
+ }, {
21527
+ readonly type: "function";
21528
+ readonly name: "allowance";
21529
+ readonly inputs: readonly [{
21530
+ readonly name: "owner";
21531
+ readonly type: "address";
21532
+ readonly internalType: "address";
21533
+ }, {
21534
+ readonly name: "spender";
21535
+ readonly type: "address";
21536
+ readonly internalType: "address";
21537
+ }];
21538
+ readonly outputs: readonly [{
21539
+ readonly name: "";
21540
+ readonly type: "uint256";
21541
+ readonly internalType: "uint256";
21542
+ }];
21543
+ readonly stateMutability: "view";
21544
+ }, {
21545
+ readonly type: "function";
21546
+ readonly name: "approve";
21547
+ readonly inputs: readonly [{
21548
+ readonly name: "spender";
21549
+ readonly type: "address";
21550
+ readonly internalType: "address";
21551
+ }, {
21552
+ readonly name: "amount";
21553
+ readonly type: "uint256";
21554
+ readonly internalType: "uint256";
21555
+ }];
21556
+ readonly outputs: readonly [{
21557
+ readonly name: "";
21558
+ readonly type: "bool";
21559
+ readonly internalType: "bool";
21560
+ }];
21561
+ readonly stateMutability: "nonpayable";
21562
+ }, {
21563
+ readonly type: "function";
21564
+ readonly name: "balanceOf";
21565
+ readonly inputs: readonly [{
21566
+ readonly name: "account";
21567
+ readonly type: "address";
21568
+ readonly internalType: "address";
21569
+ }];
21570
+ readonly outputs: readonly [{
21571
+ readonly name: "";
21572
+ readonly type: "uint256";
21573
+ readonly internalType: "uint256";
21574
+ }];
21575
+ readonly stateMutability: "view";
21576
+ }, {
21577
+ readonly type: "function";
21578
+ readonly name: "decimals";
21579
+ readonly inputs: readonly [];
21580
+ readonly outputs: readonly [{
21581
+ readonly name: "";
21582
+ readonly type: "uint8";
21583
+ readonly internalType: "uint8";
21584
+ }];
21585
+ readonly stateMutability: "view";
21586
+ }, {
21587
+ readonly type: "function";
21588
+ readonly name: "decreaseAllowance";
21589
+ readonly inputs: readonly [{
21590
+ readonly name: "spender";
21591
+ readonly type: "address";
21592
+ readonly internalType: "address";
21593
+ }, {
21594
+ readonly name: "subtractedValue";
21595
+ readonly type: "uint256";
21596
+ readonly internalType: "uint256";
21597
+ }];
21598
+ readonly outputs: readonly [{
21599
+ readonly name: "";
21600
+ readonly type: "bool";
21601
+ readonly internalType: "bool";
21602
+ }];
21603
+ readonly stateMutability: "nonpayable";
21604
+ }, {
21605
+ readonly type: "function";
21606
+ readonly name: "getIncentivesController";
21607
+ readonly inputs: readonly [];
21608
+ readonly outputs: readonly [{
21609
+ readonly name: "";
21610
+ readonly type: "address";
21611
+ readonly internalType: "contract IAaveIncentivesController";
21612
+ }];
21613
+ readonly stateMutability: "view";
21614
+ }, {
21615
+ readonly type: "function";
21616
+ readonly name: "increaseAllowance";
21617
+ readonly inputs: readonly [{
21618
+ readonly name: "spender";
21619
+ readonly type: "address";
21620
+ readonly internalType: "address";
21621
+ }, {
21622
+ readonly name: "addedValue";
21623
+ readonly type: "uint256";
21624
+ readonly internalType: "uint256";
21625
+ }];
21626
+ readonly outputs: readonly [{
21627
+ readonly name: "";
21628
+ readonly type: "bool";
21629
+ readonly internalType: "bool";
21630
+ }];
21631
+ readonly stateMutability: "nonpayable";
21632
+ }, {
21633
+ readonly type: "function";
21634
+ readonly name: "name";
21635
+ readonly inputs: readonly [];
21636
+ readonly outputs: readonly [{
21637
+ readonly name: "";
21638
+ readonly type: "string";
21639
+ readonly internalType: "string";
21640
+ }];
21641
+ readonly stateMutability: "view";
21642
+ }, {
21643
+ readonly type: "function";
21644
+ readonly name: "symbol";
21645
+ readonly inputs: readonly [];
21646
+ readonly outputs: readonly [{
21647
+ readonly name: "";
21648
+ readonly type: "string";
21649
+ readonly internalType: "string";
21650
+ }];
21651
+ readonly stateMutability: "view";
21652
+ }, {
21653
+ readonly type: "function";
21654
+ readonly name: "totalSupply";
21655
+ readonly inputs: readonly [];
21656
+ readonly outputs: readonly [{
21657
+ readonly name: "";
21658
+ readonly type: "uint256";
21659
+ readonly internalType: "uint256";
21660
+ }];
21661
+ readonly stateMutability: "view";
21662
+ }, {
21663
+ readonly type: "function";
21664
+ readonly name: "transfer";
21665
+ readonly inputs: readonly [{
21666
+ readonly name: "recipient";
21667
+ readonly type: "address";
21668
+ readonly internalType: "address";
21669
+ }, {
21670
+ readonly name: "amount";
21671
+ readonly type: "uint256";
21672
+ readonly internalType: "uint256";
21673
+ }];
21674
+ readonly outputs: readonly [{
21675
+ readonly name: "";
21676
+ readonly type: "bool";
21677
+ readonly internalType: "bool";
21678
+ }];
21679
+ readonly stateMutability: "nonpayable";
21680
+ }, {
21681
+ readonly type: "function";
21682
+ readonly name: "transferFrom";
21683
+ readonly inputs: readonly [{
21684
+ readonly name: "sender";
21685
+ readonly type: "address";
21686
+ readonly internalType: "address";
21687
+ }, {
21688
+ readonly name: "recipient";
21689
+ readonly type: "address";
21690
+ readonly internalType: "address";
21691
+ }, {
21692
+ readonly name: "amount";
21693
+ readonly type: "uint256";
21694
+ readonly internalType: "uint256";
21695
+ }];
21696
+ readonly outputs: readonly [{
21697
+ readonly name: "";
21698
+ readonly type: "bool";
21699
+ readonly internalType: "bool";
21700
+ }];
21701
+ readonly stateMutability: "nonpayable";
21702
+ }, {
21703
+ readonly type: "event";
21704
+ readonly name: "Approval";
21705
+ readonly inputs: readonly [{
21706
+ readonly name: "owner";
21707
+ readonly type: "address";
21708
+ readonly indexed: true;
21709
+ readonly internalType: "address";
21710
+ }, {
21711
+ readonly name: "spender";
21712
+ readonly type: "address";
21713
+ readonly indexed: true;
21714
+ readonly internalType: "address";
21715
+ }, {
21716
+ readonly name: "value";
21717
+ readonly type: "uint256";
21718
+ readonly indexed: false;
21719
+ readonly internalType: "uint256";
21720
+ }];
21721
+ readonly anonymous: false;
21722
+ }, {
21723
+ readonly type: "event";
21724
+ readonly name: "Transfer";
21725
+ readonly inputs: readonly [{
21726
+ readonly name: "from";
21727
+ readonly type: "address";
21728
+ readonly indexed: true;
21729
+ readonly internalType: "address";
21730
+ }, {
21731
+ readonly name: "to";
21732
+ readonly type: "address";
21733
+ readonly indexed: true;
21734
+ readonly internalType: "address";
21735
+ }, {
21736
+ readonly name: "value";
21737
+ readonly type: "uint256";
21738
+ readonly indexed: false;
21739
+ readonly internalType: "uint256";
21740
+ }];
21741
+ readonly anonymous: false;
21742
+ }, {
21743
+ readonly type: "error";
21744
+ readonly name: "ERC20InsufficientAllowance";
21745
+ readonly inputs: readonly [{
21746
+ readonly name: "spender";
21747
+ readonly type: "address";
21748
+ readonly internalType: "address";
21749
+ }, {
21750
+ readonly name: "allowance";
21751
+ readonly type: "uint256";
21752
+ readonly internalType: "uint256";
21753
+ }, {
21754
+ readonly name: "needed";
21755
+ readonly type: "uint256";
21756
+ readonly internalType: "uint256";
21757
+ }];
21758
+ }, {
21759
+ readonly type: "error";
21760
+ readonly name: "SafeCastOverflowedUintDowncast";
21761
+ readonly inputs: readonly [{
21762
+ readonly name: "bits";
21763
+ readonly type: "uint8";
21764
+ readonly internalType: "uint8";
21765
+ }, {
21766
+ readonly name: "value";
21767
+ readonly type: "uint256";
21768
+ readonly internalType: "uint256";
21769
+ }];
21770
+ }];
21771
+
21505
21772
  declare const ICollector_ABI: readonly [{
21506
21773
  readonly type: "function";
21507
21774
  readonly name: "ETH_MOCK_ADDRESS";
@@ -27939,4 +28206,4 @@ declare const Ownable_ABI: readonly [{
27939
28206
  }];
27940
28207
  }];
27941
28208
 
27942
- export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, PausableUpgradeable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, Umbrella_IRewardsController_ABI, Umbrella_IRewardsDistributor_ABI, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };
28209
+ export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, IncentivizedERC20_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, PausableUpgradeable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, Umbrella_IRewardsController_ABI, Umbrella_IRewardsDistributor_ABI, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };
package/dist/index.d.ts CHANGED
@@ -717,6 +717,7 @@ declare const ChainId: {
717
717
  readonly soneium: 1868;
718
718
  readonly bob: 60808;
719
719
  readonly plasma: 9745;
720
+ readonly xLayer: 196;
720
721
  };
721
722
  declare const ChainList: Record<valueOf<typeof ChainId>, Chain>;
722
723
 
@@ -742,8 +743,8 @@ declare const publicRPCs: {
742
743
  readonly 9745: "https://rpc.plasma.to";
743
744
  readonly 57073: "https://ink-public.nodies.app";
744
745
  };
745
- declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 9745 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002)[];
746
- declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA";
746
+ declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 9745 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002 | 196)[];
747
+ declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA" | "RPC_XLAYER";
747
748
  declare function getExplicitRPC(chainId: SupportedChainIds): string;
748
749
  declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
749
750
  declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.plasma.to" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools" | "https://ink-public.nodies.app";
@@ -21502,6 +21503,272 @@ declare const IAaveOracle_ABI: readonly [{
21502
21503
  readonly anonymous: false;
21503
21504
  }];
21504
21505
 
21506
+ declare const IncentivizedERC20_ABI: readonly [{
21507
+ readonly type: "function";
21508
+ readonly name: "POOL";
21509
+ readonly inputs: readonly [];
21510
+ readonly outputs: readonly [{
21511
+ readonly name: "";
21512
+ readonly type: "address";
21513
+ readonly internalType: "contract IPool";
21514
+ }];
21515
+ readonly stateMutability: "view";
21516
+ }, {
21517
+ readonly type: "function";
21518
+ readonly name: "REWARDS_CONTROLLER";
21519
+ readonly inputs: readonly [];
21520
+ readonly outputs: readonly [{
21521
+ readonly name: "";
21522
+ readonly type: "address";
21523
+ readonly internalType: "contract IAaveIncentivesController";
21524
+ }];
21525
+ readonly stateMutability: "view";
21526
+ }, {
21527
+ readonly type: "function";
21528
+ readonly name: "allowance";
21529
+ readonly inputs: readonly [{
21530
+ readonly name: "owner";
21531
+ readonly type: "address";
21532
+ readonly internalType: "address";
21533
+ }, {
21534
+ readonly name: "spender";
21535
+ readonly type: "address";
21536
+ readonly internalType: "address";
21537
+ }];
21538
+ readonly outputs: readonly [{
21539
+ readonly name: "";
21540
+ readonly type: "uint256";
21541
+ readonly internalType: "uint256";
21542
+ }];
21543
+ readonly stateMutability: "view";
21544
+ }, {
21545
+ readonly type: "function";
21546
+ readonly name: "approve";
21547
+ readonly inputs: readonly [{
21548
+ readonly name: "spender";
21549
+ readonly type: "address";
21550
+ readonly internalType: "address";
21551
+ }, {
21552
+ readonly name: "amount";
21553
+ readonly type: "uint256";
21554
+ readonly internalType: "uint256";
21555
+ }];
21556
+ readonly outputs: readonly [{
21557
+ readonly name: "";
21558
+ readonly type: "bool";
21559
+ readonly internalType: "bool";
21560
+ }];
21561
+ readonly stateMutability: "nonpayable";
21562
+ }, {
21563
+ readonly type: "function";
21564
+ readonly name: "balanceOf";
21565
+ readonly inputs: readonly [{
21566
+ readonly name: "account";
21567
+ readonly type: "address";
21568
+ readonly internalType: "address";
21569
+ }];
21570
+ readonly outputs: readonly [{
21571
+ readonly name: "";
21572
+ readonly type: "uint256";
21573
+ readonly internalType: "uint256";
21574
+ }];
21575
+ readonly stateMutability: "view";
21576
+ }, {
21577
+ readonly type: "function";
21578
+ readonly name: "decimals";
21579
+ readonly inputs: readonly [];
21580
+ readonly outputs: readonly [{
21581
+ readonly name: "";
21582
+ readonly type: "uint8";
21583
+ readonly internalType: "uint8";
21584
+ }];
21585
+ readonly stateMutability: "view";
21586
+ }, {
21587
+ readonly type: "function";
21588
+ readonly name: "decreaseAllowance";
21589
+ readonly inputs: readonly [{
21590
+ readonly name: "spender";
21591
+ readonly type: "address";
21592
+ readonly internalType: "address";
21593
+ }, {
21594
+ readonly name: "subtractedValue";
21595
+ readonly type: "uint256";
21596
+ readonly internalType: "uint256";
21597
+ }];
21598
+ readonly outputs: readonly [{
21599
+ readonly name: "";
21600
+ readonly type: "bool";
21601
+ readonly internalType: "bool";
21602
+ }];
21603
+ readonly stateMutability: "nonpayable";
21604
+ }, {
21605
+ readonly type: "function";
21606
+ readonly name: "getIncentivesController";
21607
+ readonly inputs: readonly [];
21608
+ readonly outputs: readonly [{
21609
+ readonly name: "";
21610
+ readonly type: "address";
21611
+ readonly internalType: "contract IAaveIncentivesController";
21612
+ }];
21613
+ readonly stateMutability: "view";
21614
+ }, {
21615
+ readonly type: "function";
21616
+ readonly name: "increaseAllowance";
21617
+ readonly inputs: readonly [{
21618
+ readonly name: "spender";
21619
+ readonly type: "address";
21620
+ readonly internalType: "address";
21621
+ }, {
21622
+ readonly name: "addedValue";
21623
+ readonly type: "uint256";
21624
+ readonly internalType: "uint256";
21625
+ }];
21626
+ readonly outputs: readonly [{
21627
+ readonly name: "";
21628
+ readonly type: "bool";
21629
+ readonly internalType: "bool";
21630
+ }];
21631
+ readonly stateMutability: "nonpayable";
21632
+ }, {
21633
+ readonly type: "function";
21634
+ readonly name: "name";
21635
+ readonly inputs: readonly [];
21636
+ readonly outputs: readonly [{
21637
+ readonly name: "";
21638
+ readonly type: "string";
21639
+ readonly internalType: "string";
21640
+ }];
21641
+ readonly stateMutability: "view";
21642
+ }, {
21643
+ readonly type: "function";
21644
+ readonly name: "symbol";
21645
+ readonly inputs: readonly [];
21646
+ readonly outputs: readonly [{
21647
+ readonly name: "";
21648
+ readonly type: "string";
21649
+ readonly internalType: "string";
21650
+ }];
21651
+ readonly stateMutability: "view";
21652
+ }, {
21653
+ readonly type: "function";
21654
+ readonly name: "totalSupply";
21655
+ readonly inputs: readonly [];
21656
+ readonly outputs: readonly [{
21657
+ readonly name: "";
21658
+ readonly type: "uint256";
21659
+ readonly internalType: "uint256";
21660
+ }];
21661
+ readonly stateMutability: "view";
21662
+ }, {
21663
+ readonly type: "function";
21664
+ readonly name: "transfer";
21665
+ readonly inputs: readonly [{
21666
+ readonly name: "recipient";
21667
+ readonly type: "address";
21668
+ readonly internalType: "address";
21669
+ }, {
21670
+ readonly name: "amount";
21671
+ readonly type: "uint256";
21672
+ readonly internalType: "uint256";
21673
+ }];
21674
+ readonly outputs: readonly [{
21675
+ readonly name: "";
21676
+ readonly type: "bool";
21677
+ readonly internalType: "bool";
21678
+ }];
21679
+ readonly stateMutability: "nonpayable";
21680
+ }, {
21681
+ readonly type: "function";
21682
+ readonly name: "transferFrom";
21683
+ readonly inputs: readonly [{
21684
+ readonly name: "sender";
21685
+ readonly type: "address";
21686
+ readonly internalType: "address";
21687
+ }, {
21688
+ readonly name: "recipient";
21689
+ readonly type: "address";
21690
+ readonly internalType: "address";
21691
+ }, {
21692
+ readonly name: "amount";
21693
+ readonly type: "uint256";
21694
+ readonly internalType: "uint256";
21695
+ }];
21696
+ readonly outputs: readonly [{
21697
+ readonly name: "";
21698
+ readonly type: "bool";
21699
+ readonly internalType: "bool";
21700
+ }];
21701
+ readonly stateMutability: "nonpayable";
21702
+ }, {
21703
+ readonly type: "event";
21704
+ readonly name: "Approval";
21705
+ readonly inputs: readonly [{
21706
+ readonly name: "owner";
21707
+ readonly type: "address";
21708
+ readonly indexed: true;
21709
+ readonly internalType: "address";
21710
+ }, {
21711
+ readonly name: "spender";
21712
+ readonly type: "address";
21713
+ readonly indexed: true;
21714
+ readonly internalType: "address";
21715
+ }, {
21716
+ readonly name: "value";
21717
+ readonly type: "uint256";
21718
+ readonly indexed: false;
21719
+ readonly internalType: "uint256";
21720
+ }];
21721
+ readonly anonymous: false;
21722
+ }, {
21723
+ readonly type: "event";
21724
+ readonly name: "Transfer";
21725
+ readonly inputs: readonly [{
21726
+ readonly name: "from";
21727
+ readonly type: "address";
21728
+ readonly indexed: true;
21729
+ readonly internalType: "address";
21730
+ }, {
21731
+ readonly name: "to";
21732
+ readonly type: "address";
21733
+ readonly indexed: true;
21734
+ readonly internalType: "address";
21735
+ }, {
21736
+ readonly name: "value";
21737
+ readonly type: "uint256";
21738
+ readonly indexed: false;
21739
+ readonly internalType: "uint256";
21740
+ }];
21741
+ readonly anonymous: false;
21742
+ }, {
21743
+ readonly type: "error";
21744
+ readonly name: "ERC20InsufficientAllowance";
21745
+ readonly inputs: readonly [{
21746
+ readonly name: "spender";
21747
+ readonly type: "address";
21748
+ readonly internalType: "address";
21749
+ }, {
21750
+ readonly name: "allowance";
21751
+ readonly type: "uint256";
21752
+ readonly internalType: "uint256";
21753
+ }, {
21754
+ readonly name: "needed";
21755
+ readonly type: "uint256";
21756
+ readonly internalType: "uint256";
21757
+ }];
21758
+ }, {
21759
+ readonly type: "error";
21760
+ readonly name: "SafeCastOverflowedUintDowncast";
21761
+ readonly inputs: readonly [{
21762
+ readonly name: "bits";
21763
+ readonly type: "uint8";
21764
+ readonly internalType: "uint8";
21765
+ }, {
21766
+ readonly name: "value";
21767
+ readonly type: "uint256";
21768
+ readonly internalType: "uint256";
21769
+ }];
21770
+ }];
21771
+
21505
21772
  declare const ICollector_ABI: readonly [{
21506
21773
  readonly type: "function";
21507
21774
  readonly name: "ETH_MOCK_ADDRESS";
@@ -27939,4 +28206,4 @@ declare const Ownable_ABI: readonly [{
27939
28206
  }];
27940
28207
  }];
27941
28208
 
27942
- export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, PausableUpgradeable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, Umbrella_IRewardsController_ABI, Umbrella_IRewardsDistributor_ABI, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };
28209
+ export { AggregatorInterface_ABI, Aip, type AssetInfo, type BlockscoutStyleSourceCode, type BundleParams, ChainId, ChainList, type ContractObject, EVENT_DB, type EtherscanStyleSourceCode, type ExplorerConfig, type GenericIndexerArgs, type GovernanceContract, HALF_RAY, HALF_WAD, HUMAN_READABLE_PAYLOAD_STATE, HUMAN_READABLE_PROPOSAL_STATE, IAToken_ABI, IAaveOracle_ABI, IAaveV3ConfigEngine_ABI, IAccessControl_ABI, IAuthorizedForwarder_ABI, ICollector_ABI, IDualAggregator_ABI, IERC1967_ABI, IERC20Metadata_ABI, IERC20_ABI, IEmissionManager_ABI, IPoolAddressesProvider_ABI, IPoolConfigurator_ABI, IPool_ABI, IReserveInterestRateStrategy_ABI, IRewardsController_ABI, IStataTokenFactory_ABI, IStataTokenV2_ABI, IUmbrellaStakeToken_ABI, IUmbrella_ABI, IWithGuardian_ABI, IWrappedTokenGatewayV3_ABI, IncentivizedERC20_ABI, type IndexerTopicState, type Input, LTV_PRECISION, Ownable_ABI, PausableUpgradeable_ABI, type Payload, PayloadState, type PayloadsControllerContract, type Proposal, ProposalState, ProxyAdmin_ABI, RAY, type ReserveConfiguration, SECONDS_PER_YEAR, SelfdestructCheckState, type SoltypeElement, SoltypeType, type StandardJsonInput, type StateDiff, type StateObject, type SupportedChainIds, type TenderlyLog, type TenderlyLogRaw, type TenderlySimRequest, type TenderlySimulationResponse, type TenderlySimulationResponseObject, type TenderlyStackTrace, type Tenderly_createVnetParamsResponse, type Trace, type TransactionInfo, Umbrella_IRewardsController_ABI, Umbrella_IRewardsDistributor_ABI, VerificationStatus, WAD, WAD_RAY_RATIO, aaveAddressesProvider_IncentivesControllerSlot, addAssetPrice, addAssetSymbol, alchemyNetworkMap, alchemySupportedChainIds, assetIndexesToAsset, assetToBase, bitmapToIndexes, blockscoutExplorers, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateHealthFactor, calculateHealthFactorFromBalances, calculateLinearInterest, chainlinkFeeds, checkForSelfdestruct, decodeReserveConfiguration, decodeReserveConfigurationV2, decodeUserConfiguration, diffCode, enhanceLogs, enhanceStateDiff, erc1967_AdminSlot, erc1967_ImplementationSlot, etherscanExplorers, fetchImmutablePoolAddresses, fetchMutablePoolAddresses, fetchPoolAddresses, findAsset, flashbotsClientExtension, flashbotsOnFetchRequest, formatNumberString, genericIndexer, getAlchemyRPC, getBits, getClient, getContractDeploymentBlock, getCurrentDebtBalance, getCurrentLiquidityBalance, getExplicitRPC, getExplorer, getGovernance, getHyperRPC, getImplementationSlot, getLogsRecursive, getMarketReferenceCurrencyAndUsdBalance, getMdContractName, getNetworkEnv, getNonFinalizedPayloads, getNonFinalizedProposals, getNormalizedDebt, getNormalizedIncome, getObjectDiff, getPayloadStorageOverrides, getPayloadsController, getPublicRpc, getQuicknodeRpc, getRPCUrl, getReserveConfigurations, getReserveTokens, getSourceCode, getTenderlyRpc, getVerificationStatus, hyperRPCSupportedNetworks, isPayloadFinal, isProposalFinal, makePayloadExecutableOnTestClient, makeProposalExecutableOnTestClient, onMevHandler, parseBlockscoutStyleSourceCode, parseEtherscanStyleSourceCode, parseLogs, prettifyNumber, priceUpdateDecoder, publicRPCs, quicknodeNetworkMap, rayDiv, rayMul, rayToWad, renderMarkdownStateDiffReport, renderTenderlyReport, routescanExplorers, selfDestructStatusToString, setBits, tenderlyExplorerMap, tenderlyNetworkMap, tenderly_createVnet, tenderly_deleteVnet, tenderly_getVnet, tenderly_logsToAbiLogs, tenderly_pingExplorer, tenderly_sim, tenderly_simVnet, toAddressLink, toBinaryString, toTxLink, transformTenderlyStateDiff, validateAip, verificationStatusToString, wadDiv, wadToRay };