dequanto 0.1.22 → 0.1.24
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/lib/cjs/clients/EvmWeb3Client.js +23 -4
- package/lib/cjs/clients/EvmWeb3Client.js.map +1 -1
- package/lib/cjs/clients/Web3ClientFactory.js +1 -1
- package/lib/cjs/clients/Web3ClientFactory.js.map +1 -1
- package/lib/cjs/config/ConfigDefaults.js +14 -0
- package/lib/cjs/config/ConfigDefaults.js.map +1 -1
- package/lib/cjs/config/ConfigProvider.js +10 -3
- package/lib/cjs/config/ConfigProvider.js.map +1 -1
- package/lib/cjs/gen/GeneratorFromAbi.js +87 -68
- package/lib/cjs/gen/GeneratorFromAbi.js.map +1 -1
- package/lib/cjs/gen/GeneratorStorageReader.js +13 -1
- package/lib/cjs/gen/GeneratorStorageReader.js.map +1 -1
- package/lib/cjs/hardhat/HardhatProvider.js +29 -15
- package/lib/cjs/hardhat/HardhatProvider.js.map +1 -1
- package/lib/cjs/safe/GnosisSafeFactory.js.map +1 -1
- package/lib/cjs/safe/GnosisSafeService.js.map +1 -1
- package/lib/cjs/safe/SafeTx.js.map +1 -1
- package/lib/cjs/safe/transport/FileServiceTransport.js.map +1 -1
- package/lib/cjs/safe/transport/InMemoryServiceTransport.js.map +1 -1
- package/lib/cjs/tokens/TokenExchanges/AmmV2ExchangeBase.js.map +1 -1
- package/lib/cjs/tokens/TokenExchanges/OneInchExchange.js.map +1 -1
- package/lib/cjs/tokens/TokenOracles/amm/AmmV1Oracle.js.map +1 -1
- package/lib/cjs/tokens/TokenService.js.map +1 -1
- package/lib/cjs/tokens/TokensService.js.map +1 -1
- package/lib/cjs/utils/$logger.js +4 -0
- package/lib/cjs/utils/$logger.js.map +1 -1
- package/lib/cjs/utils/$path.js +4 -2
- package/lib/cjs/utils/$path.js.map +1 -1
- package/lib/cjs/wallets/Wallet.js.map +1 -1
- package/lib/esm/clients/EvmWeb3Client.js.map +1 -1
- package/lib/esm/clients/EvmWeb3Client.mjs +21 -3
- package/lib/esm/clients/Web3ClientFactory.js.map +1 -1
- package/lib/esm/clients/Web3ClientFactory.mjs +1 -1
- package/lib/esm/config/ConfigDefaults.js.map +1 -1
- package/lib/esm/config/ConfigDefaults.mjs +14 -0
- package/lib/esm/config/ConfigProvider.js.map +1 -1
- package/lib/esm/config/ConfigProvider.mjs +10 -3
- package/lib/esm/gen/GeneratorFromAbi.js.map +1 -1
- package/lib/esm/gen/GeneratorFromAbi.mjs +87 -68
- package/lib/esm/gen/GeneratorStorageReader.js.map +1 -1
- package/lib/esm/gen/GeneratorStorageReader.mjs +13 -1
- package/lib/esm/hardhat/HardhatProvider.js.map +1 -1
- package/lib/esm/hardhat/HardhatProvider.mjs +29 -15
- package/lib/esm/safe/GnosisSafeFactory.js.map +1 -1
- package/lib/esm/safe/GnosisSafeService.js.map +1 -1
- package/lib/esm/safe/SafeTx.js.map +1 -1
- package/lib/esm/safe/transport/FileServiceTransport.js.map +1 -1
- package/lib/esm/safe/transport/InMemoryServiceTransport.js.map +1 -1
- package/lib/esm/tokens/TokenExchanges/AmmV2ExchangeBase.js.map +1 -1
- package/lib/esm/tokens/TokenExchanges/OneInchExchange.js.map +1 -1
- package/lib/esm/tokens/TokenOracles/amm/AmmV1Oracle.js.map +1 -1
- package/lib/esm/tokens/TokenService.js.map +1 -1
- package/lib/esm/tokens/TokensService.js.map +1 -1
- package/lib/esm/utils/$logger.js.map +1 -1
- package/lib/esm/utils/$logger.mjs +4 -0
- package/lib/esm/utils/$path.js.map +1 -1
- package/lib/esm/utils/$path.mjs +4 -2
- package/lib/esm/wallets/Wallet.js.map +1 -1
- package/lib/types/bridges/BridgeFactory.d.ts +5 -0
- package/lib/types/bridges/hop/HopAddresses.d.ts +516 -0
- package/lib/types/bridges/models/IBridge.d.ts +19 -0
- package/lib/{cjs → types}/chains/arbitrum/TokensServiceArbitrum.d.ts +1 -1
- package/lib/{cjs → types}/clients/EvmWeb3Client.d.ts +3 -0
- package/lib/{esm → types}/clients/Web3Client.d.ts +2 -2
- package/lib/{cjs → types}/erc4337/models/UserOperation.d.ts +1 -1
- package/lib/{esm → types}/gen/GeneratorFromAbi.d.ts +3 -1
- package/lib/{esm → types}/gen/GeneratorStorageReader.d.ts +1 -0
- package/lib/{esm → types}/hardhat/HardhatProvider.d.ts +24 -1
- package/lib/{esm → types}/ns/providers/EnsProvider.d.ts +2 -2
- package/lib/{cjs → types}/services/TimelockService/TimelockService.d.ts +1 -1
- package/lib/{cjs → types}/tokens/TokenExchanges/AmmV2ExchangeBase.d.ts +4 -4
- package/lib/{cjs → types}/tokens/TokensService.d.ts +1 -1
- package/lib/{esm → types}/tokens/TokensServiceBsc.d.ts +1 -1
- package/lib/{cjs → types}/tokens/TokensServicePolygon.d.ts +1 -1
- package/lib/{cjs → types}/tokens/TokensServiceXDai.d.ts +1 -1
- package/lib/types/utils/$regexp.d.ts +3 -0
- package/package.json +5 -3
- package/readme.md +26 -30
- package/src/chains/arbitrum/TokensServiceArbitrum.ts +1 -1
- package/src/clients/EvmWeb3Client.ts +23 -2
- package/src/clients/Web3Client.ts +2 -2
- package/src/clients/Web3ClientFactory.ts +1 -1
- package/src/config/ConfigDefaults.ts +14 -0
- package/src/config/ConfigProvider.ts +10 -3
- package/src/erc4337/models/UserOperation.ts +1 -1
- package/src/gen/GeneratorFromAbi.ts +94 -68
- package/src/gen/GeneratorStorageReader.ts +16 -2
- package/src/gen/templates/ContractStorageReaderTemplate.d.ts.tmpl +7 -0
- package/src/gen/{ContractTemplate.d.ts.template → templates/ContractTemplate.d.ts.tmpl} +29 -30
- package/src/gen/{ContractTemplate.ts → templates/ContractTemplate.ts.tmpl} +18 -18
- package/src/hardhat/HardhatProvider.ts +35 -24
- package/src/ns/providers/EnsProvider.ts +2 -2
- package/src/safe/GnosisSafeFactory.ts +2 -2
- package/src/safe/GnosisSafeService.ts +1 -1
- package/src/safe/SafeTx.ts +1 -1
- package/src/safe/transport/FileServiceTransport.ts +1 -1
- package/src/safe/transport/InMemoryServiceTransport.ts +1 -1
- package/src/services/TimelockService/TimelockService.ts +1 -1
- package/src/services/TimelockService/TimelockServiceFallbackSafe.ts +1 -1
- package/src/tokens/TokenExchanges/AmmV2ExchangeBase.ts +4 -4
- package/src/tokens/TokenExchanges/OneInchExchange.ts +1 -1
- package/src/tokens/TokenOracles/amm/AmmV1Oracle.ts +1 -1
- package/src/tokens/TokenService.ts +1 -1
- package/src/tokens/TokensService.ts +1 -1
- package/src/tokens/TokensServiceBsc.ts +1 -1
- package/src/tokens/TokensServicePolygon.ts +1 -1
- package/src/tokens/TokensServiceXDai.ts +1 -1
- package/src/utils/$logger.ts +4 -0
- package/src/utils/$path.ts +4 -2
- package/src/wallets/Wallet.ts +1 -1
- package/tsconfig.json +1 -0
- package/lib/cjs/clients/Web3Client.d.ts +0 -125
- package/lib/cjs/gen/ContractStorageReaderTemplate.js +0 -13
- package/lib/cjs/gen/ContractStorageReaderTemplate.js.map +0 -1
- package/lib/cjs/gen/ContractTemplate.js +0 -56
- package/lib/cjs/gen/ContractTemplate.js.map +0 -1
- package/lib/cjs/gen/GeneratorFromAbi.d.ts +0 -94
- package/lib/cjs/gen/GeneratorStorageReader.d.ts +0 -26
- package/lib/cjs/hardhat/HardhatProvider.d.ts +0 -138
- package/lib/cjs/ns/providers/EnsProvider.d.ts +0 -26
- package/lib/cjs/tokens/TokensServiceBsc.d.ts +0 -8
- package/lib/esm/ChainAccountService.d.ts +0 -55
- package/lib/esm/abi/$abiCoder.d.ts +0 -11
- package/lib/esm/abi/$rlp.d.ts +0 -8
- package/lib/esm/abi/Logger.d.ts +0 -11
- package/lib/esm/abi/_version.d.ts +0 -1
- package/lib/esm/abi/abi-coder-packed.d.ts +0 -10
- package/lib/esm/abi/abi-coder.d.ts +0 -52
- package/lib/esm/abi/coders/abstract-coder.d.ts +0 -119
- package/lib/esm/abi/coders/address.d.ts +0 -11
- package/lib/esm/abi/coders/anonymous.d.ts +0 -14
- package/lib/esm/abi/coders/array.d.ts +0 -20
- package/lib/esm/abi/coders/boolean.d.ts +0 -11
- package/lib/esm/abi/coders/bytes.d.ts +0 -18
- package/lib/esm/abi/coders/fixed-bytes.d.ts +0 -12
- package/lib/esm/abi/coders/null.d.ts +0 -11
- package/lib/esm/abi/coders/number.d.ts +0 -13
- package/lib/esm/abi/coders/string.d.ts +0 -8
- package/lib/esm/abi/coders/tuple.d.ts +0 -11
- package/lib/esm/abi/fragments.d.ts +0 -465
- package/lib/esm/blocks/BlockDateResolver.d.ts +0 -31
- package/lib/esm/chains/PlatformFactory.d.ts +0 -20
- package/lib/esm/chains/arbitrum/ArbTokenProvider.d.ts +0 -9
- package/lib/esm/chains/arbitrum/ArbWeb3Client.d.ts +0 -11
- package/lib/esm/chains/arbitrum/Arbiscan.d.ts +0 -4
- package/lib/esm/chains/arbitrum/TokensServiceArbitrum.d.ts +0 -8
- package/lib/esm/chains/boba/BobaWeb3Client.d.ts +0 -10
- package/lib/esm/chains/boba/Bobascan.d.ts +0 -4
- package/lib/esm/chains/xdai/XDaiWeb3Client.d.ts +0 -15
- package/lib/esm/chains/xdai/XDaiscan.d.ts +0 -4
- package/lib/esm/class/PackedRanges.d.ts +0 -31
- package/lib/esm/class/PromiseEvent.d.ts +0 -8
- package/lib/esm/class/SubjectKind.d.ts +0 -5
- package/lib/esm/class/SubjectStream.d.ts +0 -36
- package/lib/esm/class/Subscription.d.ts +0 -7
- package/lib/esm/clients/BscWeb3Client.d.ts +0 -10
- package/lib/esm/clients/ClientEventsStream.d.ts +0 -24
- package/lib/esm/clients/ClientPool.d.ts +0 -146
- package/lib/esm/clients/ClientPoolStats.d.ts +0 -35
- package/lib/esm/clients/EthWeb3Client.d.ts +0 -11
- package/lib/esm/clients/EvmWeb3Client.d.ts +0 -5
- package/lib/esm/clients/PolyWeb3Client.d.ts +0 -15
- package/lib/esm/clients/Web3BatchRequests.d.ts +0 -21
- package/lib/esm/clients/Web3ClientFactory.d.ts +0 -12
- package/lib/esm/clients/compatibility/Web3.d.ts +0 -48
- package/lib/esm/clients/debug/ClientDebugMethods.d.ts +0 -28
- package/lib/esm/clients/handlers/RateLimitGuard.d.ts +0 -79
- package/lib/esm/clients/interfaces/IWeb3Client.d.ts +0 -52
- package/lib/esm/clients/interfaces/IWeb3ClientStatus.d.ts +0 -21
- package/lib/esm/clients/interfaces/IWeb3EndpointOptions.d.ts +0 -13
- package/lib/esm/clients/model/ClientStatus.d.ts +0 -6
- package/lib/esm/clients/model/PromiEventWrap.d.ts +0 -13
- package/lib/esm/clients/model/SubscriptionWrap.d.ts +0 -14
- package/lib/esm/clients/utils/$web3Abi.d.ts +0 -7
- package/lib/esm/clients/utils/ClientEndpoints.d.ts +0 -4
- package/lib/esm/clients/utils/ClientErrorUtil.d.ts +0 -12
- package/lib/esm/clients/utils/TxFactory.d.ts +0 -2
- package/lib/esm/config/AConfigBase.d.ts +0 -24
- package/lib/esm/config/Config.d.ts +0 -9
- package/lib/esm/config/ConfigDefaults.d.ts +0 -2
- package/lib/esm/config/ConfigProvider.d.ts +0 -11
- package/lib/esm/config/interface/IConfigData.d.ts +0 -59
- package/lib/esm/contracts/BscContract.d.ts +0 -13
- package/lib/esm/contracts/Contract.d.ts +0 -37
- package/lib/esm/contracts/ContractAbiProvider.d.ts +0 -18
- package/lib/esm/contracts/ContractBase.d.ts +0 -153
- package/lib/esm/contracts/ContractClassFactory.d.ts +0 -23
- package/lib/esm/contracts/ContractCreationResolver.d.ts +0 -15
- package/lib/esm/contracts/ContractProvider.d.ts +0 -21
- package/lib/esm/contracts/ContractReader.d.ts +0 -90
- package/lib/esm/contracts/ContractStorageReaderBase.d.ts +0 -15
- package/lib/esm/contracts/ContractStream.d.ts +0 -11
- package/lib/esm/contracts/ContractWriter.d.ts +0 -35
- package/lib/esm/contracts/EthContract.d.ts +0 -11
- package/lib/esm/contracts/TxContract.d.ts +0 -25
- package/lib/esm/contracts/deploy/ContractDeployer.d.ts +0 -63
- package/lib/esm/contracts/deploy/ContractDeployment.d.ts +0 -31
- package/lib/esm/contracts/deploy/ContractSource.d.ts +0 -3
- package/lib/esm/contracts/deploy/Deployments.d.ts +0 -142
- package/lib/esm/contracts/deploy/proxy/$proxyDeploy.d.ts +0 -9
- package/lib/esm/contracts/deploy/proxy/ProxyDeployment.d.ts +0 -92
- package/lib/esm/contracts/deploy/storage/DeploymentsStorage.d.ts +0 -73
- package/lib/esm/contracts/utils/AbiDeserializer.d.ts +0 -4
- package/lib/esm/contracts/utils/ContractBaseUtils.d.ts +0 -25
- package/lib/esm/contracts/utils/ConvertUtils.d.ts +0 -4
- package/lib/esm/contracts/utils/InputDataUtils.d.ts +0 -7
- package/lib/esm/contracts/utils/TypeUtils.d.ts +0 -3
- package/lib/esm/contracts/wrappers/FnRequestWrapper.d.ts +0 -9
- package/lib/esm/contracts/wrappers/FnSignedWrapper.d.ts +0 -4
- package/lib/esm/env/BigIntSerializer.d.ts +0 -1
- package/lib/esm/erc4337/Erc4337Factory.d.ts +0 -21
- package/lib/esm/erc4337/Erc4337Service.d.ts +0 -92
- package/lib/esm/erc4337/Erc4337TxWriter.d.ts +0 -77
- package/lib/esm/erc4337/models/Erc4337Abi.d.ts +0 -6
- package/lib/esm/erc4337/models/IErc4337Info.d.ts +0 -7
- package/lib/esm/erc4337/models/UserOperation.d.ts +0 -3
- package/lib/esm/erc4337/utils/$erc4337.d.ts +0 -5
- package/lib/esm/evm/EvmBytecode.d.ts +0 -68
- package/lib/esm/evm/OpcodesInfo.d.ts +0 -13
- package/lib/esm/evm/OpcodesWalker.d.ts +0 -28
- package/lib/esm/evm/Stack.d.ts +0 -10
- package/lib/esm/evm/functions/$opcodes.d.ts +0 -35
- package/lib/esm/evm/interfaces/IJumps.d.ts +0 -3
- package/lib/esm/evm/interfaces/IMemory.d.ts +0 -3
- package/lib/esm/evm/interfaces/IOpcode.d.ts +0 -11
- package/lib/esm/evm/interfaces/IStorage.d.ts +0 -3
- package/lib/esm/evm/opcodes/add.d.ts +0 -13
- package/lib/esm/evm/opcodes/addmod.d.ts +0 -4
- package/lib/esm/evm/opcodes/address.d.ts +0 -11
- package/lib/esm/evm/opcodes/and.d.ts +0 -13
- package/lib/esm/evm/opcodes/balance.d.ts +0 -12
- package/lib/esm/evm/opcodes/blockhash.d.ts +0 -12
- package/lib/esm/evm/opcodes/byte.d.ts +0 -13
- package/lib/esm/evm/opcodes/call.d.ts +0 -18
- package/lib/esm/evm/opcodes/callcode.d.ts +0 -18
- package/lib/esm/evm/opcodes/calldatacopy.d.ts +0 -13
- package/lib/esm/evm/opcodes/calldataload.d.ts +0 -13
- package/lib/esm/evm/opcodes/calldatasize.d.ts +0 -11
- package/lib/esm/evm/opcodes/caller.d.ts +0 -11
- package/lib/esm/evm/opcodes/callvalue.d.ts +0 -11
- package/lib/esm/evm/opcodes/codecopy.d.ts +0 -13
- package/lib/esm/evm/opcodes/codesize.d.ts +0 -11
- package/lib/esm/evm/opcodes/coinbase.d.ts +0 -11
- package/lib/esm/evm/opcodes/create.d.ts +0 -14
- package/lib/esm/evm/opcodes/create2.d.ts +0 -14
- package/lib/esm/evm/opcodes/delegatecall.d.ts +0 -17
- package/lib/esm/evm/opcodes/difficulty.d.ts +0 -11
- package/lib/esm/evm/opcodes/div.d.ts +0 -13
- package/lib/esm/evm/opcodes/dup.d.ts +0 -4
- package/lib/esm/evm/opcodes/eq.d.ts +0 -21
- package/lib/esm/evm/opcodes/exp.d.ts +0 -13
- package/lib/esm/evm/opcodes/extcodecopy.d.ts +0 -14
- package/lib/esm/evm/opcodes/extcodehash.d.ts +0 -12
- package/lib/esm/evm/opcodes/extcodesize.d.ts +0 -12
- package/lib/esm/evm/opcodes/gas.d.ts +0 -11
- package/lib/esm/evm/opcodes/gaslimit.d.ts +0 -11
- package/lib/esm/evm/opcodes/gasprice.d.ts +0 -11
- package/lib/esm/evm/opcodes/gt.d.ts +0 -14
- package/lib/esm/evm/opcodes/invalid.d.ts +0 -12
- package/lib/esm/evm/opcodes/iszero.d.ts +0 -12
- package/lib/esm/evm/opcodes/jump.d.ts +0 -13
- package/lib/esm/evm/opcodes/jumpdest.d.ts +0 -4
- package/lib/esm/evm/opcodes/jumpi.d.ts +0 -43
- package/lib/esm/evm/opcodes/log.d.ts +0 -16
- package/lib/esm/evm/opcodes/lt.d.ts +0 -14
- package/lib/esm/evm/opcodes/mload.d.ts +0 -12
- package/lib/esm/evm/opcodes/mod.d.ts +0 -13
- package/lib/esm/evm/opcodes/msize.d.ts +0 -11
- package/lib/esm/evm/opcodes/mstore.d.ts +0 -13
- package/lib/esm/evm/opcodes/mul.d.ts +0 -13
- package/lib/esm/evm/opcodes/mulmod.d.ts +0 -4
- package/lib/esm/evm/opcodes/not.d.ts +0 -12
- package/lib/esm/evm/opcodes/number.d.ts +0 -11
- package/lib/esm/evm/opcodes/or.d.ts +0 -13
- package/lib/esm/evm/opcodes/origin.d.ts +0 -11
- package/lib/esm/evm/opcodes/pc.d.ts +0 -4
- package/lib/esm/evm/opcodes/pop.d.ts +0 -4
- package/lib/esm/evm/opcodes/push.d.ts +0 -4
- package/lib/esm/evm/opcodes/return.d.ts +0 -14
- package/lib/esm/evm/opcodes/returndatacopy.d.ts +0 -13
- package/lib/esm/evm/opcodes/returndatasize.d.ts +0 -11
- package/lib/esm/evm/opcodes/revert.d.ts +0 -14
- package/lib/esm/evm/opcodes/sar.d.ts +0 -13
- package/lib/esm/evm/opcodes/selfdestruct.d.ts +0 -12
- package/lib/esm/evm/opcodes/sha3.d.ts +0 -14
- package/lib/esm/evm/opcodes/shl.d.ts +0 -13
- package/lib/esm/evm/opcodes/shr.d.ts +0 -13
- package/lib/esm/evm/opcodes/signextend.d.ts +0 -4
- package/lib/esm/evm/opcodes/sload.d.ts +0 -25
- package/lib/esm/evm/opcodes/sstore.d.ts +0 -27
- package/lib/esm/evm/opcodes/staticcall.d.ts +0 -17
- package/lib/esm/evm/opcodes/stop.d.ts +0 -11
- package/lib/esm/evm/opcodes/sub.d.ts +0 -13
- package/lib/esm/evm/opcodes/swap.d.ts +0 -4
- package/lib/esm/evm/opcodes/timestamp.d.ts +0 -11
- package/lib/esm/evm/opcodes/xor.d.ts +0 -13
- package/lib/esm/evm/utils/$bytecode.d.ts +0 -14
- package/lib/esm/evm/utils/BigNumber.d.ts +0 -4
- package/lib/esm/evm/utils/hex.d.ts +0 -5
- package/lib/esm/evm/utils/opcodes.d.ts +0 -143
- package/lib/esm/evm/utils/stringify.d.ts +0 -2
- package/lib/esm/evm/utils/stringifyEvents.d.ts +0 -2
- package/lib/esm/evm/utils/stringifyFunctions.d.ts +0 -2
- package/lib/esm/evm/utils/stringifyInstructions.d.ts +0 -2
- package/lib/esm/evm/utils/stringifyMappings.d.ts +0 -2
- package/lib/esm/evm/utils/stringifyStructs.d.ts +0 -2
- package/lib/esm/evm/utils/stringifyVariables.d.ts +0 -2
- package/lib/esm/explorer/BlockChainExplorerFactory.d.ts +0 -27
- package/lib/esm/explorer/BlockChainExplorerProvider.d.ts +0 -9
- package/lib/esm/explorer/BlockChainExplorerStorage.d.ts +0 -94
- package/lib/esm/explorer/BlockNumberCache.d.ts +0 -17
- package/lib/esm/explorer/Bscscan.d.ts +0 -4
- package/lib/esm/explorer/ContractVerifier.d.ts +0 -27
- package/lib/esm/explorer/ContractVerifierHtml.d.ts +0 -78
- package/lib/esm/explorer/Etherscan.d.ts +0 -4
- package/lib/esm/explorer/Evmscan.d.ts +0 -4
- package/lib/esm/explorer/IAbiProvider.d.ts +0 -9
- package/lib/esm/explorer/IBlockChainExplorer.d.ts +0 -82
- package/lib/esm/explorer/Polyscan.d.ts +0 -4
- package/lib/esm/explorer/verifiers/FsHtmlVerifier.d.ts +0 -55
- package/lib/esm/explorer/verifiers/IVerifier.d.ts +0 -23
- package/lib/esm/flashbots/FlashbotWeb3Client.d.ts +0 -10
- package/lib/esm/flashbots/FlashbotsProvider.d.ts +0 -87
- package/lib/esm/gen/Ast.d.ts +0 -3
- package/lib/esm/gen/ContractStorageReaderTemplate.js.map +0 -1
- package/lib/esm/gen/ContractStorageReaderTemplate.mjs +0 -13
- package/lib/esm/gen/ContractTemplate.js.map +0 -1
- package/lib/esm/gen/ContractTemplate.mjs +0 -49
- package/lib/esm/gen/Generator.d.ts +0 -74
- package/lib/esm/gen/utils/$gen.d.ts +0 -3
- package/lib/esm/gen/utils/Str.d.ts +0 -5
- package/lib/esm/handlers/TokenHandler.d.ts +0 -17
- package/lib/esm/hardhat/HardhatWeb3Client.d.ts +0 -13
- package/lib/esm/indexer/BlocksTxIndexer.d.ts +0 -52
- package/lib/esm/indexer/EventsIndexer.d.ts +0 -64
- package/lib/esm/indexer/PendingTxIndexer.d.ts +0 -68
- package/lib/esm/indexer/handlers/BlocksWalker.d.ts +0 -64
- package/lib/esm/indexer/handlers/TxQueueLoader.d.ts +0 -34
- package/lib/esm/indexer/storage/FsEventsIndexerStore.d.ts +0 -51
- package/lib/esm/indexer/storage/FsEventsMetaStore.d.ts +0 -22
- package/lib/esm/indexer/storage/FsEventsStoreUtils.d.ts +0 -10
- package/lib/esm/indexer/storage/interfaces.d.ts +0 -20
- package/lib/esm/json/JsonArrayMultiStore.d.ts +0 -36
- package/lib/esm/json/JsonArrayStore.d.ts +0 -39
- package/lib/esm/json/JsonObjectStore.d.ts +0 -23
- package/lib/esm/json/JsonStoreFs.d.ts +0 -30
- package/lib/esm/loggers/ILogger.d.ts +0 -6
- package/lib/esm/loggers/LoggerService.d.ts +0 -18
- package/lib/esm/loggers/TxLoggerService.d.ts +0 -18
- package/lib/esm/models/IContractDetails.d.ts +0 -9
- package/lib/esm/models/IToken.d.ts +0 -32
- package/lib/esm/models/ITokenGlob.d.ts +0 -12
- package/lib/esm/models/ITransactionDetails.d.ts +0 -8
- package/lib/esm/models/TAccount.d.ts +0 -36
- package/lib/esm/models/TAddress.d.ts +0 -1
- package/lib/esm/models/TBufferLike.d.ts +0 -2
- package/lib/esm/models/TError.d.ts +0 -4
- package/lib/esm/models/TEth.d.ts +0 -166
- package/lib/esm/models/THex.d.ts +0 -1
- package/lib/esm/models/TPlatform.d.ts +0 -1
- package/lib/esm/models/TResult.d.ts +0 -5
- package/lib/esm/models/TTx.d.ts +0 -42
- package/lib/esm/ns/NameService.d.ts +0 -24
- package/lib/esm/ns/providers/ANsProvider.d.ts +0 -40
- package/lib/esm/ns/providers/INsProvider.d.ts +0 -25
- package/lib/esm/ns/providers/SpaceIdProvider.d.ts +0 -7
- package/lib/esm/ns/providers/UDProvider.d.ts +0 -21
- package/lib/esm/ns/utils/$ns.d.ts +0 -7
- package/lib/esm/prebuilt/1inch/OneInchRouterContract/OneInchRouterContract.d.ts +0 -338
- package/lib/esm/prebuilt/amm/AmmFactoryV2Contract/AmmFactoryV2Contract.d.ts +0 -191
- package/lib/esm/prebuilt/amm/AmmMasterChefV2Contract/AmmMasterChefV2Contract.d.ts +0 -486
- package/lib/esm/prebuilt/amm/AmmPairV2Contract/AmmPairV2Contract.d.ts +0 -452
- package/lib/esm/prebuilt/amm/AmmPairV3Contract/AmmPairV3Contract.d.ts +0 -558
- package/lib/esm/prebuilt/amm/AmmRouterV2Contract/AmmRouterV2Contract.d.ts +0 -375
- package/lib/esm/prebuilt/amm/AmmVaultV2Contract/AmmVaultV2Contract.d.ts +0 -586
- package/lib/esm/prebuilt/ens/EnsBaseRegistrar/EnsBaseRegistrar.d.ts +0 -529
- package/lib/esm/prebuilt/ens/EnsDnsRegistrar/EnsDnsRegistrar.d.ts +0 -259
- package/lib/esm/prebuilt/ens/EnsEthRegistrarController/EnsEthRegistrarController.d.ts +0 -368
- package/lib/esm/prebuilt/ens/EnsNameWrapper/EnsNameWrapper.d.ts +0 -849
- package/lib/esm/prebuilt/ens/EnsPublicResolver/EnsPublicResolver.d.ts +0 -642
- package/lib/esm/prebuilt/ens/EnsRegistry/EnsRegistry.d.ts +0 -319
- package/lib/esm/prebuilt/ens/EnsReverseRegistrar/EnsReverseRegistrar.d.ts +0 -321
- package/lib/esm/prebuilt/erc4337/EntryPoint/EntryPoint.d.ts +0 -885
- package/lib/esm/prebuilt/erc4337/SimpleAccount/SimpleAccount.d.ts +0 -494
- package/lib/esm/prebuilt/erc4337/SimpleAccountFactory/SimpleAccountFactory.d.ts +0 -111
- package/lib/esm/prebuilt/openzeppelin/AccessControl.d.ts +0 -199
- package/lib/esm/prebuilt/openzeppelin/AccessControlCrossChain.d.ts +0 -204
- package/lib/esm/prebuilt/openzeppelin/AccessControlDefaultAdminRules.d.ts +0 -362
- package/lib/esm/prebuilt/openzeppelin/AccessControlEnumerable.d.ts +0 -209
- package/lib/esm/prebuilt/openzeppelin/ConditionalEscrow.d.ts +0 -201
- package/lib/esm/prebuilt/openzeppelin/CrossChainEnabledPolygonChild.d.ts +0 -97
- package/lib/esm/prebuilt/openzeppelin/EIP712.d.ts +0 -109
- package/lib/esm/prebuilt/openzeppelin/ERC1155.d.ts +0 -222
- package/lib/esm/prebuilt/openzeppelin/ERC1155Burnable.d.ts +0 -251
- package/lib/esm/prebuilt/openzeppelin/ERC1155Holder.d.ts +0 -110
- package/lib/esm/prebuilt/openzeppelin/ERC1155Pausable.d.ts +0 -252
- package/lib/esm/prebuilt/openzeppelin/ERC1155PresetMinterPauser.d.ts +0 -480
- package/lib/esm/prebuilt/openzeppelin/ERC1155Receiver.d.ts +0 -110
- package/lib/esm/prebuilt/openzeppelin/ERC1155Supply.d.ts +0 -231
- package/lib/esm/prebuilt/openzeppelin/ERC1155URIStorage.d.ts +0 -221
- package/lib/esm/prebuilt/openzeppelin/ERC165.d.ts +0 -74
- package/lib/esm/prebuilt/openzeppelin/ERC165Storage.d.ts +0 -74
- package/lib/esm/prebuilt/openzeppelin/ERC1820Implementer.d.ts +0 -75
- package/lib/esm/prebuilt/openzeppelin/ERC20.d.ts +0 -219
- package/lib/esm/prebuilt/openzeppelin/ERC20Burnable.d.ts +0 -248
- package/lib/esm/prebuilt/openzeppelin/ERC20Capped.d.ts +0 -223
- package/lib/esm/prebuilt/openzeppelin/ERC20FlashMint.d.ts +0 -243
- package/lib/esm/prebuilt/openzeppelin/ERC20Pausable.d.ts +0 -249
- package/lib/esm/prebuilt/openzeppelin/ERC20Permit.d.ts +0 -280
- package/lib/esm/prebuilt/openzeppelin/ERC20PresetFixedSupply.d.ts +0 -249
- package/lib/esm/prebuilt/openzeppelin/ERC20PresetMinterPauser.d.ts +0 -467
- package/lib/esm/prebuilt/openzeppelin/ERC20Snapshot.d.ts +0 -241
- package/lib/esm/prebuilt/openzeppelin/ERC20Votes.d.ts +0 -389
- package/lib/esm/prebuilt/openzeppelin/ERC20VotesComp.d.ts +0 -399
- package/lib/esm/prebuilt/openzeppelin/ERC20Wrapper.d.ts +0 -253
- package/lib/esm/prebuilt/openzeppelin/ERC2771Context.d.ts +0 -75
- package/lib/esm/prebuilt/openzeppelin/ERC2981.d.ts +0 -80
- package/lib/esm/prebuilt/openzeppelin/ERC4626.d.ts +0 -378
- package/lib/esm/prebuilt/openzeppelin/ERC721.d.ts +0 -245
- package/lib/esm/prebuilt/openzeppelin/ERC721Burnable.d.ts +0 -259
- package/lib/esm/prebuilt/openzeppelin/ERC721Consecutive.d.ts +0 -262
- package/lib/esm/prebuilt/openzeppelin/ERC721Enumerable.d.ts +0 -259
- package/lib/esm/prebuilt/openzeppelin/ERC721Holder.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/ERC721Pausable.d.ts +0 -275
- package/lib/esm/prebuilt/openzeppelin/ERC721PresetMinterPauserAutoId.d.ts +0 -488
- package/lib/esm/prebuilt/openzeppelin/ERC721Royalty.d.ts +0 -249
- package/lib/esm/prebuilt/openzeppelin/ERC721URIStorage.d.ts +0 -271
- package/lib/esm/prebuilt/openzeppelin/ERC721Votes.d.ts +0 -387
- package/lib/esm/prebuilt/openzeppelin/ERC721Wrapper.d.ts +0 -294
- package/lib/esm/prebuilt/openzeppelin/ERC777.d.ts +0 -390
- package/lib/esm/prebuilt/openzeppelin/ERC777PresetFixedSupply.d.ts +0 -390
- package/lib/esm/prebuilt/openzeppelin/Escrow.d.ts +0 -196
- package/lib/esm/prebuilt/openzeppelin/Governor.d.ts +0 -484
- package/lib/esm/prebuilt/openzeppelin/GovernorCompatibilityBravo.d.ts +0 -607
- package/lib/esm/prebuilt/openzeppelin/GovernorCountingSimple.d.ts +0 -493
- package/lib/esm/prebuilt/openzeppelin/GovernorPreventLateQuorum.d.ts +0 -534
- package/lib/esm/prebuilt/openzeppelin/GovernorProposalThreshold.d.ts +0 -484
- package/lib/esm/prebuilt/openzeppelin/GovernorSettings.d.ts +0 -571
- package/lib/esm/prebuilt/openzeppelin/GovernorTimelockCompound.d.ts +0 -567
- package/lib/esm/prebuilt/openzeppelin/GovernorTimelockControl.d.ts +0 -552
- package/lib/esm/prebuilt/openzeppelin/GovernorVotes.d.ts +0 -489
- package/lib/esm/prebuilt/openzeppelin/GovernorVotesComp.d.ts +0 -489
- package/lib/esm/prebuilt/openzeppelin/GovernorVotesQuorumFraction.d.ts +0 -529
- package/lib/esm/prebuilt/openzeppelin/IAMB.d.ts +0 -234
- package/lib/esm/prebuilt/openzeppelin/IAccessControl.d.ts +0 -189
- package/lib/esm/prebuilt/openzeppelin/IAccessControlDefaultAdminRules.d.ts +0 -347
- package/lib/esm/prebuilt/openzeppelin/IAccessControlEnumerable.d.ts +0 -199
- package/lib/esm/prebuilt/openzeppelin/IArbSys.d.ts +0 -223
- package/lib/esm/prebuilt/openzeppelin/IBeacon.d.ts +0 -75
- package/lib/esm/prebuilt/openzeppelin/IBridge.d.ts +0 -364
- package/lib/esm/prebuilt/openzeppelin/ICompoundTimelock.d.ts +0 -310
- package/lib/esm/prebuilt/openzeppelin/ICrossDomainMessenger.d.ts +0 -146
- package/lib/esm/prebuilt/openzeppelin/IERC1155.d.ts +0 -216
- package/lib/esm/prebuilt/openzeppelin/IERC1155MetadataURI.d.ts +0 -221
- package/lib/esm/prebuilt/openzeppelin/IERC1155Receiver.d.ts +0 -110
- package/lib/esm/prebuilt/openzeppelin/IERC1271.d.ts +0 -74
- package/lib/esm/prebuilt/openzeppelin/IERC1363.d.ts +0 -256
- package/lib/esm/prebuilt/openzeppelin/IERC1363Receiver.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/IERC1363Spender.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/IERC165.d.ts +0 -74
- package/lib/esm/prebuilt/openzeppelin/IERC1820Implementer.d.ts +0 -75
- package/lib/esm/prebuilt/openzeppelin/IERC1820Registry.d.ts +0 -183
- package/lib/esm/prebuilt/openzeppelin/IERC1822Proxiable.d.ts +0 -74
- package/lib/esm/prebuilt/openzeppelin/IERC20.d.ts +0 -173
- package/lib/esm/prebuilt/openzeppelin/IERC20Metadata.d.ts +0 -188
- package/lib/esm/prebuilt/openzeppelin/IERC20Permit.d.ts +0 -100
- package/lib/esm/prebuilt/openzeppelin/IERC2612.d.ts +0 -100
- package/lib/esm/prebuilt/openzeppelin/IERC2981.d.ts +0 -83
- package/lib/esm/prebuilt/openzeppelin/IERC3156FlashBorrower.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/IERC3156FlashLender.d.ts +0 -100
- package/lib/esm/prebuilt/openzeppelin/IERC4626.d.ts +0 -348
- package/lib/esm/prebuilt/openzeppelin/IERC4906.d.ts +0 -256
- package/lib/esm/prebuilt/openzeppelin/IERC5267.d.ts +0 -96
- package/lib/esm/prebuilt/openzeppelin/IERC5313.d.ts +0 -75
- package/lib/esm/prebuilt/openzeppelin/IERC5805.d.ts +0 -173
- package/lib/esm/prebuilt/openzeppelin/IERC6372.d.ts +0 -79
- package/lib/esm/prebuilt/openzeppelin/IERC721.d.ts +0 -229
- package/lib/esm/prebuilt/openzeppelin/IERC721Enumerable.d.ts +0 -244
- package/lib/esm/prebuilt/openzeppelin/IERC721Metadata.d.ts +0 -244
- package/lib/esm/prebuilt/openzeppelin/IERC721Receiver.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/IERC777.d.ts +0 -298
- package/lib/esm/prebuilt/openzeppelin/IERC777Recipient.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/IERC777Sender.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/IFxMessageProcessor.d.ts +0 -90
- package/lib/esm/prebuilt/openzeppelin/IGovernor.d.ts +0 -368
- package/lib/esm/prebuilt/openzeppelin/IGovernorCompatibilityBravo.d.ts +0 -456
- package/lib/esm/prebuilt/openzeppelin/IGovernorTimelock.d.ts +0 -407
- package/lib/esm/prebuilt/openzeppelin/IInbox.d.ts +0 -318
- package/lib/esm/prebuilt/openzeppelin/IOutbox.d.ts +0 -224
- package/lib/esm/prebuilt/openzeppelin/ITransparentUpgradeableProxy.d.ts +0 -176
- package/lib/esm/prebuilt/openzeppelin/IVotes.d.ts +0 -163
- package/lib/esm/prebuilt/openzeppelin/LibArbitrumL2.d.ts +0 -75
- package/lib/esm/prebuilt/openzeppelin/MinimalForwarder.d.ts +0 -182
- package/lib/esm/prebuilt/openzeppelin/Multicall.d.ts +0 -89
- package/lib/esm/prebuilt/openzeppelin/Ownable.d.ts +0 -129
- package/lib/esm/prebuilt/openzeppelin/Ownable2Step.d.ts +0 -166
- package/lib/esm/prebuilt/openzeppelin/Pausable.d.ts +0 -103
- package/lib/esm/prebuilt/openzeppelin/PaymentSplitter.d.ts +0 -196
- package/lib/esm/prebuilt/openzeppelin/ProxyAdmin.d.ts +0 -184
- package/lib/esm/prebuilt/openzeppelin/PullPayment.d.ts +0 -95
- package/lib/esm/prebuilt/openzeppelin/RefundEscrow.d.ts +0 -279
- package/lib/esm/prebuilt/openzeppelin/TimelockController.d.ts +0 -482
- package/lib/esm/prebuilt/openzeppelin/TokenTimelock.d.ts +0 -106
- package/lib/esm/prebuilt/openzeppelin/UUPSUpgradeable.d.ts +0 -156
- package/lib/esm/prebuilt/openzeppelin/UpgradeableBeacon.d.ts +0 -165
- package/lib/esm/prebuilt/openzeppelin/VestingWallet.d.ts +0 -166
- package/lib/esm/prebuilt/openzeppelin/Votes.d.ts +0 -220
- package/lib/esm/prebuilt/openzeppelin/compiled/TransparentUpgradeableProxy/TransparentUpgradeableProxy.d.ts +0 -131
- package/lib/esm/prebuilt/safe/CreateCall.d.ts +0 -122
- package/lib/esm/prebuilt/safe/GnosisSafe.d.ts +0 -559
- package/lib/esm/prebuilt/safe/MultiSend.d.ts +0 -90
- package/lib/esm/prebuilt/safe/Safe.d.ts +0 -603
- package/lib/esm/prebuilt/safe/SafeL2.d.ts +0 -642
- package/lib/esm/prebuilt/safe/SafeProxyFactory.d.ts +0 -148
- package/lib/esm/prebuilt/weth/WETH/WETH.d.ts +0 -270
- package/lib/esm/rpc/$rpc.d.ts +0 -17
- package/lib/esm/rpc/Rpc.d.ts +0 -2283
- package/lib/esm/rpc/RpcBase.d.ts +0 -32
- package/lib/esm/rpc/RpcContract.d.ts +0 -31
- package/lib/esm/rpc/RpcError.d.ts +0 -14
- package/lib/esm/rpc/RpcFunction.d.ts +0 -15
- package/lib/esm/rpc/RpcHandler.d.ts +0 -2
- package/lib/esm/rpc/RpcModelMiddleware.d.ts +0 -1
- package/lib/esm/rpc/RpcSubscription.d.ts +0 -16
- package/lib/esm/rpc/transports/DeferredTransport.d.ts +0 -14
- package/lib/esm/rpc/transports/HttpTransport.d.ts +0 -13
- package/lib/esm/rpc/transports/ITransport.d.ts +0 -68
- package/lib/esm/rpc/transports/MessageBasedTransport.d.ts +0 -28
- package/lib/esm/rpc/transports/RpcTransport.d.ts +0 -7
- package/lib/esm/rpc/transports/WsTransport.d.ts +0 -15
- package/lib/esm/rpc/transports/WsTransportIsomorphic.d.ts +0 -5
- package/lib/esm/rpc/transports/compatibility/EIP1193Transport.d.ts +0 -15
- package/lib/esm/rpc/transports/compatibility/Web3Transport.d.ts +0 -18
- package/lib/esm/safe/$gnosis.d.ts +0 -2
- package/lib/esm/safe/GnosisSafeFactory.d.ts +0 -34
- package/lib/esm/safe/GnosisSafeHandler.d.ts +0 -65
- package/lib/esm/safe/GnosisSafeService.d.ts +0 -18
- package/lib/esm/safe/SafeTx.d.ts +0 -21
- package/lib/esm/safe/transport/FileServiceTransport.d.ts +0 -25
- package/lib/esm/safe/transport/ISafeServiceTransport.d.ts +0 -16
- package/lib/esm/safe/transport/InMemoryServiceTransport.d.ts +0 -25
- package/lib/esm/safe/transport/SafeServiceTransport.d.ts +0 -21
- package/lib/esm/safe/types/SafeServiceTypes.d.ts +0 -311
- package/lib/esm/services/TimelockService/ITimelockService.d.ts +0 -87
- package/lib/esm/services/TimelockService/TimelockService.d.ts +0 -108
- package/lib/esm/services/TimelockService/TimelockServiceFallbackSafe.d.ts +0 -88
- package/lib/esm/solidity/SlotsDump.d.ts +0 -47
- package/lib/esm/solidity/SlotsParser/Ast.d.ts +0 -64
- package/lib/esm/solidity/SlotsParser/MappingSettersResolver.d.ts +0 -22
- package/lib/esm/solidity/SlotsParser/SourceFile.d.ts +0 -37
- package/lib/esm/solidity/SlotsParser/models.d.ts +0 -23
- package/lib/esm/solidity/SlotsParser.d.ts +0 -9
- package/lib/esm/solidity/SlotsStorage.d.ts +0 -22
- package/lib/esm/solidity/SolidityParser.d.ts +0 -18
- package/lib/esm/solidity/SourceCodeProvider.d.ts +0 -29
- package/lib/esm/solidity/storage/Accessor.d.ts +0 -19
- package/lib/esm/solidity/storage/MappingKeysLoader.d.ts +0 -29
- package/lib/esm/solidity/storage/SlotDynamicArray.d.ts +0 -6
- package/lib/esm/solidity/storage/SlotFixedArray.d.ts +0 -11
- package/lib/esm/solidity/storage/SlotsStorageHandler.d.ts +0 -11
- package/lib/esm/solidity/storage/SlotsStorageTransport.d.ts +0 -78
- package/lib/esm/solidity/storage/handlers/SlotBytesHandler.d.ts +0 -13
- package/lib/esm/solidity/storage/handlers/SlotDynamicArrayHandler.d.ts +0 -8
- package/lib/esm/solidity/storage/handlers/SlotFixedArrayHandler.d.ts +0 -8
- package/lib/esm/solidity/storage/handlers/SlotMappingHandler.d.ts +0 -12
- package/lib/esm/solidity/storage/handlers/SlotStringHandler.d.ts +0 -8
- package/lib/esm/solidity/storage/handlers/SlotStructHandler.d.ts +0 -12
- package/lib/esm/solidity/storage/handlers/SlotValueConstantHandler.d.ts +0 -10
- package/lib/esm/solidity/storage/handlers/SlotValueHandler.d.ts +0 -8
- package/lib/esm/solidity/storage/handlers/SlotValueImmutableHandler.d.ts +0 -10
- package/lib/esm/solidity/utils/$str.d.ts +0 -9
- package/lib/esm/solidity/utils/$types.d.ts +0 -8
- package/lib/esm/tokens/TokenDataProvider.d.ts +0 -33
- package/lib/esm/tokens/TokenExchangeService.d.ts +0 -31
- package/lib/esm/tokens/TokenExchanges/AmmBase/AmmUtilts.d.ts +0 -4
- package/lib/esm/tokens/TokenExchanges/AmmBase/V2/AmmPairV2Service.d.ts +0 -60
- package/lib/esm/tokens/TokenExchanges/AmmV2ExchangeBase.d.ts +0 -38
- package/lib/esm/tokens/TokenExchanges/AmmV2PriceQuote.d.ts +0 -57
- package/lib/esm/tokens/TokenExchanges/OneInchExchange.d.ts +0 -18
- package/lib/esm/tokens/TokenExchanges/PancakeswapExchange.d.ts +0 -13
- package/lib/esm/tokens/TokenExchanges/SushiswapPolygonExchange.d.ts +0 -13
- package/lib/esm/tokens/TokenExchanges/UniswapV2Exchange.d.ts +0 -13
- package/lib/esm/tokens/TokenOracles/IOracle.d.ts +0 -33
- package/lib/esm/tokens/TokenOracles/TokenPriceStore.d.ts +0 -15
- package/lib/esm/tokens/TokenOracles/amm/AmmV1Oracle.d.ts +0 -31
- package/lib/esm/tokens/TokenOracles/amm/AmmV2Oracle.d.ts +0 -10
- package/lib/esm/tokens/TokenOracles/chainlink/ChainlinkFeedProvider.d.ts +0 -21
- package/lib/esm/tokens/TokenOracles/chainlink/ChainlinkOracle.d.ts +0 -22
- package/lib/esm/tokens/TokenOracles/coingecko/CoingeckoOracle.d.ts +0 -10
- package/lib/esm/tokens/TokenOracles/coingecko/CoingeckoTokenProvider.d.ts +0 -14
- package/lib/esm/tokens/TokenPriceService.d.ts +0 -40
- package/lib/esm/tokens/TokenPriceServiceProvider.d.ts +0 -9
- package/lib/esm/tokens/TokenProviders/ATokenProvider.d.ts +0 -9
- package/lib/esm/tokens/TokenProviders/ITokenProvider.d.ts +0 -7
- package/lib/esm/tokens/TokenProviders/TPChain.d.ts +0 -13
- package/lib/esm/tokens/TokenProviders/TPCoingecko.d.ts +0 -23
- package/lib/esm/tokens/TokenProviders/TPCoinmarketcap.d.ts +0 -7
- package/lib/esm/tokens/TokenProviders/TPConfig.d.ts +0 -9
- package/lib/esm/tokens/TokenProviders/TPExplorer.d.ts +0 -13
- package/lib/esm/tokens/TokenProviders/TPOneInch.d.ts +0 -10
- package/lib/esm/tokens/TokenProviders/TPSushiswap.d.ts +0 -12
- package/lib/esm/tokens/TokenProviders/TPUniswap.d.ts +0 -11
- package/lib/esm/tokens/TokenService.d.ts +0 -25
- package/lib/esm/tokens/TokenTransferService.d.ts +0 -32
- package/lib/esm/tokens/TokensService.d.ts +0 -30
- package/lib/esm/tokens/TokensServiceEth.d.ts +0 -4
- package/lib/esm/tokens/TokensServiceFactory.d.ts +0 -5
- package/lib/esm/tokens/TokensServicePolygon.d.ts +0 -8
- package/lib/esm/tokens/TokensServiceXDai.d.ts +0 -11
- package/lib/esm/tokens/defi/ISwapService.d.ts +0 -11
- package/lib/esm/tokens/utils/TokenUtils.d.ts +0 -9
- package/lib/esm/txs/ITxBuilderOptions.d.ts +0 -30
- package/lib/esm/txs/TxDataBuilder.d.ts +0 -52
- package/lib/esm/txs/TxLogger.d.ts +0 -12
- package/lib/esm/txs/TxNonceManager.d.ts +0 -22
- package/lib/esm/txs/TxProvider.d.ts +0 -15
- package/lib/esm/txs/TxService.d.ts +0 -7
- package/lib/esm/txs/TxWriter.d.ts +0 -109
- package/lib/esm/txs/agents/Erc4337Agent.d.ts +0 -7
- package/lib/esm/txs/agents/SafeAgent.d.ts +0 -7
- package/lib/esm/txs/agents/TxWriterAccountAgents.d.ts +0 -10
- package/lib/esm/txs/conditional/GasWatcherLogger.d.ts +0 -5
- package/lib/esm/txs/conditional/GasWatcherService.d.ts +0 -18
- package/lib/esm/txs/conditional/GasWatcherStore.d.ts +0 -35
- package/lib/esm/txs/conditional/GasWatcherTx.d.ts +0 -19
- package/lib/esm/txs/receipt/ITxLogItem.d.ts +0 -29
- package/lib/esm/txs/receipt/TxLogParser.d.ts +0 -21
- package/lib/esm/txs/receipt/TxLogsTransfer.d.ts +0 -17
- package/lib/esm/txs/receipt/TxTopicInMemoryProvider.d.ts +0 -7
- package/lib/esm/txs/receipt/TxTopicProvider.d.ts +0 -9
- package/lib/esm/txs/sig-transports/SigFileTransport.d.ts +0 -10
- package/lib/esm/types/TAbi.d.ts +0 -27
- package/lib/esm/utils/$abiParser.d.ts +0 -12
- package/lib/esm/utils/$abiType.d.ts +0 -17
- package/lib/esm/utils/$abiUtils.d.ts +0 -42
- package/lib/esm/utils/$account.d.ts +0 -6
- package/lib/esm/utils/$address.d.ts +0 -13
- package/lib/esm/utils/$array.d.ts +0 -12
- package/lib/esm/utils/$base.d.ts +0 -13
- package/lib/esm/utils/$bigfloat.d.ts +0 -67
- package/lib/esm/utils/$bigint.d.ts +0 -30
- package/lib/esm/utils/$block.d.ts +0 -7
- package/lib/esm/utils/$bloom.d.ts +0 -3
- package/lib/esm/utils/$buffer.d.ts +0 -14
- package/lib/esm/utils/$cache.d.ts +0 -3
- package/lib/esm/utils/$class.d.ts +0 -3
- package/lib/esm/utils/$cli.d.ts +0 -3
- package/lib/esm/utils/$color.d.ts +0 -4
- package/lib/esm/utils/$config.d.ts +0 -10
- package/lib/esm/utils/$const.d.ts +0 -1
- package/lib/esm/utils/$contract.d.ts +0 -42
- package/lib/esm/utils/$crypto.d.ts +0 -91
- package/lib/esm/utils/$csv.d.ts +0 -10
- package/lib/esm/utils/$date.d.ts +0 -88
- package/lib/esm/utils/$dependency.d.ts +0 -4
- package/lib/esm/utils/$error.d.ts +0 -8
- package/lib/esm/utils/$fn.d.ts +0 -26
- package/lib/esm/utils/$gas.d.ts +0 -13
- package/lib/esm/utils/$hex.d.ts +0 -30
- package/lib/esm/utils/$http.d.ts +0 -40
- package/lib/esm/utils/$is.d.ts +0 -17
- package/lib/esm/utils/$logger.d.ts +0 -35
- package/lib/esm/utils/$machine.d.ts +0 -3
- package/lib/esm/utils/$number.d.ts +0 -34
- package/lib/esm/utils/$object.d.ts +0 -20
- package/lib/esm/utils/$path.d.ts +0 -13
- package/lib/esm/utils/$perf.d.ts +0 -6
- package/lib/esm/utils/$platform.d.ts +0 -3
- package/lib/esm/utils/$promise.d.ts +0 -26
- package/lib/esm/utils/$require.d.ts +0 -44
- package/lib/esm/utils/$secret.d.ts +0 -5
- package/lib/esm/utils/$semver.d.ts +0 -3
- package/lib/esm/utils/$sig.d.ts +0 -88
- package/lib/esm/utils/$sign.d.ts +0 -1
- package/lib/esm/utils/$signRaw.d.ts +0 -1
- package/lib/esm/utils/$signRawNative.d.ts +0 -1
- package/lib/esm/utils/$signSerializer.d.ts +0 -29
- package/lib/esm/utils/$txData.d.ts +0 -7
- package/lib/esm/utils/$wallet.d.ts +0 -2
- package/lib/esm/utils/types.d.ts +0 -31
- package/lib/esm/wallets/Wallet.d.ts +0 -20
- package/lib/esm/wallets/WalletBsc.d.ts +0 -10
- package/lib/esm/wallets/WalletService.d.ts +0 -7
- package/src/gen/ContractStorageReaderTemplate.d.ts.template +0 -14
- /package/lib/{cjs → types}/ChainAccountService.d.ts +0 -0
- /package/lib/{cjs → types}/abi/$abiCoder.d.ts +0 -0
- /package/lib/{cjs → types}/abi/$rlp.d.ts +0 -0
- /package/lib/{cjs → types}/abi/Logger.d.ts +0 -0
- /package/lib/{cjs → types}/abi/_version.d.ts +0 -0
- /package/lib/{cjs → types}/abi/abi-coder-packed.d.ts +0 -0
- /package/lib/{cjs → types}/abi/abi-coder.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/abstract-coder.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/address.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/anonymous.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/array.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/boolean.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/bytes.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/fixed-bytes.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/null.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/number.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/string.d.ts +0 -0
- /package/lib/{cjs → types}/abi/coders/tuple.d.ts +0 -0
- /package/lib/{cjs → types}/abi/fragments.d.ts +0 -0
- /package/lib/{cjs → types}/blocks/BlockDateResolver.d.ts +0 -0
- /package/lib/{cjs → types}/chains/PlatformFactory.d.ts +0 -0
- /package/lib/{cjs → types}/chains/arbitrum/ArbTokenProvider.d.ts +0 -0
- /package/lib/{cjs → types}/chains/arbitrum/ArbWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/chains/arbitrum/Arbiscan.d.ts +0 -0
- /package/lib/{cjs → types}/chains/boba/BobaWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/chains/boba/Bobascan.d.ts +0 -0
- /package/lib/{cjs → types}/chains/xdai/XDaiWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/chains/xdai/XDaiscan.d.ts +0 -0
- /package/lib/{cjs → types}/class/PackedRanges.d.ts +0 -0
- /package/lib/{cjs → types}/class/PromiseEvent.d.ts +0 -0
- /package/lib/{cjs → types}/class/SubjectKind.d.ts +0 -0
- /package/lib/{cjs → types}/class/SubjectStream.d.ts +0 -0
- /package/lib/{cjs → types}/class/Subscription.d.ts +0 -0
- /package/lib/{cjs → types}/clients/BscWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/clients/ClientEventsStream.d.ts +0 -0
- /package/lib/{cjs → types}/clients/ClientPool.d.ts +0 -0
- /package/lib/{cjs → types}/clients/ClientPoolStats.d.ts +0 -0
- /package/lib/{cjs → types}/clients/EthWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/clients/PolyWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/clients/Web3BatchRequests.d.ts +0 -0
- /package/lib/{cjs → types}/clients/Web3ClientFactory.d.ts +0 -0
- /package/lib/{cjs → types}/clients/compatibility/Web3.d.ts +0 -0
- /package/lib/{cjs → types}/clients/debug/ClientDebugMethods.d.ts +0 -0
- /package/lib/{cjs → types}/clients/handlers/RateLimitGuard.d.ts +0 -0
- /package/lib/{cjs → types}/clients/interfaces/IWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/clients/interfaces/IWeb3ClientStatus.d.ts +0 -0
- /package/lib/{cjs → types}/clients/interfaces/IWeb3EndpointOptions.d.ts +0 -0
- /package/lib/{cjs → types}/clients/model/ClientStatus.d.ts +0 -0
- /package/lib/{cjs → types}/clients/model/PromiEventWrap.d.ts +0 -0
- /package/lib/{cjs → types}/clients/model/SubscriptionWrap.d.ts +0 -0
- /package/lib/{cjs → types}/clients/utils/$web3Abi.d.ts +0 -0
- /package/lib/{cjs → types}/clients/utils/ClientEndpoints.d.ts +0 -0
- /package/lib/{cjs → types}/clients/utils/ClientErrorUtil.d.ts +0 -0
- /package/lib/{cjs → types}/clients/utils/TxFactory.d.ts +0 -0
- /package/lib/{cjs → types}/config/AConfigBase.d.ts +0 -0
- /package/lib/{cjs → types}/config/Config.d.ts +0 -0
- /package/lib/{cjs → types}/config/ConfigDefaults.d.ts +0 -0
- /package/lib/{cjs → types}/config/ConfigProvider.d.ts +0 -0
- /package/lib/{cjs → types}/config/interface/IConfigData.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/BscContract.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/Contract.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractAbiProvider.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractBase.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractClassFactory.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractCreationResolver.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractProvider.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractReader.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractStorageReaderBase.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractStream.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/ContractWriter.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/EthContract.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/TxContract.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/deploy/ContractDeployer.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/deploy/ContractDeployment.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/deploy/ContractSource.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/deploy/Deployments.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/deploy/proxy/$proxyDeploy.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/deploy/proxy/ProxyDeployment.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/deploy/storage/DeploymentsStorage.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/utils/AbiDeserializer.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/utils/ContractBaseUtils.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/utils/ConvertUtils.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/utils/InputDataUtils.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/utils/TypeUtils.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/wrappers/FnRequestWrapper.d.ts +0 -0
- /package/lib/{cjs → types}/contracts/wrappers/FnSignedWrapper.d.ts +0 -0
- /package/lib/{cjs → types}/env/BigIntSerializer.d.ts +0 -0
- /package/lib/{cjs → types}/erc4337/Erc4337Factory.d.ts +0 -0
- /package/lib/{cjs → types}/erc4337/Erc4337Service.d.ts +0 -0
- /package/lib/{cjs → types}/erc4337/Erc4337TxWriter.d.ts +0 -0
- /package/lib/{cjs → types}/erc4337/models/Erc4337Abi.d.ts +0 -0
- /package/lib/{cjs → types}/erc4337/models/IErc4337Info.d.ts +0 -0
- /package/lib/{cjs → types}/erc4337/utils/$erc4337.d.ts +0 -0
- /package/lib/{cjs → types}/evm/EvmBytecode.d.ts +0 -0
- /package/lib/{cjs → types}/evm/OpcodesInfo.d.ts +0 -0
- /package/lib/{cjs → types}/evm/OpcodesWalker.d.ts +0 -0
- /package/lib/{cjs → types}/evm/Stack.d.ts +0 -0
- /package/lib/{cjs → types}/evm/functions/$opcodes.d.ts +0 -0
- /package/lib/{cjs → types}/evm/interfaces/IJumps.d.ts +0 -0
- /package/lib/{cjs → types}/evm/interfaces/IMemory.d.ts +0 -0
- /package/lib/{cjs → types}/evm/interfaces/IOpcode.d.ts +0 -0
- /package/lib/{cjs → types}/evm/interfaces/IStorage.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/add.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/addmod.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/address.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/and.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/balance.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/blockhash.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/byte.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/call.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/callcode.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/calldatacopy.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/calldataload.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/calldatasize.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/caller.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/callvalue.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/codecopy.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/codesize.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/coinbase.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/create.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/create2.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/delegatecall.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/difficulty.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/div.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/dup.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/eq.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/exp.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/extcodecopy.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/extcodehash.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/extcodesize.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/gas.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/gaslimit.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/gasprice.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/gt.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/invalid.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/iszero.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/jump.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/jumpdest.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/jumpi.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/log.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/lt.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/mload.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/mod.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/msize.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/mstore.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/mul.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/mulmod.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/not.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/number.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/or.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/origin.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/pc.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/pop.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/push.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/return.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/returndatacopy.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/returndatasize.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/revert.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/sar.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/selfdestruct.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/sha3.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/shl.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/shr.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/signextend.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/sload.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/sstore.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/staticcall.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/stop.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/sub.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/swap.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/timestamp.d.ts +0 -0
- /package/lib/{cjs → types}/evm/opcodes/xor.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/$bytecode.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/BigNumber.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/hex.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/opcodes.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/stringify.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/stringifyEvents.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/stringifyFunctions.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/stringifyInstructions.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/stringifyMappings.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/stringifyStructs.d.ts +0 -0
- /package/lib/{cjs → types}/evm/utils/stringifyVariables.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/BlockChainExplorerFactory.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/BlockChainExplorerProvider.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/BlockChainExplorerStorage.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/BlockNumberCache.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/Bscscan.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/ContractVerifier.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/ContractVerifierHtml.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/Etherscan.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/Evmscan.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/IAbiProvider.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/IBlockChainExplorer.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/Polyscan.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/verifiers/FsHtmlVerifier.d.ts +0 -0
- /package/lib/{cjs → types}/explorer/verifiers/IVerifier.d.ts +0 -0
- /package/lib/{cjs → types}/flashbots/FlashbotWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/flashbots/FlashbotsProvider.d.ts +0 -0
- /package/lib/{cjs → types}/gen/Ast.d.ts +0 -0
- /package/lib/{cjs → types}/gen/Generator.d.ts +0 -0
- /package/lib/{cjs → types}/gen/utils/$gen.d.ts +0 -0
- /package/lib/{cjs → types}/gen/utils/Str.d.ts +0 -0
- /package/lib/{cjs → types}/handlers/TokenHandler.d.ts +0 -0
- /package/lib/{cjs → types}/hardhat/HardhatWeb3Client.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/BlocksTxIndexer.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/EventsIndexer.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/PendingTxIndexer.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/handlers/BlocksWalker.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/handlers/TxQueueLoader.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/storage/FsEventsIndexerStore.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/storage/FsEventsMetaStore.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/storage/FsEventsStoreUtils.d.ts +0 -0
- /package/lib/{cjs → types}/indexer/storage/interfaces.d.ts +0 -0
- /package/lib/{cjs → types}/json/JsonArrayMultiStore.d.ts +0 -0
- /package/lib/{cjs → types}/json/JsonArrayStore.d.ts +0 -0
- /package/lib/{cjs → types}/json/JsonObjectStore.d.ts +0 -0
- /package/lib/{cjs → types}/json/JsonStoreFs.d.ts +0 -0
- /package/lib/{cjs → types}/loggers/ILogger.d.ts +0 -0
- /package/lib/{cjs → types}/loggers/LoggerService.d.ts +0 -0
- /package/lib/{cjs → types}/loggers/TxLoggerService.d.ts +0 -0
- /package/lib/{cjs → types}/models/IContractDetails.d.ts +0 -0
- /package/lib/{cjs → types}/models/IToken.d.ts +0 -0
- /package/lib/{cjs → types}/models/ITokenGlob.d.ts +0 -0
- /package/lib/{cjs → types}/models/ITransactionDetails.d.ts +0 -0
- /package/lib/{cjs → types}/models/TAccount.d.ts +0 -0
- /package/lib/{cjs → types}/models/TAddress.d.ts +0 -0
- /package/lib/{cjs → types}/models/TBufferLike.d.ts +0 -0
- /package/lib/{cjs → types}/models/TError.d.ts +0 -0
- /package/lib/{cjs → types}/models/TEth.d.ts +0 -0
- /package/lib/{cjs → types}/models/THex.d.ts +0 -0
- /package/lib/{cjs → types}/models/TPlatform.d.ts +0 -0
- /package/lib/{cjs → types}/models/TResult.d.ts +0 -0
- /package/lib/{cjs → types}/models/TTx.d.ts +0 -0
- /package/lib/{cjs → types}/ns/NameService.d.ts +0 -0
- /package/lib/{cjs → types}/ns/providers/ANsProvider.d.ts +0 -0
- /package/lib/{cjs → types}/ns/providers/INsProvider.d.ts +0 -0
- /package/lib/{cjs → types}/ns/providers/SpaceIdProvider.d.ts +0 -0
- /package/lib/{cjs → types}/ns/providers/UDProvider.d.ts +0 -0
- /package/lib/{cjs → types}/ns/utils/$ns.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/1inch/OneInchRouterContract/OneInchRouterContract.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/amm/AmmFactoryV2Contract/AmmFactoryV2Contract.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/amm/AmmMasterChefV2Contract/AmmMasterChefV2Contract.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/amm/AmmPairV2Contract/AmmPairV2Contract.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/amm/AmmPairV3Contract/AmmPairV3Contract.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/amm/AmmRouterV2Contract/AmmRouterV2Contract.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/amm/AmmVaultV2Contract/AmmVaultV2Contract.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/ens/EnsBaseRegistrar/EnsBaseRegistrar.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/ens/EnsDnsRegistrar/EnsDnsRegistrar.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/ens/EnsEthRegistrarController/EnsEthRegistrarController.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/ens/EnsNameWrapper/EnsNameWrapper.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/ens/EnsPublicResolver/EnsPublicResolver.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/ens/EnsRegistry/EnsRegistry.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/ens/EnsReverseRegistrar/EnsReverseRegistrar.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/erc4337/EntryPoint/EntryPoint.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/erc4337/SimpleAccount/SimpleAccount.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/erc4337/SimpleAccountFactory/SimpleAccountFactory.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/AccessControl.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/AccessControlCrossChain.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/AccessControlDefaultAdminRules.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/AccessControlEnumerable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ConditionalEscrow.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/CrossChainEnabledPolygonChild.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/EIP712.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155Burnable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155Holder.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155Pausable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155PresetMinterPauser.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155Receiver.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155Supply.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1155URIStorage.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC165.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC165Storage.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC1820Implementer.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20Burnable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20Capped.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20FlashMint.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20Pausable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20Permit.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20PresetFixedSupply.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20PresetMinterPauser.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20Snapshot.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20Votes.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20VotesComp.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC20Wrapper.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC2771Context.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC2981.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC4626.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Burnable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Consecutive.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Enumerable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Holder.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Pausable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721PresetMinterPauserAutoId.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Royalty.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721URIStorage.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Votes.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC721Wrapper.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC777.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ERC777PresetFixedSupply.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/Escrow.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/Governor.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorCompatibilityBravo.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorCountingSimple.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorPreventLateQuorum.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorProposalThreshold.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorSettings.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorTimelockCompound.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorTimelockControl.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorVotes.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorVotesComp.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/GovernorVotesQuorumFraction.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IAMB.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IAccessControl.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IAccessControlDefaultAdminRules.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IAccessControlEnumerable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IArbSys.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IBeacon.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IBridge.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ICompoundTimelock.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ICrossDomainMessenger.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1155.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1155MetadataURI.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1155Receiver.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1271.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1363.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1363Receiver.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1363Spender.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC165.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1820Implementer.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1820Registry.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC1822Proxiable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC20.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC20Metadata.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC20Permit.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC2612.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC2981.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC3156FlashBorrower.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC3156FlashLender.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC4626.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC4906.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC5267.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC5313.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC5805.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC6372.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC721.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC721Enumerable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC721Metadata.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC721Receiver.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC777.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC777Recipient.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IERC777Sender.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IFxMessageProcessor.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IGovernor.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IGovernorCompatibilityBravo.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IGovernorTimelock.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IInbox.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IOutbox.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ITransparentUpgradeableProxy.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/IVotes.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/LibArbitrumL2.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/MinimalForwarder.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/Multicall.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/Ownable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/Ownable2Step.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/Pausable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/PaymentSplitter.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/ProxyAdmin.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/PullPayment.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/RefundEscrow.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/TimelockController.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/TokenTimelock.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/UUPSUpgradeable.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/UpgradeableBeacon.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/VestingWallet.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/Votes.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/openzeppelin/compiled/TransparentUpgradeableProxy/TransparentUpgradeableProxy.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/safe/CreateCall.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/safe/GnosisSafe.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/safe/MultiSend.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/safe/Safe.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/safe/SafeL2.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/safe/SafeProxyFactory.d.ts +0 -0
- /package/lib/{cjs → types}/prebuilt/weth/WETH/WETH.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/$rpc.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/Rpc.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/RpcBase.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/RpcContract.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/RpcError.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/RpcFunction.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/RpcHandler.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/RpcModelMiddleware.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/RpcSubscription.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/DeferredTransport.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/HttpTransport.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/ITransport.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/MessageBasedTransport.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/RpcTransport.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/WsTransport.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/WsTransportIsomorphic.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/compatibility/EIP1193Transport.d.ts +0 -0
- /package/lib/{cjs → types}/rpc/transports/compatibility/Web3Transport.d.ts +0 -0
- /package/lib/{cjs → types}/safe/$gnosis.d.ts +0 -0
- /package/lib/{cjs → types}/safe/GnosisSafeFactory.d.ts +0 -0
- /package/lib/{cjs → types}/safe/GnosisSafeHandler.d.ts +0 -0
- /package/lib/{cjs → types}/safe/GnosisSafeService.d.ts +0 -0
- /package/lib/{cjs → types}/safe/SafeTx.d.ts +0 -0
- /package/lib/{cjs → types}/safe/transport/FileServiceTransport.d.ts +0 -0
- /package/lib/{cjs → types}/safe/transport/ISafeServiceTransport.d.ts +0 -0
- /package/lib/{cjs → types}/safe/transport/InMemoryServiceTransport.d.ts +0 -0
- /package/lib/{cjs → types}/safe/transport/SafeServiceTransport.d.ts +0 -0
- /package/lib/{cjs → types}/safe/types/SafeServiceTypes.d.ts +0 -0
- /package/lib/{cjs → types}/services/TimelockService/ITimelockService.d.ts +0 -0
- /package/lib/{cjs → types}/services/TimelockService/TimelockServiceFallbackSafe.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SlotsDump.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SlotsParser/Ast.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SlotsParser/MappingSettersResolver.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SlotsParser/SourceFile.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SlotsParser/models.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SlotsParser.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SlotsStorage.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SolidityParser.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/SourceCodeProvider.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/Accessor.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/MappingKeysLoader.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/SlotDynamicArray.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/SlotFixedArray.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/SlotsStorageHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/SlotsStorageTransport.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotBytesHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotDynamicArrayHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotFixedArrayHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotMappingHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotStringHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotStructHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotValueConstantHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotValueHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/storage/handlers/SlotValueImmutableHandler.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/utils/$str.d.ts +0 -0
- /package/lib/{cjs → types}/solidity/utils/$types.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenDataProvider.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchangeService.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchanges/AmmBase/AmmUtilts.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchanges/AmmBase/V2/AmmPairV2Service.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchanges/AmmV2PriceQuote.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchanges/OneInchExchange.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchanges/PancakeswapExchange.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchanges/SushiswapPolygonExchange.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenExchanges/UniswapV2Exchange.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/IOracle.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/TokenPriceStore.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/amm/AmmV1Oracle.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/amm/AmmV2Oracle.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/chainlink/ChainlinkFeedProvider.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/chainlink/ChainlinkOracle.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/coingecko/CoingeckoOracle.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenOracles/coingecko/CoingeckoTokenProvider.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenPriceService.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenPriceServiceProvider.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/ATokenProvider.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/ITokenProvider.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPChain.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPCoingecko.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPCoinmarketcap.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPConfig.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPExplorer.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPOneInch.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPSushiswap.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenProviders/TPUniswap.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenService.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokenTransferService.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokensServiceEth.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/TokensServiceFactory.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/defi/ISwapService.d.ts +0 -0
- /package/lib/{cjs → types}/tokens/utils/TokenUtils.d.ts +0 -0
- /package/lib/{cjs → types}/txs/ITxBuilderOptions.d.ts +0 -0
- /package/lib/{cjs → types}/txs/TxDataBuilder.d.ts +0 -0
- /package/lib/{cjs → types}/txs/TxLogger.d.ts +0 -0
- /package/lib/{cjs → types}/txs/TxNonceManager.d.ts +0 -0
- /package/lib/{cjs → types}/txs/TxProvider.d.ts +0 -0
- /package/lib/{cjs → types}/txs/TxService.d.ts +0 -0
- /package/lib/{cjs → types}/txs/TxWriter.d.ts +0 -0
- /package/lib/{cjs → types}/txs/agents/Erc4337Agent.d.ts +0 -0
- /package/lib/{cjs → types}/txs/agents/SafeAgent.d.ts +0 -0
- /package/lib/{cjs → types}/txs/agents/TxWriterAccountAgents.d.ts +0 -0
- /package/lib/{cjs → types}/txs/conditional/GasWatcherLogger.d.ts +0 -0
- /package/lib/{cjs → types}/txs/conditional/GasWatcherService.d.ts +0 -0
- /package/lib/{cjs → types}/txs/conditional/GasWatcherStore.d.ts +0 -0
- /package/lib/{cjs → types}/txs/conditional/GasWatcherTx.d.ts +0 -0
- /package/lib/{cjs → types}/txs/receipt/ITxLogItem.d.ts +0 -0
- /package/lib/{cjs → types}/txs/receipt/TxLogParser.d.ts +0 -0
- /package/lib/{cjs → types}/txs/receipt/TxLogsTransfer.d.ts +0 -0
- /package/lib/{cjs → types}/txs/receipt/TxTopicInMemoryProvider.d.ts +0 -0
- /package/lib/{cjs → types}/txs/receipt/TxTopicProvider.d.ts +0 -0
- /package/lib/{cjs → types}/txs/sig-transports/SigFileTransport.d.ts +0 -0
- /package/lib/{cjs → types}/types/TAbi.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$abiParser.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$abiType.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$abiUtils.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$account.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$address.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$array.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$base.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$bigfloat.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$bigint.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$block.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$bloom.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$buffer.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$cache.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$class.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$cli.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$color.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$config.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$const.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$contract.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$crypto.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$csv.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$date.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$dependency.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$error.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$fn.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$gas.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$hex.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$http.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$is.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$logger.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$machine.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$number.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$object.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$path.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$perf.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$platform.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$promise.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$require.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$secret.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$semver.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$sig.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$sign.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$signRaw.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$signRawNative.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$signSerializer.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$txData.d.ts +0 -0
- /package/lib/{cjs → types}/utils/$wallet.d.ts +0 -0
- /package/lib/{cjs → types}/utils/types.d.ts +0 -0
- /package/lib/{cjs → types}/wallets/Wallet.d.ts +0 -0
- /package/lib/{cjs → types}/wallets/WalletBsc.d.ts +0 -0
- /package/lib/{cjs → types}/wallets/WalletService.d.ts +0 -0
- /package/src/gen/{ContractStorageReaderTemplate.js → templates/ContractStorageReaderTemplate.js.tmpl} +0 -0
- /package/src/gen/{ContractStorageReaderTemplate.ts → templates/ContractStorageReaderTemplate.ts.tmpl} +0 -0
- /package/src/gen/{ContractTemplate.js → templates/ContractTemplate.js.tmpl} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TAddress } from '../../models/TAddress';
|
|
2
|
-
import type { EnsPublicResolver } from '
|
|
3
|
-
import type { EnsRegistry } from '
|
|
2
|
+
import type { EnsPublicResolver } from '../../prebuilt/ens/EnsPublicResolver/EnsPublicResolver';
|
|
3
|
+
import type { EnsRegistry } from '../../prebuilt/ens/EnsRegistry/EnsRegistry';
|
|
4
4
|
import { TEth } from '../../models/TEth';
|
|
5
5
|
import { Web3Client } from '../../clients/Web3Client';
|
|
6
6
|
import { TPlatform } from '../../models/TPlatform';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TimelockController } from '
|
|
1
|
+
import { TimelockController } from '../../prebuilt/openzeppelin/TimelockController';
|
|
2
2
|
import { ContractBase } from '../../contracts/ContractBase';
|
|
3
3
|
import { IAccount } from '../../models/TAccount';
|
|
4
4
|
import { TEth } from '../../models/TEth';
|
|
@@ -3,10 +3,10 @@ import { Web3Client } from '../../clients/Web3Client';
|
|
|
3
3
|
import { JsonArrayStore } from '../../json/JsonArrayStore';
|
|
4
4
|
import { IToken } from '../../models/IToken';
|
|
5
5
|
import { TAddress } from '../../models/TAddress';
|
|
6
|
-
import { AmmFactoryV2Contract } from '
|
|
7
|
-
import { AmmMasterChefV2Contract } from '
|
|
8
|
-
import { AmmVaultV2Contract } from '
|
|
9
|
-
import { AmmPairV2Contract } from '
|
|
6
|
+
import { AmmFactoryV2Contract } from '../../prebuilt/amm/AmmFactoryV2Contract/AmmFactoryV2Contract';
|
|
7
|
+
import { AmmMasterChefV2Contract } from '../../prebuilt/amm/AmmMasterChefV2Contract/AmmMasterChefV2Contract';
|
|
8
|
+
import { AmmVaultV2Contract } from '../../prebuilt/amm/AmmVaultV2Contract/AmmVaultV2Contract';
|
|
9
|
+
import { AmmPairV2Contract } from '../../prebuilt/amm/AmmPairV2Contract/AmmPairV2Contract';
|
|
10
10
|
interface ILPPair extends IToken {
|
|
11
11
|
token0: IToken;
|
|
12
12
|
token1: IToken;
|
|
@@ -4,7 +4,7 @@ import { TPlatform } from '../models/TPlatform';
|
|
|
4
4
|
import { IToken } from '../models/IToken';
|
|
5
5
|
import { ITokenProvider } from './TokenProviders/ITokenProvider';
|
|
6
6
|
import { TokenDataProvider } from './TokenDataProvider';
|
|
7
|
-
import { ERC20 } from '
|
|
7
|
+
import { ERC20 } from '../prebuilt/openzeppelin/ERC20';
|
|
8
8
|
export declare class TokensService {
|
|
9
9
|
private platform;
|
|
10
10
|
private explorer?;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TokensService } from './TokensService';
|
|
2
2
|
import { TAddress } from '../models/TAddress';
|
|
3
|
-
import { ERC20 } from '
|
|
3
|
+
import { ERC20 } from '../prebuilt/openzeppelin/ERC20';
|
|
4
4
|
export declare class TokensServiceBsc extends TokensService {
|
|
5
5
|
constructor();
|
|
6
6
|
static erc20(address: TAddress): Promise<ERC20>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TokensService } from './TokensService';
|
|
2
2
|
import { TAddress } from '../models/TAddress';
|
|
3
|
-
import { ERC20 } from '
|
|
3
|
+
import { ERC20 } from '../prebuilt/openzeppelin/ERC20';
|
|
4
4
|
export declare class TokensServicePolygon extends TokensService {
|
|
5
5
|
constructor();
|
|
6
6
|
static erc20(address: TAddress): Promise<ERC20>;
|
|
@@ -2,7 +2,7 @@ import { TokensService } from './TokensService';
|
|
|
2
2
|
import { TAddress } from '../models/TAddress';
|
|
3
3
|
import { IToken } from '../models/IToken';
|
|
4
4
|
import { ITokenProvider } from './TokenProviders/ITokenProvider';
|
|
5
|
-
import { ERC20 } from '
|
|
5
|
+
import { ERC20 } from '../prebuilt/openzeppelin/ERC20';
|
|
6
6
|
export declare class TokensServiceXDai extends TokensService {
|
|
7
7
|
constructor();
|
|
8
8
|
static erc20(address: TAddress): Promise<ERC20>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dequanto",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Alex Kit",
|
|
6
6
|
"email": "alex.kit@atmajs.com"
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
"./*": {
|
|
14
14
|
"import": "./lib/esm/*.mjs",
|
|
15
|
+
"types": "./lib/types/*.d.ts",
|
|
15
16
|
"require": "./lib/cjs/*.js"
|
|
16
17
|
}
|
|
17
18
|
},
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
"build-cjs": "app-bundler --app cjs",
|
|
23
24
|
"build-esm": "app-bundler --app esm",
|
|
24
25
|
"build-types": "tsc -p tsconfig-src.json && atma run tools/copy-dts",
|
|
26
|
+
"create-config": "atma run ./tools/copy-config.ts",
|
|
25
27
|
"watch": "app-bundler --watch",
|
|
26
28
|
"server": "atma server --TEST",
|
|
27
29
|
"test": "atma --openssl-legacy-provider test --config='settings.base=./' --TEST",
|
|
@@ -59,12 +61,12 @@
|
|
|
59
61
|
"@scure/bip39": "^1.2.1",
|
|
60
62
|
"@solidity-parser/parser": "^0.16.0",
|
|
61
63
|
"a-di": "^1.0.29",
|
|
62
|
-
"alot": "^0.3.
|
|
64
|
+
"alot": "^0.3.12",
|
|
63
65
|
"appcfg": "^0.5.4",
|
|
64
66
|
"atma-io": "^1.3.4",
|
|
65
67
|
"atma-utils": "^0.2.65",
|
|
66
68
|
"class-json": "^0.4.1",
|
|
67
|
-
"includejs": "^0.17.
|
|
69
|
+
"includejs": "^0.17.6",
|
|
68
70
|
"memd": "^0.3.15",
|
|
69
71
|
"ws": "^8.16.0"
|
|
70
72
|
},
|
package/readme.md
CHANGED
|
@@ -2,51 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://docs.0xweb.org/dequanto)
|
|
4
4
|
[](https://circleci.com/gh/0xweb-org/dequanto)
|
|
5
|
+
[](http://badge.fury.io/js/dequanto)
|
|
5
6
|
|
|
6
7
|
<p align='center'>
|
|
7
8
|
<img src='assets/background.jpg'/>
|
|
8
9
|
</p>
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
A
|
|
12
|
+
A flexible and all-in-one library for EVM Blockchain Developers and Consumers. Based on your requirements and expertise, this library can either fully abstract the Blockchain Layer with autogenerated classes for contract communication or give you direct access to low-level methods.
|
|
12
13
|
|
|
13
14
|
This library includes numerous classes to cover all facets of blockchain development. Here’s a summary of some key features:
|
|
14
15
|
|
|
15
|
-
###
|
|
16
|
+
### ✨ Generate ES6 classes with TypeScript support
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
Create contract clients based on ABI or source code, which can be automatically retrieved from blockchain explorers by address.
|
|
18
19
|
|
|
19
20
|
> This can serve as an all-in-one tool for submitting transactions, querying contracts, or fetching events, as the contract clients handle the underlying steps.
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
|
23
|
-
### RPC Clients
|
|
24
|
+
### 🌐 RPC Clients
|
|
24
25
|
|
|
25
|
-
A robust communication layer to connect to blockchain nodes. You can add multiple nodes (private or public) to the pool to manage
|
|
26
|
+
A robust communication layer to connect to blockchain nodes. You can add multiple nodes (private or public) to the pool to manage
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
- **request balancing**
|
|
29
|
+
- **throttling**
|
|
30
|
+
- **rate limits**
|
|
31
|
+
- **automatic retries**
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
### 🏗️ Transaction Builder
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
Provides fine-tuning for transaction submission. Supports Gnosis {Safe}, Account Abstraction Transactions and Flashbots.
|
|
36
|
+
|
|
37
|
+
### 💠 Etherscan & Co Clients
|
|
32
38
|
|
|
33
39
|
An integrated API for blockchain explorers.
|
|
34
40
|
|
|
35
|
-
### Event Indexer
|
|
41
|
+
### 🔎 Event Indexer
|
|
36
42
|
|
|
37
|
-
An easy-to-use indexer for fetching contract events.
|
|
43
|
+
An easy-to-use indexer for fetching contract events with file persistence layer and pause-resume progress.
|
|
38
44
|
|
|
39
|
-
### Event and Transaction Watcher
|
|
45
|
+
### 👀 Event and Transaction Watcher
|
|
40
46
|
|
|
41
47
|
Listen to events and monitor transactions in real-time.
|
|
42
48
|
|
|
43
|
-
### Native **`BigInt`** Types with **`BigFloat`** Support for Mantissa Math
|
|
49
|
+
### 🔢 Native **`BigInt`** Types with **`BigFloat`** Support for Mantissa Math
|
|
44
50
|
|
|
45
|
-
### Pre-generated OpenZeppelin Contracts
|
|
51
|
+
### 📦 Pre-generated OpenZeppelin Contracts
|
|
46
52
|
|
|
47
|
-
### Flashbots Support
|
|
48
53
|
|
|
49
|
-
## Installation
|
|
54
|
+
## ⬇️ Installation
|
|
50
55
|
|
|
51
56
|
### Using 0xweb CLI
|
|
52
57
|
|
|
@@ -62,26 +67,17 @@ npm i dequanto
|
|
|
62
67
|
|
|
63
68
|
The package includes three types of source files:
|
|
64
69
|
|
|
65
|
-
1. **
|
|
70
|
+
1. **Compiled CommonJS (CJS) Files**: Located at `node_modules/dequanto/lib/cjs/*/**.js`
|
|
71
|
+
2. **Compiled ESM (Modules)**: Located at `node_modules/dequanto/lib/esm/*/**.mjs`
|
|
72
|
+
3. **TypeScript Sources**: Located at `node_modules/dequanto/src/*/**.ts`
|
|
66
73
|
|
|
67
|
-
|
|
68
|
-
{
|
|
69
|
-
"compilerOptions": {
|
|
70
|
-
"paths": {
|
|
71
|
-
"@dequanto/*": [ "node_modules/dequanto/src/*" ],
|
|
72
|
-
"@dequanto-contract/*": [ "node_modules/dequanto/src/prebuilt/*" ]
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
```
|
|
74
|
+
Node and Build environments will automatically detect between 1 and 2 based on your project setup.
|
|
77
75
|
|
|
78
|
-
2. **Compiled CommonJS (CJS) Files**: Located at `node_modules/dequanto/lib/cjs/*/**.js`
|
|
79
|
-
3. **Compiled ESM (Modules)**: Located at `node_modules/dequanto/lib/esm/*/**.mjs`
|
|
80
76
|
|
|
81
|
-
### Configuration
|
|
77
|
+
### 🛠️ Configuration
|
|
82
78
|
|
|
83
79
|
While the library includes configurations for various blockchains and {Safe} infrastructure, you may need to set custom RPC URLs, Blockchain Explorer API Keys, and other settings. This can be done in a **YAML** configuration file that loads when the application starts.
|
|
84
80
|
|
|
85
81
|
----
|
|
86
82
|
|
|
87
|
-
(c) 2024 0xweb.org
|
|
83
|
+
🏁 (c) 2024 0xweb.org
|
|
@@ -3,7 +3,7 @@ import di from 'a-di';
|
|
|
3
3
|
import { TAddress } from '@dequanto/models/TAddress';
|
|
4
4
|
import { TokensService } from '@dequanto/tokens/TokensService';
|
|
5
5
|
import { Arbiscan } from './Arbiscan';
|
|
6
|
-
import { ERC20 } from '@dequanto
|
|
6
|
+
import { ERC20 } from '@dequanto/prebuilt/openzeppelin/ERC20';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export class TokensServiceArbitrum extends TokensService {
|
|
@@ -2,6 +2,8 @@ import { config } from '@dequanto/config/Config';
|
|
|
2
2
|
import { $require } from '@dequanto/utils/$require';
|
|
3
3
|
import { EthWeb3Client } from './EthWeb3Client'
|
|
4
4
|
import { IWeb3EndpointOptions } from './interfaces/IWeb3EndpointOptions'
|
|
5
|
+
import { ConfigDefaults } from '@dequanto/config/ConfigDefaults';
|
|
6
|
+
import { $config } from '@dequanto/utils/$config';
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
export class EvmWeb3Client extends EthWeb3Client {
|
|
@@ -11,9 +13,28 @@ export class EvmWeb3Client extends EthWeb3Client {
|
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
15
|
|
|
16
|
+
export class EvmWeb3ClientDeferred extends EvmWeb3Client {
|
|
17
|
+
constructor(options: IWeb3EndpointOptions) {
|
|
18
|
+
super({
|
|
19
|
+
...options,
|
|
20
|
+
web3: {
|
|
21
|
+
request (...args) {
|
|
22
|
+
throw new Error('Web3 request not supported in deferred mode');
|
|
23
|
+
},
|
|
24
|
+
subscribe(...args) {
|
|
25
|
+
throw new Error('Web3 request not supported in deferred mode');
|
|
26
|
+
},
|
|
27
|
+
unsubscribe(...args) {
|
|
28
|
+
throw new Error('Web3 request not supported in deferred mode');
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
})
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
14
35
|
function resolveOptions (options: IWeb3EndpointOptions) {
|
|
15
36
|
$require.notNull(options?.platform, 'Platform is required when generic evm client is used');
|
|
16
|
-
let cfg = config.web3
|
|
37
|
+
let cfg = $config.get(`web3.${options.platform}`);
|
|
17
38
|
if (cfg) {
|
|
18
39
|
for (let key in cfg) {
|
|
19
40
|
if (options[key] == null) {
|
|
@@ -21,6 +42,6 @@ function resolveOptions (options: IWeb3EndpointOptions) {
|
|
|
21
42
|
}
|
|
22
43
|
}
|
|
23
44
|
}
|
|
24
|
-
$require.Numeric(options.chainId, `ChainID should be numeric. Got ${options.chainId}`);
|
|
45
|
+
$require.Numeric(options.chainId, `ChainID should be numeric. Got ${options.chainId} for ${options.platform}`);
|
|
25
46
|
return options;
|
|
26
47
|
}
|
|
@@ -25,7 +25,7 @@ import { RpcLogFilterOptions, RpcSubscription } from '@dequanto/rpc/RpcSubscript
|
|
|
25
25
|
import { TEth } from '@dequanto/models/TEth';
|
|
26
26
|
|
|
27
27
|
import { PromiseEvent } from '@dequanto/class/PromiseEvent';
|
|
28
|
-
import { RpcTypes } from '@dequanto/rpc/Rpc';
|
|
28
|
+
import { Rpc, RpcTypes } from '@dequanto/rpc/Rpc';
|
|
29
29
|
import { TRpc } from '@dequanto/rpc/RpcBase';
|
|
30
30
|
import { $sig } from '@dequanto/utils/$sig';
|
|
31
31
|
import { DataLike } from '@dequanto/utils/types';
|
|
@@ -137,7 +137,7 @@ export abstract class Web3Client implements IWeb3Client {
|
|
|
137
137
|
async getWeb3(options?: IPoolWeb3Request) {
|
|
138
138
|
throw new Error(`To get the web3 initialize the Web3 compatibility class ('compatibility/Web3.ts') instead`)
|
|
139
139
|
}
|
|
140
|
-
async getRpc(options?: IPoolWeb3Request) {
|
|
140
|
+
async getRpc(options?: IPoolWeb3Request): Promise<Rpc> {
|
|
141
141
|
return await this.pool.getRpc(options);
|
|
142
142
|
}
|
|
143
143
|
async getNodeURL(options?: IPoolWeb3Request) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import di from 'a-di';
|
|
2
|
+
import alot from 'alot';
|
|
2
3
|
import { TPlatform } from '@dequanto/models/TPlatform';
|
|
3
4
|
import { BscWeb3Client } from './BscWeb3Client';
|
|
4
5
|
import { EthWeb3Client } from './EthWeb3Client';
|
|
@@ -9,7 +10,6 @@ import { XDaiWeb3Client } from '@dequanto/chains/xdai/XDaiWeb3Client';
|
|
|
9
10
|
import { HardhatProvider } from '@dequanto/hardhat/HardhatProvider';
|
|
10
11
|
import { Config, config } from '@dequanto/config/Config';
|
|
11
12
|
import { EvmWeb3Client } from './EvmWeb3Client';
|
|
12
|
-
import alot from 'alot';
|
|
13
13
|
|
|
14
14
|
export namespace Web3ClientFactory {
|
|
15
15
|
|
|
@@ -102,6 +102,8 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
102
102
|
},
|
|
103
103
|
"web3": {
|
|
104
104
|
"eth": {
|
|
105
|
+
"chainId": 1,
|
|
106
|
+
"chainToken": "ETH",
|
|
105
107
|
"endpoints": [
|
|
106
108
|
{
|
|
107
109
|
"url": "https://eth.public-rpc.com"
|
|
@@ -117,6 +119,8 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
117
119
|
]
|
|
118
120
|
},
|
|
119
121
|
"eth:goerli": {
|
|
122
|
+
"chainId": 5,
|
|
123
|
+
"chainToken": "ETH",
|
|
120
124
|
"endpoints": [
|
|
121
125
|
{
|
|
122
126
|
"url": "https://goerli.infura.io/v3/a83f91c556054576a4c608ad4312720b"
|
|
@@ -128,6 +132,7 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
128
132
|
},
|
|
129
133
|
"eth:sepolia": {
|
|
130
134
|
"chainId": 11155111,
|
|
135
|
+
"chainToken": "ETH",
|
|
131
136
|
"endpoints": [
|
|
132
137
|
{
|
|
133
138
|
"url": "https://1rpc.io/sepolia"
|
|
@@ -138,6 +143,8 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
138
143
|
]
|
|
139
144
|
},
|
|
140
145
|
"polygon": {
|
|
146
|
+
"chainId": 137,
|
|
147
|
+
"chainToken": "POL",
|
|
141
148
|
"endpoints": [
|
|
142
149
|
{
|
|
143
150
|
"url": "https://polygon-rpc.com"
|
|
@@ -146,6 +153,7 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
146
153
|
},
|
|
147
154
|
"polygon:mumbai": {
|
|
148
155
|
"chainId": 80001,
|
|
156
|
+
"chainToken": "POL",
|
|
149
157
|
"endpoints": [
|
|
150
158
|
{
|
|
151
159
|
"url": "https://rpc-mumbai.maticvigil.com"
|
|
@@ -153,6 +161,8 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
153
161
|
]
|
|
154
162
|
},
|
|
155
163
|
"bsc": {
|
|
164
|
+
"chainId": 56,
|
|
165
|
+
"chainToken": "BNB",
|
|
156
166
|
"endpoints": [
|
|
157
167
|
{
|
|
158
168
|
"url": "https://bscrpc.com"
|
|
@@ -169,6 +179,8 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
169
179
|
]
|
|
170
180
|
},
|
|
171
181
|
"xdai": {
|
|
182
|
+
"chainId": 100,
|
|
183
|
+
"chainToken": "XDAI",
|
|
172
184
|
"endpoints": [
|
|
173
185
|
{
|
|
174
186
|
"url": "https://rpc.gnosischain.com/"
|
|
@@ -192,6 +204,7 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
192
204
|
},
|
|
193
205
|
"arbitrum": {
|
|
194
206
|
"chainId": 42161,
|
|
207
|
+
"chainToken": "ETH",
|
|
195
208
|
"endpoints": [
|
|
196
209
|
{
|
|
197
210
|
"url": "https://arbitrum.public-rpc.com"
|
|
@@ -200,6 +213,7 @@ export const ConfigDefaults = <IConfigData> {
|
|
|
200
213
|
},
|
|
201
214
|
"optimism": {
|
|
202
215
|
"chainId": 10,
|
|
216
|
+
"chainToken": "ETH",
|
|
203
217
|
"endpoints": [
|
|
204
218
|
{
|
|
205
219
|
"url": "https://mainnet.optimism.io"
|
|
@@ -45,7 +45,11 @@ export class ConfigProvider implements IConfigProvider {
|
|
|
45
45
|
|
|
46
46
|
return [
|
|
47
47
|
{
|
|
48
|
-
config:
|
|
48
|
+
config: {
|
|
49
|
+
...ConfigDefaults,
|
|
50
|
+
pin: unlockedAccountsKey ?? void 0,
|
|
51
|
+
...(parameters?.config ?? {}),
|
|
52
|
+
}
|
|
49
53
|
},
|
|
50
54
|
{
|
|
51
55
|
path: `./configs/dequanto.yml`,
|
|
@@ -82,8 +86,11 @@ export class ConfigProvider implements IConfigProvider {
|
|
|
82
86
|
private async getSourcesBrowser (parameters: TConfigParamsNode) {
|
|
83
87
|
return [
|
|
84
88
|
{
|
|
85
|
-
config:
|
|
86
|
-
|
|
89
|
+
config: {
|
|
90
|
+
...ConfigDefaults,
|
|
91
|
+
...(parameters?.config ?? {}),
|
|
92
|
+
}
|
|
93
|
+
},
|
|
87
94
|
];
|
|
88
95
|
}
|
|
89
96
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntryPoint } from '@dequanto
|
|
1
|
+
import { EntryPoint } from '@dequanto/prebuilt/erc4337/EntryPoint/EntryPoint';
|
|
2
2
|
import { $address } from '@dequanto/utils/$address';
|
|
3
3
|
|
|
4
4
|
export type UserOperation = Parameters<EntryPoint['handleOps']>[1][0];
|