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
|
@@ -59,27 +59,36 @@ export class GeneratorFromAbi {
|
|
|
59
59
|
return null;
|
|
60
60
|
})
|
|
61
61
|
.filter(Boolean)
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
.mapFull(arr => {
|
|
63
|
+
return {
|
|
64
|
+
ts: arr.map(x => Str.formatMethod(x.ts)),
|
|
65
|
+
js: arr.map(x => Str.formatMethod(x.js)),
|
|
66
|
+
types: arr.map(x => Str.formatMethod(x.types)),
|
|
67
|
+
}
|
|
68
|
+
});
|
|
65
69
|
|
|
66
70
|
|
|
67
|
-
let
|
|
71
|
+
let methodTypings = alot(abiJson)
|
|
68
72
|
.filter(x => x.type === 'function')
|
|
69
73
|
.groupBy(x => x.name)
|
|
70
74
|
.map(group => {
|
|
71
75
|
let item = group.values[0];
|
|
72
|
-
return Gen.
|
|
76
|
+
return Gen.serializeMethodTypingsTs(item.name, group.values);
|
|
73
77
|
})
|
|
74
78
|
.filter(Boolean)
|
|
75
79
|
.toArray();
|
|
76
80
|
|
|
77
|
-
let eventsArr = abiJson
|
|
81
|
+
let eventsArr = alot(abiJson)
|
|
78
82
|
.filter(x => x.type === 'event')
|
|
79
83
|
.map(x => Gen.serializeEvent(x))
|
|
80
84
|
.filter(Boolean)
|
|
81
|
-
.
|
|
82
|
-
|
|
85
|
+
.mapFull(arr => {
|
|
86
|
+
return {
|
|
87
|
+
ts: arr.map(x => Str.formatMethod(x.ts)),
|
|
88
|
+
js: arr.map(x => Str.formatMethod(x.js)),
|
|
89
|
+
types: arr.map(x => Str.formatMethod(x.types)),
|
|
90
|
+
}
|
|
91
|
+
})
|
|
83
92
|
|
|
84
93
|
let eventTypes = alot(abiJson)
|
|
85
94
|
.filter(x => x.type === 'event')
|
|
@@ -94,19 +103,29 @@ export class GeneratorFromAbi {
|
|
|
94
103
|
|
|
95
104
|
//let eventInterfacesAll = Gen.serializeEventsInterfacesAllTs(abiJson.filter(x => x.type === 'event'));
|
|
96
105
|
|
|
97
|
-
let eventsExtractorsArr = abiJson
|
|
106
|
+
let eventsExtractorsArr = alot(abiJson)
|
|
98
107
|
.filter(x => x.type === 'event')
|
|
99
108
|
.map(x => Gen.serializeEventExtractor(x))
|
|
100
109
|
.filter(Boolean)
|
|
101
|
-
.
|
|
102
|
-
|
|
110
|
+
.mapFull(arr => {
|
|
111
|
+
return {
|
|
112
|
+
ts: arr.map(x => Str.formatMethod(x.ts)),
|
|
113
|
+
js: arr.map(x => Str.formatMethod(x.js)),
|
|
114
|
+
types: arr.map(x => Str.formatMethod(x.types)),
|
|
115
|
+
}
|
|
116
|
+
});
|
|
103
117
|
|
|
104
|
-
let eventsFetchersArr = abiJson
|
|
118
|
+
let eventsFetchersArr = alot(abiJson)
|
|
105
119
|
.filter(x => x.type === 'event')
|
|
106
120
|
.map(x => Gen.serializeEventFetcher(x))
|
|
107
121
|
.filter(Boolean)
|
|
108
|
-
.
|
|
109
|
-
|
|
122
|
+
.mapFull(arr => {
|
|
123
|
+
return {
|
|
124
|
+
ts: arr.map(x => Str.formatMethod(x.ts)),
|
|
125
|
+
js: arr.map(x => Str.formatMethod(x.js)),
|
|
126
|
+
types: arr.map(x => Str.formatMethod(x.types)),
|
|
127
|
+
}
|
|
128
|
+
});
|
|
110
129
|
|
|
111
130
|
// let eventInterfaces = abiJson
|
|
112
131
|
// .filter(x => x.type === 'event')
|
|
@@ -114,15 +133,22 @@ export class GeneratorFromAbi {
|
|
|
114
133
|
// .filter(Boolean)
|
|
115
134
|
// .map(Str.formatMethod);
|
|
116
135
|
|
|
117
|
-
let methods = methodsArr.join('\n\n');
|
|
118
|
-
let
|
|
119
|
-
let
|
|
120
|
-
let
|
|
136
|
+
let methods = methodsArr[targetType].join('\n\n');
|
|
137
|
+
let methodsTypings = methodsArr.types.join('\n\n');
|
|
138
|
+
let events = eventsArr[targetType].join('\n\n');
|
|
139
|
+
let eventsTypings = eventsArr.types.join('\n\n');
|
|
140
|
+
|
|
141
|
+
let eventsExtractors = eventsExtractorsArr[targetType].join('\n\n');
|
|
142
|
+
let eventsExtractorsTypings = eventsExtractorsArr.types.join('\n\n');
|
|
143
|
+
|
|
144
|
+
let eventsFetchers = eventsFetchersArr[targetType].join('\n\n');
|
|
145
|
+
let eventsFetchersTypings = eventsFetchersArr.types.join('\n\n');
|
|
121
146
|
|
|
122
147
|
let name = opts.name;
|
|
123
|
-
let templatePath = $path.resolve(`/src/gen/ContractTemplate.${ targetType }`);
|
|
148
|
+
let templatePath = $path.resolve(`/src/gen/templates/ContractTemplate.${ targetType }.tmpl`);
|
|
124
149
|
let template = await File.readAsync<string>(templatePath, { skipHooks: true });
|
|
125
|
-
|
|
150
|
+
let templateDtsPath = $path.resolve(`/src/gen/templates/ContractTemplate.d.ts.tmpl`);
|
|
151
|
+
let templateDts = await File.readAsync<string>(templateDtsPath, { skipHooks: true });
|
|
126
152
|
|
|
127
153
|
let EtherscanStr;
|
|
128
154
|
let EthWeb3ClientStr;
|
|
@@ -130,44 +156,8 @@ export class GeneratorFromAbi {
|
|
|
130
156
|
let sourceUri: string;
|
|
131
157
|
let Web3ClientOptions = '';
|
|
132
158
|
let EvmScanOptions = '';
|
|
133
|
-
let importPfx =
|
|
159
|
+
let importPfx = true /* always */ ? 'dequanto' : '@dequanto';
|
|
134
160
|
switch (opts.network) {
|
|
135
|
-
case 'bsc':
|
|
136
|
-
EtherscanStr = 'Bscscan';
|
|
137
|
-
EthWeb3ClientStr = 'BscWeb3Client';
|
|
138
|
-
imports = [
|
|
139
|
-
`import { Bscscan } from '${importPfx}/explorer/Bscscan'`,
|
|
140
|
-
`import { BscWeb3Client } from '${importPfx}/clients/BscWeb3Client'`,
|
|
141
|
-
];
|
|
142
|
-
sourceUri = `https://bscscan.com/address/${opts.address}#code`;
|
|
143
|
-
break;
|
|
144
|
-
case 'polygon':
|
|
145
|
-
EtherscanStr = 'Polyscan';
|
|
146
|
-
EthWeb3ClientStr = 'PolyWeb3Client';
|
|
147
|
-
imports = [
|
|
148
|
-
`import { Polyscan } from '${importPfx}/explorer/Polyscan'`,
|
|
149
|
-
`import { PolyWeb3Client } from '${importPfx}/clients/PolyWeb3Client'`,
|
|
150
|
-
];
|
|
151
|
-
sourceUri = `https://polygonscan.com/address/${opts.address}#code`;
|
|
152
|
-
break;
|
|
153
|
-
case 'xdai':
|
|
154
|
-
EtherscanStr = 'XDaiscan';
|
|
155
|
-
EthWeb3ClientStr = 'XDaiWeb3Client';
|
|
156
|
-
imports = [
|
|
157
|
-
`import { XDaiscan } from '${importPfx}/chains/xdai/XDaiscan'`,
|
|
158
|
-
`import { XDaiWeb3Client } from '${importPfx}/chains/xdai/XDaiWeb3Client'`,
|
|
159
|
-
];
|
|
160
|
-
sourceUri = `https://blockscout.com/xdai/mainnet/address/${opts.address}/contracts`;
|
|
161
|
-
break;
|
|
162
|
-
case 'eth':
|
|
163
|
-
EtherscanStr = 'Etherscan';
|
|
164
|
-
EthWeb3ClientStr = 'EthWeb3Client';
|
|
165
|
-
imports = [
|
|
166
|
-
`import { Etherscan } from '${importPfx}/explorer/Etherscan'`,
|
|
167
|
-
`import { EthWeb3Client } from '${importPfx}/clients/EthWeb3Client'`,
|
|
168
|
-
];
|
|
169
|
-
sourceUri = `https://etherscan.io/address/${opts.address}#code`;
|
|
170
|
-
break;
|
|
171
161
|
case 'hardhat':
|
|
172
162
|
EtherscanStr = 'Etherscan';
|
|
173
163
|
EthWeb3ClientStr = 'HardhatWeb3Client';
|
|
@@ -222,6 +212,7 @@ export class GeneratorFromAbi {
|
|
|
222
212
|
let storageReaderInitializer = '';
|
|
223
213
|
let storageReaderProperty = '';
|
|
224
214
|
let storageReaderClass = '';
|
|
215
|
+
let storageReaderClassTypings = '';
|
|
225
216
|
try {
|
|
226
217
|
let storageReaderGenerator = new GeneratorStorageReader();
|
|
227
218
|
let reader = await storageReaderGenerator.generate({ ...opts, target: targetType });
|
|
@@ -231,6 +222,7 @@ export class GeneratorFromAbi {
|
|
|
231
222
|
}
|
|
232
223
|
if (reader.className) {
|
|
233
224
|
storageReaderClass = reader.code;
|
|
225
|
+
storageReaderClassTypings = reader.types;
|
|
234
226
|
storageReaderProperty = targetType === 'ts' ? `declare storage: ${reader.className}` : '';
|
|
235
227
|
storageReaderInitializer = `this.storage = new ${reader.className}(this.address, this.client, this.explorer);`;
|
|
236
228
|
$logger.log(`green<StorageReader> was generated`);
|
|
@@ -270,13 +262,43 @@ export class GeneratorFromAbi {
|
|
|
270
262
|
|
|
271
263
|
|
|
272
264
|
.replace(`/* $EVENT_TYPES$ */`, () => Str.indent(eventTypes.map(x => x.code).join('\n'), ' '))
|
|
273
|
-
.replace(`/* $METHOD_TYPES$ */`, () => Str.indent(
|
|
265
|
+
.replace(`/* $METHOD_TYPES$ */`, () => Str.indent(methodTypings.map(x => x.code).join('\n'), ' '))
|
|
274
266
|
//.replace(`/* $METHOD_INTERFACES$ */`, () => methodInterfacesArr.map(x => x.code).join('\n\n') + '\n\n' + methodInterfacesAll.code + '\n\n')
|
|
275
267
|
;
|
|
276
268
|
|
|
269
|
+
let codeDts = templateDts
|
|
270
|
+
|
|
271
|
+
.replace(`/* IMPORTS */`, () => imports.join('\n'))
|
|
272
|
+
.replace(`/* ERRORS */`, () => Gen.serializeErrors(className, abiJson))
|
|
273
|
+
.replace(/\$NAME\$/g, className)
|
|
274
|
+
.replace(`$ADDRESS$`, opts.address ? `'${opts.address}'` : 'null')
|
|
275
|
+
.replace(`/* METHODS */`, methodsTypings)
|
|
276
|
+
.replace(`/* EVENTS */`, eventsTypings)
|
|
277
|
+
.replace(`/* EVENTS_EXTRACTORS */`, eventsExtractorsTypings)
|
|
278
|
+
.replace(`/* EVENTS_FETCHERS */`, eventsFetchersTypings)
|
|
279
|
+
.replace(`$ABI$`, () => JSON.stringify(abiJson))
|
|
280
|
+
.replace(`$DATE$`, $date.format(new Date(), 'yyyy-MM-dd HH:mm'))
|
|
281
|
+
.replace(`$EXPLORER_URL$`, sourceUri)
|
|
282
|
+
//.replace(`/* $EVENT_INTERFACES$ */`, () => eventInterfaces.join('\n') + '\n\n' + eventInterfacesAll.code + '\n\n')
|
|
283
|
+
|
|
284
|
+
.replace(`/* STORAGE_READER_INITIALIZER */`, storageReaderInitializer)
|
|
285
|
+
.replace(`/* STORAGE_READER_PROPERTY */`, storageReaderProperty)
|
|
286
|
+
.replace(`/* STORAGE_READER_CLASS */`, () => storageReaderClassTypings)
|
|
287
|
+
.replace(`/* TX_CALLER_METHODS */`, () => Gen.serializeTxCallerMethods(className, abiJson)[targetType])
|
|
288
|
+
.replace(`/* TX_DATA_METHODS */`, () => Gen.serializeTxDataMethods(className, abiJson)[targetType])
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
.replace(`/* $EVENT_TYPES$ */`, () => Str.indent(eventTypes.map(x => x.code).join('\n'), ' '))
|
|
292
|
+
.replace(`/* $METHOD_TYPES$ */`, () => Str.indent(methodTypings.map(x => x.code).join('\n'), ' '))
|
|
293
|
+
;
|
|
277
294
|
|
|
278
295
|
|
|
279
296
|
await File.writeAsync(outputPath, code, { skipHooks: true });
|
|
297
|
+
if (targetType === 'js') {
|
|
298
|
+
let outputPathDts = outputPath.replace(/\.\w+$/, '.d.ts');
|
|
299
|
+
await File.writeAsync(outputPathDts, codeDts, { skipHooks: true });
|
|
300
|
+
}
|
|
301
|
+
|
|
280
302
|
|
|
281
303
|
if (opts.saveAbi) {
|
|
282
304
|
let path = class_Uri.combine(opts.output, outputDirectory, `${outputFilename}Abi.json`);
|
|
@@ -372,7 +394,7 @@ namespace Gen {
|
|
|
372
394
|
};
|
|
373
395
|
}
|
|
374
396
|
|
|
375
|
-
export function
|
|
397
|
+
export function serializeMethodTypingsTs(name: string, abis: TAbiItem[]) {
|
|
376
398
|
let args = abis.map(abi => {
|
|
377
399
|
let { fnInputArgumentsTargets } = serializeArgumentsTs(abi);
|
|
378
400
|
return `[ ${fnInputArgumentsTargets.ts} ]`;
|
|
@@ -443,6 +465,9 @@ namespace Gen {
|
|
|
443
465
|
return this.$onLog('${abi.name}', fn);
|
|
444
466
|
}
|
|
445
467
|
`,
|
|
468
|
+
types: `
|
|
469
|
+
on${abi.name} (fn?: (event: TClientEventsStreamData<TEventArguments<'${abi.name}'>>) => void): ClientEventsStream<TClientEventsStreamData<TEventArguments<'${abi.name}'>>>
|
|
470
|
+
`,
|
|
446
471
|
js: `
|
|
447
472
|
on${abi.name} (fn) {
|
|
448
473
|
return this.$onLog('${abi.name}', fn);
|
|
@@ -458,6 +483,9 @@ namespace Gen {
|
|
|
458
483
|
return this.$extractLogs(tx, abi) as any as ITxLogItem<TEventParams<'${abi.name}'>>[];
|
|
459
484
|
}
|
|
460
485
|
`,
|
|
486
|
+
types: `
|
|
487
|
+
extractLogs${abi.name} (tx: TEth.TxReceipt): ITxLogItem<TEventParams<'${abi.name}'>>[]
|
|
488
|
+
`,
|
|
461
489
|
js: `
|
|
462
490
|
extractLogs${abi.name} (tx) {
|
|
463
491
|
let abi = this.$getAbiItem('event', '${abi.name}');
|
|
@@ -481,13 +509,11 @@ namespace Gen {
|
|
|
481
509
|
}
|
|
482
510
|
`,
|
|
483
511
|
types: `
|
|
484
|
-
|
|
512
|
+
getPastLogs${abi.name} (options?: {
|
|
485
513
|
fromBlock?: number | Date
|
|
486
514
|
toBlock?: number | Date
|
|
487
515
|
params?: { ${indexedParams} }
|
|
488
|
-
}): Promise<ITxLogItem<TEventParams<'${abi.name}'>>[]>
|
|
489
|
-
return await this.$getPastLogsParsed('${abi.name}', options) as any;
|
|
490
|
-
}
|
|
516
|
+
}): Promise<ITxLogItem<TEventParams<'${abi.name}'>>[]>
|
|
491
517
|
`,
|
|
492
518
|
js: `
|
|
493
519
|
async getPastLogs${abi.name} (options) {
|
|
@@ -536,7 +562,7 @@ namespace Gen {
|
|
|
536
562
|
`,
|
|
537
563
|
types: `
|
|
538
564
|
// ${$abiUtils.getMethodSignature(abi)}
|
|
539
|
-
|
|
565
|
+
${abi.name} (${fnInputArgumentsTargets.ts}): ${fnResult}
|
|
540
566
|
`,
|
|
541
567
|
js: `
|
|
542
568
|
// ${$abiUtils.getMethodSignature(abi)}
|
|
@@ -568,7 +594,7 @@ namespace Gen {
|
|
|
568
594
|
`,
|
|
569
595
|
types: `
|
|
570
596
|
${overrides}
|
|
571
|
-
|
|
597
|
+
${abi.name} (...args): ${fnResult}
|
|
572
598
|
`,
|
|
573
599
|
js: `
|
|
574
600
|
async ${abi.name} (...args) {
|
|
@@ -594,7 +620,7 @@ namespace Gen {
|
|
|
594
620
|
`,
|
|
595
621
|
types: `
|
|
596
622
|
// ${$abiUtils.getMethodSignature(abi)}
|
|
597
|
-
|
|
623
|
+
${abi.name} (sender: TSender, ${fnInputArgumentsTargets.ts}): Promise<TxWriter>
|
|
598
624
|
`,
|
|
599
625
|
js: `
|
|
600
626
|
// ${$abiUtils.getMethodSignature(abi)}
|
|
@@ -616,7 +642,7 @@ namespace Gen {
|
|
|
616
642
|
}
|
|
617
643
|
`,
|
|
618
644
|
types: `
|
|
619
|
-
|
|
645
|
+
$constructor (deployer: TSender, ${fnInputArgumentsTargets.ts}): Promise<TxWriter>
|
|
620
646
|
`,
|
|
621
647
|
js: `
|
|
622
648
|
async $constructor (deployer, ${fnInputArgumentsTargets.js}) {
|
|
@@ -646,7 +672,7 @@ namespace Gen {
|
|
|
646
672
|
`,
|
|
647
673
|
types: `
|
|
648
674
|
${overrides}
|
|
649
|
-
|
|
675
|
+
${abi.name} (sender: TSender, ...args): Promise<TxWriter>
|
|
650
676
|
`,
|
|
651
677
|
js: `
|
|
652
678
|
async ${abi.name} (sender, ...args) {
|
|
@@ -24,7 +24,7 @@ export class GeneratorStorageReader {
|
|
|
24
24
|
[file: string]: { content: string }
|
|
25
25
|
},
|
|
26
26
|
client?: Web3Client
|
|
27
|
-
}): Promise<{ code?: string, className?: string, sourcePath?: string, error?: Error }> {
|
|
27
|
+
}): Promise<{ code?: string, types?: string, className?: string, sourcePath?: string, error?: Error }> {
|
|
28
28
|
|
|
29
29
|
let targetType = opts.target ?? 'ts';
|
|
30
30
|
let { client, sources, contractName, address } = opts;
|
|
@@ -60,19 +60,29 @@ export class GeneratorStorageReader {
|
|
|
60
60
|
|
|
61
61
|
let methods = this.serializeSlots(slots);
|
|
62
62
|
let codeMethods = methods.map(x => x[targetType]).join('\n\n');
|
|
63
|
+
let codeMethodsTypings = methods.map(x => x.types).join('\n\n');
|
|
63
64
|
|
|
64
|
-
let templatePath = $path.resolve(`/src/gen/ContractStorageReaderTemplate.${targetType}`);
|
|
65
|
+
let templatePath = $path.resolve(`/src/gen/templates/ContractStorageReaderTemplate.${targetType}.tmpl`);
|
|
65
66
|
let template = await File.readAsync<string>(templatePath, { skipHooks: true });
|
|
67
|
+
|
|
68
|
+
let templateTypingsPath = $path.resolve(`/src/gen/templates/ContractStorageReaderTemplate.d.ts.tmpl`);
|
|
69
|
+
let templateTypings = await File.readAsync<string>(templateTypingsPath, { skipHooks: true });
|
|
70
|
+
|
|
66
71
|
let className = $gen.toClassName(opts.name + 'StorageReader');
|
|
67
72
|
let code = template
|
|
68
73
|
.replace(`$NAME$`, className)
|
|
69
74
|
.replace(`/* METHODS */`, () => codeMethods)
|
|
70
75
|
.replace(`$SLOTS$`, () => JSON.stringify(slots, null, ' '))
|
|
71
76
|
|
|
77
|
+
let codeTypings = templateTypings
|
|
78
|
+
.replace(`$NAME$`, className)
|
|
79
|
+
.replace(`/* METHODS */`, () => codeMethodsTypings)
|
|
80
|
+
.replace(`$SLOTS$`, () => JSON.stringify(slots, null, ' '))
|
|
72
81
|
|
|
73
82
|
return {
|
|
74
83
|
className: className,
|
|
75
84
|
code: code,
|
|
85
|
+
types: codeTypings,
|
|
76
86
|
sourcePath: file.path
|
|
77
87
|
};
|
|
78
88
|
}
|
|
@@ -84,6 +94,7 @@ export class GeneratorStorageReader {
|
|
|
84
94
|
return {
|
|
85
95
|
ts: Str.formatMethod(entry.ts),
|
|
86
96
|
js: Str.formatMethod(entry.js),
|
|
97
|
+
types: Str.formatMethod(entry.types),
|
|
87
98
|
}
|
|
88
99
|
});
|
|
89
100
|
}
|
|
@@ -98,6 +109,9 @@ export class GeneratorStorageReader {
|
|
|
98
109
|
return this.$storage.get(['${name}', ${ parametersCall ?? '' }]);
|
|
99
110
|
}
|
|
100
111
|
`,
|
|
112
|
+
types: `
|
|
113
|
+
${name}(${parametersTypes?.ts ?? ''}): Promise<${returnType}>
|
|
114
|
+
`,
|
|
101
115
|
js: `
|
|
102
116
|
async ${name}(${parametersTypes?.js ?? ''}) {
|
|
103
117
|
return this.$storage.get(['${name}', ${ parametersCall ?? '' }]);
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
* Implementation: $EXPLORER_URL$
|
|
4
4
|
*/
|
|
5
5
|
import di from 'a-di';
|
|
6
|
-
import { TAddress } from '
|
|
7
|
-
import { TAccount } from '
|
|
8
|
-
import { TBufferLike } from '
|
|
9
|
-
import { ClientEventsStream, TClientEventsStreamData } from '
|
|
10
|
-
import { ContractBase } from '
|
|
11
|
-
import { ContractBaseUtils } from '
|
|
12
|
-
import { ContractStorageReaderBase } from '
|
|
13
|
-
import { TxWriter } from '
|
|
14
|
-
import { ITxLogItem } from '
|
|
15
|
-
import { Web3Client } from '
|
|
16
|
-
import { IBlockChainExplorer } from '
|
|
17
|
-
import { SubjectStream } from '
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import type { ContractWriter } from '
|
|
21
|
-
import type { TAbiItem } from '
|
|
22
|
-
import type { TEth } from '
|
|
23
|
-
import type { TOverrideReturns } from '
|
|
6
|
+
import { TAddress } from 'dequanto/models/TAddress';
|
|
7
|
+
import { TAccount } from 'dequanto/models/TAccount';
|
|
8
|
+
import { TBufferLike } from 'dequanto/models/TBufferLike';
|
|
9
|
+
import { ClientEventsStream, TClientEventsStreamData } from 'dequanto/clients/ClientEventsStream';
|
|
10
|
+
import { ContractBase } from 'dequanto/contracts/ContractBase';
|
|
11
|
+
import { ContractBaseUtils } from 'dequanto/contracts/utils/ContractBaseUtils';
|
|
12
|
+
import { ContractStorageReaderBase } from 'dequanto/contracts/ContractStorageReaderBase';
|
|
13
|
+
import { TxWriter } from 'dequanto/txs/TxWriter';
|
|
14
|
+
import { ITxLogItem } from 'dequanto/txs/receipt/ITxLogItem';
|
|
15
|
+
import { Web3Client } from 'dequanto/clients/Web3Client';
|
|
16
|
+
import { IBlockChainExplorer } from 'dequanto/explorer/IBlockChainExplorer';
|
|
17
|
+
import { SubjectStream } from 'dequanto/class/SubjectStream';
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
import type { ContractWriter } from 'dequanto/contracts/ContractWriter';
|
|
21
|
+
import type { TAbiItem } from 'dequanto/types/TAbi';
|
|
22
|
+
import type { TEth } from 'dequanto/models/TEth';
|
|
23
|
+
import type { TOverrideReturns } from 'dequanto/utils/types';
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
/* IMPORTS */
|
|
@@ -28,16 +28,15 @@ import type { TOverrideReturns } from '@dequanto/utils/types';
|
|
|
28
28
|
/* ERRORS */
|
|
29
29
|
|
|
30
30
|
export declare class $NAME$ extends ContractBase {
|
|
31
|
-
|
|
32
|
-
public client: Web3Client,
|
|
33
|
-
public explorer: IBlockChainExplorer,
|
|
34
|
-
)
|
|
31
|
+
|
|
35
32
|
|
|
36
33
|
Types: T$NAME$Types;
|
|
37
34
|
|
|
35
|
+
|
|
36
|
+
|
|
38
37
|
/* METHODS */
|
|
39
38
|
|
|
40
|
-
$call (): TxCaller
|
|
39
|
+
$call (): I$NAME$TxCaller
|
|
41
40
|
$signed (): TOverrideReturns<I$NAME$TxCaller, Promise<{ signed: TEth.Hex, error?: Error & { data?: { type: string, params } } }>>
|
|
42
41
|
$data (): I$NAME$TxData
|
|
43
42
|
$gas (): TOverrideReturns<I$NAME$TxCaller, Promise<{ gas?: bigint, price?: bigint, error?: Error & { data?: { type: string, params } } }>>
|
|
@@ -54,15 +53,15 @@ export declare class $NAME$ extends ContractBase {
|
|
|
54
53
|
onLog (event: keyof TEvents, cb?: (event: TClientEventsStreamData) => void): ClientEventsStream<TClientEventsStreamData>
|
|
55
54
|
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
events: TEventName[]
|
|
59
|
-
, options?: TEventLogOptions<TEventParams<TEventName>>
|
|
56
|
+
getPastLogs <TEventName extends keyof TEvents> (
|
|
57
|
+
events: TEventName[], options?: TEventLogOptions<TEventParams<TEventName>>
|
|
60
58
|
): Promise<ITxLogItem<TEventParams<TEventName>, TEventName>[]>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
, options?: TEventLogOptions<TEventParams<TEventName>>
|
|
59
|
+
|
|
60
|
+
getPastLogs <TEventName extends keyof TEvents> (
|
|
61
|
+
event: TEventName, options?: TEventLogOptions<TEventParams<TEventName>>
|
|
64
62
|
): Promise<ITxLogItem<TEventParams<TEventName>, TEventName>[]>
|
|
65
|
-
|
|
63
|
+
|
|
64
|
+
getPastLogs (mix: any, options?): Promise<any>
|
|
66
65
|
|
|
67
66
|
/* EVENTS */
|
|
68
67
|
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
* Implementation: $EXPLORER_URL$
|
|
4
4
|
*/
|
|
5
5
|
import di from 'a-di';
|
|
6
|
-
import { TAddress } from '
|
|
7
|
-
import { TAccount } from '
|
|
8
|
-
import { TBufferLike } from '
|
|
9
|
-
import { ClientEventsStream, TClientEventsStreamData } from '
|
|
10
|
-
import { ContractBase } from '
|
|
11
|
-
import { ContractBaseUtils } from '
|
|
12
|
-
import { ContractStorageReaderBase } from '
|
|
13
|
-
import { TxWriter } from '
|
|
14
|
-
import { ITxLogItem } from '
|
|
15
|
-
import { Web3Client } from '
|
|
16
|
-
import { IBlockChainExplorer } from '
|
|
17
|
-
import { SubjectStream } from '
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import type { ContractWriter } from '
|
|
21
|
-
import type { TAbiItem } from '
|
|
22
|
-
import type { TEth } from '
|
|
23
|
-
import type { TOverrideReturns } from '
|
|
6
|
+
import { TAddress } from 'dequanto/models/TAddress';
|
|
7
|
+
import { TAccount } from 'dequanto/models/TAccount';
|
|
8
|
+
import { TBufferLike } from 'dequanto/models/TBufferLike';
|
|
9
|
+
import { ClientEventsStream, TClientEventsStreamData } from 'dequanto/clients/ClientEventsStream';
|
|
10
|
+
import { ContractBase } from 'dequanto/contracts/ContractBase';
|
|
11
|
+
import { ContractBaseUtils } from 'dequanto/contracts/utils/ContractBaseUtils';
|
|
12
|
+
import { ContractStorageReaderBase } from 'dequanto/contracts/ContractStorageReaderBase';
|
|
13
|
+
import { TxWriter } from 'dequanto/txs/TxWriter';
|
|
14
|
+
import { ITxLogItem } from 'dequanto/txs/receipt/ITxLogItem';
|
|
15
|
+
import { Web3Client } from 'dequanto/clients/Web3Client';
|
|
16
|
+
import { IBlockChainExplorer } from 'dequanto/explorer/IBlockChainExplorer';
|
|
17
|
+
import { SubjectStream } from 'dequanto/class/SubjectStream';
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
import type { ContractWriter } from 'dequanto/contracts/ContractWriter';
|
|
21
|
+
import type { TAbiItem } from 'dequanto/types/TAbi';
|
|
22
|
+
import type { TEth } from 'dequanto/models/TEth';
|
|
23
|
+
import type { TOverrideReturns } from 'dequanto/utils/types';
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
/* IMPORTS */
|
|
@@ -38,6 +38,8 @@ import { Constructor } from '@dequanto/utils/types';
|
|
|
38
38
|
|
|
39
39
|
type THardhatLib = typeof import('hardhat');
|
|
40
40
|
|
|
41
|
+
const rgx_CONTRACT_NAME = /contract\s+(?<contractName>[\w_]+)/ig;
|
|
42
|
+
|
|
41
43
|
export class HardhatProvider {
|
|
42
44
|
|
|
43
45
|
@memd.deco.memoize()
|
|
@@ -295,19 +297,21 @@ export class HardhatProvider {
|
|
|
295
297
|
const hhOptions = {
|
|
296
298
|
...paths,
|
|
297
299
|
tsgen: options?.tsgen ?? false,
|
|
298
|
-
install: options?.install ??
|
|
300
|
+
install: options?.install ?? void 0
|
|
299
301
|
};
|
|
300
302
|
const hh = await this.getHardhat();
|
|
301
303
|
await hh.run('compile', hhOptions);
|
|
302
304
|
|
|
303
305
|
const files = await Directory.readFilesAsync(paths.sources, '*.sol');
|
|
304
306
|
|
|
305
|
-
|
|
307
|
+
const results = await alot(files).mapAsync(async file => {
|
|
306
308
|
let solContractPath = file.uri.toLocalFile();
|
|
307
309
|
return await this.getContractFromSolPath(solContractPath, {
|
|
308
310
|
paths
|
|
309
311
|
});
|
|
310
312
|
}).toArrayAsync();
|
|
313
|
+
|
|
314
|
+
return results.filter(x => x != null);
|
|
311
315
|
}
|
|
312
316
|
|
|
313
317
|
async compileSol<T extends ContractBase = IContractWrapped> (solContractPath: string, options?: {
|
|
@@ -342,7 +346,7 @@ export class HardhatProvider {
|
|
|
342
346
|
...paths,
|
|
343
347
|
|
|
344
348
|
tsgen: options?.tsgen ?? false,
|
|
345
|
-
install: options?.install ??
|
|
349
|
+
install: options?.install ?? void 0
|
|
346
350
|
};
|
|
347
351
|
const hh = await this.getHardhat();
|
|
348
352
|
await hh.run('compile', hhOptions);
|
|
@@ -476,6 +480,10 @@ export class HardhatProvider {
|
|
|
476
480
|
}) {
|
|
477
481
|
let outputDir = class_Uri.combine(options.paths.artifacts, solContractPath, '/');
|
|
478
482
|
if (await Directory.existsAsync(outputDir) === false) {
|
|
483
|
+
let content = await this.getSolFileContent(solContractPath, options);
|
|
484
|
+
if (rgx_CONTRACT_NAME.test(content) === false) {
|
|
485
|
+
return null;
|
|
486
|
+
}
|
|
479
487
|
throw new Error(`No JSONs found in ${outputDir} for ${solContractPath}`);
|
|
480
488
|
}
|
|
481
489
|
|
|
@@ -496,11 +504,6 @@ export class HardhatProvider {
|
|
|
496
504
|
if (filename == null) {
|
|
497
505
|
throw new Error(`Filename not extracted from ${solContractPath}`);
|
|
498
506
|
}
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
// Filename could contain random number, extract main-name
|
|
502
|
-
|
|
503
|
-
|
|
504
507
|
let files = await Directory.readFilesAsync(outputDir);
|
|
505
508
|
let jsons = files.filter(x => /(?<!dbg)\.json$/.test(x.uri.file));
|
|
506
509
|
if (jsons.length === 0) {
|
|
@@ -515,24 +518,15 @@ export class HardhatProvider {
|
|
|
515
518
|
|
|
516
519
|
let jsonFile = getJsonFile(jsons, filename);
|
|
517
520
|
if (jsonFile == null) {
|
|
521
|
+
// Filename could contain random number, extract main-name
|
|
518
522
|
const filenameRndSuffix = filename.replace(/_\d+$/, '');
|
|
519
523
|
if (filenameRndSuffix != null) {
|
|
520
524
|
jsonFile = getJsonFile(jsons, filenameRndSuffix);
|
|
521
525
|
}
|
|
522
526
|
}
|
|
523
527
|
if (jsonFile == null) {
|
|
524
|
-
let
|
|
525
|
-
|
|
526
|
-
sourceFile = class_Uri.combine(options.paths.root, sourceFile);
|
|
527
|
-
}
|
|
528
|
-
if (await File.existsAsync(sourceFile) === false) {
|
|
529
|
-
throw new Error(`Source file "${solContractPath}" not found in ${options.paths.root}`);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
let source = await File.readAsync<string>(sourceFile);
|
|
534
|
-
let rgx = /contract \s*(?<contractName>[\w_]+)/ig;
|
|
535
|
-
let matches = Array.from(source.matchAll(rgx));
|
|
528
|
+
let source = await this.getSolFileContent(solContractPath, options);
|
|
529
|
+
let matches = Array.from(source.matchAll(rgx_CONTRACT_NAME));
|
|
536
530
|
let contractName = matches[matches.length - 1]?.groups?.contractName;
|
|
537
531
|
options.contractName = contractName;
|
|
538
532
|
jsonFile = getJsonFile(jsons, contractName);
|
|
@@ -567,11 +561,23 @@ export class HardhatProvider {
|
|
|
567
561
|
return { root, artifacts };
|
|
568
562
|
}
|
|
569
563
|
|
|
564
|
+
private async getSolFileContent (solContractPath, options: { paths: { root }}) {
|
|
565
|
+
let sourceFile = solContractPath;
|
|
566
|
+
if (await File.existsAsync(sourceFile) === false) {
|
|
567
|
+
sourceFile = class_Uri.combine(options.paths.root, sourceFile);
|
|
568
|
+
}
|
|
569
|
+
if (await File.existsAsync(sourceFile) === false) {
|
|
570
|
+
throw new Error(`Source file "${solContractPath}" not found in ${options.paths.root}`);
|
|
571
|
+
}
|
|
570
572
|
|
|
571
|
-
|
|
573
|
+
let source = await File.readAsync<string>(sourceFile);
|
|
574
|
+
return source;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
public async getContractFromSolPath <T extends ContractBase = IContractWrapped> (solContractPath: string, options?: {
|
|
572
578
|
contractName?: string
|
|
573
579
|
paths: {
|
|
574
|
-
sources
|
|
580
|
+
sources?: string
|
|
575
581
|
root?: string;
|
|
576
582
|
artifacts?: string;
|
|
577
583
|
};
|
|
@@ -586,7 +592,10 @@ export class HardhatProvider {
|
|
|
586
592
|
root,
|
|
587
593
|
artifacts,
|
|
588
594
|
},
|
|
589
|
-
})
|
|
595
|
+
});
|
|
596
|
+
if (artifactJsonPath == null) {
|
|
597
|
+
return null;
|
|
598
|
+
}
|
|
590
599
|
|
|
591
600
|
let { abi, bytecode, contractName, linkReferences } = await File.readAsync<IJsonArtifact> (artifactJsonPath);
|
|
592
601
|
let { contract, ContractCtor } = ContractClassFactory.fromAbi<T>(null, abi, null, null, {
|
|
@@ -598,7 +607,9 @@ export class HardhatProvider {
|
|
|
598
607
|
}
|
|
599
608
|
})
|
|
600
609
|
|
|
601
|
-
let files =
|
|
610
|
+
let files = options?.paths?.sources
|
|
611
|
+
? await Directory.readFilesAsync(options.paths.sources, '*.sol')
|
|
612
|
+
: [];
|
|
602
613
|
let fileMap = await alot(files)
|
|
603
614
|
.mapAsync(async file => {
|
|
604
615
|
return {
|
|
@@ -4,8 +4,8 @@ import { EthWeb3Client } from '@dequanto/clients/EthWeb3Client';
|
|
|
4
4
|
import { TAddress } from '@dequanto/models/TAddress';
|
|
5
5
|
import { $require } from '@dequanto/utils/$require';
|
|
6
6
|
import { $ns } from '../utils/$ns';
|
|
7
|
-
import type { EnsPublicResolver } from '@dequanto
|
|
8
|
-
import type { EnsRegistry } from '@dequanto
|
|
7
|
+
import type { EnsPublicResolver } from '@dequanto/prebuilt/ens/EnsPublicResolver/EnsPublicResolver';
|
|
8
|
+
import type { EnsRegistry } from '@dequanto/prebuilt/ens/EnsRegistry/EnsRegistry';
|
|
9
9
|
import { $is } from '@dequanto/utils/$is';
|
|
10
10
|
import { TEth } from '@dequanto/models/TEth';
|
|
11
11
|
import { ContractClassFactory } from '@dequanto/contracts/ContractClassFactory';
|