viem 2.42.1 → 2.43.1
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/CHANGELOG.md +76 -0
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js +2 -2
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +23 -6
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js +5 -3
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +6 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/birdlayer.js.map +1 -1
- package/_cjs/chains/definitions/bob.js.map +1 -1
- package/_cjs/chains/definitions/bobSepolia.js.map +1 -1
- package/_cjs/chains/definitions/crab.js.map +1 -1
- package/_cjs/chains/definitions/creatorTestnet.js.map +1 -1
- package/_cjs/chains/definitions/datahavenTestnet.js +29 -0
- package/_cjs/chains/definitions/datahavenTestnet.js.map +1 -0
- package/_cjs/chains/definitions/dodochainTestnet.js.map +1 -1
- package/_cjs/chains/definitions/funkiSepolia.js.map +1 -1
- package/_cjs/chains/definitions/garnet.js.map +1 -1
- package/_cjs/chains/definitions/koi.js.map +1 -1
- package/_cjs/chains/definitions/omni.js.map +1 -1
- package/_cjs/chains/definitions/pyrope.js.map +1 -1
- package/_cjs/chains/definitions/redstone.js.map +1 -1
- package/_cjs/chains/definitions/skale/skaleBase.js +23 -0
- package/_cjs/chains/definitions/skale/skaleBase.js.map +1 -0
- package/_cjs/chains/definitions/skale/skaleBaseSepoliaTestnet.js +25 -0
- package/_cjs/chains/definitions/skale/skaleBaseSepoliaTestnet.js.map +1 -0
- package/_cjs/chains/definitions/somnia.js +23 -0
- package/_cjs/chains/definitions/somnia.js.map +1 -0
- package/_cjs/chains/definitions/tempoDevnet.js +22 -0
- package/_cjs/chains/definitions/tempoDevnet.js.map +1 -0
- package/_cjs/chains/definitions/tempoLocalnet.js +19 -0
- package/_cjs/chains/definitions/tempoLocalnet.js.map +1 -0
- package/_cjs/chains/definitions/tempoTestnet.js +28 -0
- package/_cjs/chains/definitions/tempoTestnet.js.map +1 -0
- package/_cjs/chains/index.js +26 -12
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/node.js +1 -1
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +4 -3
- package/_cjs/index.js.map +1 -1
- package/_cjs/op-stack/index.js.map +1 -1
- package/_cjs/tempo/Abis.js +1707 -0
- package/_cjs/tempo/Abis.js.map +1 -0
- package/_cjs/tempo/Account.js +252 -0
- package/_cjs/tempo/Account.js.map +1 -0
- package/_cjs/tempo/Addresses.js +12 -0
- package/_cjs/tempo/Addresses.js.map +1 -0
- package/_cjs/tempo/Decorator.js +135 -0
- package/_cjs/tempo/Decorator.js.map +1 -0
- package/_cjs/tempo/Formatters.js +99 -0
- package/_cjs/tempo/Formatters.js.map +1 -0
- package/_cjs/tempo/P256.js +6 -0
- package/_cjs/tempo/P256.js.map +1 -0
- package/_cjs/tempo/Secp256k1.js +6 -0
- package/_cjs/tempo/Secp256k1.js.map +1 -0
- package/_cjs/tempo/TokenIds.js +5 -0
- package/_cjs/tempo/TokenIds.js.map +1 -0
- package/_cjs/tempo/Transaction.js +174 -0
- package/_cjs/tempo/Transaction.js.map +1 -0
- package/_cjs/tempo/Transport.js +118 -0
- package/_cjs/tempo/Transport.js.map +1 -0
- package/_cjs/tempo/WebAuthnP256.js +58 -0
- package/_cjs/tempo/WebAuthnP256.js.map +1 -0
- package/_cjs/tempo/WebCryptoP256.js +6 -0
- package/_cjs/tempo/WebCryptoP256.js.map +1 -0
- package/_cjs/tempo/actions/amm.js +358 -0
- package/_cjs/tempo/actions/amm.js.map +1 -0
- package/_cjs/tempo/actions/dex.js +521 -0
- package/_cjs/tempo/actions/dex.js.map +1 -0
- package/_cjs/tempo/actions/faucet.js +28 -0
- package/_cjs/tempo/actions/faucet.js.map +1 -0
- package/_cjs/tempo/actions/fee.js +108 -0
- package/_cjs/tempo/actions/fee.js.map +1 -0
- package/_cjs/tempo/actions/index.js +12 -0
- package/_cjs/tempo/actions/index.js.map +1 -0
- package/_cjs/tempo/actions/nonce.js +78 -0
- package/_cjs/tempo/actions/nonce.js.map +1 -0
- package/_cjs/tempo/actions/policy.js +346 -0
- package/_cjs/tempo/actions/policy.js.map +1 -0
- package/_cjs/tempo/actions/reward.js +214 -0
- package/_cjs/tempo/actions/reward.js.map +1 -0
- package/_cjs/tempo/actions/token.js +1176 -0
- package/_cjs/tempo/actions/token.js.map +1 -0
- package/_cjs/tempo/chainConfig.js +84 -0
- package/_cjs/tempo/chainConfig.js.map +1 -0
- package/_cjs/tempo/index.js +22 -0
- package/_cjs/tempo/index.js.map +1 -0
- package/_cjs/tempo/internal/nonceKeyStore.js +43 -0
- package/_cjs/tempo/internal/nonceKeyStore.js.map +1 -0
- package/_cjs/tempo/internal/types.js +3 -0
- package/_cjs/tempo/internal/types.js.map +1 -0
- package/_cjs/tempo/internal/utils.js +32 -0
- package/_cjs/tempo/internal/utils.js.map +1 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/chain/defineChain.js +15 -1
- package/_cjs/utils/chain/defineChain.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js +1 -2
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js +2 -2
- package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +25 -8
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -1
- package/_esm/actions/public/verifyHash.js +5 -3
- package/_esm/actions/public/verifyHash.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +6 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/birdlayer.js +1 -1
- package/_esm/chains/definitions/birdlayer.js.map +1 -1
- package/_esm/chains/definitions/bob.js +1 -1
- package/_esm/chains/definitions/bob.js.map +1 -1
- package/_esm/chains/definitions/bobSepolia.js +1 -1
- package/_esm/chains/definitions/bobSepolia.js.map +1 -1
- package/_esm/chains/definitions/crab.js +1 -1
- package/_esm/chains/definitions/crab.js.map +1 -1
- package/_esm/chains/definitions/creatorTestnet.js +1 -1
- package/_esm/chains/definitions/creatorTestnet.js.map +1 -1
- package/_esm/chains/definitions/datahavenTestnet.js +26 -0
- package/_esm/chains/definitions/datahavenTestnet.js.map +1 -0
- package/_esm/chains/definitions/dodochainTestnet.js +1 -1
- package/_esm/chains/definitions/dodochainTestnet.js.map +1 -1
- package/_esm/chains/definitions/funkiSepolia.js +1 -1
- package/_esm/chains/definitions/funkiSepolia.js.map +1 -1
- package/_esm/chains/definitions/garnet.js +1 -1
- package/_esm/chains/definitions/garnet.js.map +1 -1
- package/_esm/chains/definitions/koi.js +1 -1
- package/_esm/chains/definitions/koi.js.map +1 -1
- package/_esm/chains/definitions/omni.js +1 -1
- package/_esm/chains/definitions/omni.js.map +1 -1
- package/_esm/chains/definitions/pyrope.js +1 -1
- package/_esm/chains/definitions/pyrope.js.map +1 -1
- package/_esm/chains/definitions/redstone.js +1 -1
- package/_esm/chains/definitions/redstone.js.map +1 -1
- package/_esm/chains/definitions/skale/skaleBase.js +20 -0
- package/_esm/chains/definitions/skale/skaleBase.js.map +1 -0
- package/_esm/chains/definitions/skale/skaleBaseSepoliaTestnet.js +22 -0
- package/_esm/chains/definitions/skale/skaleBaseSepoliaTestnet.js.map +1 -0
- package/_esm/chains/definitions/somnia.js +20 -0
- package/_esm/chains/definitions/somnia.js.map +1 -0
- package/_esm/chains/definitions/tempoDevnet.js +19 -0
- package/_esm/chains/definitions/tempoDevnet.js.map +1 -0
- package/_esm/chains/definitions/tempoLocalnet.js +16 -0
- package/_esm/chains/definitions/tempoLocalnet.js.map +1 -0
- package/_esm/chains/definitions/tempoTestnet.js +25 -0
- package/_esm/chains/definitions/tempoTestnet.js.map +1 -0
- package/_esm/chains/index.js +7 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/node.js +1 -1
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/op-stack/index.js +0 -1
- package/_esm/op-stack/index.js.map +1 -1
- package/_esm/tempo/Abis.js +1705 -0
- package/_esm/tempo/Abis.js.map +1 -0
- package/_esm/tempo/Account.js +368 -0
- package/_esm/tempo/Account.js.map +1 -0
- package/_esm/tempo/Addresses.js +9 -0
- package/_esm/tempo/Addresses.js.map +1 -0
- package/_esm/tempo/Decorator.js +135 -0
- package/_esm/tempo/Decorator.js.map +1 -0
- package/_esm/tempo/Formatters.js +110 -0
- package/_esm/tempo/Formatters.js.map +1 -0
- package/_esm/tempo/P256.js +3 -0
- package/_esm/tempo/P256.js.map +1 -0
- package/_esm/tempo/Secp256k1.js +3 -0
- package/_esm/tempo/Secp256k1.js.map +1 -0
- package/_esm/tempo/TokenIds.js +2 -0
- package/_esm/tempo/TokenIds.js.map +1 -0
- package/_esm/tempo/Transaction.js +187 -0
- package/_esm/tempo/Transaction.js.map +1 -0
- package/_esm/tempo/Transport.js +139 -0
- package/_esm/tempo/Transport.js.map +1 -0
- package/_esm/tempo/WebAuthnP256.js +97 -0
- package/_esm/tempo/WebAuthnP256.js.map +1 -0
- package/_esm/tempo/WebCryptoP256.js +3 -0
- package/_esm/tempo/WebCryptoP256.js.map +1 -0
- package/_esm/tempo/actions/amm.js +818 -0
- package/_esm/tempo/actions/amm.js.map +1 -0
- package/_esm/tempo/actions/dex.js +1417 -0
- package/_esm/tempo/actions/dex.js.map +1 -0
- package/_esm/tempo/actions/faucet.js +73 -0
- package/_esm/tempo/actions/faucet.js.map +1 -0
- package/_esm/tempo/actions/fee.js +241 -0
- package/_esm/tempo/actions/fee.js.map +1 -0
- package/_esm/tempo/actions/index.js +10 -0
- package/_esm/tempo/actions/index.js.map +1 -0
- package/_esm/tempo/actions/nonce.js +229 -0
- package/_esm/tempo/actions/nonce.js.map +1 -0
- package/_esm/tempo/actions/policy.js +878 -0
- package/_esm/tempo/actions/policy.js.map +1 -0
- package/_esm/tempo/actions/reward.js +654 -0
- package/_esm/tempo/actions/reward.js.map +1 -0
- package/_esm/tempo/actions/token.js +2943 -0
- package/_esm/tempo/actions/token.js.map +1 -0
- package/_esm/tempo/chainConfig.js +91 -0
- package/_esm/tempo/chainConfig.js.map +1 -0
- package/_esm/tempo/index.js +17 -0
- package/_esm/tempo/index.js.map +1 -0
- package/_esm/tempo/internal/nonceKeyStore.js +41 -0
- package/_esm/tempo/internal/nonceKeyStore.js.map +1 -0
- package/_esm/tempo/internal/types.js +2 -0
- package/_esm/tempo/internal/types.js.map +1 -0
- package/_esm/tempo/internal/utils.js +34 -0
- package/_esm/tempo/internal/utils.js.map +1 -0
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/decodeEventLog.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/chain/defineChain.js +14 -1
- package/_esm/utils/chain/defineChain.js.map +1 -1
- package/_esm/utils/formatters/transaction.js +1 -2
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts +20 -284
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts.map +1 -1
- package/_types/actions/getContract.d.ts +4 -4
- package/_types/actions/getContract.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +2 -2
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/public/verifyHash.d.ts +2 -0
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/definitions/0g.d.ts +2 -0
- package/_types/chains/definitions/0g.d.ts.map +1 -1
- package/_types/chains/definitions/0gGalileoTestnet.d.ts +2 -0
- package/_types/chains/definitions/0gGalileoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/0gMainnet.d.ts +2 -0
- package/_types/chains/definitions/0gMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/0gTestnet.d.ts +2 -0
- package/_types/chains/definitions/0gTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/5ireChain.d.ts +2 -0
- package/_types/chains/definitions/5ireChain.d.ts.map +1 -1
- package/_types/chains/definitions/abey.d.ts +2 -0
- package/_types/chains/definitions/abey.d.ts.map +1 -1
- package/_types/chains/definitions/abstract.d.ts +2 -0
- package/_types/chains/definitions/abstract.d.ts.map +1 -1
- package/_types/chains/definitions/abstractTestnet.d.ts +2 -0
- package/_types/chains/definitions/abstractTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/acala.d.ts +2 -0
- package/_types/chains/definitions/acala.d.ts.map +1 -1
- package/_types/chains/definitions/acria.d.ts +2 -0
- package/_types/chains/definitions/acria.d.ts.map +1 -1
- package/_types/chains/definitions/adf.d.ts +2 -0
- package/_types/chains/definitions/adf.d.ts.map +1 -1
- package/_types/chains/definitions/agungTestnet.d.ts +2 -0
- package/_types/chains/definitions/agungTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/aioz.d.ts +2 -0
- package/_types/chains/definitions/aioz.d.ts.map +1 -1
- package/_types/chains/definitions/alephZero.d.ts +2 -0
- package/_types/chains/definitions/alephZero.d.ts.map +1 -1
- package/_types/chains/definitions/alephZeroTestnet.d.ts +2 -0
- package/_types/chains/definitions/alephZeroTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/alienX.d.ts +2 -0
- package/_types/chains/definitions/alienX.d.ts.map +1 -1
- package/_types/chains/definitions/alienXHalTestnet.d.ts +2 -0
- package/_types/chains/definitions/alienXHalTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8.d.ts +2 -0
- package/_types/chains/definitions/ancient8.d.ts.map +1 -1
- package/_types/chains/definitions/ancient8Sepolia.d.ts +2 -0
- package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/anvil.d.ts +2 -0
- package/_types/chains/definitions/anvil.d.ts.map +1 -1
- package/_types/chains/definitions/apeChain.d.ts +2 -0
- package/_types/chains/definitions/apeChain.d.ts.map +1 -1
- package/_types/chains/definitions/apexTestnet.d.ts +2 -0
- package/_types/chains/definitions/apexTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrum.d.ts +2 -0
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumGoerli.d.ts +2 -0
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumNova.d.ts +2 -0
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +2 -0
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/arcTestnet.d.ts +2 -0
- package/_types/chains/definitions/arcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/arenaz.d.ts +2 -0
- package/_types/chains/definitions/arenaz.d.ts.map +1 -1
- package/_types/chains/definitions/areonNetwork.d.ts +2 -0
- package/_types/chains/definitions/areonNetwork.d.ts.map +1 -1
- package/_types/chains/definitions/areonNetworkTestnet.d.ts +2 -0
- package/_types/chains/definitions/areonNetworkTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/areum.d.ts +2 -0
- package/_types/chains/definitions/areum.d.ts.map +1 -1
- package/_types/chains/definitions/artelaTestnet.d.ts +2 -0
- package/_types/chains/definitions/artelaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/arthera.d.ts +2 -0
- package/_types/chains/definitions/arthera.d.ts.map +1 -1
- package/_types/chains/definitions/artheraTestnet.d.ts +2 -0
- package/_types/chains/definitions/artheraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/assetChain.d.ts +2 -0
- package/_types/chains/definitions/assetChain.d.ts.map +1 -1
- package/_types/chains/definitions/assetChainTestnet.d.ts +2 -0
- package/_types/chains/definitions/assetChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/astar.d.ts +2 -0
- package/_types/chains/definitions/astar.d.ts.map +1 -1
- package/_types/chains/definitions/astarZkEVM.d.ts +2 -0
- package/_types/chains/definitions/astarZkEVM.d.ts.map +1 -1
- package/_types/chains/definitions/astarZkyoto.d.ts +2 -0
- package/_types/chains/definitions/astarZkyoto.d.ts.map +1 -1
- package/_types/chains/definitions/atletaOlympia.d.ts +2 -0
- package/_types/chains/definitions/atletaOlympia.d.ts.map +1 -1
- package/_types/chains/definitions/aurora.d.ts +2 -0
- package/_types/chains/definitions/aurora.d.ts.map +1 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +2 -0
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/auroria.d.ts +2 -0
- package/_types/chains/definitions/auroria.d.ts.map +1 -1
- package/_types/chains/definitions/autheoTestnet.d.ts +2 -0
- package/_types/chains/definitions/autheoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/avalanche.d.ts +2 -0
- package/_types/chains/definitions/avalanche.d.ts.map +1 -1
- package/_types/chains/definitions/avalancheFuji.d.ts +2 -0
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
- package/_types/chains/definitions/b3.d.ts +2 -0
- package/_types/chains/definitions/b3.d.ts.map +1 -1
- package/_types/chains/definitions/b3Sepolia.d.ts +2 -0
- package/_types/chains/definitions/b3Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bahamut.d.ts +2 -0
- package/_types/chains/definitions/bahamut.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +4 -0
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +2 -0
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +4 -0
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/basecampTestnet.d.ts +2 -0
- package/_types/chains/definitions/basecampTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/beam.d.ts +2 -0
- package/_types/chains/definitions/beam.d.ts.map +1 -1
- package/_types/chains/definitions/beamTestnet.d.ts +2 -0
- package/_types/chains/definitions/beamTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +2 -0
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +2 -0
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/berachain.d.ts +2 -0
- package/_types/chains/definitions/berachain.d.ts.map +1 -1
- package/_types/chains/definitions/berachainBepolia.d.ts +2 -0
- package/_types/chains/definitions/berachainBepolia.d.ts.map +1 -1
- package/_types/chains/definitions/berachainTestnet.d.ts +2 -0
- package/_types/chains/definitions/berachainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/berachainTestnetbArtio.d.ts +2 -0
- package/_types/chains/definitions/berachainTestnetbArtio.d.ts.map +1 -1
- package/_types/chains/definitions/bevmMainnet.d.ts +2 -0
- package/_types/chains/definitions/bevmMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/bifrost.d.ts +2 -0
- package/_types/chains/definitions/bifrost.d.ts.map +1 -1
- package/_types/chains/definitions/birdlayer.d.ts +2 -0
- package/_types/chains/definitions/birdlayer.d.ts.map +1 -1
- package/_types/chains/definitions/bitTorrent.d.ts +2 -0
- package/_types/chains/definitions/bitTorrent.d.ts.map +1 -1
- package/_types/chains/definitions/bitTorrentTestnet.d.ts +2 -0
- package/_types/chains/definitions/bitTorrentTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bitgert.d.ts +2 -0
- package/_types/chains/definitions/bitgert.d.ts.map +1 -1
- package/_types/chains/definitions/bitkub.d.ts +2 -0
- package/_types/chains/definitions/bitkub.d.ts.map +1 -1
- package/_types/chains/definitions/bitkubTestnet.d.ts +2 -0
- package/_types/chains/definitions/bitkubTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bitlayer.d.ts +2 -0
- package/_types/chains/definitions/bitlayer.d.ts.map +1 -1
- package/_types/chains/definitions/bitlayerTestnet.d.ts +2 -0
- package/_types/chains/definitions/bitlayerTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bitrock.d.ts +2 -0
- package/_types/chains/definitions/bitrock.d.ts.map +1 -1
- package/_types/chains/definitions/blast.d.ts +2 -0
- package/_types/chains/definitions/blast.d.ts.map +1 -1
- package/_types/chains/definitions/blastSepolia.d.ts +2 -0
- package/_types/chains/definitions/blastSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bob.d.ts +2 -0
- package/_types/chains/definitions/bob.d.ts.map +1 -1
- package/_types/chains/definitions/bobSepolia.d.ts +2 -0
- package/_types/chains/definitions/bobSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/boba.d.ts +2 -0
- package/_types/chains/definitions/boba.d.ts.map +1 -1
- package/_types/chains/definitions/bobaSepolia.d.ts +2 -0
- package/_types/chains/definitions/bobaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/boolBetaMainnet.d.ts +2 -0
- package/_types/chains/definitions/boolBetaMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/botanix.d.ts +2 -0
- package/_types/chains/definitions/botanix.d.ts.map +1 -1
- package/_types/chains/definitions/botanixTestnet.d.ts +2 -0
- package/_types/chains/definitions/botanixTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bounceBit.d.ts +2 -0
- package/_types/chains/definitions/bounceBit.d.ts.map +1 -1
- package/_types/chains/definitions/bounceBitTestnet.d.ts +2 -0
- package/_types/chains/definitions/bounceBitTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bronos.d.ts +2 -0
- package/_types/chains/definitions/bronos.d.ts.map +1 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +2 -0
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bsc.d.ts +2 -0
- package/_types/chains/definitions/bsc.d.ts.map +1 -1
- package/_types/chains/definitions/bscGreenfield.d.ts +2 -0
- package/_types/chains/definitions/bscGreenfield.d.ts.map +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +2 -0
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bsquared.d.ts +2 -0
- package/_types/chains/definitions/bsquared.d.ts.map +1 -1
- package/_types/chains/definitions/bsquaredTestnet.d.ts +2 -0
- package/_types/chains/definitions/bsquaredTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/btr.d.ts +2 -0
- package/_types/chains/definitions/btr.d.ts.map +1 -1
- package/_types/chains/definitions/btrTestnet.d.ts +2 -0
- package/_types/chains/definitions/btrTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bxn.d.ts +2 -0
- package/_types/chains/definitions/bxn.d.ts.map +1 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +2 -0
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/cannon.d.ts +2 -0
- package/_types/chains/definitions/cannon.d.ts.map +1 -1
- package/_types/chains/definitions/canto.d.ts +2 -0
- package/_types/chains/definitions/canto.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +2 -0
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +2 -0
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoSepolia.d.ts +2 -0
- package/_types/chains/definitions/celoSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/chang.d.ts +2 -0
- package/_types/chains/definitions/chang.d.ts.map +1 -1
- package/_types/chains/definitions/chiliz.d.ts +2 -0
- package/_types/chains/definitions/chiliz.d.ts.map +1 -1
- package/_types/chains/definitions/chips.d.ts +2 -0
- package/_types/chains/definitions/chips.d.ts.map +1 -1
- package/_types/chains/definitions/citreaTestnet.d.ts +2 -0
- package/_types/chains/definitions/citreaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/classic.d.ts +2 -0
- package/_types/chains/definitions/classic.d.ts.map +1 -1
- package/_types/chains/definitions/coinbit.d.ts +2 -0
- package/_types/chains/definitions/coinbit.d.ts.map +1 -1
- package/_types/chains/definitions/coinex.d.ts +2 -0
- package/_types/chains/definitions/coinex.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +2 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +2 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/coreDao.d.ts +2 -0
- package/_types/chains/definitions/coreDao.d.ts.map +1 -1
- package/_types/chains/definitions/coreTestnet1.d.ts +2 -0
- package/_types/chains/definitions/coreTestnet1.d.ts.map +1 -1
- package/_types/chains/definitions/coreTestnet2.d.ts +2 -0
- package/_types/chains/definitions/coreTestnet2.d.ts.map +1 -1
- package/_types/chains/definitions/corn.d.ts +2 -0
- package/_types/chains/definitions/corn.d.ts.map +1 -1
- package/_types/chains/definitions/cornTestnet.d.ts +2 -0
- package/_types/chains/definitions/cornTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/crab.d.ts +2 -0
- package/_types/chains/definitions/crab.d.ts.map +1 -1
- package/_types/chains/definitions/creatorTestnet.d.ts +2 -0
- package/_types/chains/definitions/creatorTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/creditCoin3Devnet.d.ts +2 -0
- package/_types/chains/definitions/creditCoin3Devnet.d.ts.map +1 -1
- package/_types/chains/definitions/creditCoin3Mainnet.d.ts +2 -0
- package/_types/chains/definitions/creditCoin3Mainnet.d.ts.map +1 -1
- package/_types/chains/definitions/creditCoin3Testnet.d.ts +2 -0
- package/_types/chains/definitions/creditCoin3Testnet.d.ts.map +1 -1
- package/_types/chains/definitions/cronos.d.ts +2 -0
- package/_types/chains/definitions/cronos.d.ts.map +1 -1
- package/_types/chains/definitions/cronosTestnet.d.ts +2 -0
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/cronoszkEVM.d.ts +2 -0
- package/_types/chains/definitions/cronoszkEVM.d.ts.map +1 -1
- package/_types/chains/definitions/cronoszkEVMTestnet.d.ts +2 -0
- package/_types/chains/definitions/cronoszkEVMTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/crossbell.d.ts +2 -0
- package/_types/chains/definitions/crossbell.d.ts.map +1 -1
- package/_types/chains/definitions/crossfi.d.ts +2 -0
- package/_types/chains/definitions/crossfi.d.ts.map +1 -1
- package/_types/chains/definitions/curtis.d.ts +2 -0
- package/_types/chains/definitions/curtis.d.ts.map +1 -1
- package/_types/chains/definitions/cyber.d.ts +2 -0
- package/_types/chains/definitions/cyber.d.ts.map +1 -1
- package/_types/chains/definitions/cyberTestnet.d.ts +2 -0
- package/_types/chains/definitions/cyberTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/dailyNetwork.d.ts +2 -0
- package/_types/chains/definitions/dailyNetwork.d.ts.map +1 -1
- package/_types/chains/definitions/dailyNetworkTestnet.d.ts +2 -0
- package/_types/chains/definitions/dailyNetworkTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/darwinia.d.ts +2 -0
- package/_types/chains/definitions/darwinia.d.ts.map +1 -1
- package/_types/chains/definitions/datahavenTestnet.d.ts +42 -0
- package/_types/chains/definitions/datahavenTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/dbkchain.d.ts +2 -0
- package/_types/chains/definitions/dbkchain.d.ts.map +1 -1
- package/_types/chains/definitions/dchain.d.ts +2 -0
- package/_types/chains/definitions/dchain.d.ts.map +1 -1
- package/_types/chains/definitions/dchainTestnet.d.ts +2 -0
- package/_types/chains/definitions/dchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/defichainEvm.d.ts +2 -0
- package/_types/chains/definitions/defichainEvm.d.ts.map +1 -1
- package/_types/chains/definitions/defichainEvmTestnet.d.ts +2 -0
- package/_types/chains/definitions/defichainEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/degen.d.ts +2 -0
- package/_types/chains/definitions/degen.d.ts.map +1 -1
- package/_types/chains/definitions/dfk.d.ts +2 -0
- package/_types/chains/definitions/dfk.d.ts.map +1 -1
- package/_types/chains/definitions/diode.d.ts +2 -0
- package/_types/chains/definitions/diode.d.ts.map +1 -1
- package/_types/chains/definitions/disChain.d.ts +2 -0
- package/_types/chains/definitions/disChain.d.ts.map +1 -1
- package/_types/chains/definitions/dodochainTestnet.d.ts +2 -0
- package/_types/chains/definitions/dodochainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/dogechain.d.ts +2 -0
- package/_types/chains/definitions/dogechain.d.ts.map +1 -1
- package/_types/chains/definitions/domaTestnet.d.ts +2 -0
- package/_types/chains/definitions/domaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/donatuz.d.ts +2 -0
- package/_types/chains/definitions/donatuz.d.ts.map +1 -1
- package/_types/chains/definitions/dosChain.d.ts +2 -0
- package/_types/chains/definitions/dosChain.d.ts.map +1 -1
- package/_types/chains/definitions/dosChainTestnet.d.ts +2 -0
- package/_types/chains/definitions/dosChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/dreyerxMainnet.d.ts +2 -0
- package/_types/chains/definitions/dreyerxMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/dreyerxTestnet.d.ts +2 -0
- package/_types/chains/definitions/dreyerxTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/dustboyIoT.d.ts +2 -0
- package/_types/chains/definitions/dustboyIoT.d.ts.map +1 -1
- package/_types/chains/definitions/dymension.d.ts +2 -0
- package/_types/chains/definitions/dymension.d.ts.map +1 -1
- package/_types/chains/definitions/edexa.d.ts +2 -0
- package/_types/chains/definitions/edexa.d.ts.map +1 -1
- package/_types/chains/definitions/edexaTestnet.d.ts +2 -0
- package/_types/chains/definitions/edexaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/edgeless.d.ts +2 -0
- package/_types/chains/definitions/edgeless.d.ts.map +1 -1
- package/_types/chains/definitions/edgelessTestnet.d.ts +2 -0
- package/_types/chains/definitions/edgelessTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/edgeware.d.ts +2 -0
- package/_types/chains/definitions/edgeware.d.ts.map +1 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +2 -0
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/eduChain.d.ts +2 -0
- package/_types/chains/definitions/eduChain.d.ts.map +1 -1
- package/_types/chains/definitions/eduChainTestnet.d.ts +2 -0
- package/_types/chains/definitions/eduChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ekta.d.ts +2 -0
- package/_types/chains/definitions/ekta.d.ts.map +1 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +2 -0
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/elastos.d.ts +2 -0
- package/_types/chains/definitions/elastos.d.ts.map +1 -1
- package/_types/chains/definitions/elastosTestnet.d.ts +2 -0
- package/_types/chains/definitions/elastosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/electroneum.d.ts +2 -0
- package/_types/chains/definitions/electroneum.d.ts.map +1 -1
- package/_types/chains/definitions/electroneumTestnet.d.ts +2 -0
- package/_types/chains/definitions/electroneumTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/elysiumTestnet.d.ts +2 -0
- package/_types/chains/definitions/elysiumTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/energy.d.ts +2 -0
- package/_types/chains/definitions/energy.d.ts.map +1 -1
- package/_types/chains/definitions/eni.d.ts +2 -0
- package/_types/chains/definitions/eni.d.ts.map +1 -1
- package/_types/chains/definitions/eniTestnet.d.ts +2 -0
- package/_types/chains/definitions/eniTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/enuls.d.ts +2 -0
- package/_types/chains/definitions/enuls.d.ts.map +1 -1
- package/_types/chains/definitions/eon.d.ts +2 -0
- package/_types/chains/definitions/eon.d.ts.map +1 -1
- package/_types/chains/definitions/eos.d.ts +2 -0
- package/_types/chains/definitions/eos.d.ts.map +1 -1
- package/_types/chains/definitions/eosTestnet.d.ts +2 -0
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/eteria.d.ts +2 -0
- package/_types/chains/definitions/eteria.d.ts.map +1 -1
- package/_types/chains/definitions/etherlink.d.ts +2 -0
- package/_types/chains/definitions/etherlink.d.ts.map +1 -1
- package/_types/chains/definitions/etherlinkShadownetTestnet.d.ts +2 -0
- package/_types/chains/definitions/etherlinkShadownetTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/etherlinkTestnet.d.ts +2 -0
- package/_types/chains/definitions/etherlinkTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ethernity.d.ts +2 -0
- package/_types/chains/definitions/ethernity.d.ts.map +1 -1
- package/_types/chains/definitions/etp.d.ts +2 -0
- package/_types/chains/definitions/etp.d.ts.map +1 -1
- package/_types/chains/definitions/evmos.d.ts +2 -0
- package/_types/chains/definitions/evmos.d.ts.map +1 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +2 -0
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/exSat.d.ts +2 -0
- package/_types/chains/definitions/exSat.d.ts.map +1 -1
- package/_types/chains/definitions/exSatTestnet.d.ts +2 -0
- package/_types/chains/definitions/exSatTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/excelonMainnet.d.ts +2 -0
- package/_types/chains/definitions/excelonMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/expanse.d.ts +2 -0
- package/_types/chains/definitions/expanse.d.ts.map +1 -1
- package/_types/chains/definitions/fantom.d.ts +2 -0
- package/_types/chains/definitions/fantom.d.ts.map +1 -1
- package/_types/chains/definitions/fantomSonicTestnet.d.ts +2 -0
- package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fantomTestnet.d.ts +2 -0
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fibo.d.ts +2 -0
- package/_types/chains/definitions/fibo.d.ts.map +1 -1
- package/_types/chains/definitions/filecoin.d.ts +2 -0
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +2 -0
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +2 -0
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
- package/_types/chains/definitions/flame.d.ts +2 -0
- package/_types/chains/definitions/flame.d.ts.map +1 -1
- package/_types/chains/definitions/flare.d.ts +2 -0
- package/_types/chains/definitions/flare.d.ts.map +1 -1
- package/_types/chains/definitions/flareTestnet.d.ts +2 -0
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/flowMainnet.d.ts +2 -0
- package/_types/chains/definitions/flowMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/flowPreviewnet.d.ts +2 -0
- package/_types/chains/definitions/flowPreviewnet.d.ts.map +1 -1
- package/_types/chains/definitions/flowTestnet.d.ts +2 -0
- package/_types/chains/definitions/flowTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fluence.d.ts +2 -0
- package/_types/chains/definitions/fluence.d.ts.map +1 -1
- package/_types/chains/definitions/fluenceStage.d.ts +2 -0
- package/_types/chains/definitions/fluenceStage.d.ts.map +1 -1
- package/_types/chains/definitions/fluenceTestnet.d.ts +2 -0
- package/_types/chains/definitions/fluenceTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fluentTestnet.d.ts +2 -0
- package/_types/chains/definitions/fluentTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/form.d.ts +2 -0
- package/_types/chains/definitions/form.d.ts.map +1 -1
- package/_types/chains/definitions/formTestnet.d.ts +2 -0
- package/_types/chains/definitions/formTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/forma.d.ts +2 -0
- package/_types/chains/definitions/forma.d.ts.map +1 -1
- package/_types/chains/definitions/forta.d.ts +2 -0
- package/_types/chains/definitions/forta.d.ts.map +1 -1
- package/_types/chains/definitions/foundry.d.ts +2 -0
- package/_types/chains/definitions/foundry.d.ts.map +1 -1
- package/_types/chains/definitions/fraxtal.d.ts +2 -0
- package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
- package/_types/chains/definitions/fraxtalTestnet.d.ts +2 -0
- package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/funkiMainnet.d.ts +2 -0
- package/_types/chains/definitions/funkiMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/funkiSepolia.d.ts +2 -0
- package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/fuse.d.ts +2 -0
- package/_types/chains/definitions/fuse.d.ts.map +1 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +2 -0
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
- package/_types/chains/definitions/fusion.d.ts +2 -0
- package/_types/chains/definitions/fusion.d.ts.map +1 -1
- package/_types/chains/definitions/fusionTestnet.d.ts +2 -0
- package/_types/chains/definitions/fusionTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/garnet.d.ts +2 -0
- package/_types/chains/definitions/garnet.d.ts.map +1 -1
- package/_types/chains/definitions/gatechain.d.ts +2 -0
- package/_types/chains/definitions/gatechain.d.ts.map +1 -1
- package/_types/chains/definitions/geist.d.ts +2 -0
- package/_types/chains/definitions/geist.d.ts.map +1 -1
- package/_types/chains/definitions/genesys.d.ts +2 -0
- package/_types/chains/definitions/genesys.d.ts.map +1 -1
- package/_types/chains/definitions/giwaSepolia.d.ts +4 -0
- package/_types/chains/definitions/giwaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/glideL1Protocol.d.ts +2 -0
- package/_types/chains/definitions/glideL1Protocol.d.ts.map +1 -1
- package/_types/chains/definitions/glideL2Protocol.d.ts +2 -0
- package/_types/chains/definitions/glideL2Protocol.d.ts.map +1 -1
- package/_types/chains/definitions/gnosis.d.ts +2 -0
- package/_types/chains/definitions/gnosis.d.ts.map +1 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +2 -0
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
- package/_types/chains/definitions/goChain.d.ts +2 -0
- package/_types/chains/definitions/goChain.d.ts.map +1 -1
- package/_types/chains/definitions/goat.d.ts +2 -0
- package/_types/chains/definitions/goat.d.ts.map +1 -1
- package/_types/chains/definitions/gobi.d.ts +2 -0
- package/_types/chains/definitions/gobi.d.ts.map +1 -1
- package/_types/chains/definitions/godwoken.d.ts +2 -0
- package/_types/chains/definitions/godwoken.d.ts.map +1 -1
- package/_types/chains/definitions/goerli.d.ts +2 -0
- package/_types/chains/definitions/goerli.d.ts.map +1 -1
- package/_types/chains/definitions/graphite.d.ts +2 -0
- package/_types/chains/definitions/graphite.d.ts.map +1 -1
- package/_types/chains/definitions/graphiteTestnet.d.ts +2 -0
- package/_types/chains/definitions/graphiteTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/gravity.d.ts +2 -0
- package/_types/chains/definitions/gravity.d.ts.map +1 -1
- package/_types/chains/definitions/gunz.d.ts +2 -0
- package/_types/chains/definitions/gunz.d.ts.map +1 -1
- package/_types/chains/definitions/guruNetwork.d.ts +2 -0
- package/_types/chains/definitions/guruNetwork.d.ts.map +1 -1
- package/_types/chains/definitions/guruTestnet.d.ts +2 -0
- package/_types/chains/definitions/guruTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ham.d.ts +2 -0
- package/_types/chains/definitions/ham.d.ts.map +1 -1
- package/_types/chains/definitions/happychainTestnet.d.ts +2 -0
- package/_types/chains/definitions/happychainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +2 -0
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +2 -0
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
- package/_types/chains/definitions/hardhat.d.ts +2 -0
- package/_types/chains/definitions/hardhat.d.ts.map +1 -1
- package/_types/chains/definitions/harmonyOne.d.ts +2 -0
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
- package/_types/chains/definitions/hashKeyChain.d.ts +2 -0
- package/_types/chains/definitions/hashKeyChain.d.ts.map +1 -1
- package/_types/chains/definitions/hashkeyChainTestnet.d.ts +2 -0
- package/_types/chains/definitions/hashkeyChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/haustTestnet.d.ts +2 -0
- package/_types/chains/definitions/haustTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/hedera.d.ts +2 -0
- package/_types/chains/definitions/hedera.d.ts.map +1 -1
- package/_types/chains/definitions/hederaPreviewnet.d.ts +2 -0
- package/_types/chains/definitions/hederaPreviewnet.d.ts.map +1 -1
- package/_types/chains/definitions/hederaTestnet.d.ts +2 -0
- package/_types/chains/definitions/hederaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/hela.d.ts +2 -0
- package/_types/chains/definitions/hela.d.ts.map +1 -1
- package/_types/chains/definitions/heliosTestnet.d.ts +2 -0
- package/_types/chains/definitions/heliosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/hemi.d.ts +2 -0
- package/_types/chains/definitions/hemi.d.ts.map +1 -1
- package/_types/chains/definitions/hemiSepolia.d.ts +2 -0
- package/_types/chains/definitions/hemiSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/henesys.d.ts +2 -0
- package/_types/chains/definitions/henesys.d.ts.map +1 -1
- package/_types/chains/definitions/holesky.d.ts +2 -0
- package/_types/chains/definitions/holesky.d.ts.map +1 -1
- package/_types/chains/definitions/hoodi.d.ts +2 -0
- package/_types/chains/definitions/hoodi.d.ts.map +1 -1
- package/_types/chains/definitions/hpb.d.ts +2 -0
- package/_types/chains/definitions/hpb.d.ts.map +1 -1
- package/_types/chains/definitions/huddle01Mainnet.d.ts +2 -0
- package/_types/chains/definitions/huddle01Mainnet.d.ts.map +1 -1
- package/_types/chains/definitions/huddle01Testnet.d.ts +2 -0
- package/_types/chains/definitions/huddle01Testnet.d.ts.map +1 -1
- package/_types/chains/definitions/humanity.d.ts +2 -0
- package/_types/chains/definitions/humanity.d.ts.map +1 -1
- package/_types/chains/definitions/humanityTestnet.d.ts +2 -0
- package/_types/chains/definitions/humanityTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/humanode.d.ts +2 -0
- package/_types/chains/definitions/humanode.d.ts.map +1 -1
- package/_types/chains/definitions/humanodeTestnet5.d.ts +2 -0
- package/_types/chains/definitions/humanodeTestnet5.d.ts.map +1 -1
- package/_types/chains/definitions/hychain.d.ts +2 -0
- package/_types/chains/definitions/hychain.d.ts.map +1 -1
- package/_types/chains/definitions/hychainTestnet.d.ts +2 -0
- package/_types/chains/definitions/hychainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/hyperEvm.d.ts +2 -0
- package/_types/chains/definitions/hyperEvm.d.ts.map +1 -1
- package/_types/chains/definitions/hyperliquidEvmTestnet.d.ts +2 -0
- package/_types/chains/definitions/hyperliquidEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/iSunCoin.d.ts +2 -0
- package/_types/chains/definitions/iSunCoin.d.ts.map +1 -1
- package/_types/chains/definitions/icbNetwork.d.ts +2 -0
- package/_types/chains/definitions/icbNetwork.d.ts.map +1 -1
- package/_types/chains/definitions/idchain.d.ts +2 -0
- package/_types/chains/definitions/idchain.d.ts.map +1 -1
- package/_types/chains/definitions/immutableZkEvm.d.ts +2 -0
- package/_types/chains/definitions/immutableZkEvm.d.ts.map +1 -1
- package/_types/chains/definitions/immutableZkEvmTestnet.d.ts +2 -0
- package/_types/chains/definitions/immutableZkEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/inEVM.d.ts +2 -0
- package/_types/chains/definitions/inEVM.d.ts.map +1 -1
- package/_types/chains/definitions/initVerse.d.ts +2 -0
- package/_types/chains/definitions/initVerse.d.ts.map +1 -1
- package/_types/chains/definitions/initVerseGenesis.d.ts +2 -0
- package/_types/chains/definitions/initVerseGenesis.d.ts.map +1 -1
- package/_types/chains/definitions/injective.d.ts +2 -0
- package/_types/chains/definitions/injective.d.ts.map +1 -1
- package/_types/chains/definitions/injectiveTestnet.d.ts +2 -0
- package/_types/chains/definitions/injectiveTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ink.d.ts +2 -0
- package/_types/chains/definitions/ink.d.ts.map +1 -1
- package/_types/chains/definitions/inkSepolia.d.ts +2 -0
- package/_types/chains/definitions/inkSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/iota.d.ts +2 -0
- package/_types/chains/definitions/iota.d.ts.map +1 -1
- package/_types/chains/definitions/iotaTestnet.d.ts +2 -0
- package/_types/chains/definitions/iotaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/iotex.d.ts +2 -0
- package/_types/chains/definitions/iotex.d.ts.map +1 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +2 -0
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/jasmyChain.d.ts +2 -0
- package/_types/chains/definitions/jasmyChain.d.ts.map +1 -1
- package/_types/chains/definitions/jasmyChainTestnet.d.ts +2 -0
- package/_types/chains/definitions/jasmyChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/jbc.d.ts +2 -0
- package/_types/chains/definitions/jbc.d.ts.map +1 -1
- package/_types/chains/definitions/jbcTestnet.d.ts +2 -0
- package/_types/chains/definitions/jbcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/jocMainnet.d.ts +2 -0
- package/_types/chains/definitions/jocMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/jocTestnet.d.ts +2 -0
- package/_types/chains/definitions/jocTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/jovay.d.ts +2 -0
- package/_types/chains/definitions/jovay.d.ts.map +1 -1
- package/_types/chains/definitions/jovaySepolia.d.ts +2 -0
- package/_types/chains/definitions/jovaySepolia.d.ts.map +1 -1
- package/_types/chains/definitions/juneo.d.ts +2 -0
- package/_types/chains/definitions/juneo.d.ts.map +1 -1
- package/_types/chains/definitions/juneoBCH1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoBCH1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoDAI1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoDAI1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoDOGE1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoDOGE1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoEUR1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoEUR1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoGLD1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoGLD1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoLINK1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoLINK1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoLTC1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoLTC1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoSGD1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoSGD1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoSocotraTestnet.d.ts +2 -0
- package/_types/chains/definitions/juneoSocotraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/juneoUSD1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoUSD1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneoUSDT1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneoUSDT1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/juneomBTC1Chain.d.ts +2 -0
- package/_types/chains/definitions/juneomBTC1Chain.d.ts.map +1 -1
- package/_types/chains/definitions/kaia.d.ts +2 -0
- package/_types/chains/definitions/kaia.d.ts.map +1 -1
- package/_types/chains/definitions/kairos.d.ts +2 -0
- package/_types/chains/definitions/kairos.d.ts.map +1 -1
- package/_types/chains/definitions/kakarotSepolia.d.ts +2 -0
- package/_types/chains/definitions/kakarotSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/kakarotStarknetSepolia.d.ts +2 -0
- package/_types/chains/definitions/kakarotStarknetSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/kardiaChain.d.ts +2 -0
- package/_types/chains/definitions/kardiaChain.d.ts.map +1 -1
- package/_types/chains/definitions/karura.d.ts +2 -0
- package/_types/chains/definitions/karura.d.ts.map +1 -1
- package/_types/chains/definitions/katana.d.ts +2 -0
- package/_types/chains/definitions/katana.d.ts.map +1 -1
- package/_types/chains/definitions/kava.d.ts +2 -0
- package/_types/chains/definitions/kava.d.ts.map +1 -1
- package/_types/chains/definitions/kavaTestnet.d.ts +2 -0
- package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/kcc.d.ts +2 -0
- package/_types/chains/definitions/kcc.d.ts.map +1 -1
- package/_types/chains/definitions/kiiTestnet.d.ts +2 -0
- package/_types/chains/definitions/kiiTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/kinto.d.ts +2 -0
- package/_types/chains/definitions/kinto.d.ts.map +1 -1
- package/_types/chains/definitions/klaytn.d.ts +2 -0
- package/_types/chains/definitions/klaytn.d.ts.map +1 -1
- package/_types/chains/definitions/klaytnBaobab.d.ts +2 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -1
- package/_types/chains/definitions/koi.d.ts +2 -0
- package/_types/chains/definitions/koi.d.ts.map +1 -1
- package/_types/chains/definitions/kroma.d.ts +2 -0
- package/_types/chains/definitions/kroma.d.ts.map +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +2 -0
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/l3x.d.ts +2 -0
- package/_types/chains/definitions/l3x.d.ts.map +1 -1
- package/_types/chains/definitions/l3xTestnet.d.ts +2 -0
- package/_types/chains/definitions/l3xTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/lavita.d.ts +2 -0
- package/_types/chains/definitions/lavita.d.ts.map +1 -1
- package/_types/chains/definitions/lens.d.ts +2 -0
- package/_types/chains/definitions/lens.d.ts.map +1 -1
- package/_types/chains/definitions/lensTestnet.d.ts +2 -0
- package/_types/chains/definitions/lensTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/lestnet.d.ts +2 -0
- package/_types/chains/definitions/lestnet.d.ts.map +1 -1
- package/_types/chains/definitions/lightlinkPegasus.d.ts +2 -0
- package/_types/chains/definitions/lightlinkPegasus.d.ts.map +1 -1
- package/_types/chains/definitions/lightlinkPhoenix.d.ts +2 -0
- package/_types/chains/definitions/lightlinkPhoenix.d.ts.map +1 -1
- package/_types/chains/definitions/linea.d.ts +2 -0
- package/_types/chains/definitions/linea.d.ts.map +1 -1
- package/_types/chains/definitions/lineaGoerli.d.ts +2 -0
- package/_types/chains/definitions/lineaGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/lineaSepolia.d.ts +2 -0
- package/_types/chains/definitions/lineaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/lineaTestnet.d.ts +2 -0
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/lisk.d.ts +2 -0
- package/_types/chains/definitions/lisk.d.ts.map +1 -1
- package/_types/chains/definitions/liskSepolia.d.ts +2 -0
- package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/loadAlphanet.d.ts +2 -0
- package/_types/chains/definitions/loadAlphanet.d.ts.map +1 -1
- package/_types/chains/definitions/localhost.d.ts +2 -0
- package/_types/chains/definitions/localhost.d.ts.map +1 -1
- package/_types/chains/definitions/loop.d.ts +2 -0
- package/_types/chains/definitions/loop.d.ts.map +1 -1
- package/_types/chains/definitions/lukso.d.ts +2 -0
- package/_types/chains/definitions/lukso.d.ts.map +1 -1
- package/_types/chains/definitions/luksoTestnet.d.ts +2 -0
- package/_types/chains/definitions/luksoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/lumiaMainnet.d.ts +2 -0
- package/_types/chains/definitions/lumiaMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/lumiaTestnet.d.ts +2 -0
- package/_types/chains/definitions/lumiaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/lumoz.d.ts +2 -0
- package/_types/chains/definitions/lumoz.d.ts.map +1 -1
- package/_types/chains/definitions/lumozTestnet.d.ts +2 -0
- package/_types/chains/definitions/lumozTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/lycan.d.ts +2 -0
- package/_types/chains/definitions/lycan.d.ts.map +1 -1
- package/_types/chains/definitions/lyra.d.ts +2 -0
- package/_types/chains/definitions/lyra.d.ts.map +1 -1
- package/_types/chains/definitions/mainnet.d.ts +2 -0
- package/_types/chains/definitions/mainnet.d.ts.map +1 -1
- package/_types/chains/definitions/mandala.d.ts +2 -0
- package/_types/chains/definitions/mandala.d.ts.map +1 -1
- package/_types/chains/definitions/manta.d.ts +2 -0
- package/_types/chains/definitions/manta.d.ts.map +1 -1
- package/_types/chains/definitions/mantaSepoliaTestnet.d.ts +2 -0
- package/_types/chains/definitions/mantaSepoliaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mantaTestnet.d.ts +2 -0
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mantle.d.ts +2 -0
- package/_types/chains/definitions/mantle.d.ts.map +1 -1
- package/_types/chains/definitions/mantleSepoliaTestnet.d.ts +2 -0
- package/_types/chains/definitions/mantleSepoliaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +2 -0
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mantraDuKongEVMTestnet.d.ts +2 -0
- package/_types/chains/definitions/mantraDuKongEVMTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mantraEVM.d.ts +2 -0
- package/_types/chains/definitions/mantraEVM.d.ts.map +1 -1
- package/_types/chains/definitions/mapProtocol.d.ts +2 -0
- package/_types/chains/definitions/mapProtocol.d.ts.map +1 -1
- package/_types/chains/definitions/matchain.d.ts +2 -0
- package/_types/chains/definitions/matchain.d.ts.map +1 -1
- package/_types/chains/definitions/matchainTestnet.d.ts +2 -0
- package/_types/chains/definitions/matchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mchVerse.d.ts +2 -0
- package/_types/chains/definitions/mchVerse.d.ts.map +1 -1
- package/_types/chains/definitions/megaethTestnet.d.ts +2 -0
- package/_types/chains/definitions/megaethTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mekong.d.ts +2 -0
- package/_types/chains/definitions/mekong.d.ts.map +1 -1
- package/_types/chains/definitions/meld.d.ts +2 -0
- package/_types/chains/definitions/meld.d.ts.map +1 -1
- package/_types/chains/definitions/memecore.d.ts +2 -0
- package/_types/chains/definitions/memecore.d.ts.map +1 -1
- package/_types/chains/definitions/memecoreFormicariumTestnet.d.ts +2 -0
- package/_types/chains/definitions/memecoreFormicariumTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/merlin.d.ts +2 -0
- package/_types/chains/definitions/merlin.d.ts.map +1 -1
- package/_types/chains/definitions/merlinErigonTestnet.d.ts +2 -0
- package/_types/chains/definitions/merlinErigonTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/metachain.d.ts +2 -0
- package/_types/chains/definitions/metachain.d.ts.map +1 -1
- package/_types/chains/definitions/metachainIstanbul.d.ts +2 -0
- package/_types/chains/definitions/metachainIstanbul.d.ts.map +1 -1
- package/_types/chains/definitions/metadium.d.ts +2 -0
- package/_types/chains/definitions/metadium.d.ts.map +1 -1
- package/_types/chains/definitions/metalL2.d.ts +2 -0
- package/_types/chains/definitions/metalL2.d.ts.map +1 -1
- package/_types/chains/definitions/meter.d.ts +2 -0
- package/_types/chains/definitions/meter.d.ts.map +1 -1
- package/_types/chains/definitions/meterTestnet.d.ts +2 -0
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/metis.d.ts +2 -0
- package/_types/chains/definitions/metis.d.ts.map +1 -1
- package/_types/chains/definitions/metisGoerli.d.ts +2 -0
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/metisSepolia.d.ts +2 -0
- package/_types/chains/definitions/metisSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/mev.d.ts +2 -0
- package/_types/chains/definitions/mev.d.ts.map +1 -1
- package/_types/chains/definitions/mevTestnet.d.ts +2 -0
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mint.d.ts +2 -0
- package/_types/chains/definitions/mint.d.ts.map +1 -1
- package/_types/chains/definitions/mintSepoliaTestnet.d.ts +2 -0
- package/_types/chains/definitions/mintSepoliaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mitosisTestnet.d.ts +2 -0
- package/_types/chains/definitions/mitosisTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mode.d.ts +2 -0
- package/_types/chains/definitions/mode.d.ts.map +1 -1
- package/_types/chains/definitions/modeTestnet.d.ts +2 -0
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/monad.d.ts +2 -0
- package/_types/chains/definitions/monad.d.ts.map +1 -1
- package/_types/chains/definitions/monadTestnet.d.ts +2 -0
- package/_types/chains/definitions/monadTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/moonbaseAlpha.d.ts +2 -0
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeam.d.ts +2 -0
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +2 -0
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -1
- package/_types/chains/definitions/moonriver.d.ts +2 -0
- package/_types/chains/definitions/moonriver.d.ts.map +1 -1
- package/_types/chains/definitions/morph.d.ts +2 -0
- package/_types/chains/definitions/morph.d.ts.map +1 -1
- package/_types/chains/definitions/morphHolesky.d.ts +2 -0
- package/_types/chains/definitions/morphHolesky.d.ts.map +1 -1
- package/_types/chains/definitions/morphSepolia.d.ts +2 -0
- package/_types/chains/definitions/morphSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/nahmii.d.ts +2 -0
- package/_types/chains/definitions/nahmii.d.ts.map +1 -1
- package/_types/chains/definitions/nautilus.d.ts +2 -0
- package/_types/chains/definitions/nautilus.d.ts.map +1 -1
- package/_types/chains/definitions/near.d.ts +2 -0
- package/_types/chains/definitions/near.d.ts.map +1 -1
- package/_types/chains/definitions/nearTestnet.d.ts +2 -0
- package/_types/chains/definitions/nearTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/neonDevnet.d.ts +2 -0
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/neonMainnet.d.ts +2 -0
- package/_types/chains/definitions/neonMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/neoxMainnet.d.ts +2 -0
- package/_types/chains/definitions/neoxMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/neoxT4.d.ts +2 -0
- package/_types/chains/definitions/neoxT4.d.ts.map +1 -1
- package/_types/chains/definitions/newton.d.ts +2 -0
- package/_types/chains/definitions/newton.d.ts.map +1 -1
- package/_types/chains/definitions/nexi.d.ts +2 -0
- package/_types/chains/definitions/nexi.d.ts.map +1 -1
- package/_types/chains/definitions/nexilix.d.ts +2 -0
- package/_types/chains/definitions/nexilix.d.ts.map +1 -1
- package/_types/chains/definitions/nibiru.d.ts +2 -0
- package/_types/chains/definitions/nibiru.d.ts.map +1 -1
- package/_types/chains/definitions/nitrographTestnet.d.ts +2 -0
- package/_types/chains/definitions/nitrographTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/nomina.d.ts +2 -0
- package/_types/chains/definitions/nomina.d.ts.map +1 -1
- package/_types/chains/definitions/oasisTestnet.d.ts +2 -0
- package/_types/chains/definitions/oasisTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/oasys.d.ts +2 -0
- package/_types/chains/definitions/oasys.d.ts.map +1 -1
- package/_types/chains/definitions/odysseyTestnet.d.ts +2 -0
- package/_types/chains/definitions/odysseyTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/okc.d.ts +2 -0
- package/_types/chains/definitions/okc.d.ts.map +1 -1
- package/_types/chains/definitions/omax.d.ts +2 -0
- package/_types/chains/definitions/omax.d.ts.map +1 -1
- package/_types/chains/definitions/omni.d.ts +2 -0
- package/_types/chains/definitions/omni.d.ts.map +1 -1
- package/_types/chains/definitions/omniOmega.d.ts +2 -0
- package/_types/chains/definitions/omniOmega.d.ts.map +1 -1
- package/_types/chains/definitions/oneWorld.d.ts +2 -0
- package/_types/chains/definitions/oneWorld.d.ts.map +1 -1
- package/_types/chains/definitions/oortmainnetDev.d.ts +2 -0
- package/_types/chains/definitions/oortmainnetDev.d.ts.map +1 -1
- package/_types/chains/definitions/opBNB.d.ts +2 -0
- package/_types/chains/definitions/opBNB.d.ts.map +1 -1
- package/_types/chains/definitions/opBNBTestnet.d.ts +2 -0
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/openledger.d.ts +2 -0
- package/_types/chains/definitions/openledger.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +2 -0
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +2 -0
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +2 -0
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/optopia.d.ts +2 -0
- package/_types/chains/definitions/optopia.d.ts.map +1 -1
- package/_types/chains/definitions/optopiaTestnet.d.ts +2 -0
- package/_types/chains/definitions/optopiaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/orderly.d.ts +2 -0
- package/_types/chains/definitions/orderly.d.ts.map +1 -1
- package/_types/chains/definitions/orderlySepolia.d.ts +2 -0
- package/_types/chains/definitions/orderlySepolia.d.ts.map +1 -1
- package/_types/chains/definitions/otimDevnet.d.ts +2 -0
- package/_types/chains/definitions/otimDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/palm.d.ts +2 -0
- package/_types/chains/definitions/palm.d.ts.map +1 -1
- package/_types/chains/definitions/palmTestnet.d.ts +2 -0
- package/_types/chains/definitions/palmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/peaq.d.ts +2 -0
- package/_types/chains/definitions/peaq.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +2 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -1
- package/_types/chains/definitions/pgnTestnet.d.ts +2 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/phoenix.d.ts +2 -0
- package/_types/chains/definitions/phoenix.d.ts.map +1 -1
- package/_types/chains/definitions/planq.d.ts +2 -0
- package/_types/chains/definitions/planq.d.ts.map +1 -1
- package/_types/chains/definitions/plasma.d.ts +2 -0
- package/_types/chains/definitions/plasma.d.ts.map +1 -1
- package/_types/chains/definitions/plasmaDevnet.d.ts +2 -0
- package/_types/chains/definitions/plasmaDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/plasmaTestnet.d.ts +2 -0
- package/_types/chains/definitions/plasmaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/playfiAlbireo.d.ts +2 -0
- package/_types/chains/definitions/playfiAlbireo.d.ts.map +1 -1
- package/_types/chains/definitions/plinga.d.ts +2 -0
- package/_types/chains/definitions/plinga.d.ts.map +1 -1
- package/_types/chains/definitions/plume.d.ts +2 -0
- package/_types/chains/definitions/plume.d.ts.map +1 -1
- package/_types/chains/definitions/plumeDevnet.d.ts +2 -0
- package/_types/chains/definitions/plumeDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/plumeMainnet.d.ts +2 -0
- package/_types/chains/definitions/plumeMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/plumeSepolia.d.ts +2 -0
- package/_types/chains/definitions/plumeSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/plumeTestnet.d.ts +2 -0
- package/_types/chains/definitions/plumeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/polterTestnet.d.ts +2 -0
- package/_types/chains/definitions/polterTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/polygon.d.ts +2 -0
- package/_types/chains/definitions/polygon.d.ts.map +1 -1
- package/_types/chains/definitions/polygonAmoy.d.ts +2 -0
- package/_types/chains/definitions/polygonAmoy.d.ts.map +1 -1
- package/_types/chains/definitions/polygonMumbai.d.ts +2 -0
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvm.d.ts +2 -0
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvmCardona.d.ts +2 -0
- package/_types/chains/definitions/polygonZkEvmCardona.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +2 -0
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/polynomial.d.ts +2 -0
- package/_types/chains/definitions/polynomial.d.ts.map +1 -1
- package/_types/chains/definitions/polynomialSepolia.d.ts +2 -0
- package/_types/chains/definitions/polynomialSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/potos.d.ts +2 -0
- package/_types/chains/definitions/potos.d.ts.map +1 -1
- package/_types/chains/definitions/potosTestnet.d.ts +2 -0
- package/_types/chains/definitions/potosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/premiumBlock.d.ts +2 -0
- package/_types/chains/definitions/premiumBlock.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechain.d.ts +2 -0
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechainV4.d.ts +2 -0
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
- package/_types/chains/definitions/pumpfiTestnet.d.ts +2 -0
- package/_types/chains/definitions/pumpfiTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/pyrope.d.ts +2 -0
- package/_types/chains/definitions/pyrope.d.ts.map +1 -1
- package/_types/chains/definitions/qMainnet.d.ts +2 -0
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/qTestnet.d.ts +2 -0
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ql1.d.ts +2 -0
- package/_types/chains/definitions/ql1.d.ts.map +1 -1
- package/_types/chains/definitions/quai.d.ts +2 -0
- package/_types/chains/definitions/quai.d.ts.map +1 -1
- package/_types/chains/definitions/quaiTestnet.d.ts +2 -0
- package/_types/chains/definitions/quaiTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/reactiveTestnet.d.ts +2 -0
- package/_types/chains/definitions/reactiveTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/real.d.ts +2 -0
- package/_types/chains/definitions/real.d.ts.map +1 -1
- package/_types/chains/definitions/redbellyMainnet.d.ts +2 -0
- package/_types/chains/definitions/redbellyMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/redbellyTestnet.d.ts +2 -0
- package/_types/chains/definitions/redbellyTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/reddio.d.ts +2 -0
- package/_types/chains/definitions/reddio.d.ts.map +1 -1
- package/_types/chains/definitions/reddioSepolia.d.ts +2 -0
- package/_types/chains/definitions/reddioSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/redstone.d.ts +2 -0
- package/_types/chains/definitions/redstone.d.ts.map +1 -1
- package/_types/chains/definitions/rei.d.ts +2 -0
- package/_types/chains/definitions/rei.d.ts.map +1 -1
- package/_types/chains/definitions/reyaNetwork.d.ts +2 -0
- package/_types/chains/definitions/reyaNetwork.d.ts.map +1 -1
- package/_types/chains/definitions/riseTestnet.d.ts +2 -0
- package/_types/chains/definitions/riseTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rivalz.d.ts +2 -0
- package/_types/chains/definitions/rivalz.d.ts.map +1 -1
- package/_types/chains/definitions/rollux.d.ts +2 -0
- package/_types/chains/definitions/rollux.d.ts.map +1 -1
- package/_types/chains/definitions/rolluxTestnet.d.ts +2 -0
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ronin.d.ts +2 -0
- package/_types/chains/definitions/ronin.d.ts.map +1 -1
- package/_types/chains/definitions/root.d.ts +2 -0
- package/_types/chains/definitions/root.d.ts.map +1 -1
- package/_types/chains/definitions/rootPorcini.d.ts +2 -0
- package/_types/chains/definitions/rootPorcini.d.ts.map +1 -1
- package/_types/chains/definitions/rootstock.d.ts +2 -0
- package/_types/chains/definitions/rootstock.d.ts.map +1 -1
- package/_types/chains/definitions/rootstockTestnet.d.ts +2 -0
- package/_types/chains/definitions/rootstockTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rss3.d.ts +2 -0
- package/_types/chains/definitions/rss3.d.ts.map +1 -1
- package/_types/chains/definitions/rss3Sepolia.d.ts +2 -0
- package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/saakuru.d.ts +2 -0
- package/_types/chains/definitions/saakuru.d.ts.map +1 -1
- package/_types/chains/definitions/saga.d.ts +2 -0
- package/_types/chains/definitions/saga.d.ts.map +1 -1
- package/_types/chains/definitions/saigon.d.ts +2 -0
- package/_types/chains/definitions/saigon.d.ts.map +1 -1
- package/_types/chains/definitions/sanko.d.ts +2 -0
- package/_types/chains/definitions/sanko.d.ts.map +1 -1
- package/_types/chains/definitions/sapphire.d.ts +2 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -1
- package/_types/chains/definitions/sapphireTestnet.d.ts +2 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/satoshivm.d.ts +2 -0
- package/_types/chains/definitions/satoshivm.d.ts.map +1 -1
- package/_types/chains/definitions/satoshivmTestnet.d.ts +2 -0
- package/_types/chains/definitions/satoshivmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/scroll.d.ts +2 -0
- package/_types/chains/definitions/scroll.d.ts.map +1 -1
- package/_types/chains/definitions/scrollSepolia.d.ts +2 -0
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/sei.d.ts +2 -0
- package/_types/chains/definitions/sei.d.ts.map +1 -1
- package/_types/chains/definitions/seiDevnet.d.ts +2 -0
- package/_types/chains/definitions/seiDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/seiTestnet.d.ts +2 -0
- package/_types/chains/definitions/seiTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/seismicDevnet.d.ts +2 -0
- package/_types/chains/definitions/seismicDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/sepolia.d.ts +2 -0
- package/_types/chains/definitions/sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/shape.d.ts +2 -0
- package/_types/chains/definitions/shape.d.ts.map +1 -1
- package/_types/chains/definitions/shapeSepolia.d.ts +2 -0
- package/_types/chains/definitions/shapeSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/shardeum.d.ts +2 -0
- package/_types/chains/definitions/shardeum.d.ts.map +1 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +2 -0
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
- package/_types/chains/definitions/shibarium.d.ts +2 -0
- package/_types/chains/definitions/shibarium.d.ts.map +1 -1
- package/_types/chains/definitions/shibariumTestnet.d.ts +2 -0
- package/_types/chains/definitions/shibariumTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/shiden.d.ts +2 -0
- package/_types/chains/definitions/shiden.d.ts.map +1 -1
- package/_types/chains/definitions/shimmer.d.ts +2 -0
- package/_types/chains/definitions/shimmer.d.ts.map +1 -1
- package/_types/chains/definitions/shimmerTestnet.d.ts +2 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sidra.d.ts +2 -0
- package/_types/chains/definitions/sidra.d.ts.map +1 -1
- package/_types/chains/definitions/silentdata.d.ts +2 -0
- package/_types/chains/definitions/silentdata.d.ts.map +1 -1
- package/_types/chains/definitions/silicon.d.ts +2 -0
- package/_types/chains/definitions/silicon.d.ts.map +1 -1
- package/_types/chains/definitions/siliconSepolia.d.ts +2 -0
- package/_types/chains/definitions/siliconSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/sixProtocol.d.ts +2 -0
- package/_types/chains/definitions/sixProtocol.d.ts.map +1 -1
- package/_types/chains/definitions/skale/brawl.d.ts +2 -0
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypso.d.ts +2 -0
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +2 -0
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +2 -0
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +2 -0
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europa.d.ts +2 -0
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europaTestnet.d.ts +2 -0
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/exorde.d.ts +2 -0
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
- package/_types/chains/definitions/skale/humanProtocol.d.ts +2 -0
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebula.d.ts +2 -0
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +2 -0
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/razor.d.ts +2 -0
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
- package/_types/chains/definitions/skale/skaleBase.d.ts +49 -0
- package/_types/chains/definitions/skale/skaleBase.d.ts.map +1 -0
- package/_types/chains/definitions/skale/skaleBaseSepoliaTestnet.d.ts +49 -0
- package/_types/chains/definitions/skale/skaleBaseSepoliaTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/skale/titan.d.ts +2 -0
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titanTestnet.d.ts +2 -0
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sketchpad.d.ts +2 -0
- package/_types/chains/definitions/sketchpad.d.ts.map +1 -1
- package/_types/chains/definitions/snax.d.ts +2 -0
- package/_types/chains/definitions/snax.d.ts.map +1 -1
- package/_types/chains/definitions/snaxTestnet.d.ts +2 -0
- package/_types/chains/definitions/snaxTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/somnia.d.ts +49 -0
- package/_types/chains/definitions/somnia.d.ts.map +1 -0
- package/_types/chains/definitions/somniaTestnet.d.ts +2 -0
- package/_types/chains/definitions/somniaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/soneium.d.ts +2 -0
- package/_types/chains/definitions/soneium.d.ts.map +1 -1
- package/_types/chains/definitions/soneiumMinato.d.ts +2 -0
- package/_types/chains/definitions/soneiumMinato.d.ts.map +1 -1
- package/_types/chains/definitions/songbird.d.ts +2 -0
- package/_types/chains/definitions/songbird.d.ts.map +1 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +2 -0
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sonic.d.ts +2 -0
- package/_types/chains/definitions/sonic.d.ts.map +1 -1
- package/_types/chains/definitions/sonicBlazeTestnet.d.ts +2 -0
- package/_types/chains/definitions/sonicBlazeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sonicTestnet.d.ts +2 -0
- package/_types/chains/definitions/sonicTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sophon.d.ts +2 -0
- package/_types/chains/definitions/sophon.d.ts.map +1 -1
- package/_types/chains/definitions/sophonTestnet.d.ts +2 -0
- package/_types/chains/definitions/sophonTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sova.d.ts +2 -0
- package/_types/chains/definitions/sova.d.ts.map +1 -1
- package/_types/chains/definitions/sovaSepolia.d.ts +2 -0
- package/_types/chains/definitions/sovaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/spicy.d.ts +2 -0
- package/_types/chains/definitions/spicy.d.ts.map +1 -1
- package/_types/chains/definitions/stableTestnet.d.ts +2 -0
- package/_types/chains/definitions/stableTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/statusNetworkSepolia.d.ts +2 -0
- package/_types/chains/definitions/statusNetworkSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/step.d.ts +2 -0
- package/_types/chains/definitions/step.d.ts.map +1 -1
- package/_types/chains/definitions/story.d.ts +2 -0
- package/_types/chains/definitions/story.d.ts.map +1 -1
- package/_types/chains/definitions/storyAeneid.d.ts +2 -0
- package/_types/chains/definitions/storyAeneid.d.ts.map +1 -1
- package/_types/chains/definitions/storyOdyssey.d.ts +2 -0
- package/_types/chains/definitions/storyOdyssey.d.ts.map +1 -1
- package/_types/chains/definitions/storyTestnet.d.ts +2 -0
- package/_types/chains/definitions/storyTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/stratis.d.ts +2 -0
- package/_types/chains/definitions/stratis.d.ts.map +1 -1
- package/_types/chains/definitions/superlumio.d.ts +2 -0
- package/_types/chains/definitions/superlumio.d.ts.map +1 -1
- package/_types/chains/definitions/superposition.d.ts +2 -0
- package/_types/chains/definitions/superposition.d.ts.map +1 -1
- package/_types/chains/definitions/superseed.d.ts +2 -0
- package/_types/chains/definitions/superseed.d.ts.map +1 -1
- package/_types/chains/definitions/superseedSepolia.d.ts +2 -0
- package/_types/chains/definitions/superseedSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/surgeTestnet.d.ts +2 -0
- package/_types/chains/definitions/surgeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/swan.d.ts +2 -0
- package/_types/chains/definitions/swan.d.ts.map +1 -1
- package/_types/chains/definitions/swanProximaTestnet.d.ts +2 -0
- package/_types/chains/definitions/swanProximaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/swanSaturnTestnet.d.ts +2 -0
- package/_types/chains/definitions/swanSaturnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/swellchain.d.ts +2 -0
- package/_types/chains/definitions/swellchain.d.ts.map +1 -1
- package/_types/chains/definitions/swellchainTestnet.d.ts +2 -0
- package/_types/chains/definitions/swellchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/swissdlt.d.ts +2 -0
- package/_types/chains/definitions/swissdlt.d.ts.map +1 -1
- package/_types/chains/definitions/syscoin.d.ts +2 -0
- package/_types/chains/definitions/syscoin.d.ts.map +1 -1
- package/_types/chains/definitions/syscoinTestnet.d.ts +2 -0
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/tac.d.ts +2 -0
- package/_types/chains/definitions/tac.d.ts.map +1 -1
- package/_types/chains/definitions/tacSPB.d.ts +2 -0
- package/_types/chains/definitions/tacSPB.d.ts.map +1 -1
- package/_types/chains/definitions/taiko.d.ts +2 -0
- package/_types/chains/definitions/taiko.d.ts.map +1 -1
- package/_types/chains/definitions/taikoHekla.d.ts +2 -0
- package/_types/chains/definitions/taikoHekla.d.ts.map +1 -1
- package/_types/chains/definitions/taikoHoodi.d.ts +2 -0
- package/_types/chains/definitions/taikoHoodi.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +2 -0
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
- package/_types/chains/definitions/taikoKatla.d.ts +2 -0
- package/_types/chains/definitions/taikoKatla.d.ts.map +1 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +2 -0
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/taraxa.d.ts +2 -0
- package/_types/chains/definitions/taraxa.d.ts.map +1 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +2 -0
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/teaSepolia.d.ts +2 -0
- package/_types/chains/definitions/teaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/telcoinTestnet.d.ts +2 -0
- package/_types/chains/definitions/telcoinTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/telos.d.ts +2 -0
- package/_types/chains/definitions/telos.d.ts.map +1 -1
- package/_types/chains/definitions/telosTestnet.d.ts +2 -0
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/tempoDevnet.d.ts +908 -0
- package/_types/chains/definitions/tempoDevnet.d.ts.map +1 -0
- package/_types/chains/definitions/tempoLocalnet.d.ts +906 -0
- package/_types/chains/definitions/tempoLocalnet.d.ts.map +1 -0
- package/_types/chains/definitions/tempoTestnet.d.ts +908 -0
- package/_types/chains/definitions/tempoTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/tenet.d.ts +2 -0
- package/_types/chains/definitions/tenet.d.ts.map +1 -1
- package/_types/chains/definitions/ternoa.d.ts +2 -0
- package/_types/chains/definitions/ternoa.d.ts.map +1 -1
- package/_types/chains/definitions/thaiChain.d.ts +2 -0
- package/_types/chains/definitions/thaiChain.d.ts.map +1 -1
- package/_types/chains/definitions/that.d.ts +2 -0
- package/_types/chains/definitions/that.d.ts.map +1 -1
- package/_types/chains/definitions/theta.d.ts +2 -0
- package/_types/chains/definitions/theta.d.ts.map +1 -1
- package/_types/chains/definitions/thetaTestnet.d.ts +2 -0
- package/_types/chains/definitions/thetaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/thunderCore.d.ts +2 -0
- package/_types/chains/definitions/thunderCore.d.ts.map +1 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +2 -0
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/tiktrixTestnet.d.ts +2 -0
- package/_types/chains/definitions/tiktrixTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/tomb.d.ts +2 -0
- package/_types/chains/definitions/tomb.d.ts.map +1 -1
- package/_types/chains/definitions/treasure.d.ts +2 -0
- package/_types/chains/definitions/treasure.d.ts.map +1 -1
- package/_types/chains/definitions/treasureTopaz.d.ts +2 -0
- package/_types/chains/definitions/treasureTopaz.d.ts.map +1 -1
- package/_types/chains/definitions/tron.d.ts +2 -0
- package/_types/chains/definitions/tron.d.ts.map +1 -1
- package/_types/chains/definitions/tronNile.d.ts +2 -0
- package/_types/chains/definitions/tronNile.d.ts.map +1 -1
- package/_types/chains/definitions/tronShasta.d.ts +2 -0
- package/_types/chains/definitions/tronShasta.d.ts.map +1 -1
- package/_types/chains/definitions/ubiq.d.ts +2 -0
- package/_types/chains/definitions/ubiq.d.ts.map +1 -1
- package/_types/chains/definitions/ultra.d.ts +2 -0
- package/_types/chains/definitions/ultra.d.ts.map +1 -1
- package/_types/chains/definitions/ultraTestnet.d.ts +2 -0
- package/_types/chains/definitions/ultraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ultron.d.ts +2 -0
- package/_types/chains/definitions/ultron.d.ts.map +1 -1
- package/_types/chains/definitions/ultronTestnet.d.ts +2 -0
- package/_types/chains/definitions/ultronTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/unichain.d.ts +2 -0
- package/_types/chains/definitions/unichain.d.ts.map +1 -1
- package/_types/chains/definitions/unichainSepolia.d.ts +2 -0
- package/_types/chains/definitions/unichainSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/unique.d.ts +2 -0
- package/_types/chains/definitions/unique.d.ts.map +1 -1
- package/_types/chains/definitions/uniqueOpal.d.ts +2 -0
- package/_types/chains/definitions/uniqueOpal.d.ts.map +1 -1
- package/_types/chains/definitions/uniqueQuartz.d.ts +2 -0
- package/_types/chains/definitions/uniqueQuartz.d.ts.map +1 -1
- package/_types/chains/definitions/unreal.d.ts +2 -0
- package/_types/chains/definitions/unreal.d.ts.map +1 -1
- package/_types/chains/definitions/vana.d.ts +2 -0
- package/_types/chains/definitions/vana.d.ts.map +1 -1
- package/_types/chains/definitions/vanaMoksha.d.ts +2 -0
- package/_types/chains/definitions/vanaMoksha.d.ts.map +1 -1
- package/_types/chains/definitions/vanar.d.ts +2 -0
- package/_types/chains/definitions/vanar.d.ts.map +1 -1
- package/_types/chains/definitions/vechain.d.ts +2 -0
- package/_types/chains/definitions/vechain.d.ts.map +1 -1
- package/_types/chains/definitions/velas.d.ts +2 -0
- package/_types/chains/definitions/velas.d.ts.map +1 -1
- package/_types/chains/definitions/viction.d.ts +2 -0
- package/_types/chains/definitions/viction.d.ts.map +1 -1
- package/_types/chains/definitions/victionTestnet.d.ts +2 -0
- package/_types/chains/definitions/victionTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/vision.d.ts +2 -0
- package/_types/chains/definitions/vision.d.ts.map +1 -1
- package/_types/chains/definitions/visionTestnet.d.ts +2 -0
- package/_types/chains/definitions/visionTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/wanchain.d.ts +2 -0
- package/_types/chains/definitions/wanchain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchainTestnet.d.ts +2 -0
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/weavevmAlphanet.d.ts +2 -0
- package/_types/chains/definitions/weavevmAlphanet.d.ts.map +1 -1
- package/_types/chains/definitions/wemix.d.ts +2 -0
- package/_types/chains/definitions/wemix.d.ts.map +1 -1
- package/_types/chains/definitions/wemixTestnet.d.ts +2 -0
- package/_types/chains/definitions/wemixTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/westendAssetHub.d.ts +2 -0
- package/_types/chains/definitions/westendAssetHub.d.ts.map +1 -1
- package/_types/chains/definitions/whitechain.d.ts +2 -0
- package/_types/chains/definitions/whitechain.d.ts.map +1 -1
- package/_types/chains/definitions/whitechainTestnet.d.ts +2 -0
- package/_types/chains/definitions/whitechainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/wmcTestnet.d.ts +2 -0
- package/_types/chains/definitions/wmcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/worldLand.d.ts +2 -0
- package/_types/chains/definitions/worldLand.d.ts.map +1 -1
- package/_types/chains/definitions/worldchain.d.ts +2 -0
- package/_types/chains/definitions/worldchain.d.ts.map +1 -1
- package/_types/chains/definitions/worldchainSepolia.d.ts +2 -0
- package/_types/chains/definitions/worldchainSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/xLayer.d.ts +2 -0
- package/_types/chains/definitions/xLayer.d.ts.map +1 -1
- package/_types/chains/definitions/xLayerTestnet.d.ts +2 -0
- package/_types/chains/definitions/xLayerTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xai.d.ts +2 -0
- package/_types/chains/definitions/xai.d.ts.map +1 -1
- package/_types/chains/definitions/xaiTestnet.d.ts +2 -0
- package/_types/chains/definitions/xaiTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xdc.d.ts +2 -0
- package/_types/chains/definitions/xdc.d.ts.map +1 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +2 -0
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xoneMainnet.d.ts +2 -0
- package/_types/chains/definitions/xoneMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/xoneTestnet.d.ts +2 -0
- package/_types/chains/definitions/xoneTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xphereMainnet.d.ts +2 -0
- package/_types/chains/definitions/xphereMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/xphereTestnet.d.ts +2 -0
- package/_types/chains/definitions/xphereTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xrOne.d.ts +2 -0
- package/_types/chains/definitions/xrOne.d.ts.map +1 -1
- package/_types/chains/definitions/xrSepolia.d.ts +2 -0
- package/_types/chains/definitions/xrSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/xrplevm.d.ts +2 -0
- package/_types/chains/definitions/xrplevm.d.ts.map +1 -1
- package/_types/chains/definitions/xrplevmDevnet.d.ts +2 -0
- package/_types/chains/definitions/xrplevmDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/xrplevmTestnet.d.ts +2 -0
- package/_types/chains/definitions/xrplevmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/yooldoVerse.d.ts +2 -0
- package/_types/chains/definitions/yooldoVerse.d.ts.map +1 -1
- package/_types/chains/definitions/yooldoVerseTestnet.d.ts +2 -0
- package/_types/chains/definitions/yooldoVerseTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zenchainTestnet.d.ts +2 -0
- package/_types/chains/definitions/zenchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zeniq.d.ts +2 -0
- package/_types/chains/definitions/zeniq.d.ts.map +1 -1
- package/_types/chains/definitions/zeroNetwork.d.ts +2 -0
- package/_types/chains/definitions/zeroNetwork.d.ts.map +1 -1
- package/_types/chains/definitions/zetachain.d.ts +2 -0
- package/_types/chains/definitions/zetachain.d.ts.map +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +2 -0
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zhejiang.d.ts +2 -0
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
- package/_types/chains/definitions/zilliqa.d.ts +2 -0
- package/_types/chains/definitions/zilliqa.d.ts.map +1 -1
- package/_types/chains/definitions/zilliqaTestnet.d.ts +2 -0
- package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zircuit.d.ts +2 -0
- package/_types/chains/definitions/zircuit.d.ts.map +1 -1
- package/_types/chains/definitions/zircuitGarfieldTestnet.d.ts +2 -0
- package/_types/chains/definitions/zircuitGarfieldTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zircuitTestnet.d.ts +2 -0
- package/_types/chains/definitions/zircuitTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zkFair.d.ts +2 -0
- package/_types/chains/definitions/zkFair.d.ts.map +1 -1
- package/_types/chains/definitions/zkFairTestnet.d.ts +2 -0
- package/_types/chains/definitions/zkFairTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zkLinkNova.d.ts +2 -0
- package/_types/chains/definitions/zkLinkNova.d.ts.map +1 -1
- package/_types/chains/definitions/zkLinkNovaSepoliaTestnet.d.ts +2 -0
- package/_types/chains/definitions/zkLinkNovaSepoliaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zksync.d.ts +2 -0
- package/_types/chains/definitions/zksync.d.ts.map +1 -1
- package/_types/chains/definitions/zksyncInMemoryNode.d.ts +2 -0
- package/_types/chains/definitions/zksyncInMemoryNode.d.ts.map +1 -1
- package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts +2 -0
- package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts.map +1 -1
- package/_types/chains/definitions/zksyncLocalHyperchain.d.ts +2 -0
- package/_types/chains/definitions/zksyncLocalHyperchain.d.ts.map +1 -1
- package/_types/chains/definitions/zksyncLocalHyperchainL1.d.ts +2 -0
- package/_types/chains/definitions/zksyncLocalHyperchainL1.d.ts.map +1 -1
- package/_types/chains/definitions/zksyncLocalNode.d.ts +2 -0
- package/_types/chains/definitions/zksyncLocalNode.d.ts.map +1 -1
- package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts +2 -0
- package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +2 -0
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +2 -0
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +2 -0
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +7 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/node.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/op-stack/index.d.ts.map +1 -1
- package/_types/tempo/Abis.d.ts +2698 -0
- package/_types/tempo/Abis.d.ts.map +1 -0
- package/_types/tempo/Account.d.ts +236 -0
- package/_types/tempo/Account.d.ts.map +1 -0
- package/_types/tempo/Addresses.d.ts +9 -0
- package/_types/tempo/Addresses.d.ts.map +1 -0
- package/_types/tempo/Decorator.d.ts +2758 -0
- package/_types/tempo/Decorator.d.ts.map +1 -0
- package/_types/tempo/Formatters.d.ts +5 -0
- package/_types/tempo/Formatters.d.ts.map +1 -0
- package/_types/tempo/P256.d.ts +2 -0
- package/_types/tempo/P256.d.ts.map +1 -0
- package/_types/tempo/Secp256k1.d.ts +2 -0
- package/_types/tempo/Secp256k1.d.ts.map +1 -0
- package/_types/tempo/TokenIds.d.ts +2 -0
- package/_types/tempo/TokenIds.d.ts.map +1 -0
- package/_types/tempo/Transaction.d.ts +82 -0
- package/_types/tempo/Transaction.d.ts.map +1 -0
- package/_types/tempo/Transport.d.ts +39 -0
- package/_types/tempo/Transport.d.ts.map +1 -0
- package/_types/tempo/WebAuthnP256.d.ts +82 -0
- package/_types/tempo/WebAuthnP256.d.ts.map +1 -0
- package/_types/tempo/WebCryptoP256.d.ts +2 -0
- package/_types/tempo/WebCryptoP256.d.ts.map +1 -0
- package/_types/tempo/actions/amm.d.ts +1998 -0
- package/_types/tempo/actions/amm.d.ts.map +1 -0
- package/_types/tempo/actions/dex.d.ts +3898 -0
- package/_types/tempo/actions/dex.d.ts.map +1 -0
- package/_types/tempo/actions/faucet.d.ts +75 -0
- package/_types/tempo/actions/faucet.d.ts.map +1 -0
- package/_types/tempo/actions/fee.d.ts +369 -0
- package/_types/tempo/actions/fee.d.ts.map +1 -0
- package/_types/tempo/actions/index.d.ts +9 -0
- package/_types/tempo/actions/index.d.ts.map +1 -0
- package/_types/tempo/actions/nonce.d.ts +263 -0
- package/_types/tempo/actions/nonce.d.ts.map +1 -0
- package/_types/tempo/actions/policy.d.ts +1670 -0
- package/_types/tempo/actions/policy.d.ts.map +1 -0
- package/_types/tempo/actions/reward.d.ts +2440 -0
- package/_types/tempo/actions/reward.d.ts.map +1 -0
- package/_types/tempo/actions/token.d.ts +16067 -0
- package/_types/tempo/actions/token.d.ts.map +1 -0
- package/_types/tempo/chainConfig.d.ts +432 -0
- package/_types/tempo/chainConfig.d.ts.map +1 -0
- package/_types/tempo/index.d.ts +52 -0
- package/_types/tempo/index.d.ts.map +1 -0
- package/_types/tempo/internal/nonceKeyStore.d.ts +26 -0
- package/_types/tempo/internal/nonceKeyStore.d.ts.map +1 -0
- package/_types/tempo/internal/types.d.ts +13 -0
- package/_types/tempo/internal/types.d.ts.map +1 -0
- package/_types/tempo/internal/utils.d.ts +17 -0
- package/_types/tempo/internal/utils.d.ts.map +1 -0
- package/_types/types/chain.d.ts +11 -5
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/contract.d.ts +12 -11
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/types/utils.d.ts +1 -0
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts +2 -2
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
- package/_types/utils/abi/encodeAbiParameters.d.ts +2 -2
- package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/chain/defineChain.d.ts +5 -1
- package/_types/utils/chain/defineChain.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts +2 -2
- package/account-abstraction/accounts/implementations/toSimple7702SmartAccount.ts +72 -26
- package/actions/getContract.ts +4 -4
- package/actions/public/simulateContract.ts +4 -4
- package/actions/public/verifyHash.ts +9 -4
- package/actions/wallet/prepareTransactionRequest.ts +12 -7
- package/chains/definitions/birdlayer.ts +1 -1
- package/chains/definitions/bob.ts +1 -1
- package/chains/definitions/bobSepolia.ts +1 -1
- package/chains/definitions/crab.ts +1 -1
- package/chains/definitions/creatorTestnet.ts +1 -1
- package/chains/definitions/datahavenTestnet.ts +26 -0
- package/chains/definitions/dodochainTestnet.ts +1 -1
- package/chains/definitions/funkiSepolia.ts +1 -1
- package/chains/definitions/garnet.ts +1 -1
- package/chains/definitions/koi.ts +1 -1
- package/chains/definitions/omni.ts +1 -1
- package/chains/definitions/pyrope.ts +1 -1
- package/chains/definitions/redstone.ts +1 -1
- package/chains/definitions/skale/skaleBase.ts +20 -0
- package/chains/definitions/skale/skaleBaseSepoliaTestnet.ts +22 -0
- package/chains/definitions/somnia.ts +20 -0
- package/chains/definitions/tempoDevnet.ts +19 -0
- package/chains/definitions/tempoLocalnet.ts +16 -0
- package/chains/definitions/tempoTestnet.ts +25 -0
- package/chains/index.ts +7 -0
- package/errors/node.ts +1 -1
- package/errors/version.ts +1 -1
- package/index.ts +5 -1
- package/op-stack/index.ts +0 -1
- package/package.json +19 -3
- package/tempo/Abis.ts +1716 -0
- package/tempo/Account.ts +574 -0
- package/tempo/Addresses.ts +9 -0
- package/tempo/Decorator.ts +3150 -0
- package/tempo/Formatters.ts +159 -0
- package/tempo/P256.ts +2 -0
- package/tempo/Secp256k1.ts +2 -0
- package/tempo/TokenIds.ts +1 -0
- package/tempo/Transaction.ts +392 -0
- package/tempo/Transport.ts +202 -0
- package/tempo/WebAuthnP256.ts +146 -0
- package/tempo/WebCryptoP256.ts +2 -0
- package/tempo/actions/amm.ts +1221 -0
- package/tempo/actions/dex.ts +2150 -0
- package/tempo/actions/faucet.ts +119 -0
- package/tempo/actions/fee.ts +366 -0
- package/tempo/actions/index.ts +9 -0
- package/tempo/actions/nonce.ts +345 -0
- package/tempo/actions/package.json +6 -0
- package/tempo/actions/policy.ts +1329 -0
- package/tempo/actions/reward.ts +940 -0
- package/tempo/actions/token.ts +4456 -0
- package/tempo/chainConfig.ts +114 -0
- package/tempo/index.ts +59 -0
- package/tempo/internal/nonceKeyStore.ts +50 -0
- package/tempo/internal/types.ts +55 -0
- package/tempo/internal/utils.ts +57 -0
- package/tempo/package.json +6 -0
- package/types/chain.ts +18 -5
- package/types/contract.ts +42 -12
- package/types/utils.ts +2 -0
- package/utils/abi/decodeAbiParameters.ts +9 -3
- package/utils/abi/decodeEventLog.ts +4 -1
- package/utils/abi/encodeAbiParameters.ts +2 -1
- package/utils/chain/defineChain.ts +32 -2
- package/utils/formatters/transaction.ts +2 -3
|
@@ -0,0 +1,3150 @@
|
|
|
1
|
+
import type { Account } from '../accounts/types.js'
|
|
2
|
+
import type { Client } from '../clients/createClient.js'
|
|
3
|
+
import type { Transport } from '../clients/transports/createTransport.js'
|
|
4
|
+
import type { Chain } from '../types/chain.js'
|
|
5
|
+
import * as ammActions from './actions/amm.js'
|
|
6
|
+
import * as dexActions from './actions/dex.js'
|
|
7
|
+
import * as faucetActions from './actions/faucet.js'
|
|
8
|
+
import * as feeActions from './actions/fee.js'
|
|
9
|
+
import * as policyActions from './actions/policy.js'
|
|
10
|
+
import * as rewardActions from './actions/reward.js'
|
|
11
|
+
import * as tokenActions from './actions/token.js'
|
|
12
|
+
|
|
13
|
+
export type Decorator<
|
|
14
|
+
chain extends Chain | undefined = Chain | undefined,
|
|
15
|
+
account extends Account | undefined = Account | undefined,
|
|
16
|
+
> = {
|
|
17
|
+
amm: {
|
|
18
|
+
/**
|
|
19
|
+
* Gets the reserves for a liquidity pool.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* import { createClient, http } from 'viem'
|
|
24
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
25
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
26
|
+
*
|
|
27
|
+
* const client = createClient({
|
|
28
|
+
* chain: tempo({ feeToken: '0x20c...001' }),
|
|
29
|
+
* transport: http(),
|
|
30
|
+
* }).extend(tempoActions())
|
|
31
|
+
*
|
|
32
|
+
* const pool = await client.amm.getPool({
|
|
33
|
+
* userToken: '0x...',
|
|
34
|
+
* validatorToken: '0x...',
|
|
35
|
+
* })
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param parameters - Parameters.
|
|
39
|
+
* @returns The pool reserves.
|
|
40
|
+
*/
|
|
41
|
+
getPool: (
|
|
42
|
+
parameters: ammActions.getPool.Parameters,
|
|
43
|
+
) => Promise<ammActions.getPool.ReturnValue>
|
|
44
|
+
/**
|
|
45
|
+
* Gets the LP token balance for an account in a specific pool.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* import { createClient, http } from 'viem'
|
|
50
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
51
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
52
|
+
*
|
|
53
|
+
* const client = createClient({
|
|
54
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
55
|
+
* transport: http(),
|
|
56
|
+
* }).extend(tempoActions())
|
|
57
|
+
*
|
|
58
|
+
* const poolId = await client.amm.getPoolId({
|
|
59
|
+
* userToken: '0x...',
|
|
60
|
+
* validatorToken: '0x...',
|
|
61
|
+
* })
|
|
62
|
+
*
|
|
63
|
+
* const balance = await client.amm.getLiquidityBalance({
|
|
64
|
+
* poolId,
|
|
65
|
+
* address: '0x...',
|
|
66
|
+
* })
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param parameters - Parameters.
|
|
70
|
+
* @returns The LP token balance.
|
|
71
|
+
*/
|
|
72
|
+
getLiquidityBalance: (
|
|
73
|
+
parameters: ammActions.getLiquidityBalance.Parameters,
|
|
74
|
+
) => Promise<ammActions.getLiquidityBalance.ReturnValue>
|
|
75
|
+
/**
|
|
76
|
+
* Removes liquidity from a pool.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* import { createClient, http } from 'viem'
|
|
81
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
82
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
83
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
84
|
+
*
|
|
85
|
+
* const client = createClient({
|
|
86
|
+
* account: privateKeyToAccount('0x...'),
|
|
87
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
88
|
+
* transport: http(),
|
|
89
|
+
* }).extend(tempoActions())
|
|
90
|
+
*
|
|
91
|
+
* const hash = await client.amm.burn({
|
|
92
|
+
* userToken: '0x...',
|
|
93
|
+
* validatorToken: '0x...',
|
|
94
|
+
* liquidity: 50n,
|
|
95
|
+
* to: '0x...',
|
|
96
|
+
* })
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param parameters - Parameters.
|
|
100
|
+
* @returns The transaction hash.
|
|
101
|
+
*/
|
|
102
|
+
burn: (
|
|
103
|
+
parameters: ammActions.burn.Parameters<chain, account>,
|
|
104
|
+
) => Promise<ammActions.burn.ReturnValue>
|
|
105
|
+
/**
|
|
106
|
+
* Removes liquidity from a pool and waits for confirmation.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* ```ts
|
|
110
|
+
* import { createClient, http } from 'viem'
|
|
111
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
112
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
113
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
114
|
+
*
|
|
115
|
+
* const client = createClient({
|
|
116
|
+
* account: privateKeyToAccount('0x...'),
|
|
117
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
118
|
+
* transport: http(),
|
|
119
|
+
* }).extend(tempoActions())
|
|
120
|
+
*
|
|
121
|
+
* const { receipt, ...result } = await client.amm.burnSync({
|
|
122
|
+
* userToken: '0x...',
|
|
123
|
+
* validatorToken: '0x...',
|
|
124
|
+
* liquidity: 50n,
|
|
125
|
+
* to: '0x...',
|
|
126
|
+
* })
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @param parameters - Parameters.
|
|
130
|
+
* @returns The transaction receipt and event data.
|
|
131
|
+
*/
|
|
132
|
+
burnSync: (
|
|
133
|
+
parameters: ammActions.burnSync.Parameters<chain, account>,
|
|
134
|
+
) => Promise<ammActions.burnSync.ReturnValue>
|
|
135
|
+
/**
|
|
136
|
+
* Adds liquidity to a pool.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* ```ts
|
|
140
|
+
* import { createClient, http } from 'viem'
|
|
141
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
142
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
143
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
144
|
+
*
|
|
145
|
+
* const client = createClient({
|
|
146
|
+
* account: privateKeyToAccount('0x...'),
|
|
147
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
148
|
+
* transport: http(),
|
|
149
|
+
* }).extend(tempoActions())
|
|
150
|
+
*
|
|
151
|
+
* const hash = await client.amm.mint({
|
|
152
|
+
* userTokenAddress: '0x...',
|
|
153
|
+
* validatorTokenAddress: '0x...',
|
|
154
|
+
* validatorTokenAmount: 100n,
|
|
155
|
+
* to: '0x...',
|
|
156
|
+
* })
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
159
|
+
* @param parameters - Parameters.
|
|
160
|
+
* @returns The transaction hash.
|
|
161
|
+
*/
|
|
162
|
+
mint: (
|
|
163
|
+
parameters: ammActions.mint.Parameters<chain, account>,
|
|
164
|
+
) => Promise<ammActions.mint.ReturnValue>
|
|
165
|
+
/**
|
|
166
|
+
* Adds liquidity to a pool.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* ```ts
|
|
170
|
+
* import { createClient, http } from 'viem'
|
|
171
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
172
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
173
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
174
|
+
*
|
|
175
|
+
* const client = createClient({
|
|
176
|
+
* account: privateKeyToAccount('0x...'),
|
|
177
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
178
|
+
* transport: http(),
|
|
179
|
+
* }).extend(tempoActions())
|
|
180
|
+
*
|
|
181
|
+
* const result = await client.amm.mintSync({
|
|
182
|
+
* userTokenAddress: '0x...',
|
|
183
|
+
* validatorTokenAddress: '0x...',
|
|
184
|
+
* validatorTokenAmount: 100n,
|
|
185
|
+
* to: '0x...',
|
|
186
|
+
* })
|
|
187
|
+
* ```
|
|
188
|
+
*
|
|
189
|
+
* @param parameters - Parameters.
|
|
190
|
+
* @returns The transaction receipt and event data.
|
|
191
|
+
*/
|
|
192
|
+
mintSync: (
|
|
193
|
+
parameters: ammActions.mintSync.Parameters<chain, account>,
|
|
194
|
+
) => Promise<ammActions.mintSync.ReturnValue>
|
|
195
|
+
/**
|
|
196
|
+
* Swaps tokens during a rebalance operation.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* ```ts
|
|
200
|
+
* import { createClient, http } from 'viem'
|
|
201
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
202
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
203
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
204
|
+
*
|
|
205
|
+
* const client = createClient({
|
|
206
|
+
* account: privateKeyToAccount('0x...'),
|
|
207
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
208
|
+
* transport: http(),
|
|
209
|
+
* }).extend(tempoActions())
|
|
210
|
+
*
|
|
211
|
+
* const hash = await client.amm.rebalanceSwap({
|
|
212
|
+
* userToken: '0x...',
|
|
213
|
+
* validatorToken: '0x...',
|
|
214
|
+
* amountOut: 100n,
|
|
215
|
+
* to: '0x...',
|
|
216
|
+
* })
|
|
217
|
+
* ```
|
|
218
|
+
*
|
|
219
|
+
* @param parameters - Parameters.
|
|
220
|
+
* @returns The transaction hash.
|
|
221
|
+
*/
|
|
222
|
+
rebalanceSwap: (
|
|
223
|
+
parameters: ammActions.rebalanceSwap.Parameters<chain, account>,
|
|
224
|
+
) => Promise<ammActions.rebalanceSwap.ReturnValue>
|
|
225
|
+
/**
|
|
226
|
+
* Swaps tokens during a rebalance operation and waits for confirmation.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* ```ts
|
|
230
|
+
* import { createClient, http } from 'viem'
|
|
231
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
232
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
233
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
234
|
+
*
|
|
235
|
+
* const client = createClient({
|
|
236
|
+
* account: privateKeyToAccount('0x...'),
|
|
237
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
238
|
+
* transport: http(),
|
|
239
|
+
* }).extend(tempoActions())
|
|
240
|
+
*
|
|
241
|
+
* const { receipt, ...result } = await client.amm.rebalanceSwapSync({
|
|
242
|
+
* userToken: '0x...',
|
|
243
|
+
* validatorToken: '0x...',
|
|
244
|
+
* amountOut: 100n,
|
|
245
|
+
* to: '0x...',
|
|
246
|
+
* })
|
|
247
|
+
* ```
|
|
248
|
+
*
|
|
249
|
+
* @param parameters - Parameters.
|
|
250
|
+
* @returns The transaction receipt and event data.
|
|
251
|
+
*/
|
|
252
|
+
rebalanceSwapSync: (
|
|
253
|
+
parameters: ammActions.rebalanceSwapSync.Parameters<chain, account>,
|
|
254
|
+
) => Promise<ammActions.rebalanceSwapSync.ReturnValue>
|
|
255
|
+
/**
|
|
256
|
+
* Watches for burn (liquidity removal) events.
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* ```ts
|
|
260
|
+
* import { createClient, http } from 'viem'
|
|
261
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
262
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
263
|
+
*
|
|
264
|
+
* const client = createClient({
|
|
265
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
266
|
+
* transport: http(),
|
|
267
|
+
* }).extend(tempoActions())
|
|
268
|
+
*
|
|
269
|
+
* const unwatch = client.amm.watchBurn({
|
|
270
|
+
* onBurn: (args, log) => {
|
|
271
|
+
* console.log('Liquidity removed:', args)
|
|
272
|
+
* },
|
|
273
|
+
* })
|
|
274
|
+
* ```
|
|
275
|
+
*
|
|
276
|
+
* @param parameters - Parameters.
|
|
277
|
+
* @returns A function to unsubscribe from the event.
|
|
278
|
+
*/
|
|
279
|
+
watchBurn: (parameters: ammActions.watchBurn.Parameters) => () => void
|
|
280
|
+
/**
|
|
281
|
+
* Watches for fee swap events.
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* ```ts
|
|
285
|
+
* import { createClient, http } from 'viem'
|
|
286
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
287
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
288
|
+
*
|
|
289
|
+
* const client = createClient({
|
|
290
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
291
|
+
* transport: http(),
|
|
292
|
+
* }).extend(tempoActions())
|
|
293
|
+
*
|
|
294
|
+
* const unwatch = client.amm.watchFeeSwap({
|
|
295
|
+
* onFeeSwap: (args, log) => {
|
|
296
|
+
* console.log('Fee swap:', args)
|
|
297
|
+
* },
|
|
298
|
+
* })
|
|
299
|
+
* ```
|
|
300
|
+
*
|
|
301
|
+
* @param parameters - Parameters.
|
|
302
|
+
* @returns A function to unsubscribe from the event.
|
|
303
|
+
*/
|
|
304
|
+
watchFeeSwap: (parameters: ammActions.watchFeeSwap.Parameters) => () => void
|
|
305
|
+
/**
|
|
306
|
+
* Watches for liquidity mint events.
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
* ```ts
|
|
310
|
+
* import { createClient, http } from 'viem'
|
|
311
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
312
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
313
|
+
*
|
|
314
|
+
* const client = createClient({
|
|
315
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
316
|
+
* transport: http(),
|
|
317
|
+
* }).extend(tempoActions())
|
|
318
|
+
*
|
|
319
|
+
* const unwatch = client.amm.watchMint({
|
|
320
|
+
* onMint: (args, log) => {
|
|
321
|
+
* console.log('Liquidity added:', args)
|
|
322
|
+
* },
|
|
323
|
+
* })
|
|
324
|
+
* ```
|
|
325
|
+
*
|
|
326
|
+
* @param parameters - Parameters.
|
|
327
|
+
* @returns A function to unsubscribe from the event.
|
|
328
|
+
*/
|
|
329
|
+
watchMint: (parameters: ammActions.watchMint.Parameters) => () => void
|
|
330
|
+
/**
|
|
331
|
+
* Watches for rebalance swap events.
|
|
332
|
+
*
|
|
333
|
+
* @example
|
|
334
|
+
* ```ts
|
|
335
|
+
* import { createClient, http } from 'viem'
|
|
336
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
337
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
338
|
+
*
|
|
339
|
+
* const client = createClient({
|
|
340
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
341
|
+
* transport: http(),
|
|
342
|
+
* }).extend(tempoActions())
|
|
343
|
+
*
|
|
344
|
+
* const unwatch = client.amm.watchRebalanceSwap({
|
|
345
|
+
* onRebalanceSwap: (args, log) => {
|
|
346
|
+
* console.log('Rebalance swap:', args)
|
|
347
|
+
* },
|
|
348
|
+
* })
|
|
349
|
+
* ```
|
|
350
|
+
*
|
|
351
|
+
* @param parameters - Parameters.
|
|
352
|
+
* @returns A function to unsubscribe from the event.
|
|
353
|
+
*/
|
|
354
|
+
watchRebalanceSwap: (
|
|
355
|
+
parameters: ammActions.watchRebalanceSwap.Parameters,
|
|
356
|
+
) => () => void
|
|
357
|
+
}
|
|
358
|
+
dex: {
|
|
359
|
+
/**
|
|
360
|
+
* Buys a specific amount of tokens.
|
|
361
|
+
*
|
|
362
|
+
* @example
|
|
363
|
+
* ```ts
|
|
364
|
+
* import { createClient, http } from 'viem'
|
|
365
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
366
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
367
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
368
|
+
*
|
|
369
|
+
* const client = createClient({
|
|
370
|
+
* account: privateKeyToAccount('0x...'),
|
|
371
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
372
|
+
* transport: http(),
|
|
373
|
+
* }).extend(tempoActions())
|
|
374
|
+
*
|
|
375
|
+
* const hash = await client.dex.buy({
|
|
376
|
+
* tokenIn: '0x20c...11',
|
|
377
|
+
* tokenOut: '0x20c...20',
|
|
378
|
+
* amountOut: 100n,
|
|
379
|
+
* maxAmountIn: 105n,
|
|
380
|
+
* })
|
|
381
|
+
* ```
|
|
382
|
+
*
|
|
383
|
+
* @param parameters - Parameters.
|
|
384
|
+
* @returns The transaction hash.
|
|
385
|
+
*/
|
|
386
|
+
buy: (
|
|
387
|
+
parameters: dexActions.buy.Parameters<chain, account>,
|
|
388
|
+
) => Promise<dexActions.buy.ReturnValue>
|
|
389
|
+
/**
|
|
390
|
+
* Buys a specific amount of tokens.
|
|
391
|
+
*
|
|
392
|
+
* @example
|
|
393
|
+
* ```ts
|
|
394
|
+
* import { createClient, http } from 'viem'
|
|
395
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
396
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
397
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
398
|
+
*
|
|
399
|
+
* const client = createClient({
|
|
400
|
+
* account: privateKeyToAccount('0x...'),
|
|
401
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
402
|
+
* transport: http(),
|
|
403
|
+
* }).extend(tempoActions())
|
|
404
|
+
*
|
|
405
|
+
* const result = await client.dex.buySync({
|
|
406
|
+
* tokenIn: '0x20c...11',
|
|
407
|
+
* tokenOut: '0x20c...20',
|
|
408
|
+
* amountOut: 100n,
|
|
409
|
+
* maxAmountIn: 105n,
|
|
410
|
+
* })
|
|
411
|
+
* ```
|
|
412
|
+
*
|
|
413
|
+
* @param parameters - Parameters.
|
|
414
|
+
* @returns The transaction receipt.
|
|
415
|
+
*/
|
|
416
|
+
buySync: (
|
|
417
|
+
parameters: dexActions.buySync.Parameters<chain, account>,
|
|
418
|
+
) => Promise<dexActions.buySync.ReturnValue>
|
|
419
|
+
/**
|
|
420
|
+
* Cancels an order from the orderbook.
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* ```ts
|
|
424
|
+
* import { createClient, http } from 'viem'
|
|
425
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
426
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
427
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
428
|
+
*
|
|
429
|
+
* const client = createClient({
|
|
430
|
+
* account: privateKeyToAccount('0x...'),
|
|
431
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
432
|
+
* transport: http(),
|
|
433
|
+
* }).extend(tempoActions())
|
|
434
|
+
*
|
|
435
|
+
* const hash = await client.dex.cancel({
|
|
436
|
+
* orderId: 123n,
|
|
437
|
+
* })
|
|
438
|
+
* ```
|
|
439
|
+
*
|
|
440
|
+
* @param parameters - Parameters.
|
|
441
|
+
* @returns The transaction hash.
|
|
442
|
+
*/
|
|
443
|
+
cancel: (
|
|
444
|
+
parameters: dexActions.cancel.Parameters<chain, account>,
|
|
445
|
+
) => Promise<dexActions.cancel.ReturnValue>
|
|
446
|
+
/**
|
|
447
|
+
* Cancels an order from the orderbook.
|
|
448
|
+
*
|
|
449
|
+
* @example
|
|
450
|
+
* ```ts
|
|
451
|
+
* import { createClient, http } from 'viem'
|
|
452
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
453
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
454
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
455
|
+
*
|
|
456
|
+
* const client = createClient({
|
|
457
|
+
* account: privateKeyToAccount('0x...'),
|
|
458
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
459
|
+
* transport: http(),
|
|
460
|
+
* }).extend(tempoActions())
|
|
461
|
+
*
|
|
462
|
+
* const result = await client.dex.cancelSync({
|
|
463
|
+
* orderId: 123n,
|
|
464
|
+
* })
|
|
465
|
+
* ```
|
|
466
|
+
*
|
|
467
|
+
* @param parameters - Parameters.
|
|
468
|
+
* @returns The transaction receipt and event data.
|
|
469
|
+
*/
|
|
470
|
+
cancelSync: (
|
|
471
|
+
parameters: dexActions.cancelSync.Parameters<chain, account>,
|
|
472
|
+
) => Promise<dexActions.cancelSync.ReturnValue>
|
|
473
|
+
/**
|
|
474
|
+
* Creates a new trading pair on the DEX.
|
|
475
|
+
*
|
|
476
|
+
* @example
|
|
477
|
+
* ```ts
|
|
478
|
+
* import { createClient, http } from 'viem'
|
|
479
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
480
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
481
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
482
|
+
*
|
|
483
|
+
* const client = createClient({
|
|
484
|
+
* account: privateKeyToAccount('0x...'),
|
|
485
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
486
|
+
* transport: http(),
|
|
487
|
+
* }).extend(tempoActions())
|
|
488
|
+
*
|
|
489
|
+
* const hash = await client.dex.createPair({
|
|
490
|
+
* base: '0x20c...11',
|
|
491
|
+
* })
|
|
492
|
+
* ```
|
|
493
|
+
*
|
|
494
|
+
* @param parameters - Parameters.
|
|
495
|
+
* @returns The transaction hash.
|
|
496
|
+
*/
|
|
497
|
+
createPair: (
|
|
498
|
+
parameters: dexActions.createPair.Parameters<chain, account>,
|
|
499
|
+
) => Promise<dexActions.createPair.ReturnValue>
|
|
500
|
+
/**
|
|
501
|
+
* Creates a new trading pair on the DEX.
|
|
502
|
+
*
|
|
503
|
+
* @example
|
|
504
|
+
* ```ts
|
|
505
|
+
* import { createClient, http } from 'viem'
|
|
506
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
507
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
508
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
509
|
+
*
|
|
510
|
+
* const client = createClient({
|
|
511
|
+
* account: privateKeyToAccount('0x...'),
|
|
512
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
513
|
+
* transport: http(),
|
|
514
|
+
* }).extend(tempoActions())
|
|
515
|
+
*
|
|
516
|
+
* const result = await client.dex.createPairSync({
|
|
517
|
+
* base: '0x20c...11',
|
|
518
|
+
* })
|
|
519
|
+
* ```
|
|
520
|
+
*
|
|
521
|
+
* @param parameters - Parameters.
|
|
522
|
+
* @returns The transaction receipt and event data.
|
|
523
|
+
*/
|
|
524
|
+
createPairSync: (
|
|
525
|
+
parameters: dexActions.createPairSync.Parameters<chain, account>,
|
|
526
|
+
) => Promise<dexActions.createPairSync.ReturnValue>
|
|
527
|
+
/**
|
|
528
|
+
* Gets a user's token balance on the DEX.
|
|
529
|
+
*
|
|
530
|
+
* @example
|
|
531
|
+
* ```ts
|
|
532
|
+
* import { createClient, http } from 'viem'
|
|
533
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
534
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
535
|
+
*
|
|
536
|
+
* const client = createClient({
|
|
537
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
538
|
+
* transport: http(),
|
|
539
|
+
* }).extend(tempoActions())
|
|
540
|
+
*
|
|
541
|
+
* const balance = await client.dex.getBalance({
|
|
542
|
+
* account: '0x...',
|
|
543
|
+
* token: '0x20c...11',
|
|
544
|
+
* })
|
|
545
|
+
* ```
|
|
546
|
+
*
|
|
547
|
+
* @param parameters - Parameters.
|
|
548
|
+
* @returns The user's token balance on the DEX.
|
|
549
|
+
*/
|
|
550
|
+
getBalance: (
|
|
551
|
+
parameters: dexActions.getBalance.Parameters<account>,
|
|
552
|
+
) => Promise<dexActions.getBalance.ReturnValue>
|
|
553
|
+
/**
|
|
554
|
+
* Gets the quote for buying a specific amount of tokens.
|
|
555
|
+
*
|
|
556
|
+
* @example
|
|
557
|
+
* ```ts
|
|
558
|
+
* import { createClient, http } from 'viem'
|
|
559
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
560
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
561
|
+
*
|
|
562
|
+
* const client = createClient({
|
|
563
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
564
|
+
* transport: http(),
|
|
565
|
+
* }).extend(tempoActions())
|
|
566
|
+
*
|
|
567
|
+
* const amountIn = await client.dex.getBuyQuote({
|
|
568
|
+
* tokenIn: '0x20c...11',
|
|
569
|
+
* tokenOut: '0x20c...20',
|
|
570
|
+
* amountOut: 100n,
|
|
571
|
+
* })
|
|
572
|
+
* ```
|
|
573
|
+
*
|
|
574
|
+
* @param parameters - Parameters.
|
|
575
|
+
* @returns The amount of tokenIn needed to buy the specified amountOut.
|
|
576
|
+
*/
|
|
577
|
+
getBuyQuote: (
|
|
578
|
+
parameters: dexActions.getBuyQuote.Parameters,
|
|
579
|
+
) => Promise<dexActions.getBuyQuote.ReturnValue>
|
|
580
|
+
/**
|
|
581
|
+
* Gets an order's details from the orderbook.
|
|
582
|
+
*
|
|
583
|
+
* @example
|
|
584
|
+
* ```ts
|
|
585
|
+
* import { createClient, http } from 'viem'
|
|
586
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
587
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
588
|
+
*
|
|
589
|
+
* const client = createClient({
|
|
590
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
591
|
+
* transport: http(),
|
|
592
|
+
* }).extend(tempoActions())
|
|
593
|
+
*
|
|
594
|
+
* const order = await client.dex.getOrder({
|
|
595
|
+
* orderId: 123n,
|
|
596
|
+
* })
|
|
597
|
+
* ```
|
|
598
|
+
*
|
|
599
|
+
* @param parameters - Parameters.
|
|
600
|
+
* @returns The order details.
|
|
601
|
+
*/
|
|
602
|
+
getOrder: (
|
|
603
|
+
parameters: dexActions.getOrder.Parameters,
|
|
604
|
+
) => Promise<dexActions.getOrder.ReturnValue>
|
|
605
|
+
/**
|
|
606
|
+
* Gets the price level information at a specific tick.
|
|
607
|
+
*
|
|
608
|
+
* @example
|
|
609
|
+
* ```ts
|
|
610
|
+
* import { createClient, http } from 'viem'
|
|
611
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
612
|
+
* import { tempoActions, Tick } from 'tempo.ts/viem'
|
|
613
|
+
*
|
|
614
|
+
* const client = createClient({
|
|
615
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
616
|
+
* transport: http(),
|
|
617
|
+
* }).extend(tempoActions())
|
|
618
|
+
*
|
|
619
|
+
* const level = await client.dex.getTickLevel({
|
|
620
|
+
* base: '0x20c...11',
|
|
621
|
+
* tick: Tick.fromPrice('1.001'),
|
|
622
|
+
* isBid: true,
|
|
623
|
+
* })
|
|
624
|
+
* ```
|
|
625
|
+
*
|
|
626
|
+
* @param parameters - Parameters.
|
|
627
|
+
* @returns The price level information.
|
|
628
|
+
*/
|
|
629
|
+
getTickLevel: (
|
|
630
|
+
parameters: dexActions.getTickLevel.Parameters,
|
|
631
|
+
) => Promise<dexActions.getTickLevel.ReturnValue>
|
|
632
|
+
/**
|
|
633
|
+
* Gets the quote for selling a specific amount of tokens.
|
|
634
|
+
*
|
|
635
|
+
* @example
|
|
636
|
+
* ```ts
|
|
637
|
+
* import { createClient, http } from 'viem'
|
|
638
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
639
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
640
|
+
*
|
|
641
|
+
* const client = createClient({
|
|
642
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
643
|
+
* transport: http(),
|
|
644
|
+
* }).extend(tempoActions())
|
|
645
|
+
*
|
|
646
|
+
* const amountOut = await client.dex.getSellQuote({
|
|
647
|
+
* tokenIn: '0x20c...11',
|
|
648
|
+
* tokenOut: '0x20c...20',
|
|
649
|
+
* amountIn: 100n,
|
|
650
|
+
* })
|
|
651
|
+
* ```
|
|
652
|
+
*
|
|
653
|
+
* @param parameters - Parameters.
|
|
654
|
+
* @returns The amount of tokenOut received for selling the specified amountIn.
|
|
655
|
+
*/
|
|
656
|
+
getSellQuote: (
|
|
657
|
+
parameters: dexActions.getSellQuote.Parameters,
|
|
658
|
+
) => Promise<dexActions.getSellQuote.ReturnValue>
|
|
659
|
+
/**
|
|
660
|
+
* Places a limit order on the orderbook.
|
|
661
|
+
*
|
|
662
|
+
* @example
|
|
663
|
+
* ```ts
|
|
664
|
+
* import { createClient, http } from 'viem'
|
|
665
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
666
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
667
|
+
* import { tempoActions, Tick } from 'tempo.ts/viem'
|
|
668
|
+
*
|
|
669
|
+
* const client = createClient({
|
|
670
|
+
* account: privateKeyToAccount('0x...'),
|
|
671
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
672
|
+
* transport: http(),
|
|
673
|
+
* }).extend(tempoActions())
|
|
674
|
+
*
|
|
675
|
+
* const hash = await client.dex.place({
|
|
676
|
+
* token: '0x20c...11',
|
|
677
|
+
* amount: 100n,
|
|
678
|
+
* type: 'buy',
|
|
679
|
+
* tick: Tick.fromPrice('0.99'),
|
|
680
|
+
* })
|
|
681
|
+
* ```
|
|
682
|
+
*
|
|
683
|
+
* @param parameters - Parameters.
|
|
684
|
+
* @returns The transaction hash.
|
|
685
|
+
*/
|
|
686
|
+
place: (
|
|
687
|
+
parameters: dexActions.place.Parameters<chain, account>,
|
|
688
|
+
) => Promise<dexActions.place.ReturnValue>
|
|
689
|
+
/**
|
|
690
|
+
* Places a limit order on the orderbook.
|
|
691
|
+
*
|
|
692
|
+
* @example
|
|
693
|
+
* ```ts
|
|
694
|
+
* import { createClient, http } from 'viem'
|
|
695
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
696
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
697
|
+
* import { tempoActions, Tick } from 'tempo.ts/viem'
|
|
698
|
+
*
|
|
699
|
+
* const client = createClient({
|
|
700
|
+
* account: privateKeyToAccount('0x...'),
|
|
701
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
702
|
+
* transport: http(),
|
|
703
|
+
* }).extend(tempoActions())
|
|
704
|
+
*
|
|
705
|
+
* const result = await client.dex.placeSync({
|
|
706
|
+
* token: '0x20c...11',
|
|
707
|
+
* amount: 100n,
|
|
708
|
+
* type: 'buy',
|
|
709
|
+
* tick: Tick.fromPrice('0.99'),
|
|
710
|
+
* })
|
|
711
|
+
* ```
|
|
712
|
+
*
|
|
713
|
+
* @param parameters - Parameters.
|
|
714
|
+
* @returns The transaction receipt and event data.
|
|
715
|
+
*/
|
|
716
|
+
placeSync: (
|
|
717
|
+
parameters: dexActions.placeSync.Parameters<chain, account>,
|
|
718
|
+
) => Promise<dexActions.placeSync.ReturnValue>
|
|
719
|
+
/**
|
|
720
|
+
* Places a flip order that automatically flips when filled.
|
|
721
|
+
*
|
|
722
|
+
* @example
|
|
723
|
+
* ```ts
|
|
724
|
+
* import { createClient, http } from 'viem'
|
|
725
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
726
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
727
|
+
* import { tempoActions, Tick } from 'tempo.ts/viem'
|
|
728
|
+
*
|
|
729
|
+
* const client = createClient({
|
|
730
|
+
* account: privateKeyToAccount('0x...'),
|
|
731
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
732
|
+
* transport: http(),
|
|
733
|
+
* }).extend(tempoActions())
|
|
734
|
+
*
|
|
735
|
+
* const hash = await client.dex.placeFlip({
|
|
736
|
+
* token: '0x20c...11',
|
|
737
|
+
* amount: 100n,
|
|
738
|
+
* type: 'buy',
|
|
739
|
+
* tick: Tick.fromPrice('0.99'),
|
|
740
|
+
* flipTick: Tick.fromPrice('1.01'),
|
|
741
|
+
* })
|
|
742
|
+
* ```
|
|
743
|
+
*
|
|
744
|
+
* @param parameters - Parameters.
|
|
745
|
+
* @returns The transaction hash.
|
|
746
|
+
*/
|
|
747
|
+
placeFlip: (
|
|
748
|
+
parameters: dexActions.placeFlip.Parameters<chain, account>,
|
|
749
|
+
) => Promise<dexActions.placeFlip.ReturnValue>
|
|
750
|
+
/**
|
|
751
|
+
* Places a flip order that automatically flips when filled.
|
|
752
|
+
*
|
|
753
|
+
* @example
|
|
754
|
+
* ```ts
|
|
755
|
+
* import { createClient, http } from 'viem'
|
|
756
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
757
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
758
|
+
* import { tempoActions, Tick } from 'tempo.ts/viem'
|
|
759
|
+
*
|
|
760
|
+
* const client = createClient({
|
|
761
|
+
* account: privateKeyToAccount('0x...'),
|
|
762
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
763
|
+
* transport: http(),
|
|
764
|
+
* }).extend(tempoActions())
|
|
765
|
+
*
|
|
766
|
+
* const result = await client.dex.placeFlipSync({
|
|
767
|
+
* token: '0x20c...11',
|
|
768
|
+
* amount: 100n,
|
|
769
|
+
* type: 'buy',
|
|
770
|
+
* tick: Tick.fromPrice('0.99'),
|
|
771
|
+
* flipTick: Tick.fromPrice('1.01'),
|
|
772
|
+
* })
|
|
773
|
+
* ```
|
|
774
|
+
*
|
|
775
|
+
* @param parameters - Parameters.
|
|
776
|
+
* @returns The transaction receipt and event data.
|
|
777
|
+
*/
|
|
778
|
+
placeFlipSync: (
|
|
779
|
+
parameters: dexActions.placeFlipSync.Parameters<chain, account>,
|
|
780
|
+
) => Promise<dexActions.placeFlipSync.ReturnValue>
|
|
781
|
+
/**
|
|
782
|
+
* Sells a specific amount of tokens.
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* ```ts
|
|
786
|
+
* import { createClient, http } from 'viem'
|
|
787
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
788
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
789
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
790
|
+
*
|
|
791
|
+
* const client = createClient({
|
|
792
|
+
* account: privateKeyToAccount('0x...'),
|
|
793
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
794
|
+
* transport: http(),
|
|
795
|
+
* }).extend(tempoActions())
|
|
796
|
+
*
|
|
797
|
+
* const hash = await client.dex.sell({
|
|
798
|
+
* tokenIn: '0x20c...11',
|
|
799
|
+
* tokenOut: '0x20c...20',
|
|
800
|
+
* amountIn: 100n,
|
|
801
|
+
* minAmountOut: 95n,
|
|
802
|
+
* })
|
|
803
|
+
* ```
|
|
804
|
+
*
|
|
805
|
+
* @param parameters - Parameters.
|
|
806
|
+
* @returns The transaction hash.
|
|
807
|
+
*/
|
|
808
|
+
sell: (
|
|
809
|
+
parameters: dexActions.sell.Parameters<chain, account>,
|
|
810
|
+
) => Promise<dexActions.sell.ReturnValue>
|
|
811
|
+
/**
|
|
812
|
+
* Sells a specific amount of tokens.
|
|
813
|
+
*
|
|
814
|
+
* @example
|
|
815
|
+
* ```ts
|
|
816
|
+
* import { createClient, http } from 'viem'
|
|
817
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
818
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
819
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
820
|
+
*
|
|
821
|
+
* const client = createClient({
|
|
822
|
+
* account: privateKeyToAccount('0x...'),
|
|
823
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
824
|
+
* transport: http(),
|
|
825
|
+
* }).extend(tempoActions())
|
|
826
|
+
*
|
|
827
|
+
* const result = await client.dex.sellSync({
|
|
828
|
+
* tokenIn: '0x20c...11',
|
|
829
|
+
* tokenOut: '0x20c...20',
|
|
830
|
+
* amountIn: 100n,
|
|
831
|
+
* minAmountOut: 95n,
|
|
832
|
+
* })
|
|
833
|
+
* ```
|
|
834
|
+
*
|
|
835
|
+
* @param parameters - Parameters.
|
|
836
|
+
* @returns The transaction receipt.
|
|
837
|
+
*/
|
|
838
|
+
sellSync: (
|
|
839
|
+
parameters: dexActions.sellSync.Parameters<chain, account>,
|
|
840
|
+
) => Promise<dexActions.sellSync.ReturnValue>
|
|
841
|
+
/**
|
|
842
|
+
* Withdraws tokens from the DEX to the caller's wallet.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* ```ts
|
|
846
|
+
* import { createClient, http } from 'viem'
|
|
847
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
848
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
849
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
850
|
+
*
|
|
851
|
+
* const client = createClient({
|
|
852
|
+
* account: privateKeyToAccount('0x...'),
|
|
853
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
854
|
+
* transport: http(),
|
|
855
|
+
* }).extend(tempoActions())
|
|
856
|
+
*
|
|
857
|
+
* const hash = await client.dex.withdraw({
|
|
858
|
+
* token: '0x20c...11',
|
|
859
|
+
* amount: 100n,
|
|
860
|
+
* })
|
|
861
|
+
* ```
|
|
862
|
+
*
|
|
863
|
+
* @param parameters - Parameters.
|
|
864
|
+
* @returns The transaction hash.
|
|
865
|
+
*/
|
|
866
|
+
withdraw: (
|
|
867
|
+
parameters: dexActions.withdraw.Parameters<chain, account>,
|
|
868
|
+
) => Promise<dexActions.withdraw.ReturnValue>
|
|
869
|
+
/**
|
|
870
|
+
* Withdraws tokens from the DEX to the caller's wallet.
|
|
871
|
+
*
|
|
872
|
+
* @example
|
|
873
|
+
* ```ts
|
|
874
|
+
* import { createClient, http } from 'viem'
|
|
875
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
876
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
877
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
878
|
+
*
|
|
879
|
+
* const client = createClient({
|
|
880
|
+
* account: privateKeyToAccount('0x...'),
|
|
881
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
882
|
+
* transport: http(),
|
|
883
|
+
* }).extend(tempoActions())
|
|
884
|
+
*
|
|
885
|
+
* const result = await client.dex.withdrawSync({
|
|
886
|
+
* token: '0x20c...11',
|
|
887
|
+
* amount: 100n,
|
|
888
|
+
* })
|
|
889
|
+
* ```
|
|
890
|
+
*
|
|
891
|
+
* @param parameters - Parameters.
|
|
892
|
+
* @returns The transaction receipt.
|
|
893
|
+
*/
|
|
894
|
+
withdrawSync: (
|
|
895
|
+
parameters: dexActions.withdrawSync.Parameters<chain, account>,
|
|
896
|
+
) => Promise<dexActions.withdrawSync.ReturnValue>
|
|
897
|
+
/**
|
|
898
|
+
* Watches for flip order placed events.
|
|
899
|
+
*
|
|
900
|
+
* @example
|
|
901
|
+
* ```ts
|
|
902
|
+
* import { createClient, http } from 'viem'
|
|
903
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
904
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
905
|
+
*
|
|
906
|
+
* const client = createClient({
|
|
907
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
908
|
+
* transport: http(),
|
|
909
|
+
* }).extend(tempoActions())
|
|
910
|
+
*
|
|
911
|
+
* const unwatch = client.dex.watchFlipOrderPlaced({
|
|
912
|
+
* onFlipOrderPlaced: (args, log) => {
|
|
913
|
+
* console.log('Flip order placed:', args)
|
|
914
|
+
* },
|
|
915
|
+
* })
|
|
916
|
+
* ```
|
|
917
|
+
*
|
|
918
|
+
* @param parameters - Parameters.
|
|
919
|
+
* @returns A function to unsubscribe from the event.
|
|
920
|
+
*/
|
|
921
|
+
watchFlipOrderPlaced: (
|
|
922
|
+
parameters: dexActions.watchFlipOrderPlaced.Parameters,
|
|
923
|
+
) => () => void
|
|
924
|
+
/**
|
|
925
|
+
* Watches for order cancelled events.
|
|
926
|
+
*
|
|
927
|
+
* @example
|
|
928
|
+
* ```ts
|
|
929
|
+
* import { createClient, http } from 'viem'
|
|
930
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
931
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
932
|
+
*
|
|
933
|
+
* const client = createClient({
|
|
934
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
935
|
+
* transport: http(),
|
|
936
|
+
* }).extend(tempoActions())
|
|
937
|
+
*
|
|
938
|
+
* const unwatch = client.dex.watchOrderCancelled({
|
|
939
|
+
* onOrderCancelled: (args, log) => {
|
|
940
|
+
* console.log('Order cancelled:', args)
|
|
941
|
+
* },
|
|
942
|
+
* })
|
|
943
|
+
* ```
|
|
944
|
+
*
|
|
945
|
+
* @param parameters - Parameters.
|
|
946
|
+
* @returns A function to unsubscribe from the event.
|
|
947
|
+
*/
|
|
948
|
+
watchOrderCancelled: (
|
|
949
|
+
parameters: dexActions.watchOrderCancelled.Parameters,
|
|
950
|
+
) => () => void
|
|
951
|
+
/**
|
|
952
|
+
* Watches for order filled events.
|
|
953
|
+
*
|
|
954
|
+
* @example
|
|
955
|
+
* ```ts
|
|
956
|
+
* import { createClient, http } from 'viem'
|
|
957
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
958
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
959
|
+
*
|
|
960
|
+
* const client = createClient({
|
|
961
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
962
|
+
* transport: http(),
|
|
963
|
+
* }).extend(tempoActions())
|
|
964
|
+
*
|
|
965
|
+
* const unwatch = client.dex.watchOrderFilled({
|
|
966
|
+
* onOrderFilled: (args, log) => {
|
|
967
|
+
* console.log('Order filled:', args)
|
|
968
|
+
* },
|
|
969
|
+
* })
|
|
970
|
+
* ```
|
|
971
|
+
*
|
|
972
|
+
* @param parameters - Parameters.
|
|
973
|
+
* @returns A function to unsubscribe from the event.
|
|
974
|
+
*/
|
|
975
|
+
watchOrderFilled: (
|
|
976
|
+
parameters: dexActions.watchOrderFilled.Parameters,
|
|
977
|
+
) => () => void
|
|
978
|
+
/**
|
|
979
|
+
* Watches for order placed events.
|
|
980
|
+
*
|
|
981
|
+
* @example
|
|
982
|
+
* ```ts
|
|
983
|
+
* import { createClient, http } from 'viem'
|
|
984
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
985
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
986
|
+
*
|
|
987
|
+
* const client = createClient({
|
|
988
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
989
|
+
* transport: http(),
|
|
990
|
+
* }).extend(tempoActions())
|
|
991
|
+
*
|
|
992
|
+
* const unwatch = client.dex.watchOrderPlaced({
|
|
993
|
+
* onOrderPlaced: (args, log) => {
|
|
994
|
+
* console.log('Order placed:', args)
|
|
995
|
+
* },
|
|
996
|
+
* })
|
|
997
|
+
* ```
|
|
998
|
+
*
|
|
999
|
+
* @param parameters - Parameters.
|
|
1000
|
+
* @returns A function to unsubscribe from the event.
|
|
1001
|
+
*/
|
|
1002
|
+
watchOrderPlaced: (
|
|
1003
|
+
parameters: dexActions.watchOrderPlaced.Parameters,
|
|
1004
|
+
) => () => void
|
|
1005
|
+
}
|
|
1006
|
+
faucet: {
|
|
1007
|
+
/**
|
|
1008
|
+
* Funds an account with an initial amount of set token(s)
|
|
1009
|
+
* on Tempo's testnet.
|
|
1010
|
+
*
|
|
1011
|
+
* @example
|
|
1012
|
+
* ```ts
|
|
1013
|
+
* import { createClient, http } from 'viem'
|
|
1014
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1015
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1016
|
+
*
|
|
1017
|
+
* const client = createClient({
|
|
1018
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1019
|
+
* transport: http(),
|
|
1020
|
+
* }).extend(tempoActions())
|
|
1021
|
+
*
|
|
1022
|
+
* const hashes = await client.faucet.fund({
|
|
1023
|
+
* account: '0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef',
|
|
1024
|
+
* })
|
|
1025
|
+
* ```
|
|
1026
|
+
*
|
|
1027
|
+
* @param parameters - Parameters.
|
|
1028
|
+
* @returns The transaction hashes.
|
|
1029
|
+
*/
|
|
1030
|
+
fund: (
|
|
1031
|
+
parameters: faucetActions.fund.Parameters,
|
|
1032
|
+
) => Promise<faucetActions.fund.ReturnValue>
|
|
1033
|
+
}
|
|
1034
|
+
fee: {
|
|
1035
|
+
/**
|
|
1036
|
+
* Gets the user's default fee token.
|
|
1037
|
+
*
|
|
1038
|
+
* @example
|
|
1039
|
+
* ```ts
|
|
1040
|
+
* import { createClient, http } from 'viem'
|
|
1041
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1042
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1043
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1044
|
+
*
|
|
1045
|
+
* const client = createClient({
|
|
1046
|
+
* account: privateKeyToAccount('0x...'),
|
|
1047
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1048
|
+
* transport: http(),
|
|
1049
|
+
* }).extend(tempoActions())
|
|
1050
|
+
*
|
|
1051
|
+
* const { address, id } = await client.token.getUserToken()
|
|
1052
|
+
* ```
|
|
1053
|
+
*
|
|
1054
|
+
* @param client - Client.
|
|
1055
|
+
* @param parameters - Parameters.
|
|
1056
|
+
* @returns The transaction hash.
|
|
1057
|
+
*/
|
|
1058
|
+
getUserToken: (
|
|
1059
|
+
...parameters: account extends Account
|
|
1060
|
+
? [feeActions.getUserToken.Parameters<account>] | []
|
|
1061
|
+
: [feeActions.getUserToken.Parameters<account>]
|
|
1062
|
+
) => Promise<feeActions.getUserToken.ReturnValue>
|
|
1063
|
+
/**
|
|
1064
|
+
* Sets the user's default fee token.
|
|
1065
|
+
*
|
|
1066
|
+
* @example
|
|
1067
|
+
* ```ts
|
|
1068
|
+
* import { createClient, http } from 'viem'
|
|
1069
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1070
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1071
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1072
|
+
*
|
|
1073
|
+
* const client = createClient({
|
|
1074
|
+
* account: privateKeyToAccount('0x...'),
|
|
1075
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1076
|
+
* transport: http(),
|
|
1077
|
+
* }).extend(tempoActions())
|
|
1078
|
+
*
|
|
1079
|
+
* const hash = await client.token.setUserToken({
|
|
1080
|
+
* token: '0x...',
|
|
1081
|
+
* })
|
|
1082
|
+
* ```
|
|
1083
|
+
*
|
|
1084
|
+
* @param client - Client.
|
|
1085
|
+
* @param parameters - Parameters.
|
|
1086
|
+
* @returns The transaction hash.
|
|
1087
|
+
*/
|
|
1088
|
+
setUserToken: (
|
|
1089
|
+
parameters: feeActions.setUserToken.Parameters<chain, account>,
|
|
1090
|
+
) => Promise<feeActions.setUserToken.ReturnValue>
|
|
1091
|
+
/**
|
|
1092
|
+
* Sets the user's default fee token.
|
|
1093
|
+
*
|
|
1094
|
+
* @example
|
|
1095
|
+
* ```ts
|
|
1096
|
+
* import { createClient, http } from 'viem'
|
|
1097
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1098
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1099
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1100
|
+
*
|
|
1101
|
+
* const client = createClient({
|
|
1102
|
+
* account: privateKeyToAccount('0x...'),
|
|
1103
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1104
|
+
* transport: http(),
|
|
1105
|
+
* }).extend(tempoActions())
|
|
1106
|
+
*
|
|
1107
|
+
* const result = await client.fee.setUserTokenSync({
|
|
1108
|
+
* token: '0x...',
|
|
1109
|
+
* })
|
|
1110
|
+
* ```
|
|
1111
|
+
*
|
|
1112
|
+
* @param parameters - Parameters.
|
|
1113
|
+
* @returns The transaction receipt and event data.
|
|
1114
|
+
*/
|
|
1115
|
+
setUserTokenSync: (
|
|
1116
|
+
parameters: feeActions.setUserTokenSync.Parameters<chain, account>,
|
|
1117
|
+
) => Promise<feeActions.setUserTokenSync.ReturnValue>
|
|
1118
|
+
/**
|
|
1119
|
+
* Watches for user token set events.
|
|
1120
|
+
*
|
|
1121
|
+
* @example
|
|
1122
|
+
* ```ts
|
|
1123
|
+
* import { createClient, http } from 'viem'
|
|
1124
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1125
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1126
|
+
*
|
|
1127
|
+
* const client = createClient({
|
|
1128
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1129
|
+
* transport: http(),
|
|
1130
|
+
* }).extend(tempoActions())
|
|
1131
|
+
*
|
|
1132
|
+
* const unwatch = client.token.watchSetUserToken({
|
|
1133
|
+
* onUserTokenSet: (args, log) => {
|
|
1134
|
+
* console.log('User token set:', args)
|
|
1135
|
+
* },
|
|
1136
|
+
* })
|
|
1137
|
+
* ```
|
|
1138
|
+
*
|
|
1139
|
+
* @param client - Client.
|
|
1140
|
+
* @param parameters - Parameters.
|
|
1141
|
+
* @returns A function to unsubscribe from the event.
|
|
1142
|
+
*/
|
|
1143
|
+
watchSetUserToken: (
|
|
1144
|
+
parameters: feeActions.watchSetUserToken.Parameters,
|
|
1145
|
+
) => () => void
|
|
1146
|
+
}
|
|
1147
|
+
policy: {
|
|
1148
|
+
/**
|
|
1149
|
+
* Creates a new policy.
|
|
1150
|
+
*
|
|
1151
|
+
* @example
|
|
1152
|
+
* ```ts
|
|
1153
|
+
* import { createClient, http } from 'viem'
|
|
1154
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1155
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1156
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1157
|
+
*
|
|
1158
|
+
* const client = createClient({
|
|
1159
|
+
* account: privateKeyToAccount('0x...'),
|
|
1160
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1161
|
+
* transport: http(),
|
|
1162
|
+
* }).extend(tempoActions())
|
|
1163
|
+
*
|
|
1164
|
+
* const hash = await client.policy.create({
|
|
1165
|
+
* admin: '0x...',
|
|
1166
|
+
* type: 'whitelist',
|
|
1167
|
+
* })
|
|
1168
|
+
* ```
|
|
1169
|
+
*
|
|
1170
|
+
* @param parameters - Parameters.
|
|
1171
|
+
* @returns The transaction hash.
|
|
1172
|
+
*/
|
|
1173
|
+
create: (
|
|
1174
|
+
parameters: policyActions.create.Parameters<chain, account>,
|
|
1175
|
+
) => Promise<policyActions.create.ReturnValue>
|
|
1176
|
+
/**
|
|
1177
|
+
* Creates a new policy.
|
|
1178
|
+
*
|
|
1179
|
+
* @example
|
|
1180
|
+
* ```ts
|
|
1181
|
+
* import { createClient, http } from 'viem'
|
|
1182
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1183
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1184
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1185
|
+
*
|
|
1186
|
+
* const client = createClient({
|
|
1187
|
+
* account: privateKeyToAccount('0x...'),
|
|
1188
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1189
|
+
* transport: http(),
|
|
1190
|
+
* }).extend(tempoActions())
|
|
1191
|
+
*
|
|
1192
|
+
* const result = await client.policy.createSync({
|
|
1193
|
+
* admin: '0x...',
|
|
1194
|
+
* type: 'whitelist',
|
|
1195
|
+
* })
|
|
1196
|
+
* ```
|
|
1197
|
+
*
|
|
1198
|
+
* @param parameters - Parameters.
|
|
1199
|
+
* @returns The transaction receipt and event data.
|
|
1200
|
+
*/
|
|
1201
|
+
createSync: (
|
|
1202
|
+
parameters: policyActions.createSync.Parameters<chain, account>,
|
|
1203
|
+
) => Promise<policyActions.createSync.ReturnValue>
|
|
1204
|
+
/**
|
|
1205
|
+
* Sets the admin for a policy.
|
|
1206
|
+
*
|
|
1207
|
+
* @example
|
|
1208
|
+
* ```ts
|
|
1209
|
+
* import { createClient, http } from 'viem'
|
|
1210
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1211
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1212
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1213
|
+
*
|
|
1214
|
+
* const client = createClient({
|
|
1215
|
+
* account: privateKeyToAccount('0x...'),
|
|
1216
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1217
|
+
* transport: http(),
|
|
1218
|
+
* }).extend(tempoActions())
|
|
1219
|
+
*
|
|
1220
|
+
* const hash = await client.policy.setAdmin({
|
|
1221
|
+
* policyId: 2n,
|
|
1222
|
+
* admin: '0x...',
|
|
1223
|
+
* })
|
|
1224
|
+
* ```
|
|
1225
|
+
*
|
|
1226
|
+
* @param parameters - Parameters.
|
|
1227
|
+
* @returns The transaction hash.
|
|
1228
|
+
*/
|
|
1229
|
+
setAdmin: (
|
|
1230
|
+
parameters: policyActions.setAdmin.Parameters<chain, account>,
|
|
1231
|
+
) => Promise<policyActions.setAdmin.ReturnValue>
|
|
1232
|
+
/**
|
|
1233
|
+
* Sets the admin for a policy.
|
|
1234
|
+
*
|
|
1235
|
+
* @example
|
|
1236
|
+
* ```ts
|
|
1237
|
+
* import { createClient, http } from 'viem'
|
|
1238
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1239
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1240
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1241
|
+
*
|
|
1242
|
+
* const client = createClient({
|
|
1243
|
+
* account: privateKeyToAccount('0x...'),
|
|
1244
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1245
|
+
* transport: http(),
|
|
1246
|
+
* }).extend(tempoActions())
|
|
1247
|
+
*
|
|
1248
|
+
* const result = await client.policy.setAdminSync({
|
|
1249
|
+
* policyId: 2n,
|
|
1250
|
+
* admin: '0x...',
|
|
1251
|
+
* })
|
|
1252
|
+
* ```
|
|
1253
|
+
*
|
|
1254
|
+
* @param parameters - Parameters.
|
|
1255
|
+
* @returns The transaction receipt and event data.
|
|
1256
|
+
*/
|
|
1257
|
+
setAdminSync: (
|
|
1258
|
+
parameters: policyActions.setAdminSync.Parameters<chain, account>,
|
|
1259
|
+
) => Promise<policyActions.setAdminSync.ReturnValue>
|
|
1260
|
+
/**
|
|
1261
|
+
* Modifies a policy whitelist.
|
|
1262
|
+
*
|
|
1263
|
+
* @example
|
|
1264
|
+
* ```ts
|
|
1265
|
+
* import { createClient, http } from 'viem'
|
|
1266
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1267
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1268
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1269
|
+
*
|
|
1270
|
+
* const client = createClient({
|
|
1271
|
+
* account: privateKeyToAccount('0x...'),
|
|
1272
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1273
|
+
* transport: http(),
|
|
1274
|
+
* }).extend(tempoActions())
|
|
1275
|
+
*
|
|
1276
|
+
* const hash = await client.policy.modifyWhitelist({
|
|
1277
|
+
* policyId: 2n,
|
|
1278
|
+
* address: '0x...',
|
|
1279
|
+
* allowed: true,
|
|
1280
|
+
* })
|
|
1281
|
+
* ```
|
|
1282
|
+
*
|
|
1283
|
+
* @param parameters - Parameters.
|
|
1284
|
+
* @returns The transaction hash.
|
|
1285
|
+
*/
|
|
1286
|
+
modifyWhitelist: (
|
|
1287
|
+
parameters: policyActions.modifyWhitelist.Parameters<chain, account>,
|
|
1288
|
+
) => Promise<policyActions.modifyWhitelist.ReturnValue>
|
|
1289
|
+
/**
|
|
1290
|
+
* Modifies a policy whitelist.
|
|
1291
|
+
*
|
|
1292
|
+
* @example
|
|
1293
|
+
* ```ts
|
|
1294
|
+
* import { createClient, http } from 'viem'
|
|
1295
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1296
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1297
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1298
|
+
*
|
|
1299
|
+
* const client = createClient({
|
|
1300
|
+
* account: privateKeyToAccount('0x...'),
|
|
1301
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1302
|
+
* transport: http(),
|
|
1303
|
+
* }).extend(tempoActions())
|
|
1304
|
+
*
|
|
1305
|
+
* const result = await client.policy.modifyWhitelistSync({
|
|
1306
|
+
* policyId: 2n,
|
|
1307
|
+
* address: '0x...',
|
|
1308
|
+
* allowed: true,
|
|
1309
|
+
* })
|
|
1310
|
+
* ```
|
|
1311
|
+
*
|
|
1312
|
+
* @param parameters - Parameters.
|
|
1313
|
+
* @returns The transaction receipt and event data.
|
|
1314
|
+
*/
|
|
1315
|
+
modifyWhitelistSync: (
|
|
1316
|
+
parameters: policyActions.modifyWhitelistSync.Parameters<chain, account>,
|
|
1317
|
+
) => Promise<policyActions.modifyWhitelistSync.ReturnValue>
|
|
1318
|
+
/**
|
|
1319
|
+
* Modifies a policy blacklist.
|
|
1320
|
+
*
|
|
1321
|
+
* @example
|
|
1322
|
+
* ```ts
|
|
1323
|
+
* import { createClient, http } from 'viem'
|
|
1324
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1325
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1326
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1327
|
+
*
|
|
1328
|
+
* const client = createClient({
|
|
1329
|
+
* account: privateKeyToAccount('0x...'),
|
|
1330
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1331
|
+
* transport: http(),
|
|
1332
|
+
* }).extend(tempoActions())
|
|
1333
|
+
*
|
|
1334
|
+
* const hash = await client.policy.modifyBlacklist({
|
|
1335
|
+
* policyId: 2n,
|
|
1336
|
+
* address: '0x...',
|
|
1337
|
+
* restricted: true,
|
|
1338
|
+
* })
|
|
1339
|
+
* ```
|
|
1340
|
+
*
|
|
1341
|
+
* @param parameters - Parameters.
|
|
1342
|
+
* @returns The transaction hash.
|
|
1343
|
+
*/
|
|
1344
|
+
modifyBlacklist: (
|
|
1345
|
+
parameters: policyActions.modifyBlacklist.Parameters<chain, account>,
|
|
1346
|
+
) => Promise<policyActions.modifyBlacklist.ReturnValue>
|
|
1347
|
+
/**
|
|
1348
|
+
* Modifies a policy blacklist.
|
|
1349
|
+
*
|
|
1350
|
+
* @example
|
|
1351
|
+
* ```ts
|
|
1352
|
+
* import { createClient, http } from 'viem'
|
|
1353
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1354
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1355
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1356
|
+
*
|
|
1357
|
+
* const client = createClient({
|
|
1358
|
+
* account: privateKeyToAccount('0x...'),
|
|
1359
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1360
|
+
* transport: http(),
|
|
1361
|
+
* }).extend(tempoActions())
|
|
1362
|
+
*
|
|
1363
|
+
* const result = await client.policy.modifyBlacklistSync({
|
|
1364
|
+
* policyId: 2n,
|
|
1365
|
+
* address: '0x...',
|
|
1366
|
+
* restricted: true,
|
|
1367
|
+
* })
|
|
1368
|
+
* ```
|
|
1369
|
+
*
|
|
1370
|
+
* @param parameters - Parameters.
|
|
1371
|
+
* @returns The transaction receipt and event data.
|
|
1372
|
+
*/
|
|
1373
|
+
modifyBlacklistSync: (
|
|
1374
|
+
parameters: policyActions.modifyBlacklistSync.Parameters<chain, account>,
|
|
1375
|
+
) => Promise<policyActions.modifyBlacklistSync.ReturnValue>
|
|
1376
|
+
/**
|
|
1377
|
+
* Gets policy data.
|
|
1378
|
+
*
|
|
1379
|
+
* @example
|
|
1380
|
+
* ```ts
|
|
1381
|
+
* import { createClient, http } from 'viem'
|
|
1382
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1383
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1384
|
+
*
|
|
1385
|
+
* const client = createClient({
|
|
1386
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1387
|
+
* transport: http(),
|
|
1388
|
+
* }).extend(tempoActions())
|
|
1389
|
+
*
|
|
1390
|
+
* const data = await client.policy.getData({
|
|
1391
|
+
* policyId: 2n,
|
|
1392
|
+
* })
|
|
1393
|
+
* ```
|
|
1394
|
+
*
|
|
1395
|
+
* @param parameters - Parameters.
|
|
1396
|
+
* @returns The policy data.
|
|
1397
|
+
*/
|
|
1398
|
+
getData: (
|
|
1399
|
+
parameters: policyActions.getData.Parameters,
|
|
1400
|
+
) => Promise<policyActions.getData.ReturnValue>
|
|
1401
|
+
/**
|
|
1402
|
+
* Checks if a user is authorized by a policy.
|
|
1403
|
+
*
|
|
1404
|
+
* @example
|
|
1405
|
+
* ```ts
|
|
1406
|
+
* import { createClient, http } from 'viem'
|
|
1407
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1408
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1409
|
+
*
|
|
1410
|
+
* const client = createClient({
|
|
1411
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1412
|
+
* transport: http(),
|
|
1413
|
+
* }).extend(tempoActions())
|
|
1414
|
+
*
|
|
1415
|
+
* const authorized = await client.policy.isAuthorized({
|
|
1416
|
+
* policyId: 2n,
|
|
1417
|
+
* user: '0x...',
|
|
1418
|
+
* })
|
|
1419
|
+
* ```
|
|
1420
|
+
*
|
|
1421
|
+
* @param parameters - Parameters.
|
|
1422
|
+
* @returns Whether the user is authorized.
|
|
1423
|
+
*/
|
|
1424
|
+
isAuthorized: (
|
|
1425
|
+
parameters: policyActions.isAuthorized.Parameters,
|
|
1426
|
+
) => Promise<policyActions.isAuthorized.ReturnValue>
|
|
1427
|
+
/**
|
|
1428
|
+
* Watches for policy creation events.
|
|
1429
|
+
*
|
|
1430
|
+
* @example
|
|
1431
|
+
* ```ts
|
|
1432
|
+
* import { createClient, http } from 'viem'
|
|
1433
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1434
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1435
|
+
*
|
|
1436
|
+
* const client = createClient({
|
|
1437
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1438
|
+
* transport: http(),
|
|
1439
|
+
* }).extend(tempoActions())
|
|
1440
|
+
*
|
|
1441
|
+
* const unwatch = client.policy.watchCreate({
|
|
1442
|
+
* onPolicyCreated: (args, log) => {
|
|
1443
|
+
* console.log('Policy created:', args)
|
|
1444
|
+
* },
|
|
1445
|
+
* })
|
|
1446
|
+
* ```
|
|
1447
|
+
*
|
|
1448
|
+
* @param parameters - Parameters.
|
|
1449
|
+
* @returns A function to unsubscribe from the event.
|
|
1450
|
+
*/
|
|
1451
|
+
watchCreate: (
|
|
1452
|
+
parameters: policyActions.watchCreate.Parameters,
|
|
1453
|
+
) => () => void
|
|
1454
|
+
/**
|
|
1455
|
+
* Watches for policy admin update events.
|
|
1456
|
+
*
|
|
1457
|
+
* @example
|
|
1458
|
+
* ```ts
|
|
1459
|
+
* import { createClient, http } from 'viem'
|
|
1460
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1461
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1462
|
+
*
|
|
1463
|
+
* const client = createClient({
|
|
1464
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1465
|
+
* transport: http(),
|
|
1466
|
+
* }).extend(tempoActions())
|
|
1467
|
+
*
|
|
1468
|
+
* const unwatch = client.policy.watchAdminUpdated({
|
|
1469
|
+
* onAdminUpdated: (args, log) => {
|
|
1470
|
+
* console.log('Policy admin updated:', args)
|
|
1471
|
+
* },
|
|
1472
|
+
* })
|
|
1473
|
+
* ```
|
|
1474
|
+
*
|
|
1475
|
+
* @param parameters - Parameters.
|
|
1476
|
+
* @returns A function to unsubscribe from the event.
|
|
1477
|
+
*/
|
|
1478
|
+
watchAdminUpdated: (
|
|
1479
|
+
parameters: policyActions.watchAdminUpdated.Parameters,
|
|
1480
|
+
) => () => void
|
|
1481
|
+
/**
|
|
1482
|
+
* Watches for whitelist update events.
|
|
1483
|
+
*
|
|
1484
|
+
* @example
|
|
1485
|
+
* ```ts
|
|
1486
|
+
* import { createClient, http } from 'viem'
|
|
1487
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1488
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1489
|
+
*
|
|
1490
|
+
* const client = createClient({
|
|
1491
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1492
|
+
* transport: http(),
|
|
1493
|
+
* }).extend(tempoActions())
|
|
1494
|
+
*
|
|
1495
|
+
* const unwatch = client.policy.watchWhitelistUpdated({
|
|
1496
|
+
* onWhitelistUpdated: (args, log) => {
|
|
1497
|
+
* console.log('Whitelist updated:', args)
|
|
1498
|
+
* },
|
|
1499
|
+
* })
|
|
1500
|
+
* ```
|
|
1501
|
+
*
|
|
1502
|
+
* @param parameters - Parameters.
|
|
1503
|
+
* @returns A function to unsubscribe from the event.
|
|
1504
|
+
*/
|
|
1505
|
+
watchWhitelistUpdated: (
|
|
1506
|
+
parameters: policyActions.watchWhitelistUpdated.Parameters,
|
|
1507
|
+
) => () => void
|
|
1508
|
+
/**
|
|
1509
|
+
* Watches for blacklist update events.
|
|
1510
|
+
*
|
|
1511
|
+
* @example
|
|
1512
|
+
* ```ts
|
|
1513
|
+
* import { createClient, http } from 'viem'
|
|
1514
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1515
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1516
|
+
*
|
|
1517
|
+
* const client = createClient({
|
|
1518
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1519
|
+
* transport: http(),
|
|
1520
|
+
* }).extend(tempoActions())
|
|
1521
|
+
*
|
|
1522
|
+
* const unwatch = client.policy.watchBlacklistUpdated({
|
|
1523
|
+
* onBlacklistUpdated: (args, log) => {
|
|
1524
|
+
* console.log('Blacklist updated:', args)
|
|
1525
|
+
* },
|
|
1526
|
+
* })
|
|
1527
|
+
* ```
|
|
1528
|
+
*
|
|
1529
|
+
* @param parameters - Parameters.
|
|
1530
|
+
* @returns A function to unsubscribe from the event.
|
|
1531
|
+
*/
|
|
1532
|
+
watchBlacklistUpdated: (
|
|
1533
|
+
parameters: policyActions.watchBlacklistUpdated.Parameters,
|
|
1534
|
+
) => () => void
|
|
1535
|
+
}
|
|
1536
|
+
reward: {
|
|
1537
|
+
/**
|
|
1538
|
+
* Claims accumulated rewards for a recipient.
|
|
1539
|
+
*
|
|
1540
|
+
* @example
|
|
1541
|
+
* ```ts
|
|
1542
|
+
* import { createClient, http } from 'viem'
|
|
1543
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1544
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1545
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1546
|
+
*
|
|
1547
|
+
* const client = createClient({
|
|
1548
|
+
* account: privateKeyToAccount('0x...'),
|
|
1549
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1550
|
+
* transport: http(),
|
|
1551
|
+
* }).extend(tempoActions())
|
|
1552
|
+
*
|
|
1553
|
+
* const hash = await client.reward.claim({
|
|
1554
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1555
|
+
* })
|
|
1556
|
+
* ```
|
|
1557
|
+
*
|
|
1558
|
+
* @param parameters - Parameters.
|
|
1559
|
+
* @returns The transaction hash.
|
|
1560
|
+
*/
|
|
1561
|
+
claim: (
|
|
1562
|
+
parameters: rewardActions.claim.Parameters<chain, account>,
|
|
1563
|
+
) => Promise<rewardActions.claim.ReturnValue>
|
|
1564
|
+
/**
|
|
1565
|
+
* Claims accumulated rewards for a recipient and waits for confirmation.
|
|
1566
|
+
*
|
|
1567
|
+
* @example
|
|
1568
|
+
* ```ts
|
|
1569
|
+
* import { createClient, http } from 'viem'
|
|
1570
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1571
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1572
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1573
|
+
*
|
|
1574
|
+
* const client = createClient({
|
|
1575
|
+
* account: privateKeyToAccount('0x...'),
|
|
1576
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1577
|
+
* transport: http(),
|
|
1578
|
+
* }).extend(tempoActions())
|
|
1579
|
+
*
|
|
1580
|
+
* const result = await client.reward.claimSync({
|
|
1581
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1582
|
+
* })
|
|
1583
|
+
* ```
|
|
1584
|
+
*
|
|
1585
|
+
* @param parameters - Parameters.
|
|
1586
|
+
* @returns The amount claimed and transaction receipt.
|
|
1587
|
+
*/
|
|
1588
|
+
claimSync: (
|
|
1589
|
+
parameters: rewardActions.claimSync.Parameters<chain, account>,
|
|
1590
|
+
) => Promise<rewardActions.claimSync.ReturnValue>
|
|
1591
|
+
/**
|
|
1592
|
+
* Gets the total reward per second rate for all active streams.
|
|
1593
|
+
*
|
|
1594
|
+
* @example
|
|
1595
|
+
* ```ts
|
|
1596
|
+
* import { createClient, http } from 'viem'
|
|
1597
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1598
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1599
|
+
*
|
|
1600
|
+
* const client = createClient({
|
|
1601
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1602
|
+
* transport: http(),
|
|
1603
|
+
* }).extend(tempoActions())
|
|
1604
|
+
*
|
|
1605
|
+
* const rate = await client.reward.getTotalPerSecond({
|
|
1606
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1607
|
+
* })
|
|
1608
|
+
* ```
|
|
1609
|
+
*
|
|
1610
|
+
* @param parameters - Parameters.
|
|
1611
|
+
* @returns The total reward per second (scaled by 1e18).
|
|
1612
|
+
*/
|
|
1613
|
+
getTotalPerSecond: (
|
|
1614
|
+
parameters: rewardActions.getTotalPerSecond.Parameters,
|
|
1615
|
+
) => Promise<rewardActions.getTotalPerSecond.ReturnValue>
|
|
1616
|
+
/**
|
|
1617
|
+
* Gets the reward information for a specific account.
|
|
1618
|
+
*
|
|
1619
|
+
* @example
|
|
1620
|
+
* ```ts
|
|
1621
|
+
* import { createClient, http } from 'viem'
|
|
1622
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1623
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1624
|
+
*
|
|
1625
|
+
* const client = createClient({
|
|
1626
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1627
|
+
* transport: http(),
|
|
1628
|
+
* }).extend(tempoActions())
|
|
1629
|
+
*
|
|
1630
|
+
* const info = await client.reward.getUserRewardInfo({
|
|
1631
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1632
|
+
* account: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
|
|
1633
|
+
* })
|
|
1634
|
+
* ```
|
|
1635
|
+
*
|
|
1636
|
+
* @param parameters - Parameters.
|
|
1637
|
+
* @returns The user's reward information (recipient, rewardPerToken, rewardBalance).
|
|
1638
|
+
*/
|
|
1639
|
+
getUserRewardInfo: (
|
|
1640
|
+
parameters: rewardActions.getUserRewardInfo.Parameters,
|
|
1641
|
+
) => Promise<rewardActions.getUserRewardInfo.ReturnValue>
|
|
1642
|
+
/**
|
|
1643
|
+
* Sets or changes the reward recipient for a token holder.
|
|
1644
|
+
*
|
|
1645
|
+
* @example
|
|
1646
|
+
* ```ts
|
|
1647
|
+
* import { createClient, http } from 'viem'
|
|
1648
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1649
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1650
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1651
|
+
*
|
|
1652
|
+
* const client = createClient({
|
|
1653
|
+
* account: privateKeyToAccount('0x...'),
|
|
1654
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1655
|
+
* transport: http(),
|
|
1656
|
+
* }).extend(tempoActions())
|
|
1657
|
+
*
|
|
1658
|
+
* const hash = await client.reward.setRecipient({
|
|
1659
|
+
* recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
|
|
1660
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1661
|
+
* })
|
|
1662
|
+
* ```
|
|
1663
|
+
*
|
|
1664
|
+
* @param parameters - Parameters.
|
|
1665
|
+
* @returns The transaction hash.
|
|
1666
|
+
*/
|
|
1667
|
+
setRecipient: (
|
|
1668
|
+
parameters: rewardActions.setRecipient.Parameters<chain, account>,
|
|
1669
|
+
) => Promise<rewardActions.setRecipient.ReturnValue>
|
|
1670
|
+
/**
|
|
1671
|
+
* Sets or changes the reward recipient for a token holder and waits for confirmation.
|
|
1672
|
+
*
|
|
1673
|
+
* @example
|
|
1674
|
+
* ```ts
|
|
1675
|
+
* import { createClient, http } from 'viem'
|
|
1676
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1677
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1678
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1679
|
+
*
|
|
1680
|
+
* const client = createClient({
|
|
1681
|
+
* account: privateKeyToAccount('0x...'),
|
|
1682
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1683
|
+
* transport: http(),
|
|
1684
|
+
* }).extend(tempoActions())
|
|
1685
|
+
*
|
|
1686
|
+
* const result = await client.reward.setRecipientSync({
|
|
1687
|
+
* recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
|
|
1688
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1689
|
+
* })
|
|
1690
|
+
* ```
|
|
1691
|
+
*
|
|
1692
|
+
* @param parameters - Parameters.
|
|
1693
|
+
* @returns The transaction receipt and event data.
|
|
1694
|
+
*/
|
|
1695
|
+
setRecipientSync: (
|
|
1696
|
+
parameters: rewardActions.setRecipientSync.Parameters<chain, account>,
|
|
1697
|
+
) => Promise<rewardActions.setRecipientSync.ReturnValue>
|
|
1698
|
+
/**
|
|
1699
|
+
* Starts a new reward stream that distributes tokens to opted-in holders.
|
|
1700
|
+
*
|
|
1701
|
+
* @example
|
|
1702
|
+
* ```ts
|
|
1703
|
+
* import { createClient, http } from 'viem'
|
|
1704
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1705
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1706
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1707
|
+
*
|
|
1708
|
+
* const client = createClient({
|
|
1709
|
+
* account: privateKeyToAccount('0x...'),
|
|
1710
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1711
|
+
* transport: http(),
|
|
1712
|
+
* }).extend(tempoActions())
|
|
1713
|
+
*
|
|
1714
|
+
* const hash = await client.reward.start({
|
|
1715
|
+
* amount: 100000000000000000000n,
|
|
1716
|
+
* seconds: 86400,
|
|
1717
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1718
|
+
* })
|
|
1719
|
+
* ```
|
|
1720
|
+
*
|
|
1721
|
+
* @param parameters - Parameters.
|
|
1722
|
+
* @returns The transaction hash.
|
|
1723
|
+
*/
|
|
1724
|
+
start: (
|
|
1725
|
+
parameters: rewardActions.start.Parameters<chain, account>,
|
|
1726
|
+
) => Promise<rewardActions.start.ReturnValue>
|
|
1727
|
+
/**
|
|
1728
|
+
* Starts a new reward stream that distributes tokens to opted-in holders and waits for confirmation.
|
|
1729
|
+
*
|
|
1730
|
+
* @example
|
|
1731
|
+
* ```ts
|
|
1732
|
+
* import { createClient, http } from 'viem'
|
|
1733
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1734
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1735
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1736
|
+
*
|
|
1737
|
+
* const client = createClient({
|
|
1738
|
+
* account: privateKeyToAccount('0x...'),
|
|
1739
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1740
|
+
* transport: http(),
|
|
1741
|
+
* }).extend(tempoActions())
|
|
1742
|
+
*
|
|
1743
|
+
* const result = await client.reward.startSync({
|
|
1744
|
+
* amount: 100000000000000000000n,
|
|
1745
|
+
* seconds: 86400,
|
|
1746
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1747
|
+
* })
|
|
1748
|
+
* ```
|
|
1749
|
+
*
|
|
1750
|
+
* @param parameters - Parameters.
|
|
1751
|
+
* @returns The transaction receipt and event data.
|
|
1752
|
+
*/
|
|
1753
|
+
startSync: (
|
|
1754
|
+
parameters: rewardActions.startSync.Parameters<chain, account>,
|
|
1755
|
+
) => Promise<rewardActions.startSync.ReturnValue>
|
|
1756
|
+
/**
|
|
1757
|
+
* Watches for reward recipient set events.
|
|
1758
|
+
*
|
|
1759
|
+
* @example
|
|
1760
|
+
* ```ts
|
|
1761
|
+
* import { createClient, http } from 'viem'
|
|
1762
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1763
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1764
|
+
*
|
|
1765
|
+
* const client = createClient({
|
|
1766
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1767
|
+
* transport: http(),
|
|
1768
|
+
* }).extend(tempoActions())
|
|
1769
|
+
*
|
|
1770
|
+
* const unwatch = client.reward.watchRewardRecipientSet({
|
|
1771
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1772
|
+
* onRewardRecipientSet: (args, log) => {
|
|
1773
|
+
* console.log('Reward recipient set:', args)
|
|
1774
|
+
* },
|
|
1775
|
+
* })
|
|
1776
|
+
* ```
|
|
1777
|
+
*
|
|
1778
|
+
* @param parameters - Parameters.
|
|
1779
|
+
* @returns A function to unsubscribe from the event.
|
|
1780
|
+
*/
|
|
1781
|
+
watchRewardRecipientSet: (
|
|
1782
|
+
parameters: rewardActions.watchRewardRecipientSet.Parameters,
|
|
1783
|
+
) => () => void
|
|
1784
|
+
/**
|
|
1785
|
+
* Watches for reward scheduled events.
|
|
1786
|
+
*
|
|
1787
|
+
* @example
|
|
1788
|
+
* ```ts
|
|
1789
|
+
* import { createClient, http } from 'viem'
|
|
1790
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1791
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1792
|
+
*
|
|
1793
|
+
* const client = createClient({
|
|
1794
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1795
|
+
* transport: http(),
|
|
1796
|
+
* }).extend(tempoActions())
|
|
1797
|
+
*
|
|
1798
|
+
* const unwatch = client.reward.watchRewardScheduled({
|
|
1799
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
1800
|
+
* onRewardScheduled: (args, log) => {
|
|
1801
|
+
* console.log('Reward scheduled:', args)
|
|
1802
|
+
* },
|
|
1803
|
+
* })
|
|
1804
|
+
* ```
|
|
1805
|
+
*
|
|
1806
|
+
* @param parameters - Parameters.
|
|
1807
|
+
* @returns A function to unsubscribe from the event.
|
|
1808
|
+
*/
|
|
1809
|
+
watchRewardScheduled: (
|
|
1810
|
+
parameters: rewardActions.watchRewardScheduled.Parameters,
|
|
1811
|
+
) => () => void
|
|
1812
|
+
}
|
|
1813
|
+
token: {
|
|
1814
|
+
/**
|
|
1815
|
+
* Approves a spender to transfer TIP20 tokens on behalf of the caller.
|
|
1816
|
+
*
|
|
1817
|
+
* @example
|
|
1818
|
+
* ```ts
|
|
1819
|
+
* import { createClient, http } from 'viem'
|
|
1820
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1821
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1822
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1823
|
+
*
|
|
1824
|
+
* const client = createClient({
|
|
1825
|
+
* account: privateKeyToAccount('0x...'),
|
|
1826
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1827
|
+
* transport: http(),
|
|
1828
|
+
* }).extend(tempoActions())
|
|
1829
|
+
*
|
|
1830
|
+
* const hash = await client.token.approve({
|
|
1831
|
+
* spender: '0x...',
|
|
1832
|
+
* amount: 100n,
|
|
1833
|
+
* })
|
|
1834
|
+
* ```
|
|
1835
|
+
*
|
|
1836
|
+
* @param client - Client.
|
|
1837
|
+
* @param parameters - Parameters.
|
|
1838
|
+
* @returns The transaction hash.
|
|
1839
|
+
*/
|
|
1840
|
+
approve: (
|
|
1841
|
+
parameters: tokenActions.approve.Parameters<chain, account>,
|
|
1842
|
+
) => Promise<tokenActions.approve.ReturnValue>
|
|
1843
|
+
/**
|
|
1844
|
+
* Approves a spender to transfer TIP20 tokens on behalf of the caller.
|
|
1845
|
+
*
|
|
1846
|
+
* @example
|
|
1847
|
+
* ```ts
|
|
1848
|
+
* import { createClient, http } from 'viem'
|
|
1849
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1850
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1851
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1852
|
+
*
|
|
1853
|
+
* const client = createClient({
|
|
1854
|
+
* account: privateKeyToAccount('0x...'),
|
|
1855
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1856
|
+
* transport: http(),
|
|
1857
|
+
* }).extend(tempoActions())
|
|
1858
|
+
*
|
|
1859
|
+
* const result = await client.token.approveSync({
|
|
1860
|
+
* spender: '0x...',
|
|
1861
|
+
* amount: 100n,
|
|
1862
|
+
* })
|
|
1863
|
+
* ```
|
|
1864
|
+
*
|
|
1865
|
+
* @param client - Client.
|
|
1866
|
+
* @param parameters - Parameters.
|
|
1867
|
+
* @returns The transaction receipt and event data.
|
|
1868
|
+
*/
|
|
1869
|
+
approveSync: (
|
|
1870
|
+
parameters: tokenActions.approveSync.Parameters<chain, account>,
|
|
1871
|
+
) => Promise<tokenActions.approveSync.ReturnValue>
|
|
1872
|
+
/**
|
|
1873
|
+
* Burns TIP20 tokens from a blocked address.
|
|
1874
|
+
*
|
|
1875
|
+
* @example
|
|
1876
|
+
* ```ts
|
|
1877
|
+
* import { createClient, http } from 'viem'
|
|
1878
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1879
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1880
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1881
|
+
*
|
|
1882
|
+
* const client = createClient({
|
|
1883
|
+
* account: privateKeyToAccount('0x...'),
|
|
1884
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1885
|
+
* transport: http(),
|
|
1886
|
+
* }).extend(tempoActions())
|
|
1887
|
+
*
|
|
1888
|
+
* const hash = await client.token.burnBlocked({
|
|
1889
|
+
* from: '0x...',
|
|
1890
|
+
* amount: 100n,
|
|
1891
|
+
* token: '0x...',
|
|
1892
|
+
* })
|
|
1893
|
+
* ```
|
|
1894
|
+
*
|
|
1895
|
+
* @param client - Client.
|
|
1896
|
+
* @param parameters - Parameters.
|
|
1897
|
+
* @returns The transaction hash.
|
|
1898
|
+
*/
|
|
1899
|
+
burnBlocked: (
|
|
1900
|
+
parameters: tokenActions.burnBlocked.Parameters<chain, account>,
|
|
1901
|
+
) => Promise<tokenActions.burnBlocked.ReturnValue>
|
|
1902
|
+
/**
|
|
1903
|
+
* Burns TIP20 tokens from a blocked address.
|
|
1904
|
+
*
|
|
1905
|
+
* @example
|
|
1906
|
+
* ```ts
|
|
1907
|
+
* import { createClient, http } from 'viem'
|
|
1908
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1909
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1910
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1911
|
+
*
|
|
1912
|
+
* const client = createClient({
|
|
1913
|
+
* account: privateKeyToAccount('0x...'),
|
|
1914
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1915
|
+
* transport: http(),
|
|
1916
|
+
* }).extend(tempoActions())
|
|
1917
|
+
*
|
|
1918
|
+
* const result = await client.token.burnBlockedSync({
|
|
1919
|
+
* from: '0x...',
|
|
1920
|
+
* amount: 100n,
|
|
1921
|
+
* token: '0x...',
|
|
1922
|
+
* })
|
|
1923
|
+
* ```
|
|
1924
|
+
*
|
|
1925
|
+
* @param client - Client.
|
|
1926
|
+
* @param parameters - Parameters.
|
|
1927
|
+
* @returns The transaction receipt and event data.
|
|
1928
|
+
*/
|
|
1929
|
+
burnBlockedSync: (
|
|
1930
|
+
parameters: tokenActions.burnBlockedSync.Parameters<chain, account>,
|
|
1931
|
+
) => Promise<tokenActions.burnBlockedSync.ReturnValue>
|
|
1932
|
+
/**
|
|
1933
|
+
* Burns TIP20 tokens from the caller's balance.
|
|
1934
|
+
*
|
|
1935
|
+
* @example
|
|
1936
|
+
* ```ts
|
|
1937
|
+
* import { createClient, http } from 'viem'
|
|
1938
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1939
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1940
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1941
|
+
*
|
|
1942
|
+
* const client = createClient({
|
|
1943
|
+
* account: privateKeyToAccount('0x...'),
|
|
1944
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1945
|
+
* transport: http(),
|
|
1946
|
+
* }).extend(tempoActions())
|
|
1947
|
+
*
|
|
1948
|
+
* const hash = await client.token.burn({
|
|
1949
|
+
* amount: 100n,
|
|
1950
|
+
* token: '0x...',
|
|
1951
|
+
* })
|
|
1952
|
+
* ```
|
|
1953
|
+
*
|
|
1954
|
+
* @param client - Client.
|
|
1955
|
+
* @param parameters - Parameters.
|
|
1956
|
+
* @returns The transaction hash.
|
|
1957
|
+
*/
|
|
1958
|
+
burn: (
|
|
1959
|
+
parameters: tokenActions.burn.Parameters<chain, account>,
|
|
1960
|
+
) => Promise<tokenActions.burn.ReturnValue>
|
|
1961
|
+
/**
|
|
1962
|
+
* Burns TIP20 tokens from the caller's balance.
|
|
1963
|
+
*
|
|
1964
|
+
* @example
|
|
1965
|
+
* ```ts
|
|
1966
|
+
* import { createClient, http } from 'viem'
|
|
1967
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1968
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1969
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1970
|
+
*
|
|
1971
|
+
* const client = createClient({
|
|
1972
|
+
* account: privateKeyToAccount('0x...'),
|
|
1973
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1974
|
+
* transport: http(),
|
|
1975
|
+
* }).extend(tempoActions())
|
|
1976
|
+
*
|
|
1977
|
+
* const result = await client.token.burnSync({
|
|
1978
|
+
* amount: 100n,
|
|
1979
|
+
* token: '0x...',
|
|
1980
|
+
* })
|
|
1981
|
+
* ```
|
|
1982
|
+
*
|
|
1983
|
+
* @param client - Client.
|
|
1984
|
+
* @param parameters - Parameters.
|
|
1985
|
+
* @returns The transaction receipt and event data.
|
|
1986
|
+
*/
|
|
1987
|
+
burnSync: (
|
|
1988
|
+
parameters: tokenActions.burnSync.Parameters<chain, account>,
|
|
1989
|
+
) => Promise<tokenActions.burnSync.ReturnValue>
|
|
1990
|
+
/**
|
|
1991
|
+
* Changes the transfer policy ID for a TIP20 token.
|
|
1992
|
+
*
|
|
1993
|
+
* @example
|
|
1994
|
+
* ```ts
|
|
1995
|
+
* import { createClient, http } from 'viem'
|
|
1996
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1997
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1998
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1999
|
+
*
|
|
2000
|
+
* const client = createClient({
|
|
2001
|
+
* account: privateKeyToAccount('0x...'),
|
|
2002
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2003
|
+
* transport: http(),
|
|
2004
|
+
* }).extend(tempoActions())
|
|
2005
|
+
*
|
|
2006
|
+
* const hash = await client.token.changeTransferPolicy({
|
|
2007
|
+
* token: '0x...',
|
|
2008
|
+
* policyId: 1n,
|
|
2009
|
+
* })
|
|
2010
|
+
* ```
|
|
2011
|
+
*
|
|
2012
|
+
* @param client - Client.
|
|
2013
|
+
* @param parameters - Parameters.
|
|
2014
|
+
* @returns The transaction hash.
|
|
2015
|
+
*/
|
|
2016
|
+
changeTransferPolicy: (
|
|
2017
|
+
parameters: tokenActions.changeTransferPolicy.Parameters<chain, account>,
|
|
2018
|
+
) => Promise<tokenActions.changeTransferPolicy.ReturnValue>
|
|
2019
|
+
/**
|
|
2020
|
+
* Changes the transfer policy ID for a TIP20 token.
|
|
2021
|
+
*
|
|
2022
|
+
* @example
|
|
2023
|
+
* ```ts
|
|
2024
|
+
* import { createClient, http } from 'viem'
|
|
2025
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2026
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2027
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2028
|
+
*
|
|
2029
|
+
* const client = createClient({
|
|
2030
|
+
* account: privateKeyToAccount('0x...'),
|
|
2031
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2032
|
+
* transport: http(),
|
|
2033
|
+
* }).extend(tempoActions())
|
|
2034
|
+
*
|
|
2035
|
+
* const result = await client.token.changeTransferPolicySync({
|
|
2036
|
+
* token: '0x...',
|
|
2037
|
+
* policyId: 1n,
|
|
2038
|
+
* })
|
|
2039
|
+
* ```
|
|
2040
|
+
*
|
|
2041
|
+
* @param client - Client.
|
|
2042
|
+
* @param parameters - Parameters.
|
|
2043
|
+
* @returns The transaction receipt and event data.
|
|
2044
|
+
*/
|
|
2045
|
+
changeTransferPolicySync: (
|
|
2046
|
+
parameters: tokenActions.changeTransferPolicySync.Parameters<
|
|
2047
|
+
chain,
|
|
2048
|
+
account
|
|
2049
|
+
>,
|
|
2050
|
+
) => Promise<tokenActions.changeTransferPolicySync.ReturnValue>
|
|
2051
|
+
/**
|
|
2052
|
+
* Creates a new TIP20 token.
|
|
2053
|
+
*
|
|
2054
|
+
* @example
|
|
2055
|
+
* ```ts
|
|
2056
|
+
* import { createClient, http } from 'viem'
|
|
2057
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2058
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2059
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2060
|
+
*
|
|
2061
|
+
* const client = createClient({
|
|
2062
|
+
* account: privateKeyToAccount('0x...'),
|
|
2063
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2064
|
+
* transport: http(),
|
|
2065
|
+
* }).extend(tempoActions())
|
|
2066
|
+
*
|
|
2067
|
+
* const { hash, id, address } = await client.token.create({
|
|
2068
|
+
* name: 'My Token',
|
|
2069
|
+
* symbol: 'MTK',
|
|
2070
|
+
* currency: 'USD',
|
|
2071
|
+
* })
|
|
2072
|
+
* ```
|
|
2073
|
+
*
|
|
2074
|
+
* @param client - Client.
|
|
2075
|
+
* @param parameters - Parameters.
|
|
2076
|
+
* @returns The transaction hash.
|
|
2077
|
+
*/
|
|
2078
|
+
create: (
|
|
2079
|
+
parameters: tokenActions.create.Parameters<chain, account>,
|
|
2080
|
+
) => Promise<tokenActions.create.ReturnValue>
|
|
2081
|
+
/**
|
|
2082
|
+
* Creates a new TIP20 token.
|
|
2083
|
+
*
|
|
2084
|
+
* @example
|
|
2085
|
+
* ```ts
|
|
2086
|
+
* import { createClient, http } from 'viem'
|
|
2087
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2088
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2089
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2090
|
+
*
|
|
2091
|
+
* const client = createClient({
|
|
2092
|
+
* account: privateKeyToAccount('0x...'),
|
|
2093
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2094
|
+
* transport: http(),
|
|
2095
|
+
* }).extend(tempoActions())
|
|
2096
|
+
*
|
|
2097
|
+
* const result = await client.token.createSync({
|
|
2098
|
+
* name: 'My Token',
|
|
2099
|
+
* symbol: 'MTK',
|
|
2100
|
+
* currency: 'USD',
|
|
2101
|
+
* })
|
|
2102
|
+
* ```
|
|
2103
|
+
*
|
|
2104
|
+
* @param client - Client.
|
|
2105
|
+
* @param parameters - Parameters.
|
|
2106
|
+
* @returns The transaction receipt and event data.
|
|
2107
|
+
*/
|
|
2108
|
+
createSync: (
|
|
2109
|
+
parameters: tokenActions.createSync.Parameters<chain, account>,
|
|
2110
|
+
) => Promise<tokenActions.createSync.ReturnValue>
|
|
2111
|
+
/**
|
|
2112
|
+
* Gets TIP20 token allowance.
|
|
2113
|
+
*
|
|
2114
|
+
* @example
|
|
2115
|
+
* ```ts
|
|
2116
|
+
* import { createClient, http } from 'viem'
|
|
2117
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2118
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2119
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2120
|
+
*
|
|
2121
|
+
* const client = createClient({
|
|
2122
|
+
* account: privateKeyToAccount('0x...'),
|
|
2123
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2124
|
+
* transport: http(),
|
|
2125
|
+
* }).extend(tempoActions())
|
|
2126
|
+
*
|
|
2127
|
+
* const allowance = await client.token.getAllowance({
|
|
2128
|
+
* spender: '0x...',
|
|
2129
|
+
* })
|
|
2130
|
+
* ```
|
|
2131
|
+
*
|
|
2132
|
+
* @param client - Client.
|
|
2133
|
+
* @param parameters - Parameters.
|
|
2134
|
+
* @returns The token allowance.
|
|
2135
|
+
*/
|
|
2136
|
+
getAllowance: (
|
|
2137
|
+
parameters: tokenActions.getAllowance.Parameters,
|
|
2138
|
+
) => Promise<tokenActions.getAllowance.ReturnValue>
|
|
2139
|
+
/**
|
|
2140
|
+
* Gets TIP20 token balance for an address.
|
|
2141
|
+
*
|
|
2142
|
+
* @example
|
|
2143
|
+
* ```ts
|
|
2144
|
+
* import { createClient, http } from 'viem'
|
|
2145
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2146
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2147
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2148
|
+
*
|
|
2149
|
+
* const client = createClient({
|
|
2150
|
+
* account: privateKeyToAccount('0x...'),
|
|
2151
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2152
|
+
* transport: http(),
|
|
2153
|
+
* }).extend(tempoActions())
|
|
2154
|
+
*
|
|
2155
|
+
* const balance = await client.token.getBalance()
|
|
2156
|
+
* ```
|
|
2157
|
+
*
|
|
2158
|
+
* @param client - Client.
|
|
2159
|
+
* @param parameters - Parameters.
|
|
2160
|
+
* @returns The token balance.
|
|
2161
|
+
*/
|
|
2162
|
+
getBalance: (
|
|
2163
|
+
parameters: tokenActions.getBalance.Parameters<account>,
|
|
2164
|
+
) => Promise<tokenActions.getBalance.ReturnValue>
|
|
2165
|
+
/**
|
|
2166
|
+
* Gets TIP20 token metadata including name, symbol, currency, decimals, and total supply.
|
|
2167
|
+
*
|
|
2168
|
+
* @example
|
|
2169
|
+
* ```ts
|
|
2170
|
+
* import { createClient, http } from 'viem'
|
|
2171
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2172
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2173
|
+
*
|
|
2174
|
+
* const client = createClient({
|
|
2175
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2176
|
+
* transport: http(),
|
|
2177
|
+
* }).extend(tempoActions())
|
|
2178
|
+
*
|
|
2179
|
+
* const metadata = await client.token.getMetadata({
|
|
2180
|
+
* token: '0x...',
|
|
2181
|
+
* })
|
|
2182
|
+
* ```
|
|
2183
|
+
*
|
|
2184
|
+
* @param client - Client.
|
|
2185
|
+
* @param parameters - Parameters.
|
|
2186
|
+
* @returns The token metadata.
|
|
2187
|
+
*/
|
|
2188
|
+
getMetadata: (
|
|
2189
|
+
parameters: tokenActions.getMetadata.Parameters,
|
|
2190
|
+
) => Promise<tokenActions.getMetadata.ReturnValue>
|
|
2191
|
+
/**
|
|
2192
|
+
* Gets the admin role for a specific role in a TIP20 token.
|
|
2193
|
+
*
|
|
2194
|
+
* @example
|
|
2195
|
+
* ```ts
|
|
2196
|
+
* import { createClient, http } from 'viem'
|
|
2197
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2198
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2199
|
+
*
|
|
2200
|
+
* const client = createClient({
|
|
2201
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2202
|
+
* transport: http(),
|
|
2203
|
+
* }).extend(tempoActions())
|
|
2204
|
+
*
|
|
2205
|
+
* const adminRole = await client.token.getRoleAdmin({
|
|
2206
|
+
* role: 'issuer',
|
|
2207
|
+
* token: '0x...',
|
|
2208
|
+
* })
|
|
2209
|
+
* ```
|
|
2210
|
+
*
|
|
2211
|
+
* @param client - Client.
|
|
2212
|
+
* @param parameters - Parameters.
|
|
2213
|
+
* @returns The admin role hash.
|
|
2214
|
+
*/
|
|
2215
|
+
getRoleAdmin: (
|
|
2216
|
+
parameters: tokenActions.getRoleAdmin.Parameters,
|
|
2217
|
+
) => Promise<tokenActions.getRoleAdmin.ReturnValue>
|
|
2218
|
+
/**
|
|
2219
|
+
* Checks if an account has a specific role for a TIP20 token.
|
|
2220
|
+
*
|
|
2221
|
+
* @example
|
|
2222
|
+
* ```ts
|
|
2223
|
+
* import { createClient, http } from 'viem'
|
|
2224
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2225
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2226
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2227
|
+
*
|
|
2228
|
+
* const client = createClient({
|
|
2229
|
+
* account: privateKeyToAccount('0x...'),
|
|
2230
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2231
|
+
* transport: http(),
|
|
2232
|
+
* }).extend(tempoActions())
|
|
2233
|
+
*
|
|
2234
|
+
* const hasRole = await client.token.hasRole({
|
|
2235
|
+
* token: '0x...',
|
|
2236
|
+
* role: 'issuer',
|
|
2237
|
+
* })
|
|
2238
|
+
* ```
|
|
2239
|
+
*
|
|
2240
|
+
* @param client - Client.
|
|
2241
|
+
* @param parameters - Parameters.
|
|
2242
|
+
* @returns Whether the account has the role.
|
|
2243
|
+
*/
|
|
2244
|
+
hasRole: (
|
|
2245
|
+
parameters: tokenActions.hasRole.Parameters<account>,
|
|
2246
|
+
) => Promise<tokenActions.hasRole.ReturnValue>
|
|
2247
|
+
/**
|
|
2248
|
+
* Grants a role for a TIP20 token.
|
|
2249
|
+
*
|
|
2250
|
+
* @example
|
|
2251
|
+
* ```ts
|
|
2252
|
+
* import { createClient, http } from 'viem'
|
|
2253
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2254
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2255
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2256
|
+
*
|
|
2257
|
+
* const client = createClient({
|
|
2258
|
+
* account: privateKeyToAccount('0x...'),
|
|
2259
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2260
|
+
* transport: http(),
|
|
2261
|
+
* }).extend(tempoActions())
|
|
2262
|
+
*
|
|
2263
|
+
* const hash = await client.token.grantRoles({
|
|
2264
|
+
* token: '0x...',
|
|
2265
|
+
* to: '0x...',
|
|
2266
|
+
* roles: ['issuer'],
|
|
2267
|
+
* })
|
|
2268
|
+
* ```
|
|
2269
|
+
*
|
|
2270
|
+
* @param client - Client.
|
|
2271
|
+
* @param parameters - Parameters.
|
|
2272
|
+
* @returns The transaction hash.
|
|
2273
|
+
*/
|
|
2274
|
+
grantRoles: (
|
|
2275
|
+
parameters: tokenActions.grantRoles.Parameters<chain, account>,
|
|
2276
|
+
) => Promise<tokenActions.grantRoles.ReturnValue>
|
|
2277
|
+
/**
|
|
2278
|
+
* Grants a role for a TIP20 token.
|
|
2279
|
+
*
|
|
2280
|
+
* @example
|
|
2281
|
+
* ```ts
|
|
2282
|
+
* import { createClient, http } from 'viem'
|
|
2283
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2284
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2285
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2286
|
+
*
|
|
2287
|
+
* const client = createClient({
|
|
2288
|
+
* account: privateKeyToAccount('0x...'),
|
|
2289
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2290
|
+
* transport: http(),
|
|
2291
|
+
* }).extend(tempoActions())
|
|
2292
|
+
*
|
|
2293
|
+
* const result = await client.token.grantRolesSync({
|
|
2294
|
+
* token: '0x...',
|
|
2295
|
+
* to: '0x...',
|
|
2296
|
+
* roles: ['issuer'],
|
|
2297
|
+
* })
|
|
2298
|
+
* ```
|
|
2299
|
+
*
|
|
2300
|
+
* @param parameters - Parameters.
|
|
2301
|
+
* @returns The transaction receipt and event data.
|
|
2302
|
+
*/
|
|
2303
|
+
grantRolesSync: (
|
|
2304
|
+
parameters: tokenActions.grantRolesSync.Parameters<chain, account>,
|
|
2305
|
+
) => Promise<tokenActions.grantRolesSync.ReturnValue>
|
|
2306
|
+
/**
|
|
2307
|
+
* Mints TIP20 tokens to an address.
|
|
2308
|
+
*
|
|
2309
|
+
* @example
|
|
2310
|
+
* ```ts
|
|
2311
|
+
* import { createClient, http } from 'viem'
|
|
2312
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2313
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2314
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2315
|
+
*
|
|
2316
|
+
* const client = createClient({
|
|
2317
|
+
* account: privateKeyToAccount('0x...'),
|
|
2318
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2319
|
+
* transport: http(),
|
|
2320
|
+
* }).extend(tempoActions())
|
|
2321
|
+
*
|
|
2322
|
+
* const hash = await client.token.mint({
|
|
2323
|
+
* to: '0x...',
|
|
2324
|
+
* amount: 100n,
|
|
2325
|
+
* token: '0x...',
|
|
2326
|
+
* })
|
|
2327
|
+
* ```
|
|
2328
|
+
*
|
|
2329
|
+
* @param client - Client.
|
|
2330
|
+
* @param parameters - Parameters.
|
|
2331
|
+
* @returns The transaction hash.
|
|
2332
|
+
*/
|
|
2333
|
+
mint: (
|
|
2334
|
+
parameters: tokenActions.mint.Parameters<chain, account>,
|
|
2335
|
+
) => Promise<tokenActions.mint.ReturnValue>
|
|
2336
|
+
/**
|
|
2337
|
+
* Mints TIP20 tokens to an address.
|
|
2338
|
+
*
|
|
2339
|
+
* @example
|
|
2340
|
+
* ```ts
|
|
2341
|
+
* import { createClient, http } from 'viem'
|
|
2342
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2343
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2344
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2345
|
+
*
|
|
2346
|
+
* const client = createClient({
|
|
2347
|
+
* account: privateKeyToAccount('0x...'),
|
|
2348
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2349
|
+
* transport: http(),
|
|
2350
|
+
* }).extend(tempoActions())
|
|
2351
|
+
*
|
|
2352
|
+
* const result = await client.token.mintSync({
|
|
2353
|
+
* to: '0x...',
|
|
2354
|
+
* amount: 100n,
|
|
2355
|
+
* token: '0x...',
|
|
2356
|
+
* })
|
|
2357
|
+
* ```
|
|
2358
|
+
*
|
|
2359
|
+
* @param client - Client.
|
|
2360
|
+
* @param parameters - Parameters.
|
|
2361
|
+
* @returns The transaction receipt and event data.
|
|
2362
|
+
*/
|
|
2363
|
+
mintSync: (
|
|
2364
|
+
parameters: tokenActions.mintSync.Parameters<chain, account>,
|
|
2365
|
+
) => Promise<tokenActions.mintSync.ReturnValue>
|
|
2366
|
+
/**
|
|
2367
|
+
* Pauses a TIP20 token.
|
|
2368
|
+
*
|
|
2369
|
+
* @example
|
|
2370
|
+
* ```ts
|
|
2371
|
+
* import { createClient, http } from 'viem'
|
|
2372
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2373
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2374
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2375
|
+
*
|
|
2376
|
+
* const client = createClient({
|
|
2377
|
+
* account: privateKeyToAccount('0x...'),
|
|
2378
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2379
|
+
* transport: http(),
|
|
2380
|
+
* }).extend(tempoActions())
|
|
2381
|
+
*
|
|
2382
|
+
* const hash = await client.token.pause({
|
|
2383
|
+
* token: '0x...',
|
|
2384
|
+
* })
|
|
2385
|
+
* ```
|
|
2386
|
+
*
|
|
2387
|
+
* @param client - Client.
|
|
2388
|
+
* @param parameters - Parameters.
|
|
2389
|
+
* @returns The transaction hash.
|
|
2390
|
+
*/
|
|
2391
|
+
pause: (
|
|
2392
|
+
parameters: tokenActions.pause.Parameters<chain, account>,
|
|
2393
|
+
) => Promise<tokenActions.pause.ReturnValue>
|
|
2394
|
+
/**
|
|
2395
|
+
* Pauses a TIP20 token.
|
|
2396
|
+
*
|
|
2397
|
+
* @example
|
|
2398
|
+
* ```ts
|
|
2399
|
+
* import { createClient, http } from 'viem'
|
|
2400
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2401
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2402
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2403
|
+
*
|
|
2404
|
+
* const client = createClient({
|
|
2405
|
+
* account: privateKeyToAccount('0x...'),
|
|
2406
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2407
|
+
* transport: http(),
|
|
2408
|
+
* }).extend(tempoActions())
|
|
2409
|
+
*
|
|
2410
|
+
* const result = await client.token.pauseSync({
|
|
2411
|
+
* token: '0x...',
|
|
2412
|
+
* })
|
|
2413
|
+
* ```
|
|
2414
|
+
*
|
|
2415
|
+
* @param client - Client.
|
|
2416
|
+
* @param parameters - Parameters.
|
|
2417
|
+
* @returns The transaction receipt and event data.
|
|
2418
|
+
*/
|
|
2419
|
+
pauseSync: (
|
|
2420
|
+
parameters: tokenActions.pauseSync.Parameters<chain, account>,
|
|
2421
|
+
) => Promise<tokenActions.pauseSync.ReturnValue>
|
|
2422
|
+
/**
|
|
2423
|
+
* Renounces a role for a TIP20 token.
|
|
2424
|
+
*
|
|
2425
|
+
* @example
|
|
2426
|
+
* ```ts
|
|
2427
|
+
* import { createClient, http } from 'viem'
|
|
2428
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2429
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2430
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2431
|
+
*
|
|
2432
|
+
* const client = createClient({
|
|
2433
|
+
* account: privateKeyToAccount('0x...'),
|
|
2434
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2435
|
+
* transport: http(),
|
|
2436
|
+
* }).extend(tempoActions())
|
|
2437
|
+
*
|
|
2438
|
+
* const hash = await client.token.renounceRoles({
|
|
2439
|
+
* token: '0x...',
|
|
2440
|
+
* roles: ['issuer'],
|
|
2441
|
+
* })
|
|
2442
|
+
* ```
|
|
2443
|
+
*
|
|
2444
|
+
* @param client - Client.
|
|
2445
|
+
* @param parameters - Parameters.
|
|
2446
|
+
* @returns The transaction hash.
|
|
2447
|
+
*/
|
|
2448
|
+
renounceRoles: (
|
|
2449
|
+
parameters: tokenActions.renounceRoles.Parameters<chain, account>,
|
|
2450
|
+
) => Promise<tokenActions.renounceRoles.ReturnValue>
|
|
2451
|
+
/**
|
|
2452
|
+
* Renounces a role for a TIP20 token.
|
|
2453
|
+
*
|
|
2454
|
+
* @example
|
|
2455
|
+
* ```ts
|
|
2456
|
+
* import { createClient, http } from 'viem'
|
|
2457
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2458
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2459
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2460
|
+
*
|
|
2461
|
+
* const client = createClient({
|
|
2462
|
+
* account: privateKeyToAccount('0x...'),
|
|
2463
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2464
|
+
* transport: http(),
|
|
2465
|
+
* }).extend(tempoActions())
|
|
2466
|
+
*
|
|
2467
|
+
* const result = await client.token.renounceRolesSync({
|
|
2468
|
+
* token: '0x...',
|
|
2469
|
+
* roles: ['issuer'],
|
|
2470
|
+
* })
|
|
2471
|
+
* ```
|
|
2472
|
+
*
|
|
2473
|
+
* @param parameters - Parameters.
|
|
2474
|
+
* @returns The transaction receipt and event data.
|
|
2475
|
+
*/
|
|
2476
|
+
renounceRolesSync: (
|
|
2477
|
+
parameters: tokenActions.renounceRolesSync.Parameters<chain, account>,
|
|
2478
|
+
) => Promise<tokenActions.renounceRolesSync.ReturnValue>
|
|
2479
|
+
/**
|
|
2480
|
+
* Revokes a role for a TIP20 token.
|
|
2481
|
+
*
|
|
2482
|
+
* @example
|
|
2483
|
+
* ```ts
|
|
2484
|
+
* import { createClient, http } from 'viem'
|
|
2485
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2486
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2487
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2488
|
+
*
|
|
2489
|
+
* const client = createClient({
|
|
2490
|
+
* account: privateKeyToAccount('0x...'),
|
|
2491
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2492
|
+
* transport: http(),
|
|
2493
|
+
* }).extend(tempoActions())
|
|
2494
|
+
*
|
|
2495
|
+
* const hash = await client.token.revokeRoles({
|
|
2496
|
+
* token: '0x...',
|
|
2497
|
+
* from: '0x...',
|
|
2498
|
+
* roles: ['issuer'],
|
|
2499
|
+
* })
|
|
2500
|
+
* ```
|
|
2501
|
+
*
|
|
2502
|
+
* @param client - Client.
|
|
2503
|
+
* @param parameters - Parameters.
|
|
2504
|
+
* @returns The transaction hash.
|
|
2505
|
+
*/
|
|
2506
|
+
revokeRoles: (
|
|
2507
|
+
parameters: tokenActions.revokeRoles.Parameters<chain, account>,
|
|
2508
|
+
) => Promise<tokenActions.revokeRoles.ReturnValue>
|
|
2509
|
+
/**
|
|
2510
|
+
* Revokes a role for a TIP20 token.
|
|
2511
|
+
*
|
|
2512
|
+
* @example
|
|
2513
|
+
* ```ts
|
|
2514
|
+
* import { createClient, http } from 'viem'
|
|
2515
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2516
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2517
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2518
|
+
*
|
|
2519
|
+
* const client = createClient({
|
|
2520
|
+
* account: privateKeyToAccount('0x...'),
|
|
2521
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2522
|
+
* transport: http(),
|
|
2523
|
+
* }).extend(tempoActions())
|
|
2524
|
+
*
|
|
2525
|
+
* const result = await client.token.revokeRolesSync({
|
|
2526
|
+
* token: '0x...',
|
|
2527
|
+
* from: '0x...',
|
|
2528
|
+
* roles: ['issuer'],
|
|
2529
|
+
* })
|
|
2530
|
+
* ```
|
|
2531
|
+
*
|
|
2532
|
+
* @param parameters - Parameters.
|
|
2533
|
+
* @returns The transaction receipt and event data.
|
|
2534
|
+
*/
|
|
2535
|
+
revokeRolesSync: (
|
|
2536
|
+
parameters: tokenActions.revokeRolesSync.Parameters<chain, account>,
|
|
2537
|
+
) => Promise<tokenActions.revokeRolesSync.ReturnValue>
|
|
2538
|
+
/**
|
|
2539
|
+
* Sets the supply cap for a TIP20 token.
|
|
2540
|
+
*
|
|
2541
|
+
* @example
|
|
2542
|
+
* ```ts
|
|
2543
|
+
* import { createClient, http } from 'viem'
|
|
2544
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2545
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2546
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2547
|
+
*
|
|
2548
|
+
* const client = createClient({
|
|
2549
|
+
* account: privateKeyToAccount('0x...'),
|
|
2550
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2551
|
+
* transport: http(),
|
|
2552
|
+
* }).extend(tempoActions())
|
|
2553
|
+
*
|
|
2554
|
+
* const hash = await client.token.setSupplyCap({
|
|
2555
|
+
* token: '0x...',
|
|
2556
|
+
* supplyCap: 1000000n,
|
|
2557
|
+
* })
|
|
2558
|
+
* ```
|
|
2559
|
+
*
|
|
2560
|
+
* @param client - Client.
|
|
2561
|
+
* @param parameters - Parameters.
|
|
2562
|
+
* @returns The transaction hash.
|
|
2563
|
+
*/
|
|
2564
|
+
setSupplyCap: (
|
|
2565
|
+
parameters: tokenActions.setSupplyCap.Parameters<chain, account>,
|
|
2566
|
+
) => Promise<tokenActions.setSupplyCap.ReturnValue>
|
|
2567
|
+
/**
|
|
2568
|
+
* Sets the supply cap for a TIP20 token.
|
|
2569
|
+
*
|
|
2570
|
+
* @example
|
|
2571
|
+
* ```ts
|
|
2572
|
+
* import { createClient, http } from 'viem'
|
|
2573
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2574
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2575
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2576
|
+
*
|
|
2577
|
+
* const client = createClient({
|
|
2578
|
+
* account: privateKeyToAccount('0x...'),
|
|
2579
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2580
|
+
* transport: http(),
|
|
2581
|
+
* }).extend(tempoActions())
|
|
2582
|
+
*
|
|
2583
|
+
* const result = await client.token.setSupplyCapSync({
|
|
2584
|
+
* token: '0x...',
|
|
2585
|
+
* supplyCap: 1000000n,
|
|
2586
|
+
* })
|
|
2587
|
+
* ```
|
|
2588
|
+
*
|
|
2589
|
+
* @param client - Client.
|
|
2590
|
+
* @param parameters - Parameters.
|
|
2591
|
+
* @returns The transaction receipt and event data.
|
|
2592
|
+
*/
|
|
2593
|
+
setSupplyCapSync: (
|
|
2594
|
+
parameters: tokenActions.setSupplyCapSync.Parameters<chain, account>,
|
|
2595
|
+
) => Promise<tokenActions.setSupplyCapSync.ReturnValue>
|
|
2596
|
+
/**
|
|
2597
|
+
* Sets the admin role for a specific role in a TIP20 token.
|
|
2598
|
+
*
|
|
2599
|
+
* @example
|
|
2600
|
+
* ```ts
|
|
2601
|
+
* import { createClient, http } from 'viem'
|
|
2602
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2603
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2604
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2605
|
+
*
|
|
2606
|
+
* const client = createClient({
|
|
2607
|
+
* account: privateKeyToAccount('0x...'),
|
|
2608
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2609
|
+
* transport: http(),
|
|
2610
|
+
* }).extend(tempoActions())
|
|
2611
|
+
*
|
|
2612
|
+
* const hash = await client.token.setRoleAdmin({
|
|
2613
|
+
* token: '0x...',
|
|
2614
|
+
* role: 'issuer',
|
|
2615
|
+
* adminRole: 'admin',
|
|
2616
|
+
* })
|
|
2617
|
+
* ```
|
|
2618
|
+
*
|
|
2619
|
+
* @param client - Client.
|
|
2620
|
+
* @param parameters - Parameters.
|
|
2621
|
+
* @returns The transaction hash.
|
|
2622
|
+
*/
|
|
2623
|
+
setRoleAdmin: (
|
|
2624
|
+
parameters: tokenActions.setRoleAdmin.Parameters<chain, account>,
|
|
2625
|
+
) => Promise<tokenActions.setRoleAdmin.ReturnValue>
|
|
2626
|
+
/**
|
|
2627
|
+
* Sets the admin role for a specific role in a TIP20 token.
|
|
2628
|
+
*
|
|
2629
|
+
* @example
|
|
2630
|
+
* ```ts
|
|
2631
|
+
* import { createClient, http } from 'viem'
|
|
2632
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2633
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2634
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2635
|
+
*
|
|
2636
|
+
* const client = createClient({
|
|
2637
|
+
* account: privateKeyToAccount('0x...'),
|
|
2638
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2639
|
+
* transport: http(),
|
|
2640
|
+
* }).extend(tempoActions())
|
|
2641
|
+
*
|
|
2642
|
+
* const result = await client.token.setRoleAdminSync({
|
|
2643
|
+
* token: '0x...',
|
|
2644
|
+
* role: 'issuer',
|
|
2645
|
+
* adminRole: 'admin',
|
|
2646
|
+
* })
|
|
2647
|
+
* ```
|
|
2648
|
+
*
|
|
2649
|
+
* @param client - Client.
|
|
2650
|
+
* @param parameters - Parameters.
|
|
2651
|
+
* @returns The transaction receipt and event data.
|
|
2652
|
+
*/
|
|
2653
|
+
setRoleAdminSync: (
|
|
2654
|
+
parameters: tokenActions.setRoleAdminSync.Parameters<chain, account>,
|
|
2655
|
+
) => Promise<tokenActions.setRoleAdminSync.ReturnValue>
|
|
2656
|
+
/**
|
|
2657
|
+
* Transfers TIP20 tokens to another address.
|
|
2658
|
+
*
|
|
2659
|
+
* @example
|
|
2660
|
+
* ```ts
|
|
2661
|
+
* import { createClient, http } from 'viem'
|
|
2662
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2663
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2664
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2665
|
+
*
|
|
2666
|
+
* const client = createClient({
|
|
2667
|
+
* account: privateKeyToAccount('0x...'),
|
|
2668
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2669
|
+
* transport: http(),
|
|
2670
|
+
* }).extend(tempoActions())
|
|
2671
|
+
*
|
|
2672
|
+
* const hash = await client.token.transfer({
|
|
2673
|
+
* to: '0x...',
|
|
2674
|
+
* amount: 100n,
|
|
2675
|
+
* })
|
|
2676
|
+
* ```
|
|
2677
|
+
*
|
|
2678
|
+
* @param client - Client.
|
|
2679
|
+
* @param parameters - Parameters.
|
|
2680
|
+
* @returns The transaction hash.
|
|
2681
|
+
*/
|
|
2682
|
+
transfer: (
|
|
2683
|
+
parameters: tokenActions.transfer.Parameters<chain, account>,
|
|
2684
|
+
) => Promise<tokenActions.transfer.ReturnValue>
|
|
2685
|
+
/**
|
|
2686
|
+
* Transfers TIP20 tokens to another address.
|
|
2687
|
+
*
|
|
2688
|
+
* @example
|
|
2689
|
+
* ```ts
|
|
2690
|
+
* import { createClient, http } from 'viem'
|
|
2691
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2692
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2693
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2694
|
+
*
|
|
2695
|
+
* const client = createClient({
|
|
2696
|
+
* account: privateKeyToAccount('0x...'),
|
|
2697
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2698
|
+
* transport: http(),
|
|
2699
|
+
* }).extend(tempoActions())
|
|
2700
|
+
*
|
|
2701
|
+
* const result = await client.token.transferSync({
|
|
2702
|
+
* to: '0x...',
|
|
2703
|
+
* amount: 100n,
|
|
2704
|
+
* })
|
|
2705
|
+
* ```
|
|
2706
|
+
*
|
|
2707
|
+
* @param client - Client.
|
|
2708
|
+
* @param parameters - Parameters.
|
|
2709
|
+
* @returns The transaction receipt and event data.
|
|
2710
|
+
*/
|
|
2711
|
+
transferSync: (
|
|
2712
|
+
parameters: tokenActions.transferSync.Parameters<chain, account>,
|
|
2713
|
+
) => Promise<tokenActions.transferSync.ReturnValue>
|
|
2714
|
+
/**
|
|
2715
|
+
* Unpauses a TIP20 token.
|
|
2716
|
+
*
|
|
2717
|
+
* @example
|
|
2718
|
+
* ```ts
|
|
2719
|
+
* import { createClient, http } from 'viem'
|
|
2720
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2721
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2722
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2723
|
+
*
|
|
2724
|
+
* const client = createClient({
|
|
2725
|
+
* account: privateKeyToAccount('0x...'),
|
|
2726
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2727
|
+
* transport: http(),
|
|
2728
|
+
* }).extend(tempoActions())
|
|
2729
|
+
*
|
|
2730
|
+
* const hash = await client.token.unpause({
|
|
2731
|
+
* token: '0x...',
|
|
2732
|
+
* })
|
|
2733
|
+
* ```
|
|
2734
|
+
*
|
|
2735
|
+
* @param client - Client.
|
|
2736
|
+
* @param parameters - Parameters.
|
|
2737
|
+
* @returns The transaction hash.
|
|
2738
|
+
*/
|
|
2739
|
+
unpause: (
|
|
2740
|
+
parameters: tokenActions.unpause.Parameters<chain, account>,
|
|
2741
|
+
) => Promise<tokenActions.unpause.ReturnValue>
|
|
2742
|
+
/**
|
|
2743
|
+
* Unpauses a TIP20 token.
|
|
2744
|
+
*
|
|
2745
|
+
* @example
|
|
2746
|
+
* ```ts
|
|
2747
|
+
* import { createClient, http } from 'viem'
|
|
2748
|
+
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2749
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2750
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2751
|
+
*
|
|
2752
|
+
* const client = createClient({
|
|
2753
|
+
* account: privateKeyToAccount('0x...'),
|
|
2754
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2755
|
+
* transport: http(),
|
|
2756
|
+
* }).extend(tempoActions())
|
|
2757
|
+
*
|
|
2758
|
+
* const result = await client.token.unpauseSync({
|
|
2759
|
+
* token: '0x...',
|
|
2760
|
+
* })
|
|
2761
|
+
* ```
|
|
2762
|
+
*
|
|
2763
|
+
* @param client - Client.
|
|
2764
|
+
* @param parameters - Parameters.
|
|
2765
|
+
* @returns The transaction receipt and event data.
|
|
2766
|
+
*/
|
|
2767
|
+
unpauseSync: (
|
|
2768
|
+
parameters: tokenActions.unpauseSync.Parameters<chain, account>,
|
|
2769
|
+
) => Promise<tokenActions.unpauseSync.ReturnValue>
|
|
2770
|
+
/**
|
|
2771
|
+
* Watches for TIP20 token approval events.
|
|
2772
|
+
*
|
|
2773
|
+
* @example
|
|
2774
|
+
* ```ts
|
|
2775
|
+
* import { createClient, http } from 'viem'
|
|
2776
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2777
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2778
|
+
*
|
|
2779
|
+
* const client = createClient({
|
|
2780
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2781
|
+
* transport: http(),
|
|
2782
|
+
* }).extend(tempoActions())
|
|
2783
|
+
*
|
|
2784
|
+
* const unwatch = client.token.watchApprove({
|
|
2785
|
+
* onApproval: (args, log) => {
|
|
2786
|
+
* console.log('Approval:', args)
|
|
2787
|
+
* },
|
|
2788
|
+
* })
|
|
2789
|
+
* ```
|
|
2790
|
+
*
|
|
2791
|
+
* @param client - Client.
|
|
2792
|
+
* @param parameters - Parameters.
|
|
2793
|
+
* @returns A function to unsubscribe from the event.
|
|
2794
|
+
*/
|
|
2795
|
+
watchApprove: (
|
|
2796
|
+
parameters: tokenActions.watchApprove.Parameters,
|
|
2797
|
+
) => () => void
|
|
2798
|
+
/**
|
|
2799
|
+
* Watches for TIP20 token burn events.
|
|
2800
|
+
*
|
|
2801
|
+
* @example
|
|
2802
|
+
* ```ts
|
|
2803
|
+
* import { createClient, http } from 'viem'
|
|
2804
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2805
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2806
|
+
*
|
|
2807
|
+
* const client = createClient({
|
|
2808
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2809
|
+
* transport: http(),
|
|
2810
|
+
* }).extend(tempoActions())
|
|
2811
|
+
*
|
|
2812
|
+
* const unwatch = client.token.watchBurn({
|
|
2813
|
+
* onBurn: (args, log) => {
|
|
2814
|
+
* console.log('Burn:', args)
|
|
2815
|
+
* },
|
|
2816
|
+
* })
|
|
2817
|
+
* ```
|
|
2818
|
+
*
|
|
2819
|
+
* @param client - Client.
|
|
2820
|
+
* @param parameters - Parameters.
|
|
2821
|
+
* @returns A function to unsubscribe from the event.
|
|
2822
|
+
*/
|
|
2823
|
+
watchBurn: (parameters: tokenActions.watchBurn.Parameters) => () => void
|
|
2824
|
+
/**
|
|
2825
|
+
* Watches for new TIP20 tokens created.
|
|
2826
|
+
*
|
|
2827
|
+
* @example
|
|
2828
|
+
* ```ts
|
|
2829
|
+
* import { createClient, http } from 'viem'
|
|
2830
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2831
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2832
|
+
*
|
|
2833
|
+
* const client = createClient({
|
|
2834
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2835
|
+
* transport: http(),
|
|
2836
|
+
* }).extend(tempoActions())
|
|
2837
|
+
*
|
|
2838
|
+
* const unwatch = client.token.watchCreate({
|
|
2839
|
+
* onTokenCreated: (args, log) => {
|
|
2840
|
+
* console.log('Token created:', args)
|
|
2841
|
+
* },
|
|
2842
|
+
* })
|
|
2843
|
+
* ```
|
|
2844
|
+
*
|
|
2845
|
+
* @param client - Client.
|
|
2846
|
+
* @param parameters - Parameters.
|
|
2847
|
+
* @returns A function to unsubscribe from the event.
|
|
2848
|
+
*/
|
|
2849
|
+
watchCreate: (parameters: tokenActions.watchCreate.Parameters) => () => void
|
|
2850
|
+
/**
|
|
2851
|
+
* Watches for TIP20 token mint events.
|
|
2852
|
+
*
|
|
2853
|
+
* @example
|
|
2854
|
+
* ```ts
|
|
2855
|
+
* import { createClient, http } from 'viem'
|
|
2856
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2857
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2858
|
+
*
|
|
2859
|
+
* const client = createClient({
|
|
2860
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2861
|
+
* transport: http(),
|
|
2862
|
+
* }).extend(tempoActions())
|
|
2863
|
+
*
|
|
2864
|
+
* const unwatch = client.token.watchMint({
|
|
2865
|
+
* onMint: (args, log) => {
|
|
2866
|
+
* console.log('Mint:', args)
|
|
2867
|
+
* },
|
|
2868
|
+
* })
|
|
2869
|
+
* ```
|
|
2870
|
+
*
|
|
2871
|
+
* @param client - Client.
|
|
2872
|
+
* @param parameters - Parameters.
|
|
2873
|
+
* @returns A function to unsubscribe from the event.
|
|
2874
|
+
*/
|
|
2875
|
+
watchMint: (parameters: tokenActions.watchMint.Parameters) => () => void
|
|
2876
|
+
/**
|
|
2877
|
+
* Watches for TIP20 token role admin updates.
|
|
2878
|
+
*
|
|
2879
|
+
* @example
|
|
2880
|
+
* ```ts
|
|
2881
|
+
* import { createClient, http } from 'viem'
|
|
2882
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2883
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2884
|
+
*
|
|
2885
|
+
* const client = createClient({
|
|
2886
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2887
|
+
* transport: http(),
|
|
2888
|
+
* }).extend(tempoActions())
|
|
2889
|
+
*
|
|
2890
|
+
* const unwatch = client.token.watchAdminRole({
|
|
2891
|
+
* onRoleAdminUpdated: (args, log) => {
|
|
2892
|
+
* console.log('Role admin updated:', args)
|
|
2893
|
+
* },
|
|
2894
|
+
* })
|
|
2895
|
+
* ```
|
|
2896
|
+
*
|
|
2897
|
+
* @param client - Client.
|
|
2898
|
+
* @param parameters - Parameters.
|
|
2899
|
+
* @returns A function to unsubscribe from the event.
|
|
2900
|
+
*/
|
|
2901
|
+
watchAdminRole: (
|
|
2902
|
+
parameters: tokenActions.watchAdminRole.Parameters,
|
|
2903
|
+
) => () => void
|
|
2904
|
+
/**
|
|
2905
|
+
* Watches for TIP20 token role membership updates.
|
|
2906
|
+
*
|
|
2907
|
+
* @example
|
|
2908
|
+
* ```ts
|
|
2909
|
+
* import { createClient, http } from 'viem'
|
|
2910
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2911
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2912
|
+
*
|
|
2913
|
+
* const client = createClient({
|
|
2914
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2915
|
+
* transport: http(),
|
|
2916
|
+
* }).extend(tempoActions())
|
|
2917
|
+
*
|
|
2918
|
+
* const unwatch = client.token.watchRole({
|
|
2919
|
+
* onRoleUpdated: (args, log) => {
|
|
2920
|
+
* console.log('Role updated:', args)
|
|
2921
|
+
* },
|
|
2922
|
+
* })
|
|
2923
|
+
* ```
|
|
2924
|
+
*
|
|
2925
|
+
* @param client - Client.
|
|
2926
|
+
* @param parameters - Parameters.
|
|
2927
|
+
* @returns A function to unsubscribe from the event.
|
|
2928
|
+
*/
|
|
2929
|
+
watchRole: (parameters: tokenActions.watchRole.Parameters) => () => void
|
|
2930
|
+
/**
|
|
2931
|
+
* Watches for TIP20 token transfer events.
|
|
2932
|
+
*
|
|
2933
|
+
* @example
|
|
2934
|
+
* ```ts
|
|
2935
|
+
* import { createClient, http } from 'viem'
|
|
2936
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
2937
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
2938
|
+
*
|
|
2939
|
+
* const client = createClient({
|
|
2940
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2941
|
+
* transport: http(),
|
|
2942
|
+
* }).extend(tempoActions())
|
|
2943
|
+
*
|
|
2944
|
+
* const unwatch = client.token.watchTransfer({
|
|
2945
|
+
* onTransfer: (args, log) => {
|
|
2946
|
+
* console.log('Transfer:', args)
|
|
2947
|
+
* },
|
|
2948
|
+
* })
|
|
2949
|
+
* ```
|
|
2950
|
+
*
|
|
2951
|
+
* @param client - Client.
|
|
2952
|
+
* @param parameters - Parameters.
|
|
2953
|
+
* @returns A function to unsubscribe from the event.
|
|
2954
|
+
*/
|
|
2955
|
+
watchTransfer: (
|
|
2956
|
+
parameters: tokenActions.watchTransfer.Parameters,
|
|
2957
|
+
) => () => void
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
export function decorator() {
|
|
2962
|
+
return <
|
|
2963
|
+
transport extends Transport,
|
|
2964
|
+
chain extends Chain | undefined,
|
|
2965
|
+
account extends Account | undefined,
|
|
2966
|
+
>(
|
|
2967
|
+
client: Client<transport, chain, account>,
|
|
2968
|
+
): Decorator<chain, account> => {
|
|
2969
|
+
return {
|
|
2970
|
+
amm: {
|
|
2971
|
+
getPool: (parameters) => ammActions.getPool(client, parameters),
|
|
2972
|
+
getLiquidityBalance: (parameters) =>
|
|
2973
|
+
ammActions.getLiquidityBalance(client, parameters),
|
|
2974
|
+
burn: (parameters) => ammActions.burn(client, parameters),
|
|
2975
|
+
burnSync: (parameters) => ammActions.burnSync(client, parameters),
|
|
2976
|
+
mint: (parameters) => ammActions.mint(client, parameters),
|
|
2977
|
+
mintSync: (parameters) => ammActions.mintSync(client, parameters),
|
|
2978
|
+
rebalanceSwap: (parameters) =>
|
|
2979
|
+
ammActions.rebalanceSwap(client, parameters),
|
|
2980
|
+
rebalanceSwapSync: (parameters) =>
|
|
2981
|
+
ammActions.rebalanceSwapSync(client, parameters),
|
|
2982
|
+
watchBurn: (parameters) => ammActions.watchBurn(client, parameters),
|
|
2983
|
+
watchFeeSwap: (parameters) =>
|
|
2984
|
+
ammActions.watchFeeSwap(client, parameters),
|
|
2985
|
+
watchMint: (parameters) => ammActions.watchMint(client, parameters),
|
|
2986
|
+
watchRebalanceSwap: (parameters) =>
|
|
2987
|
+
ammActions.watchRebalanceSwap(client, parameters),
|
|
2988
|
+
},
|
|
2989
|
+
dex: {
|
|
2990
|
+
buy: (parameters) => dexActions.buy(client, parameters),
|
|
2991
|
+
buySync: (parameters) => dexActions.buySync(client, parameters),
|
|
2992
|
+
cancel: (parameters) => dexActions.cancel(client, parameters),
|
|
2993
|
+
cancelSync: (parameters) => dexActions.cancelSync(client, parameters),
|
|
2994
|
+
createPair: (parameters) => dexActions.createPair(client, parameters),
|
|
2995
|
+
createPairSync: (parameters) =>
|
|
2996
|
+
dexActions.createPairSync(client, parameters),
|
|
2997
|
+
getBalance: (parameters) => dexActions.getBalance(client, parameters),
|
|
2998
|
+
getBuyQuote: (parameters) => dexActions.getBuyQuote(client, parameters),
|
|
2999
|
+
getOrder: (parameters) => dexActions.getOrder(client, parameters),
|
|
3000
|
+
getTickLevel: (parameters) =>
|
|
3001
|
+
dexActions.getTickLevel(client, parameters),
|
|
3002
|
+
getSellQuote: (parameters) =>
|
|
3003
|
+
dexActions.getSellQuote(client, parameters),
|
|
3004
|
+
place: (parameters) => dexActions.place(client, parameters),
|
|
3005
|
+
placeSync: (parameters) => dexActions.placeSync(client, parameters),
|
|
3006
|
+
placeFlip: (parameters) => dexActions.placeFlip(client, parameters),
|
|
3007
|
+
placeFlipSync: (parameters) =>
|
|
3008
|
+
dexActions.placeFlipSync(client, parameters),
|
|
3009
|
+
sell: (parameters) => dexActions.sell(client, parameters),
|
|
3010
|
+
sellSync: (parameters) => dexActions.sellSync(client, parameters),
|
|
3011
|
+
withdraw: (parameters) => dexActions.withdraw(client, parameters),
|
|
3012
|
+
withdrawSync: (parameters) =>
|
|
3013
|
+
dexActions.withdrawSync(client, parameters),
|
|
3014
|
+
watchFlipOrderPlaced: (parameters) =>
|
|
3015
|
+
dexActions.watchFlipOrderPlaced(client, parameters),
|
|
3016
|
+
watchOrderCancelled: (parameters) =>
|
|
3017
|
+
dexActions.watchOrderCancelled(client, parameters),
|
|
3018
|
+
watchOrderFilled: (parameters) =>
|
|
3019
|
+
dexActions.watchOrderFilled(client, parameters),
|
|
3020
|
+
watchOrderPlaced: (parameters) =>
|
|
3021
|
+
dexActions.watchOrderPlaced(client, parameters),
|
|
3022
|
+
},
|
|
3023
|
+
faucet: {
|
|
3024
|
+
fund: (parameters) => faucetActions.fund(client, parameters),
|
|
3025
|
+
},
|
|
3026
|
+
fee: {
|
|
3027
|
+
// @ts-expect-error
|
|
3028
|
+
getUserToken: (parameters) =>
|
|
3029
|
+
// @ts-expect-error
|
|
3030
|
+
feeActions.getUserToken(client, parameters),
|
|
3031
|
+
setUserToken: (parameters) =>
|
|
3032
|
+
feeActions.setUserToken(client, parameters),
|
|
3033
|
+
setUserTokenSync: (parameters) =>
|
|
3034
|
+
feeActions.setUserTokenSync(client, parameters),
|
|
3035
|
+
watchSetUserToken: (parameters) =>
|
|
3036
|
+
feeActions.watchSetUserToken(client, parameters),
|
|
3037
|
+
},
|
|
3038
|
+
policy: {
|
|
3039
|
+
create: (parameters) => policyActions.create(client, parameters),
|
|
3040
|
+
createSync: (parameters) =>
|
|
3041
|
+
policyActions.createSync(client, parameters),
|
|
3042
|
+
setAdmin: (parameters) => policyActions.setAdmin(client, parameters),
|
|
3043
|
+
setAdminSync: (parameters) =>
|
|
3044
|
+
policyActions.setAdminSync(client, parameters),
|
|
3045
|
+
modifyWhitelist: (parameters) =>
|
|
3046
|
+
policyActions.modifyWhitelist(client, parameters),
|
|
3047
|
+
modifyWhitelistSync: (parameters) =>
|
|
3048
|
+
policyActions.modifyWhitelistSync(client, parameters),
|
|
3049
|
+
modifyBlacklist: (parameters) =>
|
|
3050
|
+
policyActions.modifyBlacklist(client, parameters),
|
|
3051
|
+
modifyBlacklistSync: (parameters) =>
|
|
3052
|
+
policyActions.modifyBlacklistSync(client, parameters),
|
|
3053
|
+
getData: (parameters) => policyActions.getData(client, parameters),
|
|
3054
|
+
isAuthorized: (parameters) =>
|
|
3055
|
+
policyActions.isAuthorized(client, parameters),
|
|
3056
|
+
watchCreate: (parameters) =>
|
|
3057
|
+
policyActions.watchCreate(client, parameters),
|
|
3058
|
+
watchAdminUpdated: (parameters) =>
|
|
3059
|
+
policyActions.watchAdminUpdated(client, parameters),
|
|
3060
|
+
watchWhitelistUpdated: (parameters) =>
|
|
3061
|
+
policyActions.watchWhitelistUpdated(client, parameters),
|
|
3062
|
+
watchBlacklistUpdated: (parameters) =>
|
|
3063
|
+
policyActions.watchBlacklistUpdated(client, parameters),
|
|
3064
|
+
},
|
|
3065
|
+
reward: {
|
|
3066
|
+
claim: (parameters) => rewardActions.claim(client, parameters),
|
|
3067
|
+
claimSync: (parameters) => rewardActions.claimSync(client, parameters),
|
|
3068
|
+
getTotalPerSecond: (parameters) =>
|
|
3069
|
+
rewardActions.getTotalPerSecond(client, parameters),
|
|
3070
|
+
getUserRewardInfo: (parameters) =>
|
|
3071
|
+
rewardActions.getUserRewardInfo(client, parameters),
|
|
3072
|
+
setRecipient: (parameters) =>
|
|
3073
|
+
rewardActions.setRecipient(client, parameters),
|
|
3074
|
+
setRecipientSync: (parameters) =>
|
|
3075
|
+
rewardActions.setRecipientSync(client, parameters),
|
|
3076
|
+
start: (parameters) => rewardActions.start(client, parameters),
|
|
3077
|
+
startSync: (parameters) => rewardActions.startSync(client, parameters),
|
|
3078
|
+
watchRewardRecipientSet: (parameters) =>
|
|
3079
|
+
rewardActions.watchRewardRecipientSet(client, parameters),
|
|
3080
|
+
watchRewardScheduled: (parameters) =>
|
|
3081
|
+
rewardActions.watchRewardScheduled(client, parameters),
|
|
3082
|
+
},
|
|
3083
|
+
token: {
|
|
3084
|
+
approve: (parameters) => tokenActions.approve(client, parameters),
|
|
3085
|
+
approveSync: (parameters) =>
|
|
3086
|
+
tokenActions.approveSync(client, parameters),
|
|
3087
|
+
burnBlocked: (parameters) =>
|
|
3088
|
+
tokenActions.burnBlocked(client, parameters),
|
|
3089
|
+
burnBlockedSync: (parameters) =>
|
|
3090
|
+
tokenActions.burnBlockedSync(client, parameters),
|
|
3091
|
+
burn: (parameters) => tokenActions.burn(client, parameters),
|
|
3092
|
+
burnSync: (parameters) => tokenActions.burnSync(client, parameters),
|
|
3093
|
+
changeTransferPolicy: (parameters) =>
|
|
3094
|
+
tokenActions.changeTransferPolicy(client, parameters),
|
|
3095
|
+
changeTransferPolicySync: (parameters) =>
|
|
3096
|
+
tokenActions.changeTransferPolicySync(client, parameters),
|
|
3097
|
+
create: (parameters) => tokenActions.create(client, parameters),
|
|
3098
|
+
createSync: (parameters) => tokenActions.createSync(client, parameters),
|
|
3099
|
+
getAllowance: (parameters) =>
|
|
3100
|
+
tokenActions.getAllowance(client, parameters),
|
|
3101
|
+
getBalance: (parameters) => tokenActions.getBalance(client, parameters),
|
|
3102
|
+
getMetadata: (parameters) =>
|
|
3103
|
+
tokenActions.getMetadata(client, parameters),
|
|
3104
|
+
getRoleAdmin: (parameters) =>
|
|
3105
|
+
tokenActions.getRoleAdmin(client, parameters),
|
|
3106
|
+
hasRole: (parameters) => tokenActions.hasRole(client, parameters),
|
|
3107
|
+
grantRoles: (parameters) => tokenActions.grantRoles(client, parameters),
|
|
3108
|
+
grantRolesSync: (parameters) =>
|
|
3109
|
+
tokenActions.grantRolesSync(client, parameters),
|
|
3110
|
+
mint: (parameters) => tokenActions.mint(client, parameters),
|
|
3111
|
+
mintSync: (parameters) => tokenActions.mintSync(client, parameters),
|
|
3112
|
+
pause: (parameters) => tokenActions.pause(client, parameters),
|
|
3113
|
+
pauseSync: (parameters) => tokenActions.pauseSync(client, parameters),
|
|
3114
|
+
renounceRoles: (parameters) =>
|
|
3115
|
+
tokenActions.renounceRoles(client, parameters),
|
|
3116
|
+
renounceRolesSync: (parameters) =>
|
|
3117
|
+
tokenActions.renounceRolesSync(client, parameters),
|
|
3118
|
+
revokeRoles: (parameters) =>
|
|
3119
|
+
tokenActions.revokeRoles(client, parameters),
|
|
3120
|
+
revokeRolesSync: (parameters) =>
|
|
3121
|
+
tokenActions.revokeRolesSync(client, parameters),
|
|
3122
|
+
setSupplyCap: (parameters) =>
|
|
3123
|
+
tokenActions.setSupplyCap(client, parameters),
|
|
3124
|
+
setSupplyCapSync: (parameters) =>
|
|
3125
|
+
tokenActions.setSupplyCapSync(client, parameters),
|
|
3126
|
+
setRoleAdmin: (parameters) =>
|
|
3127
|
+
tokenActions.setRoleAdmin(client, parameters),
|
|
3128
|
+
setRoleAdminSync: (parameters) =>
|
|
3129
|
+
tokenActions.setRoleAdminSync(client, parameters),
|
|
3130
|
+
transfer: (parameters) => tokenActions.transfer(client, parameters),
|
|
3131
|
+
transferSync: (parameters) =>
|
|
3132
|
+
tokenActions.transferSync(client, parameters),
|
|
3133
|
+
unpause: (parameters) => tokenActions.unpause(client, parameters),
|
|
3134
|
+
unpauseSync: (parameters) =>
|
|
3135
|
+
tokenActions.unpauseSync(client, parameters),
|
|
3136
|
+
watchApprove: (parameters) =>
|
|
3137
|
+
tokenActions.watchApprove(client, parameters),
|
|
3138
|
+
watchBurn: (parameters) => tokenActions.watchBurn(client, parameters),
|
|
3139
|
+
watchCreate: (parameters) =>
|
|
3140
|
+
tokenActions.watchCreate(client, parameters),
|
|
3141
|
+
watchMint: (parameters) => tokenActions.watchMint(client, parameters),
|
|
3142
|
+
watchAdminRole: (parameters) =>
|
|
3143
|
+
tokenActions.watchAdminRole(client, parameters),
|
|
3144
|
+
watchRole: (parameters) => tokenActions.watchRole(client, parameters),
|
|
3145
|
+
watchTransfer: (parameters) =>
|
|
3146
|
+
tokenActions.watchTransfer(client, parameters),
|
|
3147
|
+
},
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
}
|