@latticexyz/world-module-erc20 2.2.18-90aac1d4acce19ac592d47a090732dd11c1c3e7a → 2.2.18-9fa07c8489f1fbf167d0db01cd9aaa645a29c8e2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_esm-55YV6YVE.js +3941 -0
- package/dist/{_esm-BQNWKNND.js.map → _esm-55YV6YVE.js.map} +1 -1
- package/dist/ccip-LZKN25J7.js +15 -0
- package/dist/chunk-DJZL27OA.js +141 -0
- package/dist/chunk-DJZL27OA.js.map +1 -0
- package/dist/chunk-GF52EVJ6.js +3990 -0
- package/dist/chunk-GF52EVJ6.js.map +1 -0
- package/dist/chunk-M7XPBMRG.js +61 -0
- package/dist/chunk-M7XPBMRG.js.map +1 -0
- package/dist/internal.cjs +1253 -0
- package/dist/internal.cjs.map +1 -0
- package/dist/internal.d.cts +10 -0
- package/dist/internal.js +38 -1
- package/dist/internal.js.map +1 -1
- package/dist/mud.config.cjs +103 -0
- package/dist/mud.config.cjs.map +1 -0
- package/dist/mud.config.d.cts +415 -0
- package/dist/mud.config.js +86 -1
- package/dist/mud.config.js.map +1 -1
- package/dist/secp256k1-FOTFQX6Q.js +2418 -0
- package/dist/secp256k1-FOTFQX6Q.js.map +1 -0
- package/package.json +29 -12
- package/dist/_esm-BQNWKNND.js +0 -10
- package/dist/ccip-YAWUVTAX.js +0 -2
- package/dist/chunk-GSBUANUZ.js +0 -30
- package/dist/chunk-GSBUANUZ.js.map +0 -1
- package/dist/chunk-LURIOADG.js +0 -2
- package/dist/chunk-LURIOADG.js.map +0 -1
- package/dist/chunk-TJJDXMQ6.js +0 -7
- package/dist/chunk-TJJDXMQ6.js.map +0 -1
- package/dist/secp256k1-UMYSD4MC.js +0 -22
- package/dist/secp256k1-UMYSD4MC.js.map +0 -1
- /package/dist/{ccip-YAWUVTAX.js.map → ccip-LZKN25J7.js.map} +0 -0
package/dist/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../ts/defineERC20Module.ts"],"sourcesContent":["import { encodeAbiParameters, stringToHex } from \"viem\";\nimport { ModuleInput } from \"@latticexyz/world/internal\";\n\nexport type DefineERC20ModuleInput = {\n namespace: string;\n name: string;\n symbol: string;\n};\n\nexport function defineERC20Module({ namespace, name, symbol }: DefineERC20ModuleInput): ModuleInput {\n const erc20ModuleArgs = encodeAbiParameters(\n [{ type: \"bytes14\" }, { type: \"string\" }, { type: \"string\" }],\n [stringToHex(namespace, { size: 14 }), name, symbol],\n );\n\n return {\n artifactPath: \"@latticexyz/world-module-erc20/out/ERC20Module.sol/ERC20Module.json\",\n root: false,\n args: [\n {\n type: \"bytes\",\n value: erc20ModuleArgs,\n },\n ],\n };\n}\n"],"mappings":"uGASO,SAASA,EAAkB,CAAE,UAAAC,EAAW,KAAAC,EAAM,OAAAC,CAAO,EAAwC,CAMlG,MAAO,CACL,aAAc,sEACd,KAAM,GACN,KAAM,CACJ,CACE,KAAM,QACN,MAXkBC,EACtB,CAAC,CAAE,KAAM,SAAU,EAAG,CAAE,KAAM,QAAS,EAAG,CAAE,KAAM,QAAS,CAAC,EAC5D,CAACC,EAAYJ,EAAW,CAAE,KAAM,EAAG,CAAC,EAAGC,EAAMC,CAAM,CACrD,CASI,CACF,CACF,CACF","names":["defineERC20Module","namespace","name","symbol","encodeAbiParameters","stringToHex"]}
|
|
1
|
+
{"version":3,"sources":["../ts/exports/internal.ts","../ts/defineERC20Module.ts","../../../node_modules/.pnpm/viem@2.21.19_bufferutil@4.0.8_typescript@5.4.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/index.ts"],"sourcesContent":["export { defineERC20Module } from \"../defineERC20Module\";\n","import { encodeAbiParameters, stringToHex } from \"viem\";\nimport { ModuleInput } from \"@latticexyz/world/internal\";\n\nexport type DefineERC20ModuleInput = {\n namespace: string;\n name: string;\n symbol: string;\n};\n\nexport function defineERC20Module({ namespace, name, symbol }: DefineERC20ModuleInput): ModuleInput {\n const erc20ModuleArgs = encodeAbiParameters(\n [{ type: \"bytes14\" }, { type: \"string\" }, { type: \"string\" }],\n [stringToHex(namespace, { size: 14 }), name, symbol],\n );\n\n return {\n artifactPath: \"@latticexyz/world-module-erc20/out/ERC20Module.sol/ERC20Module.json\",\n root: false,\n args: [\n {\n type: \"bytes\",\n value: erc20ModuleArgs,\n },\n ],\n };\n}\n","// biome-ignore lint/performance/noBarrelFile: entrypoint module\nexport {\n type Abi,\n type AbiFunction,\n type AbiParameter,\n type AbiEvent,\n type AbiStateMutability,\n type AbiParameterKind,\n type AbiParameterToPrimitiveType,\n type Address,\n type Narrow,\n type ParseAbi,\n type ParseAbiItem,\n type ParseAbiParameter,\n type ParseAbiParameters,\n type ResolvedRegister,\n type TypedData,\n type TypedDataDomain,\n type TypedDataParameter,\n CircularReferenceError,\n InvalidAbiParameterError,\n InvalidAbiParametersError,\n InvalidAbiItemError,\n InvalidAbiTypeParameterError,\n InvalidFunctionModifierError,\n InvalidModifierError,\n InvalidParameterError,\n InvalidParenthesisError,\n InvalidSignatureError,\n InvalidStructSignatureError,\n SolidityProtectedKeywordError,\n UnknownTypeError,\n UnknownSignatureError,\n parseAbi,\n parseAbiItem,\n parseAbiParameter,\n parseAbiParameters,\n} from 'abitype'\n\nexport {\n getContract,\n type GetContractErrorType,\n type GetContractParameters,\n type GetContractReturnType,\n} from './actions/getContract.js'\nexport {\n type GetContractEventsErrorType,\n type GetContractEventsParameters,\n type GetContractEventsReturnType,\n} from './actions/public/getContractEvents.js'\nexport {\n type GetEip712DomainErrorType,\n type GetEip712DomainParameters,\n type GetEip712DomainReturnType,\n} from './actions/public/getEip712Domain.js'\nexport {\n type AddChainErrorType,\n type AddChainParameters,\n} from './actions/wallet/addChain.js'\nexport {\n type CallErrorType,\n type CallParameters,\n type CallReturnType,\n} from './actions/public/call.js'\nexport type {\n CreateBlockFilterErrorType,\n CreateBlockFilterReturnType,\n} from './actions/public/createBlockFilter.js'\nexport type {\n CreateContractEventFilterErrorType,\n CreateContractEventFilterParameters,\n CreateContractEventFilterReturnType,\n} from './actions/public/createContractEventFilter.js'\nexport type {\n CreateEventFilterErrorType,\n CreateEventFilterParameters,\n CreateEventFilterReturnType,\n} from './actions/public/createEventFilter.js'\nexport type {\n CreatePendingTransactionFilterErrorType,\n CreatePendingTransactionFilterReturnType,\n} from './actions/public/createPendingTransactionFilter.js'\nexport type {\n DeployContractErrorType,\n DeployContractParameters,\n DeployContractReturnType,\n} from './actions/wallet/deployContract.js'\nexport type {\n DropTransactionErrorType,\n DropTransactionParameters,\n} from './actions/test/dropTransaction.js'\nexport type {\n DumpStateErrorType,\n DumpStateReturnType,\n} from './actions/test/dumpState.js'\nexport type {\n GetAutomineErrorType,\n GetAutomineReturnType,\n} from './actions/test/getAutomine.js'\nexport type {\n EstimateContractGasErrorType,\n EstimateContractGasParameters,\n EstimateContractGasReturnType,\n} from './actions/public/estimateContractGas.js'\nexport type {\n EstimateGasErrorType,\n EstimateGasParameters,\n EstimateGasReturnType,\n} from './actions/public/estimateGas.js'\nexport type {\n EstimateFeesPerGasErrorType,\n EstimateFeesPerGasParameters,\n EstimateFeesPerGasReturnType,\n} from './actions/public/estimateFeesPerGas.js'\nexport type {\n EstimateMaxPriorityFeePerGasErrorType,\n EstimateMaxPriorityFeePerGasParameters,\n EstimateMaxPriorityFeePerGasReturnType,\n} from './actions/public/estimateMaxPriorityFeePerGas.js'\nexport type {\n GetAddressesErrorType,\n GetAddressesReturnType,\n} from './actions/wallet/getAddresses.js'\nexport type {\n GetBalanceErrorType,\n GetBalanceParameters,\n GetBalanceReturnType,\n} from './actions/public/getBalance.js'\nexport type {\n GetBlobBaseFeeErrorType,\n GetBlobBaseFeeReturnType,\n} from './actions/public/getBlobBaseFee.js'\nexport type {\n GetBlockNumberErrorType,\n GetBlockNumberParameters,\n GetBlockNumberReturnType,\n} from './actions/public/getBlockNumber.js'\nexport type {\n GetBlockErrorType,\n GetBlockParameters,\n GetBlockReturnType,\n} from './actions/public/getBlock.js'\nexport type {\n GetBlockTransactionCountErrorType,\n GetBlockTransactionCountParameters,\n GetBlockTransactionCountReturnType,\n} from './actions/public/getBlockTransactionCount.js'\nexport type {\n /** @deprecated Use `GetCodeErrorType` instead */\n GetCodeErrorType as GetBytecodeErrorType,\n /** @deprecated Use `GetCodeParameters` instead */\n GetCodeParameters as GetBytecodeParameters,\n /** @deprecated Use `GetCodeReturnType` instead */\n GetCodeReturnType as GetBytecodeReturnType,\n GetCodeErrorType,\n GetCodeParameters,\n GetCodeReturnType,\n} from './actions/public/getCode.js'\nexport type {\n GetChainIdErrorType,\n GetChainIdReturnType,\n} from './actions/public/getChainId.js'\nexport type {\n GetEnsAddressErrorType,\n GetEnsAddressParameters,\n GetEnsAddressReturnType,\n} from './actions/ens/getEnsAddress.js'\nexport type {\n GetEnsAvatarErrorType,\n GetEnsAvatarParameters,\n GetEnsAvatarReturnType,\n} from './actions/ens/getEnsAvatar.js'\nexport type {\n GetEnsNameErrorType,\n GetEnsNameParameters,\n GetEnsNameReturnType,\n} from './actions/ens/getEnsName.js'\nexport type {\n GetEnsResolverErrorType,\n GetEnsResolverParameters,\n GetEnsResolverReturnType,\n} from './actions/ens/getEnsResolver.js'\nexport type {\n GetEnsTextErrorType,\n GetEnsTextParameters,\n GetEnsTextReturnType,\n} from './actions/ens/getEnsText.js'\nexport type {\n GetFeeHistoryErrorType,\n GetFeeHistoryParameters,\n GetFeeHistoryReturnType,\n} from './actions/public/getFeeHistory.js'\nexport type {\n GetFilterChangesErrorType,\n GetFilterChangesParameters,\n GetFilterChangesReturnType,\n} from './actions/public/getFilterChanges.js'\nexport type {\n GetFilterLogsErrorType,\n GetFilterLogsParameters,\n GetFilterLogsReturnType,\n} from './actions/public/getFilterLogs.js'\nexport type {\n GetGasPriceErrorType,\n GetGasPriceReturnType,\n} from './actions/public/getGasPrice.js'\nexport type {\n GetLogsErrorType,\n GetLogsParameters,\n GetLogsReturnType,\n} from './actions/public/getLogs.js'\nexport type {\n GetPermissionsErrorType,\n GetPermissionsReturnType,\n} from './actions/wallet/getPermissions.js'\nexport type {\n GetProofErrorType,\n GetProofParameters,\n GetProofReturnType,\n} from './actions/public/getProof.js'\nexport type {\n GetStorageAtErrorType,\n GetStorageAtParameters,\n GetStorageAtReturnType,\n} from './actions/public/getStorageAt.js'\nexport type {\n GetTransactionConfirmationsErrorType,\n GetTransactionConfirmationsParameters,\n GetTransactionConfirmationsReturnType,\n} from './actions/public/getTransactionConfirmations.js'\nexport type {\n GetTransactionCountErrorType,\n GetTransactionCountParameters,\n GetTransactionCountReturnType,\n} from './actions/public/getTransactionCount.js'\nexport type {\n GetTransactionErrorType,\n GetTransactionParameters,\n GetTransactionReturnType,\n} from './actions/public/getTransaction.js'\nexport type {\n GetTransactionReceiptErrorType,\n GetTransactionReceiptParameters,\n GetTransactionReceiptReturnType,\n} from './actions/public/getTransactionReceipt.js'\nexport type {\n ImpersonateAccountErrorType,\n ImpersonateAccountParameters,\n} from './actions/test/impersonateAccount.js'\nexport type {\n IncreaseTimeErrorType,\n IncreaseTimeParameters,\n} from './actions/test/increaseTime.js'\nexport type {\n LoadStateErrorType,\n LoadStateParameters,\n LoadStateReturnType,\n} from './actions/test/loadState.js'\nexport type { MineErrorType, MineParameters } from './actions/test/mine.js'\nexport type {\n MulticallErrorType,\n MulticallParameters,\n MulticallReturnType,\n} from './actions/public/multicall.js'\nexport type { SnapshotErrorType } from './actions/test/snapshot.js'\nexport type {\n OnBlock,\n OnBlockParameter,\n WatchBlocksErrorType,\n WatchBlocksParameters,\n WatchBlocksReturnType,\n} from './actions/public/watchBlocks.js'\nexport type {\n OnBlockNumberFn,\n OnBlockNumberParameter,\n WatchBlockNumberErrorType,\n WatchBlockNumberParameters,\n WatchBlockNumberReturnType,\n} from './actions/public/watchBlockNumber.js'\nexport type {\n WatchEventOnLogsFn,\n WatchEventOnLogsParameter,\n WatchEventErrorType,\n WatchEventParameters,\n WatchEventReturnType,\n} from './actions/public/watchEvent.js'\nexport type {\n OnTransactionsFn,\n OnTransactionsParameter,\n WatchPendingTransactionsErrorType,\n WatchPendingTransactionsParameters,\n WatchPendingTransactionsReturnType,\n} from './actions/public/watchPendingTransactions.js'\nexport type {\n ReadContractErrorType,\n ReadContractParameters,\n ReadContractReturnType,\n} from './actions/public/readContract.js'\nexport type {\n ReplacementReason,\n ReplacementReturnType,\n WaitForTransactionReceiptErrorType,\n WaitForTransactionReceiptParameters,\n WaitForTransactionReceiptReturnType,\n} from './actions/public/waitForTransactionReceipt.js'\nexport type {\n RequestAddressesErrorType,\n RequestAddressesReturnType,\n} from './actions/wallet/requestAddresses.js'\nexport type {\n RequestPermissionsErrorType,\n RequestPermissionsReturnType,\n RequestPermissionsParameters,\n} from './actions/wallet/requestPermissions.js'\nexport type {\n GetTxpoolContentErrorType,\n GetTxpoolContentReturnType,\n} from './actions/test/getTxpoolContent.js'\nexport type {\n GetTxpoolStatusErrorType,\n GetTxpoolStatusReturnType,\n} from './actions/test/getTxpoolStatus.js'\nexport type {\n InspectTxpoolErrorType,\n InspectTxpoolReturnType,\n} from './actions/test/inspectTxpool.js'\nexport type { RemoveBlockTimestampIntervalErrorType } from './actions/test/removeBlockTimestampInterval.js'\nexport type { ResetErrorType, ResetParameters } from './actions/test/reset.js'\nexport type {\n RevertErrorType,\n RevertParameters,\n} from './actions/test/revert.js'\nexport type {\n SendRawTransactionErrorType,\n SendRawTransactionParameters,\n SendRawTransactionReturnType,\n} from './actions/wallet/sendRawTransaction.js'\nexport type {\n SendTransactionErrorType,\n SendTransactionParameters,\n SendTransactionRequest,\n SendTransactionReturnType,\n} from './actions/wallet/sendTransaction.js'\nexport type {\n SignTransactionErrorType,\n SignTransactionParameters,\n SignTransactionReturnType,\n} from './actions/wallet/signTransaction.js'\nexport type {\n PrepareTransactionRequestErrorType,\n PrepareTransactionRequestParameters,\n PrepareTransactionRequestParameterType,\n PrepareTransactionRequestRequest,\n PrepareTransactionRequestReturnType,\n} from './actions/wallet/prepareTransactionRequest.js'\nexport type {\n SendUnsignedTransactionErrorType,\n SendUnsignedTransactionParameters,\n SendUnsignedTransactionReturnType,\n} from './actions/test/sendUnsignedTransaction.js'\nexport type { SetAutomineErrorType } from './actions/test/setAutomine.js'\nexport type {\n SetBalanceErrorType,\n SetBalanceParameters,\n} from './actions/test/setBalance.js'\nexport type {\n SetBlockGasLimitErrorType,\n SetBlockGasLimitParameters,\n} from './actions/test/setBlockGasLimit.js'\nexport type {\n SetBlockTimestampIntervalErrorType,\n SetBlockTimestampIntervalParameters,\n} from './actions/test/setBlockTimestampInterval.js'\nexport type {\n SetCodeErrorType,\n SetCodeParameters,\n} from './actions/test/setCode.js'\nexport type {\n SetCoinbaseErrorType,\n SetCoinbaseParameters,\n} from './actions/test/setCoinbase.js'\nexport type {\n SetIntervalMiningErrorType,\n SetIntervalMiningParameters,\n} from './actions/test/setIntervalMining.js'\nexport type { SetLoggingEnabledErrorType } from './actions/test/setLoggingEnabled.js'\nexport type {\n SetMinGasPriceErrorType,\n SetMinGasPriceParameters,\n} from './actions/test/setMinGasPrice.js'\nexport type {\n SetNextBlockBaseFeePerGasErrorType,\n SetNextBlockBaseFeePerGasParameters,\n} from './actions/test/setNextBlockBaseFeePerGas.js'\nexport type {\n SetNextBlockTimestampErrorType,\n SetNextBlockTimestampParameters,\n} from './actions/test/setNextBlockTimestamp.js'\nexport type {\n SetNonceErrorType,\n SetNonceParameters,\n} from './actions/test/setNonce.js'\nexport type { SetRpcUrlErrorType } from './actions/test/setRpcUrl.js'\nexport type {\n SetStorageAtErrorType,\n SetStorageAtParameters,\n} from './actions/test/setStorageAt.js'\nexport type {\n SignMessageErrorType,\n SignMessageParameters,\n SignMessageReturnType,\n} from './actions/wallet/signMessage.js'\nexport type {\n SignTypedDataErrorType,\n SignTypedDataParameters,\n SignTypedDataReturnType,\n} from './actions/wallet/signTypedData.js'\nexport type {\n SimulateContractErrorType,\n SimulateContractParameters,\n SimulateContractReturnType,\n} from './actions/public/simulateContract.js'\nexport type {\n StopImpersonatingAccountErrorType,\n StopImpersonatingAccountParameters,\n} from './actions/test/stopImpersonatingAccount.js'\nexport type {\n SwitchChainErrorType,\n SwitchChainParameters,\n} from './actions/wallet/switchChain.js'\nexport type {\n UninstallFilterErrorType,\n UninstallFilterParameters,\n UninstallFilterReturnType,\n} from './actions/public/uninstallFilter.js'\nexport type {\n WatchAssetErrorType,\n WatchAssetParameters,\n WatchAssetReturnType,\n} from './actions/wallet/watchAsset.js'\nexport type {\n VerifyHashErrorType as VerifyHashActionErrorType,\n VerifyHashParameters as VerifyHashActionParameters,\n VerifyHashReturnType as VerifyHashActionReturnType,\n} from './actions/public/verifyHash.js'\nexport type {\n VerifyTypedDataErrorType as VerifyTypedDataActionErrorType,\n VerifyTypedDataParameters as VerifyTypedDataActionParameters,\n VerifyTypedDataReturnType as VerifyTypedDataActionReturnType,\n} from './actions/public/verifyTypedData.js'\nexport type {\n VerifyMessageErrorType as VerifyMessageActionErrorType,\n VerifyMessageParameters as VerifyMessageActionParameters,\n VerifyMessageReturnType as VerifyMessageActionReturnType,\n} from './actions/public/verifyMessage.js'\nexport type {\n WatchContractEventOnLogsFn,\n WatchContractEventOnLogsParameter,\n WatchContractEventErrorType,\n WatchContractEventParameters,\n WatchContractEventReturnType,\n} from './actions/public/watchContractEvent.js'\nexport type {\n WriteContractErrorType,\n WriteContractParameters,\n WriteContractReturnType,\n} from './actions/wallet/writeContract.js'\nexport type {\n Chain,\n ChainConfig,\n ChainContract,\n ChainEstimateFeesPerGasFn,\n ChainFees,\n ChainFeesFnParameters,\n ChainFormatter,\n ChainEstimateFeesPerGasFnParameters,\n ChainMaxPriorityFeePerGasFn,\n DeriveChain,\n GetChainParameter,\n ChainFormatters,\n ChainSerializers,\n ExtractChainFormatterExclude,\n ExtractChainFormatterParameters,\n ExtractChainFormatterReturnType,\n} from './types/chain.js'\nexport type { GetTransactionRequestKzgParameter, Kzg } from './types/kzg.js'\nexport {\n type Client,\n type ClientConfig,\n type CreateClientErrorType,\n type MulticallBatchOptions,\n createClient,\n rpcSchema,\n} from './clients/createClient.js'\nexport {\n type CustomTransport,\n type CustomTransportConfig,\n type CustomTransportErrorType,\n custom,\n} from './clients/transports/custom.js'\nexport {\n type FallbackTransport,\n type FallbackTransportConfig,\n type FallbackTransportErrorType,\n fallback,\n} from './clients/transports/fallback.js'\nexport {\n type HttpTransport,\n type HttpTransportConfig,\n type HttpTransportErrorType,\n http,\n} from './clients/transports/http.js'\nexport {\n type PublicClient,\n type PublicClientConfig,\n type CreatePublicClientErrorType,\n createPublicClient,\n} from './clients/createPublicClient.js'\nexport {\n type TestClient,\n type TestClientConfig,\n type CreateTestClientErrorType,\n createTestClient,\n} from './clients/createTestClient.js'\nexport {\n type PublicActions,\n publicActions,\n} from './clients/decorators/public.js'\nexport {\n type TestActions,\n testActions,\n} from './clients/decorators/test.js'\nexport {\n type WalletActions,\n walletActions,\n} from './clients/decorators/wallet.js'\nexport {\n type Transport,\n type TransportConfig,\n type CreateTransportErrorType,\n createTransport,\n} from './clients/transports/createTransport.js'\nexport {\n type WalletClient,\n type WalletClientConfig,\n type CreateWalletClientErrorType,\n createWalletClient,\n} from './clients/createWalletClient.js'\nexport {\n type WebSocketTransport,\n type WebSocketTransportConfig,\n type WebSocketTransportErrorType,\n webSocket,\n} from './clients/transports/webSocket.js'\nexport {\n multicall3Abi,\n erc20Abi,\n erc20Abi_bytes32,\n erc721Abi,\n erc4626Abi,\n universalSignatureValidatorAbi,\n} from './constants/abis.js'\nexport { zeroAddress } from './constants/address.js'\nexport {\n deploylessCallViaBytecodeBytecode,\n deploylessCallViaFactoryBytecode,\n universalSignatureValidatorByteCode,\n} from './constants/contracts.js'\nexport { etherUnits, gweiUnits, weiUnits } from './constants/unit.js'\nexport {\n maxInt8,\n maxInt16,\n maxInt24,\n maxInt32,\n maxInt40,\n maxInt48,\n maxInt56,\n maxInt64,\n maxInt72,\n maxInt80,\n maxInt88,\n maxInt96,\n maxInt104,\n maxInt112,\n maxInt120,\n maxInt128,\n maxInt136,\n maxInt144,\n maxInt152,\n maxInt160,\n maxInt168,\n maxInt176,\n maxInt184,\n maxInt192,\n maxInt200,\n maxInt208,\n maxInt216,\n maxInt224,\n maxInt232,\n maxInt240,\n maxInt248,\n maxInt256,\n maxUint8,\n maxUint16,\n maxUint24,\n maxUint32,\n maxUint40,\n maxUint48,\n maxUint56,\n maxUint64,\n maxUint72,\n maxUint80,\n maxUint88,\n maxUint96,\n maxUint104,\n maxUint112,\n maxUint120,\n maxUint128,\n maxUint136,\n maxUint144,\n maxUint152,\n maxUint160,\n maxUint168,\n maxUint176,\n maxUint184,\n maxUint192,\n maxUint200,\n maxUint208,\n maxUint216,\n maxUint224,\n maxUint232,\n maxUint240,\n maxUint248,\n maxUint256,\n minInt8,\n minInt16,\n minInt24,\n minInt32,\n minInt40,\n minInt48,\n minInt56,\n minInt64,\n minInt72,\n minInt80,\n minInt88,\n minInt96,\n minInt104,\n minInt112,\n minInt120,\n minInt128,\n minInt136,\n minInt144,\n minInt152,\n minInt160,\n minInt168,\n minInt176,\n minInt184,\n minInt192,\n minInt200,\n minInt208,\n minInt216,\n minInt224,\n minInt232,\n minInt240,\n minInt248,\n minInt256,\n} from './constants/number.js'\nexport { zeroHash } from './constants/bytes.js'\nexport { presignMessagePrefix } from './constants/strings.js'\nexport {\n AbiConstructorNotFoundError,\n type AbiConstructorNotFoundErrorType,\n AbiConstructorParamsNotFoundError,\n type AbiConstructorParamsNotFoundErrorType,\n AbiDecodingDataSizeInvalidError,\n type AbiDecodingDataSizeInvalidErrorType,\n AbiDecodingDataSizeTooSmallError,\n type AbiDecodingDataSizeTooSmallErrorType,\n AbiDecodingZeroDataError,\n type AbiDecodingZeroDataErrorType,\n AbiEncodingArrayLengthMismatchError,\n type AbiEncodingArrayLengthMismatchErrorType,\n AbiEncodingLengthMismatchError,\n type AbiEncodingLengthMismatchErrorType,\n AbiEncodingBytesSizeMismatchError,\n type AbiEncodingBytesSizeMismatchErrorType,\n AbiErrorInputsNotFoundError,\n type AbiErrorInputsNotFoundErrorType,\n AbiErrorNotFoundError,\n type AbiErrorNotFoundErrorType,\n AbiErrorSignatureNotFoundError,\n type AbiErrorSignatureNotFoundErrorType,\n AbiEventNotFoundError,\n type AbiEventNotFoundErrorType,\n AbiEventSignatureEmptyTopicsError,\n type AbiEventSignatureEmptyTopicsErrorType,\n AbiEventSignatureNotFoundError,\n type AbiEventSignatureNotFoundErrorType,\n AbiFunctionNotFoundError,\n type AbiFunctionNotFoundErrorType,\n AbiFunctionOutputsNotFoundError,\n type AbiFunctionOutputsNotFoundErrorType,\n AbiFunctionSignatureNotFoundError,\n type AbiFunctionSignatureNotFoundErrorType,\n BytesSizeMismatchError,\n type BytesSizeMismatchErrorType,\n DecodeLogDataMismatch,\n type DecodeLogDataMismatchErrorType,\n DecodeLogTopicsMismatch,\n type DecodeLogTopicsMismatchErrorType,\n InvalidAbiDecodingTypeError,\n type InvalidAbiDecodingTypeErrorType,\n InvalidAbiEncodingTypeError,\n type InvalidAbiEncodingTypeErrorType,\n InvalidArrayError,\n type InvalidArrayErrorType,\n InvalidDefinitionTypeError,\n type InvalidDefinitionTypeErrorType,\n UnsupportedPackedAbiType,\n type UnsupportedPackedAbiTypeErrorType,\n} from './errors/abi.js'\nexport { BaseError, type BaseErrorType, setErrorConfig } from './errors/base.js'\nexport {\n BlockNotFoundError,\n type BlockNotFoundErrorType,\n} from './errors/block.js'\nexport {\n CallExecutionError,\n type CallExecutionErrorType,\n ContractFunctionExecutionError,\n type ContractFunctionExecutionErrorType,\n ContractFunctionRevertedError,\n type ContractFunctionRevertedErrorType,\n ContractFunctionZeroDataError,\n type ContractFunctionZeroDataErrorType,\n RawContractError,\n type RawContractErrorType,\n CounterfactualDeploymentFailedError,\n type CounterfactualDeploymentFailedErrorType,\n} from './errors/contract.js'\nexport {\n BaseFeeScalarError,\n type BaseFeeScalarErrorType,\n Eip1559FeesNotSupportedError,\n type Eip1559FeesNotSupportedErrorType,\n MaxFeePerGasTooLowError,\n type MaxFeePerGasTooLowErrorType,\n} from './errors/fee.js'\nexport {\n ChainDisconnectedError,\n type ChainDisconnectedErrorType,\n InternalRpcError,\n type InternalRpcErrorType,\n InvalidInputRpcError,\n type InvalidInputRpcErrorType,\n InvalidParamsRpcError,\n type InvalidParamsRpcErrorType,\n InvalidRequestRpcError,\n type InvalidRequestRpcErrorType,\n JsonRpcVersionUnsupportedError,\n type JsonRpcVersionUnsupportedErrorType,\n LimitExceededRpcError,\n type LimitExceededRpcErrorType,\n MethodNotFoundRpcError,\n type MethodNotFoundRpcErrorType,\n MethodNotSupportedRpcError,\n type MethodNotSupportedRpcErrorType,\n ParseRpcError,\n type ParseRpcErrorType,\n ProviderDisconnectedError,\n type ProviderDisconnectedErrorType,\n ProviderRpcError,\n type ProviderRpcErrorCode,\n type ProviderRpcErrorType,\n ResourceNotFoundRpcError,\n type ResourceNotFoundRpcErrorType,\n ResourceUnavailableRpcError,\n type ResourceUnavailableRpcErrorType,\n RpcError,\n type RpcErrorType,\n type RpcErrorCode,\n SwitchChainError,\n TransactionRejectedRpcError,\n type TransactionRejectedRpcErrorType,\n UnauthorizedProviderError,\n type UnauthorizedProviderErrorType,\n UnknownRpcError,\n type UnknownRpcErrorType,\n UnsupportedProviderMethodError,\n type UnsupportedProviderMethodErrorType,\n UserRejectedRequestError,\n type UserRejectedRequestErrorType,\n} from './errors/rpc.js'\nexport {\n ChainDoesNotSupportContract,\n type ChainDoesNotSupportContractErrorType,\n ChainMismatchError,\n type ChainMismatchErrorType,\n ChainNotFoundError,\n type ChainNotFoundErrorType,\n ClientChainNotConfiguredError,\n type ClientChainNotConfiguredErrorType,\n InvalidChainIdError,\n type InvalidChainIdErrorType,\n} from './errors/chain.js'\nexport {\n InvalidBytesBooleanError,\n type InvalidBytesBooleanErrorType,\n IntegerOutOfRangeError,\n type IntegerOutOfRangeErrorType,\n InvalidHexBooleanError,\n type InvalidHexBooleanErrorType,\n InvalidHexValueError,\n type InvalidHexValueErrorType,\n SizeOverflowError,\n type SizeOverflowErrorType,\n} from './errors/encoding.js'\nexport {\n type EnsAvatarInvalidMetadataError,\n EnsAvatarUriResolutionError,\n type EnsAvatarInvalidMetadataErrorType,\n EnsAvatarInvalidNftUriError,\n type EnsAvatarInvalidNftUriErrorType,\n EnsAvatarUnsupportedNamespaceError,\n type EnsAvatarUnsupportedNamespaceErrorType,\n type EnsAvatarUriResolutionErrorType,\n} from './errors/ens.js'\nexport {\n type InvalidDecimalNumberErrorType,\n InvalidDecimalNumberError,\n} from './errors/unit.js'\nexport {\n EstimateGasExecutionError,\n type EstimateGasExecutionErrorType,\n} from './errors/estimateGas.js'\nexport {\n ExecutionRevertedError,\n type ExecutionRevertedErrorType,\n FeeCapTooHighError,\n type FeeCapTooHighErrorType,\n FeeCapTooLowError,\n type FeeCapTooLowErrorType,\n InsufficientFundsError,\n type InsufficientFundsErrorType,\n IntrinsicGasTooHighError,\n type IntrinsicGasTooHighErrorType,\n IntrinsicGasTooLowError,\n type IntrinsicGasTooLowErrorType,\n NonceMaxValueError,\n type NonceMaxValueErrorType,\n NonceTooHighError,\n type NonceTooHighErrorType,\n NonceTooLowError,\n type NonceTooLowErrorType,\n TipAboveFeeCapError,\n type TipAboveFeeCapErrorType,\n TransactionTypeNotSupportedError,\n type TransactionTypeNotSupportedErrorType,\n UnknownNodeError,\n type UnknownNodeErrorType,\n} from './errors/node.js'\nexport {\n FilterTypeNotSupportedError,\n type FilterTypeNotSupportedErrorType,\n} from './errors/log.js'\nexport {\n HttpRequestError,\n type HttpRequestErrorType,\n RpcRequestError,\n type RpcRequestErrorType,\n TimeoutError,\n type TimeoutErrorType,\n SocketClosedError,\n type SocketClosedErrorType,\n WebSocketRequestError,\n type WebSocketRequestErrorType,\n} from './errors/request.js'\nexport {\n InvalidAddressError,\n type InvalidAddressErrorType,\n} from './errors/address.js'\nexport {\n FeeConflictError,\n type FeeConflictErrorType,\n InvalidLegacyVError,\n type InvalidLegacyVErrorType,\n InvalidSerializableTransactionError,\n type InvalidSerializableTransactionErrorType,\n InvalidSerializedTransactionError,\n type InvalidSerializedTransactionErrorType,\n InvalidSerializedTransactionTypeError,\n type InvalidSerializedTransactionTypeErrorType,\n InvalidStorageKeySizeError,\n type InvalidStorageKeySizeErrorType,\n TransactionExecutionError,\n type TransactionExecutionErrorType,\n TransactionNotFoundError,\n type TransactionNotFoundErrorType,\n TransactionReceiptNotFoundError,\n type TransactionReceiptNotFoundErrorType,\n WaitForTransactionReceiptTimeoutError,\n type WaitForTransactionReceiptTimeoutErrorType,\n} from './errors/transaction.js'\nexport {\n SizeExceedsPaddingSizeError,\n type SizeExceedsPaddingSizeErrorType,\n SliceOffsetOutOfBoundsError,\n type SliceOffsetOutOfBoundsErrorType,\n} from './errors/data.js'\nexport {\n UrlRequiredError,\n type UrlRequiredErrorType,\n} from './errors/transport.js'\nexport {\n AccountStateConflictError,\n type AccountStateConflictErrorType,\n StateAssignmentConflictError,\n type StateAssignmentConflictErrorType,\n} from './errors/stateOverride.js'\nexport type {\n AbiEventParameterToPrimitiveType,\n AbiEventParametersToPrimitiveTypes,\n AbiEventTopicToPrimitiveType,\n AbiItem,\n AbiItemArgs,\n AbiItemName,\n ContractConstructorArgs,\n ContractEventArgsFromTopics,\n EventDefinition,\n ExtractAbiFunctionForArgs,\n ExtractAbiItem,\n ExtractAbiItemForArgs,\n ExtractAbiItemNames,\n ContractErrorArgs,\n ContractErrorName,\n ContractEventArgs,\n ContractEventName,\n ContractFunctionParameters,\n ContractFunctionReturnType,\n ContractFunctionArgs,\n ContractFunctionName,\n GetEventArgs,\n GetValue,\n LogTopicType,\n MaybeAbiEventName,\n MaybeExtractEventArgsFromAbi,\n UnionWiden,\n Widen,\n} from './types/contract.js'\nexport type {\n AccessList,\n Transaction,\n TransactionBase,\n TransactionEIP1559,\n TransactionEIP2930,\n TransactionEIP4844,\n TransactionEIP7702,\n TransactionLegacy,\n TransactionReceipt,\n TransactionRequest,\n TransactionRequestBase,\n TransactionRequestEIP1559,\n TransactionRequestEIP2930,\n TransactionRequestEIP4844,\n TransactionRequestEIP7702,\n TransactionRequestGeneric,\n TransactionRequestLegacy,\n TransactionSerializable,\n TransactionSerializableBase,\n TransactionSerializableEIP1559,\n TransactionSerializableEIP2930,\n TransactionSerializableEIP4844,\n TransactionSerializableEIP7702,\n TransactionSerializableGeneric,\n TransactionSerializableLegacy,\n TransactionSerialized,\n TransactionSerializedEIP1559,\n TransactionSerializedEIP2930,\n TransactionSerializedEIP4844,\n TransactionSerializedEIP7702,\n TransactionSerializedGeneric,\n TransactionSerializedLegacy,\n TransactionType,\n} from './types/transaction.js'\nexport type {\n Assign,\n Branded,\n Evaluate,\n IsNarrowable,\n IsUndefined,\n IsUnion,\n LooseOmit,\n MaybePartial,\n MaybePromise,\n MaybeRequired,\n Mutable,\n NoInfer,\n NoUndefined,\n Omit,\n Or,\n PartialBy,\n RequiredBy,\n Some,\n UnionEvaluate,\n UnionLooseOmit,\n ValueOf,\n Prettify,\n ExactPartial,\n ExactRequired,\n IsNever,\n OneOf,\n UnionOmit,\n UnionPartialBy,\n UnionPick,\n UnionRequiredBy,\n UnionToTuple,\n} from './types/utils.js'\nexport type {\n Account,\n AccountSource,\n CustomSource,\n HDAccount,\n HDOptions,\n JsonRpcAccount,\n LocalAccount,\n PrivateKeyAccount,\n} from './accounts/types.js'\nexport type { AssetGateway, AssetGatewayUrls } from './types/ens.js'\nexport type {\n Block,\n BlockIdentifier,\n BlockNumber,\n BlockTag,\n Uncle,\n} from './types/block.js'\nexport type {\n ByteArray,\n Hash,\n Hex,\n LogTopic,\n Signature,\n CompactSignature,\n SignableMessage,\n} from './types/misc.js'\nexport type {\n AddEthereumChainParameter,\n BundlerRpcSchema,\n DebugBundlerRpcSchema,\n EIP1193EventMap,\n EIP1193Events,\n EIP1193Parameters,\n EIP1193Provider,\n EIP1193RequestFn,\n EIP1474Methods,\n ProviderRpcErrorType as EIP1193ProviderRpcErrorType,\n ProviderConnectInfo,\n ProviderMessage,\n PublicRpcSchema,\n PaymasterRpcSchema,\n NetworkSync,\n RpcSchema,\n RpcSchemaOverride,\n TestRpcSchema,\n WalletCapabilities,\n WalletCapabilitiesRecord,\n WalletCallReceipt,\n WalletGetCallsStatusReturnType,\n WalletGrantPermissionsParameters,\n WalletGrantPermissionsReturnType,\n WalletSendCallsParameters,\n WalletPermissionCaveat,\n WalletPermission,\n WalletRpcSchema,\n WatchAssetParams,\n} from './types/eip1193.js'\nexport { ProviderRpcError as EIP1193ProviderRpcError } from './types/eip1193.js'\nexport type { BlobSidecar, BlobSidecars } from './types/eip4844.js'\nexport type {\n FeeHistory,\n FeeValues,\n FeeValuesEIP1559,\n FeeValuesEIP4844,\n FeeValuesLegacy,\n FeeValuesType,\n} from './types/fee.js'\nexport type { Filter, FilterType } from './types/filter.js'\nexport type { TypedDataDefinition } from './types/typedData.js'\nexport type { GetTransportConfig, GetPollOptions } from './types/transport.js'\nexport type { Log } from './types/log.js'\nexport type {\n MulticallContracts,\n MulticallResponse,\n MulticallResults,\n} from './types/multicall.js'\nexport type {\n ParseAccount,\n DeriveAccount,\n HDKey,\n} from './types/account.js'\nexport type {\n Index,\n Quantity,\n RpcBlock,\n RpcBlockIdentifier,\n RpcBlockNumber,\n RpcFeeHistory,\n RpcFeeValues,\n RpcLog,\n RpcTransaction,\n RpcTransactionReceipt,\n RpcTransactionRequest,\n RpcUncle,\n Status,\n RpcProof,\n RpcAccountStateOverride,\n RpcStateOverride,\n RpcStateMapping,\n} from './types/rpc.js'\nexport type { Withdrawal } from './types/withdrawal.js'\nexport type {\n StateMapping,\n StateOverride,\n} from './types/stateOverride.js'\nexport { labelhash, type LabelhashErrorType } from './utils/ens/labelhash.js'\nexport { namehash, type NamehashErrorType } from './utils/ens/namehash.js'\nexport {\n type FormattedBlock,\n defineBlock,\n type DefineBlockErrorType,\n formatBlock,\n type FormatBlockErrorType,\n} from './utils/formatters/block.js'\nexport { formatLog, type FormatLogErrorType } from './utils/formatters/log.js'\nexport {\n type DecodeAbiParametersErrorType,\n type DecodeAbiParametersReturnType,\n decodeAbiParameters,\n} from './utils/abi/decodeAbiParameters.js'\nexport {\n type DecodeDeployDataErrorType,\n type DecodeDeployDataParameters,\n type DecodeDeployDataReturnType,\n decodeDeployData,\n} from './utils/abi/decodeDeployData.js'\nexport {\n type DecodeErrorResultErrorType,\n type DecodeErrorResultParameters,\n type DecodeErrorResultReturnType,\n decodeErrorResult,\n} from './utils/abi/decodeErrorResult.js'\nexport {\n type DecodeEventLogErrorType,\n type DecodeEventLogParameters,\n type DecodeEventLogReturnType,\n decodeEventLog,\n} from './utils/abi/decodeEventLog.js'\nexport {\n type DecodeFunctionDataErrorType,\n type DecodeFunctionDataParameters,\n type DecodeFunctionDataReturnType,\n decodeFunctionData,\n} from './utils/abi/decodeFunctionData.js'\nexport {\n type DecodeFunctionResultErrorType,\n type DecodeFunctionResultParameters,\n type DecodeFunctionResultReturnType,\n decodeFunctionResult,\n} from './utils/abi/decodeFunctionResult.js'\nexport {\n type EncodeAbiParametersErrorType,\n type EncodeAbiParametersReturnType,\n encodeAbiParameters,\n} from './utils/abi/encodeAbiParameters.js'\nexport {\n type EncodeDeployDataErrorType,\n type EncodeDeployDataParameters,\n type EncodeDeployDataReturnType,\n encodeDeployData,\n} from './utils/abi/encodeDeployData.js'\nexport {\n type EncodeErrorResultErrorType,\n type EncodeErrorResultParameters,\n type EncodeErrorResultReturnType,\n encodeErrorResult,\n} from './utils/abi/encodeErrorResult.js'\nexport {\n type EncodeEventTopicsErrorType,\n type EncodeEventTopicsParameters,\n type EncodeEventTopicsReturnType,\n encodeEventTopics,\n} from './utils/abi/encodeEventTopics.js'\nexport {\n type EncodeFunctionDataErrorType,\n type EncodeFunctionDataParameters,\n type EncodeFunctionDataReturnType,\n encodeFunctionData,\n} from './utils/abi/encodeFunctionData.js'\nexport {\n type PrepareEncodeFunctionDataErrorType,\n type PrepareEncodeFunctionDataParameters,\n type PrepareEncodeFunctionDataReturnType,\n prepareEncodeFunctionData,\n} from './utils/abi/prepareEncodeFunctionData.js'\nexport {\n type EncodeFunctionResultErrorType,\n type EncodeFunctionResultParameters,\n type EncodeFunctionResultReturnType,\n encodeFunctionResult,\n} from './utils/abi/encodeFunctionResult.js'\nexport {\n type ParseEventLogsErrorType,\n type ParseEventLogsParameters,\n type ParseEventLogsReturnType,\n parseEventLogs,\n} from './utils/abi/parseEventLogs.js'\nexport {\n type FormattedTransaction,\n defineTransaction,\n type DefineTransactionErrorType,\n formatTransaction,\n type FormatTransactionErrorType,\n transactionType,\n} from './utils/formatters/transaction.js'\nexport {\n type FormattedTransactionReceipt,\n defineTransactionReceipt,\n type DefineTransactionReceiptErrorType,\n formatTransactionReceipt,\n type FormatTransactionReceiptErrorType,\n} from './utils/formatters/transactionReceipt.js'\nexport {\n type FormattedTransactionRequest,\n defineTransactionRequest,\n type DefineTransactionRequestErrorType,\n formatTransactionRequest,\n type FormatTransactionRequestErrorType,\n rpcTransactionType,\n} from './utils/formatters/transactionRequest.js'\nexport {\n type GetAbiItemErrorType,\n type GetAbiItemParameters,\n type GetAbiItemReturnType,\n getAbiItem,\n} from './utils/abi/getAbiItem.js'\nexport {\n type GetContractAddressOptions,\n type GetCreate2AddressOptions,\n type GetCreate2AddressErrorType,\n type GetCreateAddressOptions,\n type GetCreateAddressErrorType,\n getContractAddress,\n getCreate2Address,\n getCreateAddress,\n} from './utils/address/getContractAddress.js'\nexport {\n type GetSerializedTransactionType,\n type GetSerializedTransactionTypeErrorType,\n getSerializedTransactionType,\n} from './utils/transaction/getSerializedTransactionType.js'\nexport {\n type GetTransactionType,\n type GetTransactionTypeErrorType,\n getTransactionType,\n} from './utils/transaction/getTransactionType.js'\nexport {\n type HashDomainErrorType,\n type HashTypedDataErrorType,\n type HashTypedDataParameters,\n type HashTypedDataReturnType,\n hashDomain,\n hashTypedData,\n} from './utils/signature/hashTypedData.js'\nexport {\n type CompactSignatureToSignatureErrorType,\n compactSignatureToSignature,\n} from './utils/signature/compactSignatureToSignature.js'\nexport {\n /** @deprecated Use `ParseCompactSignatureErrorType`. */\n type ParseCompactSignatureErrorType as HexToCompactSignatureErrorType,\n /** @deprecated Use `parseCompactSignature`. */\n parseCompactSignature as hexToCompactSignature,\n type ParseCompactSignatureErrorType,\n parseCompactSignature,\n} from './utils/signature/parseCompactSignature.js'\nexport {\n /** @deprecated Use `ParseSignatureErrorType`. */\n type ParseSignatureErrorType as HexToSignatureErrorType,\n /** @deprecated Use `parseSignature`. */\n parseSignature as hexToSignature,\n type ParseSignatureErrorType,\n parseSignature,\n} from './utils/signature/parseSignature.js'\nexport {\n type RecoverAddressErrorType,\n type RecoverAddressParameters,\n type RecoverAddressReturnType,\n recoverAddress,\n} from './utils/signature/recoverAddress.js'\nexport {\n type RecoverMessageAddressErrorType,\n type RecoverMessageAddressParameters,\n type RecoverMessageAddressReturnType,\n recoverMessageAddress,\n} from './utils/signature/recoverMessageAddress.js'\nexport {\n type RecoverPublicKeyErrorType,\n type RecoverPublicKeyParameters,\n type RecoverPublicKeyReturnType,\n recoverPublicKey,\n} from './utils/signature/recoverPublicKey.js'\nexport {\n type RecoverTransactionAddressErrorType,\n type RecoverTransactionAddressParameters,\n type RecoverTransactionAddressReturnType,\n recoverTransactionAddress,\n} from './utils/signature/recoverTransactionAddress.js'\nexport {\n type RecoverTypedDataAddressErrorType,\n type RecoverTypedDataAddressParameters,\n type RecoverTypedDataAddressReturnType,\n recoverTypedDataAddress,\n} from './utils/signature/recoverTypedDataAddress.js'\nexport {\n type SignatureToCompactSignatureErrorType,\n signatureToCompactSignature,\n} from './utils/signature/signatureToCompactSignature.js'\nexport {\n /** @deprecated Use `SignatureToHexErrorType` instead. */\n type SerializeCompactSignatureErrorType as CompactSignatureToHexErrorType,\n /** @deprecated Use `serializeCompactSignature` instead. */\n serializeCompactSignature as compactSignatureToHex,\n type SerializeCompactSignatureErrorType,\n serializeCompactSignature,\n} from './utils/signature/serializeCompactSignature.js'\nexport {\n /** @deprecated Use `SignatureToHexErrorType` instead. */\n type SerializeSignatureErrorType as SignatureToHexErrorType,\n /** @deprecated Use `serializeSignature` instead. */\n serializeSignature as signatureToHex,\n type SerializeSignatureParameters,\n type SerializeSignatureReturnType,\n type SerializeSignatureErrorType,\n serializeSignature,\n} from './utils/signature/serializeSignature.js'\nexport {\n bytesToRlp,\n type BytesToRlpErrorType,\n hexToRlp,\n type HexToRlpErrorType,\n toRlp,\n type ToRlpErrorType,\n type ToRlpReturnType,\n} from './utils/encoding/toRlp.js'\nexport {\n type VerifyHashErrorType,\n type VerifyHashParameters,\n type VerifyHashReturnType,\n verifyHash,\n} from './utils/signature/verifyHash.js'\nexport {\n type VerifyMessageErrorType,\n type VerifyMessageParameters,\n type VerifyMessageReturnType,\n verifyMessage,\n} from './utils/signature/verifyMessage.js'\nexport {\n type VerifyTypedDataErrorType,\n type VerifyTypedDataParameters,\n type VerifyTypedDataReturnType,\n verifyTypedData,\n} from './utils/signature/verifyTypedData.js'\nexport {\n type ParseErc6492SignatureErrorType,\n type ParseErc6492SignatureParameters,\n type ParseErc6492SignatureReturnType,\n parseErc6492Signature,\n} from './utils/signature/parseErc6492Signature.js'\nexport {\n type IsErc6492SignatureErrorType,\n type IsErc6492SignatureParameters,\n type IsErc6492SignatureReturnType,\n isErc6492Signature,\n} from './utils/signature/isErc6492Signature.js'\nexport {\n type SerializeErc6492SignatureErrorType,\n type SerializeErc6492SignatureParameters,\n type SerializeErc6492SignatureReturnType,\n serializeErc6492Signature,\n} from './utils/signature/serializeErc6492Signature.js'\nexport {\n type AssertRequestErrorType,\n assertRequest,\n} from './utils/transaction/assertRequest.js'\nexport {\n type AssertTransactionEIP1559ErrorType,\n assertTransactionEIP1559,\n type AssertTransactionEIP2930ErrorType,\n assertTransactionEIP2930,\n type AssertTransactionLegacyErrorType,\n assertTransactionLegacy,\n} from './utils/transaction/assertTransaction.js'\nexport {\n type BoolToBytesErrorType,\n type BoolToBytesOpts,\n boolToBytes,\n type HexToBytesErrorType,\n type HexToBytesOpts,\n hexToBytes,\n type NumberToBytesErrorType,\n numberToBytes,\n type StringToBytesErrorType,\n type StringToBytesOpts,\n stringToBytes,\n type ToBytesErrorType,\n type ToBytesParameters,\n toBytes,\n} from './utils/encoding/toBytes.js'\nexport {\n type BoolToHexErrorType,\n type BoolToHexOpts,\n boolToHex,\n type BytesToHexErrorType,\n type BytesToHexOpts,\n bytesToHex,\n type NumberToHexErrorType,\n type NumberToHexOpts,\n numberToHex,\n type StringToHexErrorType,\n type StringToHexOpts,\n stringToHex,\n type ToHexErrorType,\n type ToHexParameters,\n toHex,\n} from './utils/encoding/toHex.js'\nexport {\n type BytesToBigIntErrorType,\n type BytesToBigIntOpts,\n bytesToBigInt,\n type BytesToBoolErrorType,\n type BytesToBoolOpts,\n bytesToBool,\n type BytesToNumberErrorType,\n type BytesToNumberOpts,\n bytesToNumber,\n type BytesToStringErrorType,\n type BytesToStringOpts,\n bytesToString,\n type FromBytesErrorType,\n type FromBytesParameters,\n fromBytes,\n} from './utils/encoding/fromBytes.js'\nexport {\n type CcipRequestParameters,\n type CcipRequestErrorType,\n ccipRequest,\n /** @deprecated Use `ccipRequest`. */\n ccipRequest as ccipFetch,\n type OffchainLookupErrorType,\n offchainLookup,\n offchainLookupAbiItem,\n offchainLookupSignature,\n} from './utils/ccip.js'\nexport {\n type BlobsToCommitmentsErrorType,\n type BlobsToCommitmentsParameters,\n type BlobsToCommitmentsReturnType,\n blobsToCommitments,\n} from './utils/blob/blobsToCommitments.js'\nexport {\n type CommitmentToVersionedHashErrorType,\n type CommitmentToVersionedHashParameters,\n type CommitmentToVersionedHashReturnType,\n commitmentToVersionedHash,\n} from './utils/blob/commitmentToVersionedHash.js'\nexport {\n type CommitmentsToVersionedHashesErrorType,\n type CommitmentsToVersionedHashesParameters,\n type CommitmentsToVersionedHashesReturnType,\n commitmentsToVersionedHashes,\n} from './utils/blob/commitmentsToVersionedHashes.js'\nexport {\n type SidecarsToVersionedHashesErrorType,\n type SidecarsToVersionedHashesParameters,\n type SidecarsToVersionedHashesReturnType,\n sidecarsToVersionedHashes,\n} from './utils/blob/sidecarsToVersionedHashes.js'\nexport {\n type blobsToProofsErrorType,\n type blobsToProofsParameters,\n type blobsToProofsReturnType,\n blobsToProofs,\n} from './utils/blob/blobsToProofs.js'\nexport {\n type FromBlobsErrorType,\n type FromBlobsParameters,\n type FromBlobsReturnType,\n fromBlobs,\n} from './utils/blob/fromBlobs.js'\nexport {\n type ToBlobSidecarsErrorType,\n type ToBlobSidecarsParameters,\n type ToBlobSidecarsReturnType,\n toBlobSidecars,\n} from './utils/blob/toBlobSidecars.js'\nexport {\n type ToBlobsErrorType,\n type ToBlobsParameters,\n type ToBlobsReturnType,\n toBlobs,\n} from './utils/blob/toBlobs.js'\nexport {\n type DefineKzgErrorType,\n type DefineKzgParameters,\n type DefineKzgReturnType,\n defineKzg,\n} from './utils/kzg/defineKzg.js'\nexport {\n type SetupKzgErrorType,\n type SetupKzgParameters,\n type SetupKzgReturnType,\n setupKzg,\n} from './utils/kzg/setupKzg.js'\nexport {\n type ConcatBytesErrorType,\n type ConcatErrorType,\n type ConcatHexErrorType,\n type ConcatReturnType,\n concat,\n concatBytes,\n concatHex,\n} from './utils/data/concat.js'\nexport {\n type AssertCurrentChainErrorType,\n type AssertCurrentChainParameters,\n assertCurrentChain,\n} from './utils/chain/assertCurrentChain.js'\nexport { defineChain } from './utils/chain/defineChain.js'\nexport {\n type ExtractChainErrorType,\n type ExtractChainParameters,\n type ExtractChainReturnType,\n extractChain,\n} from './utils/chain/extractChain.js'\nexport {\n type GetChainContractAddressErrorType,\n getChainContractAddress,\n} from './utils/chain/getChainContractAddress.js'\nexport {\n type EncodePackedErrorType,\n encodePacked,\n} from './utils/abi/encodePacked.js'\nexport {\n type WithRetryErrorType,\n withRetry,\n} from './utils/promise/withRetry.js'\nexport {\n type WithTimeoutErrorType,\n withTimeout,\n} from './utils/promise/withTimeout.js'\nexport {\n type FormatEtherErrorType,\n formatEther,\n} from './utils/unit/formatEther.js'\nexport {\n type FormatGweiErrorType,\n formatGwei,\n} from './utils/unit/formatGwei.js'\nexport {\n type FormatUnitsErrorType,\n formatUnits,\n} from './utils/unit/formatUnits.js'\nexport {\n type FromHexErrorType,\n fromHex,\n type HexToBigIntErrorType,\n hexToBigInt,\n type HexToBoolErrorType,\n hexToBool,\n type HexToNumberErrorType,\n hexToNumber,\n type HexToStringErrorType,\n hexToString,\n} from './utils/encoding/fromHex.js'\nexport {\n type FromRlpErrorType,\n type FromRlpReturnType,\n fromRlp,\n} from './utils/encoding/fromRlp.js'\nexport {\n type ChecksumAddressErrorType,\n type GetAddressErrorType,\n checksumAddress,\n getAddress,\n} from './utils/address/getAddress.js'\nexport {\n type GetContractErrorReturnType,\n getContractError,\n} from './utils/errors/getContractError.js'\nexport {\n type ToEventSelectorErrorType,\n toEventSelector,\n /** @deprecated use `ToEventSelectorErrorType`. */\n type ToEventSelectorErrorType as GetEventSelectorErrorType,\n /** @deprecated use `toEventSelector`. */\n toEventSelector as getEventSelector,\n} from './utils/hash/toEventSelector.js'\nexport {\n type ToFunctionSelectorErrorType,\n toFunctionSelector,\n /** @deprecated use `ToFunctionSelectorErrorType`. */\n type ToFunctionSelectorErrorType as GetFunctionSelectorErrorType,\n /** @deprecated use `toFunctionSelector`. */\n toFunctionSelector as getFunctionSelector,\n} from './utils/hash/toFunctionSelector.js'\nexport {\n type ToEventSignatureErrorType,\n toEventSignature,\n /** @deprecated use `ToEventSignatureErrorType`. */\n type ToEventSignatureErrorType as GetEventSignatureErrorType,\n /** @deprecated use `toEventSignature`. */\n toEventSignature as getEventSignature,\n} from './utils/hash/toEventSignature.js'\nexport {\n type ToFunctionSignatureErrorType,\n toFunctionSignature,\n /** @deprecated use `ToFunctionSignatureErrorType`. */\n type ToFunctionSignatureErrorType as GetFunctionSignatureErrorType,\n /** @deprecated use `toFunctionSignature`. */\n toFunctionSignature as getFunctionSignature,\n} from './utils/hash/toFunctionSignature.js'\nexport {\n type ToEventHashErrorType,\n toEventHash,\n} from './utils/hash/toEventHash.js'\nexport {\n type ToFunctionHashErrorType,\n toFunctionHash,\n} from './utils/hash/toFunctionHash.js'\nexport {\n type HashMessageErrorType,\n hashMessage,\n} from './utils/signature/hashMessage.js'\nexport {\n type ToPrefixedMessageErrorType,\n toPrefixedMessage,\n} from './utils/signature/toPrefixedMessage.js'\nexport {\n type IsAddressOptions,\n type IsAddressErrorType,\n isAddress,\n} from './utils/address/isAddress.js'\nexport {\n type IsAddressEqualReturnType,\n type IsAddressEqualErrorType,\n isAddressEqual,\n} from './utils/address/isAddressEqual.js'\nexport { type IsBytesErrorType, isBytes } from './utils/data/isBytes.js'\nexport { type IsHashErrorType, isHash } from './utils/hash/isHash.js'\nexport { type IsHexErrorType, isHex } from './utils/data/isHex.js'\nexport {\n type Keccak256Hash,\n type Keccak256ErrorType,\n keccak256,\n} from './utils/hash/keccak256.js'\nexport {\n type Sha256Hash,\n type Sha256ErrorType,\n sha256,\n} from './utils/hash/sha256.js'\nexport {\n type Ripemd160Hash,\n type Ripemd160ErrorType,\n ripemd160,\n} from './utils/hash/ripemd160.js'\nexport {\n type PadBytesErrorType,\n type PadErrorType,\n type PadHexErrorType,\n type PadReturnType,\n pad,\n padBytes,\n padHex,\n} from './utils/data/pad.js'\nexport {\n type ParseEtherErrorType,\n parseEther,\n} from './utils/unit/parseEther.js'\nexport { type ParseGweiErrorType, parseGwei } from './utils/unit/parseGwei.js'\nexport {\n type ParseTransactionErrorType,\n type ParseTransactionReturnType,\n parseTransaction,\n} from './utils/transaction/parseTransaction.js'\nexport {\n type ParseUnitsErrorType,\n parseUnits,\n} from './utils/unit/parseUnits.js'\nexport {\n type SerializeAccessListErrorType,\n serializeAccessList,\n} from './utils/transaction/serializeAccessList.js'\nexport {\n serializeTransaction,\n type SerializeTransactionErrorType,\n type SerializedTransactionReturnType,\n type SerializeTransactionFn,\n} from './utils/transaction/serializeTransaction.js'\nexport { type SizeErrorType, size } from './utils/data/size.js'\nexport {\n type SliceBytesErrorType,\n type SliceErrorType,\n type SliceHexErrorType,\n slice,\n sliceBytes,\n sliceHex,\n} from './utils/data/slice.js'\nexport { type StringifyErrorType, stringify } from './utils/stringify.js'\nexport {\n type TrimErrorType,\n type TrimReturnType,\n trim,\n} from './utils/data/trim.js'\nexport {\n type DomainSeparatorErrorType,\n type GetTypesForEIP712DomainErrorType,\n type SerializeTypedDataErrorType,\n type ValidateTypedDataErrorType,\n serializeTypedData,\n validateTypedData,\n domainSeparator,\n getTypesForEIP712Domain,\n} from './utils/typedData.js'\nexport {\n type CreateNonceManagerParameters,\n type NonceManager,\n type NonceManagerSource,\n createNonceManager,\n nonceManager,\n} from './utils/nonceManager.js'\nexport type {\n RpcEstimateUserOperationGasReturnType,\n RpcGetUserOperationByHashReturnType,\n RpcUserOperation,\n RpcUserOperationReceipt,\n RpcUserOperationRequest,\n} from './account-abstraction/types/rpc.js'\n"],"mappings":";;;;;;;;;;AAAA;;;ACAA;;;ACAA;;;ADSO,SAAS,kBAAkB,EAAE,WAAW,MAAM,OAAO,GAAwC;AAClG,QAAM,kBAAkB;AAAA,IACtB,CAAC,EAAE,MAAM,UAAU,GAAG,EAAE,MAAM,SAAS,GAAG,EAAE,MAAM,SAAS,CAAC;AAAA,IAC5D,CAAC,YAAY,WAAW,EAAE,MAAM,GAAG,CAAC,GAAG,MAAM,MAAM;AAAA,EACrD;AAEA,SAAO;AAAA,IACL,cAAc;AAAA,IACd,MAAM;AAAA,IACN,MAAM;AAAA,MACJ;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// mud.config.ts
|
|
21
|
+
var mud_config_exports = {};
|
|
22
|
+
__export(mud_config_exports, {
|
|
23
|
+
default: () => mud_config_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(mud_config_exports);
|
|
26
|
+
var import_store = require("@latticexyz/store");
|
|
27
|
+
var mud_config_default = (0, import_store.defineStore)({
|
|
28
|
+
userTypes: {
|
|
29
|
+
ResourceId: { filePath: "@latticexyz/store/src/ResourceId.sol", type: "bytes32" }
|
|
30
|
+
},
|
|
31
|
+
tables: {
|
|
32
|
+
Owner: {
|
|
33
|
+
schema: {
|
|
34
|
+
value: "address"
|
|
35
|
+
},
|
|
36
|
+
key: [],
|
|
37
|
+
codegen: {
|
|
38
|
+
tableIdArgument: true
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
ERC20Metadata: {
|
|
42
|
+
schema: {
|
|
43
|
+
decimals: "uint8",
|
|
44
|
+
name: "string",
|
|
45
|
+
symbol: "string"
|
|
46
|
+
},
|
|
47
|
+
key: [],
|
|
48
|
+
codegen: {
|
|
49
|
+
tableIdArgument: true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
TotalSupply: {
|
|
53
|
+
schema: {
|
|
54
|
+
totalSupply: "uint256"
|
|
55
|
+
},
|
|
56
|
+
key: [],
|
|
57
|
+
codegen: {
|
|
58
|
+
tableIdArgument: true
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
Balances: {
|
|
62
|
+
schema: {
|
|
63
|
+
account: "address",
|
|
64
|
+
value: "uint256"
|
|
65
|
+
},
|
|
66
|
+
key: ["account"],
|
|
67
|
+
codegen: {
|
|
68
|
+
tableIdArgument: true
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
Allowances: {
|
|
72
|
+
schema: {
|
|
73
|
+
account: "address",
|
|
74
|
+
spender: "address",
|
|
75
|
+
value: "uint256"
|
|
76
|
+
},
|
|
77
|
+
key: ["account", "spender"],
|
|
78
|
+
codegen: {
|
|
79
|
+
tableIdArgument: true
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
Paused: {
|
|
83
|
+
schema: {
|
|
84
|
+
paused: "bool"
|
|
85
|
+
},
|
|
86
|
+
key: [],
|
|
87
|
+
codegen: {
|
|
88
|
+
tableIdArgument: true
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
ERC20Registry: {
|
|
92
|
+
schema: {
|
|
93
|
+
namespaceId: "ResourceId",
|
|
94
|
+
tokenAddress: "address"
|
|
95
|
+
},
|
|
96
|
+
key: ["namespaceId"],
|
|
97
|
+
codegen: {
|
|
98
|
+
tableIdArgument: true
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
//# sourceMappingURL=mud.config.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../mud.config.ts"],"sourcesContent":["import { defineStore } from \"@latticexyz/store\";\n\n// Used for tablegen\nexport default defineStore({\n userTypes: {\n ResourceId: { filePath: \"@latticexyz/store/src/ResourceId.sol\", type: \"bytes32\" },\n },\n tables: {\n Owner: {\n schema: {\n value: \"address\",\n },\n key: [],\n codegen: {\n tableIdArgument: true,\n },\n },\n ERC20Metadata: {\n schema: {\n decimals: \"uint8\",\n name: \"string\",\n symbol: \"string\",\n },\n key: [],\n codegen: {\n tableIdArgument: true,\n },\n },\n TotalSupply: {\n schema: {\n totalSupply: \"uint256\",\n },\n key: [],\n codegen: {\n tableIdArgument: true,\n },\n },\n Balances: {\n schema: {\n account: \"address\",\n value: \"uint256\",\n },\n key: [\"account\"],\n codegen: {\n tableIdArgument: true,\n },\n },\n Allowances: {\n schema: {\n account: \"address\",\n spender: \"address\",\n value: \"uint256\",\n },\n key: [\"account\", \"spender\"],\n codegen: {\n tableIdArgument: true,\n },\n },\n Paused: {\n schema: {\n paused: \"bool\",\n },\n key: [],\n codegen: {\n tableIdArgument: true,\n },\n },\n ERC20Registry: {\n schema: {\n namespaceId: \"ResourceId\",\n tokenAddress: \"address\",\n },\n key: [\"namespaceId\"],\n codegen: {\n tableIdArgument: true,\n },\n },\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA4B;AAG5B,IAAO,yBAAQ,0BAAY;AAAA,EACzB,WAAW;AAAA,IACT,YAAY,EAAE,UAAU,wCAAwC,MAAM,UAAU;AAAA,EAClF;AAAA,EACA,QAAQ;AAAA,IACN,OAAO;AAAA,MACL,QAAQ;AAAA,QACN,OAAO;AAAA,MACT;AAAA,MACA,KAAK,CAAC;AAAA,MACN,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IACA,eAAe;AAAA,MACb,QAAQ;AAAA,QACN,UAAU;AAAA,QACV,MAAM;AAAA,QACN,QAAQ;AAAA,MACV;AAAA,MACA,KAAK,CAAC;AAAA,MACN,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IACA,aAAa;AAAA,MACX,QAAQ;AAAA,QACN,aAAa;AAAA,MACf;AAAA,MACA,KAAK,CAAC;AAAA,MACN,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IACA,UAAU;AAAA,MACR,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,OAAO;AAAA,MACT;AAAA,MACA,KAAK,CAAC,SAAS;AAAA,MACf,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,SAAS;AAAA,QACT,OAAO;AAAA,MACT;AAAA,MACA,KAAK,CAAC,WAAW,SAAS;AAAA,MAC1B,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IACA,QAAQ;AAAA,MACN,QAAQ;AAAA,QACN,QAAQ;AAAA,MACV;AAAA,MACA,KAAK,CAAC;AAAA,MACN,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IACA,eAAe;AAAA,MACb,QAAQ;AAAA,QACN,aAAa;AAAA,QACb,cAAc;AAAA,MAChB;AAAA,MACA,KAAK,CAAC,aAAa;AAAA,MACnB,SAAS;AAAA,QACP,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":[]}
|
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly multipleNamespaces: false;
|
|
3
|
+
readonly namespace: string;
|
|
4
|
+
readonly namespaces: {
|
|
5
|
+
readonly "": {
|
|
6
|
+
readonly label: "";
|
|
7
|
+
readonly namespace: string;
|
|
8
|
+
readonly tables: {
|
|
9
|
+
readonly Owner: {
|
|
10
|
+
readonly label: "Owner";
|
|
11
|
+
readonly namespaceLabel: "";
|
|
12
|
+
readonly type: "table";
|
|
13
|
+
readonly namespace: string;
|
|
14
|
+
readonly name: string;
|
|
15
|
+
readonly tableId: `0x${string}`;
|
|
16
|
+
readonly schema: {
|
|
17
|
+
readonly value: {
|
|
18
|
+
readonly type: "address";
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly key: readonly [];
|
|
23
|
+
readonly codegen: {
|
|
24
|
+
readonly outputDirectory: string;
|
|
25
|
+
readonly tableIdArgument: true;
|
|
26
|
+
readonly storeArgument: false;
|
|
27
|
+
readonly dataStruct: boolean;
|
|
28
|
+
};
|
|
29
|
+
readonly deploy: {
|
|
30
|
+
readonly disabled: false;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly ERC20Metadata: {
|
|
34
|
+
readonly label: "ERC20Metadata";
|
|
35
|
+
readonly namespaceLabel: "";
|
|
36
|
+
readonly type: "table";
|
|
37
|
+
readonly namespace: string;
|
|
38
|
+
readonly name: string;
|
|
39
|
+
readonly tableId: `0x${string}`;
|
|
40
|
+
readonly schema: {
|
|
41
|
+
readonly decimals: {
|
|
42
|
+
readonly type: "uint8";
|
|
43
|
+
readonly internalType: "uint8";
|
|
44
|
+
};
|
|
45
|
+
readonly name: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly internalType: "string";
|
|
48
|
+
};
|
|
49
|
+
readonly symbol: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly internalType: "string";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly key: readonly [];
|
|
55
|
+
readonly codegen: {
|
|
56
|
+
readonly outputDirectory: string;
|
|
57
|
+
readonly tableIdArgument: true;
|
|
58
|
+
readonly storeArgument: false;
|
|
59
|
+
readonly dataStruct: boolean;
|
|
60
|
+
};
|
|
61
|
+
readonly deploy: {
|
|
62
|
+
readonly disabled: false;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
readonly TotalSupply: {
|
|
66
|
+
readonly label: "TotalSupply";
|
|
67
|
+
readonly namespaceLabel: "";
|
|
68
|
+
readonly type: "table";
|
|
69
|
+
readonly namespace: string;
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly tableId: `0x${string}`;
|
|
72
|
+
readonly schema: {
|
|
73
|
+
readonly totalSupply: {
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
readonly key: readonly [];
|
|
79
|
+
readonly codegen: {
|
|
80
|
+
readonly outputDirectory: string;
|
|
81
|
+
readonly tableIdArgument: true;
|
|
82
|
+
readonly storeArgument: false;
|
|
83
|
+
readonly dataStruct: boolean;
|
|
84
|
+
};
|
|
85
|
+
readonly deploy: {
|
|
86
|
+
readonly disabled: false;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly Balances: {
|
|
90
|
+
readonly label: "Balances";
|
|
91
|
+
readonly namespaceLabel: "";
|
|
92
|
+
readonly type: "table";
|
|
93
|
+
readonly namespace: string;
|
|
94
|
+
readonly name: string;
|
|
95
|
+
readonly tableId: `0x${string}`;
|
|
96
|
+
readonly schema: {
|
|
97
|
+
readonly account: {
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
readonly internalType: "address";
|
|
100
|
+
};
|
|
101
|
+
readonly value: {
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
readonly internalType: "uint256";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
readonly key: readonly ["account"];
|
|
107
|
+
readonly codegen: {
|
|
108
|
+
readonly outputDirectory: string;
|
|
109
|
+
readonly tableIdArgument: true;
|
|
110
|
+
readonly storeArgument: false;
|
|
111
|
+
readonly dataStruct: boolean;
|
|
112
|
+
};
|
|
113
|
+
readonly deploy: {
|
|
114
|
+
readonly disabled: false;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
readonly Allowances: {
|
|
118
|
+
readonly label: "Allowances";
|
|
119
|
+
readonly namespaceLabel: "";
|
|
120
|
+
readonly type: "table";
|
|
121
|
+
readonly namespace: string;
|
|
122
|
+
readonly name: string;
|
|
123
|
+
readonly tableId: `0x${string}`;
|
|
124
|
+
readonly schema: {
|
|
125
|
+
readonly account: {
|
|
126
|
+
readonly type: "address";
|
|
127
|
+
readonly internalType: "address";
|
|
128
|
+
};
|
|
129
|
+
readonly spender: {
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
readonly internalType: "address";
|
|
132
|
+
};
|
|
133
|
+
readonly value: {
|
|
134
|
+
readonly type: "uint256";
|
|
135
|
+
readonly internalType: "uint256";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
readonly key: readonly ["account", "spender"];
|
|
139
|
+
readonly codegen: {
|
|
140
|
+
readonly outputDirectory: string;
|
|
141
|
+
readonly tableIdArgument: true;
|
|
142
|
+
readonly storeArgument: false;
|
|
143
|
+
readonly dataStruct: boolean;
|
|
144
|
+
};
|
|
145
|
+
readonly deploy: {
|
|
146
|
+
readonly disabled: false;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
readonly Paused: {
|
|
150
|
+
readonly label: "Paused";
|
|
151
|
+
readonly namespaceLabel: "";
|
|
152
|
+
readonly type: "table";
|
|
153
|
+
readonly namespace: string;
|
|
154
|
+
readonly name: string;
|
|
155
|
+
readonly tableId: `0x${string}`;
|
|
156
|
+
readonly schema: {
|
|
157
|
+
readonly paused: {
|
|
158
|
+
readonly type: "bool";
|
|
159
|
+
readonly internalType: "bool";
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
readonly key: readonly [];
|
|
163
|
+
readonly codegen: {
|
|
164
|
+
readonly outputDirectory: string;
|
|
165
|
+
readonly tableIdArgument: true;
|
|
166
|
+
readonly storeArgument: false;
|
|
167
|
+
readonly dataStruct: boolean;
|
|
168
|
+
};
|
|
169
|
+
readonly deploy: {
|
|
170
|
+
readonly disabled: false;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly ERC20Registry: {
|
|
174
|
+
readonly label: "ERC20Registry";
|
|
175
|
+
readonly namespaceLabel: "";
|
|
176
|
+
readonly type: "table";
|
|
177
|
+
readonly namespace: string;
|
|
178
|
+
readonly name: string;
|
|
179
|
+
readonly tableId: `0x${string}`;
|
|
180
|
+
readonly schema: {
|
|
181
|
+
readonly namespaceId: {
|
|
182
|
+
readonly type: "bytes32";
|
|
183
|
+
readonly internalType: "ResourceId";
|
|
184
|
+
};
|
|
185
|
+
readonly tokenAddress: {
|
|
186
|
+
readonly type: "address";
|
|
187
|
+
readonly internalType: "address";
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
readonly key: readonly ["namespaceId"];
|
|
191
|
+
readonly codegen: {
|
|
192
|
+
readonly outputDirectory: string;
|
|
193
|
+
readonly tableIdArgument: true;
|
|
194
|
+
readonly storeArgument: false;
|
|
195
|
+
readonly dataStruct: boolean;
|
|
196
|
+
};
|
|
197
|
+
readonly deploy: {
|
|
198
|
+
readonly disabled: false;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
readonly tables: {
|
|
205
|
+
readonly Owner: {
|
|
206
|
+
readonly label: "Owner";
|
|
207
|
+
readonly namespaceLabel: "";
|
|
208
|
+
readonly type: "table";
|
|
209
|
+
readonly namespace: string;
|
|
210
|
+
readonly name: string;
|
|
211
|
+
readonly tableId: `0x${string}`;
|
|
212
|
+
readonly schema: {
|
|
213
|
+
readonly value: {
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
readonly internalType: "address";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly key: readonly [];
|
|
219
|
+
readonly codegen: {
|
|
220
|
+
readonly outputDirectory: string;
|
|
221
|
+
readonly tableIdArgument: true;
|
|
222
|
+
readonly storeArgument: false;
|
|
223
|
+
readonly dataStruct: boolean;
|
|
224
|
+
};
|
|
225
|
+
readonly deploy: {
|
|
226
|
+
readonly disabled: false;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly ERC20Metadata: {
|
|
230
|
+
readonly label: "ERC20Metadata";
|
|
231
|
+
readonly namespaceLabel: "";
|
|
232
|
+
readonly type: "table";
|
|
233
|
+
readonly namespace: string;
|
|
234
|
+
readonly name: string;
|
|
235
|
+
readonly tableId: `0x${string}`;
|
|
236
|
+
readonly schema: {
|
|
237
|
+
readonly decimals: {
|
|
238
|
+
readonly type: "uint8";
|
|
239
|
+
readonly internalType: "uint8";
|
|
240
|
+
};
|
|
241
|
+
readonly name: {
|
|
242
|
+
readonly type: "string";
|
|
243
|
+
readonly internalType: "string";
|
|
244
|
+
};
|
|
245
|
+
readonly symbol: {
|
|
246
|
+
readonly type: "string";
|
|
247
|
+
readonly internalType: "string";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly key: readonly [];
|
|
251
|
+
readonly codegen: {
|
|
252
|
+
readonly outputDirectory: string;
|
|
253
|
+
readonly tableIdArgument: true;
|
|
254
|
+
readonly storeArgument: false;
|
|
255
|
+
readonly dataStruct: boolean;
|
|
256
|
+
};
|
|
257
|
+
readonly deploy: {
|
|
258
|
+
readonly disabled: false;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
readonly TotalSupply: {
|
|
262
|
+
readonly label: "TotalSupply";
|
|
263
|
+
readonly namespaceLabel: "";
|
|
264
|
+
readonly type: "table";
|
|
265
|
+
readonly namespace: string;
|
|
266
|
+
readonly name: string;
|
|
267
|
+
readonly tableId: `0x${string}`;
|
|
268
|
+
readonly schema: {
|
|
269
|
+
readonly totalSupply: {
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
readonly internalType: "uint256";
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
readonly key: readonly [];
|
|
275
|
+
readonly codegen: {
|
|
276
|
+
readonly outputDirectory: string;
|
|
277
|
+
readonly tableIdArgument: true;
|
|
278
|
+
readonly storeArgument: false;
|
|
279
|
+
readonly dataStruct: boolean;
|
|
280
|
+
};
|
|
281
|
+
readonly deploy: {
|
|
282
|
+
readonly disabled: false;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
readonly Balances: {
|
|
286
|
+
readonly label: "Balances";
|
|
287
|
+
readonly namespaceLabel: "";
|
|
288
|
+
readonly type: "table";
|
|
289
|
+
readonly namespace: string;
|
|
290
|
+
readonly name: string;
|
|
291
|
+
readonly tableId: `0x${string}`;
|
|
292
|
+
readonly schema: {
|
|
293
|
+
readonly account: {
|
|
294
|
+
readonly type: "address";
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
};
|
|
297
|
+
readonly value: {
|
|
298
|
+
readonly type: "uint256";
|
|
299
|
+
readonly internalType: "uint256";
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
readonly key: readonly ["account"];
|
|
303
|
+
readonly codegen: {
|
|
304
|
+
readonly outputDirectory: string;
|
|
305
|
+
readonly tableIdArgument: true;
|
|
306
|
+
readonly storeArgument: false;
|
|
307
|
+
readonly dataStruct: boolean;
|
|
308
|
+
};
|
|
309
|
+
readonly deploy: {
|
|
310
|
+
readonly disabled: false;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
readonly Allowances: {
|
|
314
|
+
readonly label: "Allowances";
|
|
315
|
+
readonly namespaceLabel: "";
|
|
316
|
+
readonly type: "table";
|
|
317
|
+
readonly namespace: string;
|
|
318
|
+
readonly name: string;
|
|
319
|
+
readonly tableId: `0x${string}`;
|
|
320
|
+
readonly schema: {
|
|
321
|
+
readonly account: {
|
|
322
|
+
readonly type: "address";
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
};
|
|
325
|
+
readonly spender: {
|
|
326
|
+
readonly type: "address";
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
};
|
|
329
|
+
readonly value: {
|
|
330
|
+
readonly type: "uint256";
|
|
331
|
+
readonly internalType: "uint256";
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
readonly key: readonly ["account", "spender"];
|
|
335
|
+
readonly codegen: {
|
|
336
|
+
readonly outputDirectory: string;
|
|
337
|
+
readonly tableIdArgument: true;
|
|
338
|
+
readonly storeArgument: false;
|
|
339
|
+
readonly dataStruct: boolean;
|
|
340
|
+
};
|
|
341
|
+
readonly deploy: {
|
|
342
|
+
readonly disabled: false;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
readonly Paused: {
|
|
346
|
+
readonly label: "Paused";
|
|
347
|
+
readonly namespaceLabel: "";
|
|
348
|
+
readonly type: "table";
|
|
349
|
+
readonly namespace: string;
|
|
350
|
+
readonly name: string;
|
|
351
|
+
readonly tableId: `0x${string}`;
|
|
352
|
+
readonly schema: {
|
|
353
|
+
readonly paused: {
|
|
354
|
+
readonly type: "bool";
|
|
355
|
+
readonly internalType: "bool";
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
readonly key: readonly [];
|
|
359
|
+
readonly codegen: {
|
|
360
|
+
readonly outputDirectory: string;
|
|
361
|
+
readonly tableIdArgument: true;
|
|
362
|
+
readonly storeArgument: false;
|
|
363
|
+
readonly dataStruct: boolean;
|
|
364
|
+
};
|
|
365
|
+
readonly deploy: {
|
|
366
|
+
readonly disabled: false;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
readonly ERC20Registry: {
|
|
370
|
+
readonly label: "ERC20Registry";
|
|
371
|
+
readonly namespaceLabel: "";
|
|
372
|
+
readonly type: "table";
|
|
373
|
+
readonly namespace: string;
|
|
374
|
+
readonly name: string;
|
|
375
|
+
readonly tableId: `0x${string}`;
|
|
376
|
+
readonly schema: {
|
|
377
|
+
readonly namespaceId: {
|
|
378
|
+
readonly type: "bytes32";
|
|
379
|
+
readonly internalType: "ResourceId";
|
|
380
|
+
};
|
|
381
|
+
readonly tokenAddress: {
|
|
382
|
+
readonly type: "address";
|
|
383
|
+
readonly internalType: "address";
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly key: readonly ["namespaceId"];
|
|
387
|
+
readonly codegen: {
|
|
388
|
+
readonly outputDirectory: string;
|
|
389
|
+
readonly tableIdArgument: true;
|
|
390
|
+
readonly storeArgument: false;
|
|
391
|
+
readonly dataStruct: boolean;
|
|
392
|
+
};
|
|
393
|
+
readonly deploy: {
|
|
394
|
+
readonly disabled: false;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
readonly sourceDirectory: "src";
|
|
399
|
+
readonly userTypes: {
|
|
400
|
+
readonly ResourceId: {
|
|
401
|
+
readonly filePath: "@latticexyz/store/src/ResourceId.sol";
|
|
402
|
+
readonly type: "bytes32";
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
readonly enums: {};
|
|
406
|
+
readonly enumValues: {};
|
|
407
|
+
readonly codegen: {
|
|
408
|
+
readonly outputDirectory: "codegen";
|
|
409
|
+
readonly storeImportPath: "@latticexyz/store/src";
|
|
410
|
+
readonly userTypesFilename: "common.sol";
|
|
411
|
+
readonly indexFilename: "index.sol";
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
export { _default as default };
|