@aeternity/aepp-sdk 13.3.2 → 14.0.0
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/README.md +4 -2
- package/bin/aesophia_cli +0 -0
- package/dist/aepp-sdk.browser-script.cjs +3 -0
- package/dist/aepp-sdk.browser-script.cjs.LICENSE.txt +10 -0
- package/dist/aepp-sdk.browser-script.cjs.map +1 -0
- package/dist/aepp-sdk.browser.cjs +3 -0
- package/dist/aepp-sdk.browser.cjs.map +1 -0
- package/dist/aepp-sdk.cjs +33535 -0
- package/dist/aepp-sdk.cjs.map +1 -0
- package/es/AeSdk.d.ts +4 -4
- package/es/AeSdk.js +76 -0
- package/es/AeSdk.js.map +1 -0
- package/es/AeSdkAepp.d.ts +13 -8
- package/es/AeSdkAepp.js +153 -0
- package/es/AeSdkAepp.js.map +1 -0
- package/es/AeSdkBase.d.ts +5 -40
- package/es/AeSdkBase.js +225 -0
- package/es/AeSdkBase.js.map +1 -0
- package/es/AeSdkMethods.d.ts +10 -33
- package/es/AeSdkMethods.js +81 -0
- package/es/AeSdkMethods.js.map +1 -0
- package/es/AeSdkWallet.d.ts +13 -8
- package/es/AeSdkWallet.js +347 -0
- package/es/AeSdkWallet.js.map +1 -0
- package/es/Middleware.d.ts +9 -25
- package/es/Middleware.js +97 -0
- package/es/Middleware.js.map +1 -0
- package/es/MiddlewareSubscriber.d.ts +2 -3
- package/es/MiddlewareSubscriber.js +165 -0
- package/es/MiddlewareSubscriber.js.map +1 -0
- package/es/Node.d.ts +5 -21
- package/es/Node.js +97 -0
- package/es/Node.js.map +1 -0
- package/es/account/Base.d.ts +7 -71
- package/es/account/Base.js +6 -0
- package/es/account/Base.js.map +1 -0
- package/es/account/BaseFactory.d.ts +19 -0
- package/es/account/BaseFactory.js +28 -0
- package/es/account/BaseFactory.js.map +1 -0
- package/es/account/Generalized.d.ts +2 -6
- package/es/account/Generalized.js +108 -0
- package/es/account/Generalized.js.map +1 -0
- package/es/account/Ledger.d.ts +3 -7
- package/es/account/Ledger.js +107 -0
- package/es/account/Ledger.js.map +1 -0
- package/es/account/LedgerFactory.d.ts +16 -16
- package/es/account/LedgerFactory.js +80 -0
- package/es/account/LedgerFactory.js.map +1 -0
- package/es/account/Memory.d.ts +6 -22
- package/es/account/Memory.js +97 -0
- package/es/account/Memory.js.map +1 -0
- package/es/account/Metamask.d.ts +26 -0
- package/es/account/Metamask.js +76 -0
- package/es/account/Metamask.js.map +1 -0
- package/es/account/MetamaskFactory.d.ts +40 -0
- package/es/account/MetamaskFactory.js +110 -0
- package/es/account/MetamaskFactory.js.map +1 -0
- package/es/account/MnemonicFactory.d.ts +35 -0
- package/es/account/MnemonicFactory.js +88 -0
- package/es/account/MnemonicFactory.js.map +1 -0
- package/es/account/Rpc.d.ts +5 -19
- package/es/account/Rpc.js +86 -0
- package/es/account/Rpc.js.map +1 -0
- package/es/aens.d.ts +125 -166
- package/es/aens.js +258 -0
- package/es/aens.js.map +1 -0
- package/es/aepp-wallet-communication/WalletConnectorFrame.d.ts +25 -0
- package/es/aepp-wallet-communication/WalletConnectorFrame.js +39 -0
- package/es/aepp-wallet-communication/WalletConnectorFrame.js.map +1 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameBase.d.ts +43 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameBase.js +110 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameBase.js.map +1 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.d.ts +27 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js +43 -0
- package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js.map +1 -0
- package/es/aepp-wallet-communication/connection/Browser.js +53 -0
- package/es/aepp-wallet-communication/connection/Browser.js.map +1 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.js +54 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.js.map +1 -0
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +2 -2
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js +90 -0
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js.map +1 -0
- package/es/aepp-wallet-communication/connection-proxy.d.ts +2 -2
- package/es/aepp-wallet-communication/connection-proxy.js +17 -0
- package/es/aepp-wallet-communication/connection-proxy.js.map +1 -0
- package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +1 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.js +119 -0
- package/es/aepp-wallet-communication/rpc/RpcClient.js.map +1 -0
- package/es/aepp-wallet-communication/rpc/types.d.ts +13 -19
- package/es/aepp-wallet-communication/rpc/types.js +3 -0
- package/es/aepp-wallet-communication/rpc/types.js.map +1 -0
- package/es/aepp-wallet-communication/schema.d.ts +10 -3
- package/es/aepp-wallet-communication/schema.js +202 -0
- package/es/aepp-wallet-communication/schema.js.map +1 -0
- package/es/aepp-wallet-communication/wallet-detector.d.ts +4 -4
- package/es/aepp-wallet-communication/wallet-detector.js +44 -0
- package/es/aepp-wallet-communication/wallet-detector.js.map +1 -0
- package/es/apis/compiler/compiler.d.ts +2 -2
- package/es/apis/compiler/compiler.js +513 -0
- package/es/apis/compiler/compiler.js.map +1 -0
- package/es/apis/compiler/index.d.ts +2 -2
- package/es/apis/compiler/index.js +3 -0
- package/es/apis/compiler/index.js.map +1 -0
- package/es/apis/compiler/models/index.js +2 -0
- package/es/apis/compiler/models/index.js.map +1 -0
- package/es/apis/compiler/models/mappers.js +554 -0
- package/es/apis/compiler/models/mappers.js.map +1 -0
- package/es/apis/compiler/models/parameters.js +67 -0
- package/es/apis/compiler/models/parameters.js.map +1 -0
- package/es/apis/middleware/index.d.ts +2 -2
- package/es/apis/middleware/index.js +3 -0
- package/es/apis/middleware/index.js.map +1 -0
- package/es/apis/middleware/middleware.d.ts +142 -134
- package/es/apis/middleware/middleware.js +1677 -0
- package/es/apis/middleware/middleware.js.map +1 -0
- package/es/apis/middleware/models/index.d.ts +1998 -819
- package/es/apis/middleware/models/index.js +1364 -0
- package/es/apis/middleware/models/index.js.map +1 -0
- package/es/apis/middleware/models/mappers.d.ts +135 -80
- package/es/apis/middleware/models/mappers.js +6054 -0
- package/es/apis/middleware/models/mappers.js.map +1 -0
- package/es/apis/middleware/models/parameters.d.ts +58 -14
- package/es/apis/middleware/models/parameters.js +909 -0
- package/es/apis/middleware/models/parameters.js.map +1 -0
- package/es/apis/node/index.d.ts +2 -2
- package/es/apis/node/index.js +3 -0
- package/es/apis/node/index.js.map +1 -0
- package/es/apis/node/models/index.d.ts +643 -636
- package/es/apis/node/models/index.js +2 -0
- package/es/apis/node/models/index.js.map +1 -0
- package/es/apis/node/models/mappers.d.ts +55 -55
- package/es/apis/node/models/mappers.js +5322 -0
- package/es/apis/node/models/mappers.js.map +1 -0
- package/es/apis/node/models/parameters.d.ts +5 -5
- package/es/apis/node/models/parameters.js +165 -0
- package/es/apis/node/models/parameters.js.map +1 -0
- package/es/apis/node/node.d.ts +101 -96
- package/es/apis/node/node.js +1238 -0
- package/es/apis/node/node.js.map +1 -0
- package/es/chain.d.ts +21 -21
- package/es/chain.js +442 -0
- package/es/chain.js.map +1 -0
- package/es/channel/Base.d.ts +13 -15
- package/es/channel/Base.js +246 -0
- package/es/channel/Base.js.map +1 -0
- package/es/channel/Contract.d.ts +9 -9
- package/es/channel/Contract.js +382 -0
- package/es/channel/Contract.js.map +1 -0
- package/es/channel/Spend.d.ts +11 -11
- package/es/channel/Spend.js +357 -0
- package/es/channel/Spend.js.map +1 -0
- package/es/channel/handlers.d.ts +4 -3
- package/es/channel/handlers.js +395 -0
- package/es/channel/handlers.js.map +1 -0
- package/es/channel/internal.d.ts +32 -25
- package/es/channel/internal.js +224 -0
- package/es/channel/internal.js.map +1 -0
- package/es/contract/Contract.d.ts +17 -19
- package/es/contract/Contract.js +525 -0
- package/es/contract/Contract.js.map +1 -0
- package/es/contract/compiler/Base.d.ts +1 -1
- package/es/contract/compiler/Base.js +5 -0
- package/es/contract/compiler/Base.js.map +1 -0
- package/es/contract/compiler/Cli.d.ts +2 -2
- package/es/contract/compiler/Cli.js +167 -0
- package/es/contract/compiler/Cli.js.map +1 -0
- package/es/contract/compiler/Http.d.ts +3 -3
- package/es/contract/compiler/Http.js +124 -0
- package/es/contract/compiler/Http.js.map +1 -0
- package/es/contract/compiler/HttpNode.d.ts +3 -3
- package/es/contract/compiler/HttpNode.js +29 -0
- package/es/contract/compiler/HttpNode.js.map +1 -0
- package/es/contract/compiler/getFileSystem.js +32 -0
- package/es/contract/compiler/getFileSystem.js.map +1 -0
- package/es/contract/ga.d.ts +8 -12
- package/es/contract/ga.js +136 -0
- package/es/contract/ga.js.map +1 -0
- package/es/index-browser.d.ts +56 -51
- package/es/index-browser.js +55 -0
- package/es/index-browser.js.map +1 -0
- package/es/index.d.ts +4 -5
- package/es/index.js +5 -0
- package/es/index.js.map +1 -0
- package/es/oracle/Oracle.d.ts +70 -0
- package/es/oracle/Oracle.js +173 -0
- package/es/oracle/Oracle.js.map +1 -0
- package/es/oracle/OracleBase.d.ts +41 -0
- package/es/oracle/OracleBase.js +52 -0
- package/es/oracle/OracleBase.js.map +1 -0
- package/es/oracle/OracleClient.d.ts +57 -0
- package/es/oracle/OracleClient.js +100 -0
- package/es/oracle/OracleClient.js.map +1 -0
- package/es/send-transaction.d.ts +8 -8
- package/es/send-transaction.js +110 -0
- package/es/send-transaction.js.map +1 -0
- package/es/spend.d.ts +8 -13
- package/es/spend.js +93 -0
- package/es/spend.js.map +1 -0
- package/es/tx/builder/SchemaTypes.d.ts +3 -3
- package/es/tx/builder/SchemaTypes.js +2 -0
- package/es/tx/builder/SchemaTypes.js.map +1 -0
- package/es/tx/builder/common.d.ts +2 -2
- package/es/tx/builder/common.js +38 -0
- package/es/tx/builder/common.js.map +1 -0
- package/es/tx/builder/constants.d.ts +2 -26
- package/es/tx/builder/constants.js +120 -0
- package/es/tx/builder/constants.js.map +1 -0
- package/es/tx/builder/delegation/index.d.ts +3 -3
- package/es/tx/builder/delegation/index.js +24 -0
- package/es/tx/builder/delegation/index.js.map +1 -0
- package/es/tx/builder/delegation/schema.d.ts +21 -4
- package/es/tx/builder/delegation/schema.generated.d.ts +2 -2
- package/es/tx/builder/delegation/schema.generated.js +2 -0
- package/es/tx/builder/delegation/schema.generated.js.map +1 -0
- package/es/tx/builder/delegation/schema.js +68 -0
- package/es/tx/builder/delegation/schema.js.map +1 -0
- package/es/tx/builder/entry/constants.d.ts +32 -0
- package/es/tx/builder/entry/constants.js +36 -0
- package/es/tx/builder/entry/constants.js.map +1 -0
- package/es/tx/builder/entry/index.d.ts +38 -0
- package/es/tx/builder/entry/index.js +37 -0
- package/es/tx/builder/entry/index.js.map +1 -0
- package/es/tx/builder/entry/schema.d.ts +1030 -0
- package/es/tx/builder/entry/schema.generated.d.ts +607 -0
- package/es/tx/builder/entry/schema.generated.js +2 -0
- package/es/tx/builder/entry/schema.generated.js.map +1 -0
- package/es/tx/builder/entry/schema.js +204 -0
- package/es/tx/builder/entry/schema.js.map +1 -0
- package/es/tx/builder/field-types/abi-version.d.ts +4 -5
- package/es/tx/builder/field-types/abi-version.js +34 -0
- package/es/tx/builder/field-types/abi-version.js.map +1 -0
- package/es/tx/builder/field-types/address.d.ts +2 -3
- package/es/tx/builder/field-types/address.js +46 -0
- package/es/tx/builder/field-types/address.js.map +1 -0
- package/es/tx/builder/field-types/array.js +11 -0
- package/es/tx/builder/field-types/array.js.map +1 -0
- package/es/tx/builder/field-types/boolean.d.ts +0 -1
- package/es/tx/builder/field-types/boolean.js +10 -0
- package/es/tx/builder/field-types/boolean.js.map +1 -0
- package/es/tx/builder/field-types/coin-amount.d.ts +3 -4
- package/es/tx/builder/field-types/coin-amount.js +18 -0
- package/es/tx/builder/field-types/coin-amount.js.map +1 -0
- package/es/tx/builder/field-types/ct-version.d.ts +4 -19
- package/es/tx/builder/field-types/ct-version.js +58 -0
- package/es/tx/builder/field-types/ct-version.js.map +1 -0
- package/es/tx/builder/field-types/encoded.d.ts +1 -2
- package/es/tx/builder/field-types/encoded.js +18 -0
- package/es/tx/builder/field-types/encoded.js.map +1 -0
- package/es/tx/builder/field-types/entry.d.ts +5 -6
- package/es/tx/builder/field-types/entry.js +26 -0
- package/es/tx/builder/field-types/entry.js.map +1 -0
- package/es/tx/builder/field-types/enumeration.d.ts +0 -1
- package/es/tx/builder/field-types/enumeration.js +27 -0
- package/es/tx/builder/field-types/enumeration.js.map +1 -0
- package/es/tx/builder/field-types/fee.d.ts +9 -10
- package/es/tx/builder/field-types/fee.js +160 -0
- package/es/tx/builder/field-types/fee.js.map +1 -0
- package/es/tx/builder/field-types/field.d.ts +0 -1
- package/es/tx/builder/field-types/field.js +10 -0
- package/es/tx/builder/field-types/field.js.map +1 -0
- package/es/tx/builder/field-types/gas-limit.d.ts +4 -5
- package/es/tx/builder/field-types/gas-limit.js +31 -0
- package/es/tx/builder/field-types/gas-limit.js.map +1 -0
- package/es/tx/builder/field-types/gas-price.d.ts +7 -8
- package/es/tx/builder/field-types/gas-price.js +53 -0
- package/es/tx/builder/field-types/gas-price.js.map +1 -0
- package/es/tx/builder/field-types/interface.d.ts +7 -0
- package/es/tx/builder/field-types/interface.js +2 -0
- package/es/tx/builder/field-types/interface.js.map +1 -0
- package/es/tx/builder/field-types/map.d.ts +6 -7
- package/es/tx/builder/field-types/map.js +38 -0
- package/es/tx/builder/field-types/map.js.map +1 -0
- package/es/tx/builder/field-types/mptree.d.ts +12 -13
- package/es/tx/builder/field-types/mptree.js +223 -0
- package/es/tx/builder/field-types/mptree.js.map +1 -0
- package/es/tx/builder/field-types/name-fee.d.ts +3 -4
- package/es/tx/builder/field-types/name-fee.js +22 -0
- package/es/tx/builder/field-types/name-fee.js.map +1 -0
- package/es/tx/builder/field-types/name-id.d.ts +2 -3
- package/es/tx/builder/field-types/name-id.js +14 -0
- package/es/tx/builder/field-types/name-id.js.map +1 -0
- package/es/tx/builder/field-types/name.d.ts +1 -2
- package/es/tx/builder/field-types/name.js +16 -0
- package/es/tx/builder/field-types/name.js.map +1 -0
- package/es/tx/builder/field-types/nonce.d.ts +6 -4
- package/es/tx/builder/field-types/nonce.js +40 -0
- package/es/tx/builder/field-types/nonce.js.map +1 -0
- package/es/tx/builder/field-types/pointers.d.ts +9 -18
- package/es/tx/builder/field-types/pointers.js +69 -0
- package/es/tx/builder/field-types/pointers.js.map +1 -0
- package/es/tx/builder/field-types/query-fee.d.ts +4 -5
- package/es/tx/builder/field-types/query-fee.js +21 -0
- package/es/tx/builder/field-types/query-fee.js.map +1 -0
- package/es/tx/builder/field-types/raw.d.ts +0 -1
- package/es/tx/builder/field-types/raw.js +10 -0
- package/es/tx/builder/field-types/raw.js.map +1 -0
- package/es/tx/builder/field-types/short-u-int-const.d.ts +0 -1
- package/es/tx/builder/field-types/short-u-int-const.js +20 -0
- package/es/tx/builder/field-types/short-u-int-const.js.map +1 -0
- package/es/tx/builder/field-types/short-u-int.d.ts +0 -1
- package/es/tx/builder/field-types/short-u-int.js +10 -0
- package/es/tx/builder/field-types/short-u-int.js.map +1 -0
- package/es/tx/builder/field-types/string.d.ts +0 -1
- package/es/tx/builder/field-types/string.js +10 -0
- package/es/tx/builder/field-types/string.js.map +1 -0
- package/es/tx/builder/field-types/transaction.d.ts +10 -0
- package/es/tx/builder/field-types/transaction.js +26 -0
- package/es/tx/builder/field-types/transaction.js.map +1 -0
- package/es/tx/builder/field-types/ttl.d.ts +6 -11
- package/es/tx/builder/field-types/ttl.js +33 -0
- package/es/tx/builder/field-types/ttl.js.map +1 -0
- package/es/tx/builder/field-types/u-int.d.ts +1 -2
- package/es/tx/builder/field-types/u-int.js +13 -0
- package/es/tx/builder/field-types/u-int.js.map +1 -0
- package/es/tx/builder/field-types/with-default.js +9 -0
- package/es/tx/builder/field-types/with-default.js.map +1 -0
- package/es/tx/builder/field-types/with-formatting.js +9 -0
- package/es/tx/builder/field-types/with-formatting.js.map +1 -0
- package/es/tx/builder/field-types/wrapped.d.ts +5 -6
- package/es/tx/builder/field-types/wrapped.js +20 -0
- package/es/tx/builder/field-types/wrapped.js.map +1 -0
- package/es/tx/builder/helpers.d.ts +5 -6
- package/es/tx/builder/helpers.js +207 -0
- package/es/tx/builder/helpers.js.map +1 -0
- package/es/tx/builder/index.d.ts +4 -13
- package/es/tx/builder/index.js +91 -0
- package/es/tx/builder/index.js.map +1 -0
- package/es/tx/builder/schema.d.ts +583 -1723
- package/es/tx/builder/schema.generated.d.ts +36 -992
- package/es/tx/builder/schema.generated.js +2 -0
- package/es/tx/builder/schema.generated.js.map +1 -0
- package/es/tx/builder/schema.js +355 -0
- package/es/tx/builder/schema.js.map +1 -0
- package/es/tx/execution-cost.d.ts +2 -2
- package/es/tx/execution-cost.js +140 -0
- package/es/tx/execution-cost.js.map +1 -0
- package/es/tx/transaction-signer.d.ts +1 -1
- package/es/tx/transaction-signer.js +24 -0
- package/es/tx/transaction-signer.js.map +1 -0
- package/es/tx/validator.d.ts +2 -2
- package/es/tx/validator.js +206 -0
- package/es/tx/validator.js.map +1 -0
- package/es/typings/blakejs/index.d.js +2 -0
- package/es/typings/blakejs/index.d.js.map +1 -0
- package/es/typings/sha-js/index.d.js +2 -0
- package/es/typings/sha-js/index.d.js.map +1 -0
- package/es/typings/tweetnacl-auth/index.d.js +2 -0
- package/es/typings/tweetnacl-auth/index.d.js.map +1 -0
- package/es/utils/MiddlewarePage.d.ts +36 -0
- package/es/utils/MiddlewarePage.js +57 -0
- package/es/utils/MiddlewarePage.js.map +1 -0
- package/es/utils/amount-formatter.d.ts +6 -6
- package/es/utils/amount-formatter.js +97 -0
- package/es/utils/amount-formatter.js.map +1 -0
- package/es/utils/autorest.d.ts +6 -1
- package/es/utils/autorest.js +206 -0
- package/es/utils/autorest.js.map +1 -0
- package/es/utils/bignumber.d.ts +1 -1
- package/es/utils/bignumber.js +21 -0
- package/es/utils/bignumber.js.map +1 -0
- package/es/utils/bytes.d.ts +1 -2
- package/es/utils/bytes.js +30 -0
- package/es/utils/bytes.js.map +1 -0
- package/es/utils/crypto.d.ts +2 -46
- package/es/utils/crypto.js +111 -0
- package/es/utils/crypto.js.map +1 -0
- package/es/utils/encoder-types.d.ts +2 -0
- package/es/utils/encoder-types.js +36 -0
- package/es/utils/encoder-types.js.map +1 -0
- package/es/utils/encoder.d.ts +2 -3
- package/es/utils/encoder.js +104 -0
- package/es/utils/encoder.js.map +1 -0
- package/es/utils/errors.d.ts +4 -10
- package/es/utils/errors.js +746 -0
- package/es/utils/errors.js.map +1 -0
- package/es/utils/json-big.d.ts +1 -1
- package/es/utils/json-big.js +25 -0
- package/es/utils/json-big.js.map +1 -0
- package/es/utils/jwt.d.ts +2 -2
- package/es/utils/jwt.js +112 -0
- package/es/utils/jwt.js.map +1 -0
- package/es/utils/other.d.ts +4 -4
- package/es/utils/other.js +48 -0
- package/es/utils/other.js.map +1 -0
- package/es/utils/semver-satisfies.js +12 -0
- package/es/utils/semver-satisfies.js.map +1 -0
- package/es/utils/string.js +18 -0
- package/es/utils/string.js.map +1 -0
- package/es/utils/typed-data.d.ts +1 -2
- package/es/utils/typed-data.js +52 -0
- package/es/utils/typed-data.js.map +1 -0
- package/es/utils/wrap-proxy.js +15 -0
- package/es/utils/wrap-proxy.js.map +1 -0
- package/package.json +85 -105
- package/bin/aesophia_cli_8 +0 -0
- package/dist/aepp-sdk.browser-script.js +0 -3
- package/dist/aepp-sdk.browser-script.js.LICENSE.txt +0 -12
- package/dist/aepp-sdk.browser-script.js.map +0 -1
- package/dist/aepp-sdk.browser.js +0 -3
- package/dist/aepp-sdk.browser.js.map +0 -1
- package/dist/aepp-sdk.js +0 -30474
- package/dist/aepp-sdk.js.map +0 -1
- package/es/AeSdk.mjs +0 -76
- package/es/AeSdk.mjs.map +0 -1
- package/es/AeSdkAepp.mjs +0 -145
- package/es/AeSdkAepp.mjs.map +0 -1
- package/es/AeSdkBase.mjs +0 -289
- package/es/AeSdkBase.mjs.map +0 -1
- package/es/AeSdkMethods.mjs +0 -92
- package/es/AeSdkMethods.mjs.map +0 -1
- package/es/AeSdkWallet.mjs +0 -365
- package/es/AeSdkWallet.mjs.map +0 -1
- package/es/Middleware.mjs +0 -94
- package/es/Middleware.mjs.map +0 -1
- package/es/MiddlewareSubscriber.mjs +0 -189
- package/es/MiddlewareSubscriber.mjs.map +0 -1
- package/es/Node.mjs +0 -148
- package/es/Node.mjs.map +0 -1
- package/es/account/Base.mjs +0 -134
- package/es/account/Base.mjs.map +0 -1
- package/es/account/Generalized.mjs +0 -129
- package/es/account/Generalized.mjs.map +0 -1
- package/es/account/Ledger.mjs +0 -131
- package/es/account/Ledger.mjs.map +0 -1
- package/es/account/LedgerFactory.mjs +0 -79
- package/es/account/LedgerFactory.mjs.map +0 -1
- package/es/account/Memory.mjs +0 -187
- package/es/account/Memory.mjs.map +0 -1
- package/es/account/Rpc.mjs +0 -178
- package/es/account/Rpc.mjs.map +0 -1
- package/es/aens.mjs +0 -290
- package/es/aens.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection/Browser.mjs +0 -52
- package/es/aepp-wallet-communication/connection/Browser.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +0 -55
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +0 -98
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +0 -1
- package/es/aepp-wallet-communication/connection-proxy.mjs +0 -17
- package/es/aepp-wallet-communication/connection-proxy.mjs.map +0 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs +0 -134
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +0 -1
- package/es/aepp-wallet-communication/rpc/types.mjs +0 -3
- package/es/aepp-wallet-communication/rpc/types.mjs.map +0 -1
- package/es/aepp-wallet-communication/schema.mjs +0 -187
- package/es/aepp-wallet-communication/schema.mjs.map +0 -1
- package/es/aepp-wallet-communication/wallet-detector.mjs +0 -44
- package/es/aepp-wallet-communication/wallet-detector.mjs.map +0 -1
- package/es/apis/compiler/compiler.mjs +0 -513
- package/es/apis/compiler/compiler.mjs.map +0 -1
- package/es/apis/compiler/index.mjs +0 -3
- package/es/apis/compiler/index.mjs.map +0 -1
- package/es/apis/compiler/models/index.mjs +0 -2
- package/es/apis/compiler/models/index.mjs.map +0 -1
- package/es/apis/compiler/models/mappers.mjs +0 -554
- package/es/apis/compiler/models/mappers.mjs.map +0 -1
- package/es/apis/compiler/models/parameters.mjs +0 -67
- package/es/apis/compiler/models/parameters.mjs.map +0 -1
- package/es/apis/middleware/index.mjs +0 -3
- package/es/apis/middleware/index.mjs.map +0 -1
- package/es/apis/middleware/middleware.mjs +0 -1623
- package/es/apis/middleware/middleware.mjs.map +0 -1
- package/es/apis/middleware/models/index.mjs +0 -630
- package/es/apis/middleware/models/index.mjs.map +0 -1
- package/es/apis/middleware/models/mappers.mjs +0 -3707
- package/es/apis/middleware/models/mappers.mjs.map +0 -1
- package/es/apis/middleware/models/parameters.mjs +0 -444
- package/es/apis/middleware/models/parameters.mjs.map +0 -1
- package/es/apis/node/index.mjs +0 -3
- package/es/apis/node/index.mjs.map +0 -1
- package/es/apis/node/models/index.mjs +0 -2
- package/es/apis/node/models/index.mjs.map +0 -1
- package/es/apis/node/models/mappers.mjs +0 -4395
- package/es/apis/node/models/mappers.mjs.map +0 -1
- package/es/apis/node/models/parameters.mjs +0 -165
- package/es/apis/node/models/parameters.mjs.map +0 -1
- package/es/apis/node/node.mjs +0 -1240
- package/es/apis/node/node.mjs.map +0 -1
- package/es/chain.mjs +0 -441
- package/es/chain.mjs.map +0 -1
- package/es/channel/Base.mjs +0 -254
- package/es/channel/Base.mjs.map +0 -1
- package/es/channel/Contract.mjs +0 -383
- package/es/channel/Contract.mjs.map +0 -1
- package/es/channel/Spend.mjs +0 -357
- package/es/channel/Spend.mjs.map +0 -1
- package/es/channel/handlers.mjs +0 -383
- package/es/channel/handlers.mjs.map +0 -1
- package/es/channel/internal.mjs +0 -237
- package/es/channel/internal.mjs.map +0 -1
- package/es/contract/Contract.mjs +0 -540
- package/es/contract/Contract.mjs.map +0 -1
- package/es/contract/compiler/Base.mjs +0 -5
- package/es/contract/compiler/Base.mjs.map +0 -1
- package/es/contract/compiler/Cli.mjs +0 -197
- package/es/contract/compiler/Cli.mjs.map +0 -1
- package/es/contract/compiler/Cli8.d.ts +0 -13
- package/es/contract/compiler/Cli8.mjs +0 -22
- package/es/contract/compiler/Cli8.mjs.map +0 -1
- package/es/contract/compiler/Http.mjs +0 -126
- package/es/contract/compiler/Http.mjs.map +0 -1
- package/es/contract/compiler/HttpNode.mjs +0 -31
- package/es/contract/compiler/HttpNode.mjs.map +0 -1
- package/es/contract/compiler/getFileSystem.mjs +0 -40
- package/es/contract/compiler/getFileSystem.mjs.map +0 -1
- package/es/contract/delegation-signature.d.ts +0 -45
- package/es/contract/delegation-signature.mjs +0 -80
- package/es/contract/delegation-signature.mjs.map +0 -1
- package/es/contract/ga.mjs +0 -135
- package/es/contract/ga.mjs.map +0 -1
- package/es/deprecated.d.ts +0 -62
- package/es/deprecated.mjs +0 -87
- package/es/deprecated.mjs.map +0 -1
- package/es/index-browser.mjs +0 -49
- package/es/index-browser.mjs.map +0 -1
- package/es/index.mjs +0 -6
- package/es/index.mjs.map +0 -1
- package/es/oracle.d.ts +0 -125
- package/es/oracle.mjs +0 -242
- package/es/oracle.mjs.map +0 -1
- package/es/send-transaction.mjs +0 -109
- package/es/send-transaction.mjs.map +0 -1
- package/es/spend.mjs +0 -90
- package/es/spend.mjs.map +0 -1
- package/es/tx/builder/SchemaTypes.mjs +0 -2
- package/es/tx/builder/SchemaTypes.mjs.map +0 -1
- package/es/tx/builder/common.mjs +0 -42
- package/es/tx/builder/common.mjs.map +0 -1
- package/es/tx/builder/constants.mjs +0 -147
- package/es/tx/builder/constants.mjs.map +0 -1
- package/es/tx/builder/delegation/index.mjs +0 -24
- package/es/tx/builder/delegation/index.mjs.map +0 -1
- package/es/tx/builder/delegation/schema.generated.mjs +0 -2
- package/es/tx/builder/delegation/schema.generated.mjs.map +0 -1
- package/es/tx/builder/delegation/schema.mjs +0 -54
- package/es/tx/builder/delegation/schema.mjs.map +0 -1
- package/es/tx/builder/field-types/abi-version.mjs +0 -37
- package/es/tx/builder/field-types/abi-version.mjs.map +0 -1
- package/es/tx/builder/field-types/address.mjs +0 -48
- package/es/tx/builder/field-types/address.mjs.map +0 -1
- package/es/tx/builder/field-types/array.mjs +0 -11
- package/es/tx/builder/field-types/array.mjs.map +0 -1
- package/es/tx/builder/field-types/boolean.mjs +0 -13
- package/es/tx/builder/field-types/boolean.mjs.map +0 -1
- package/es/tx/builder/field-types/coin-amount.mjs +0 -18
- package/es/tx/builder/field-types/coin-amount.mjs.map +0 -1
- package/es/tx/builder/field-types/ct-version.mjs +0 -75
- package/es/tx/builder/field-types/ct-version.mjs.map +0 -1
- package/es/tx/builder/field-types/encoded.mjs +0 -21
- package/es/tx/builder/field-types/encoded.mjs.map +0 -1
- package/es/tx/builder/field-types/entry.mjs +0 -29
- package/es/tx/builder/field-types/entry.mjs.map +0 -1
- package/es/tx/builder/field-types/enumeration.mjs +0 -30
- package/es/tx/builder/field-types/enumeration.mjs.map +0 -1
- package/es/tx/builder/field-types/fee.mjs +0 -160
- package/es/tx/builder/field-types/fee.mjs.map +0 -1
- package/es/tx/builder/field-types/field.mjs +0 -13
- package/es/tx/builder/field-types/field.mjs.map +0 -1
- package/es/tx/builder/field-types/gas-limit.mjs +0 -31
- package/es/tx/builder/field-types/gas-limit.mjs.map +0 -1
- package/es/tx/builder/field-types/gas-price.mjs +0 -60
- package/es/tx/builder/field-types/gas-price.mjs.map +0 -1
- package/es/tx/builder/field-types/index.d.ts +0 -39
- package/es/tx/builder/field-types/index.mjs +0 -32
- package/es/tx/builder/field-types/index.mjs.map +0 -1
- package/es/tx/builder/field-types/map.mjs +0 -38
- package/es/tx/builder/field-types/map.mjs.map +0 -1
- package/es/tx/builder/field-types/mptree.mjs +0 -251
- package/es/tx/builder/field-types/mptree.mjs.map +0 -1
- package/es/tx/builder/field-types/name-fee.mjs +0 -22
- package/es/tx/builder/field-types/name-fee.mjs.map +0 -1
- package/es/tx/builder/field-types/name-id.mjs +0 -14
- package/es/tx/builder/field-types/name-id.mjs.map +0 -1
- package/es/tx/builder/field-types/name.mjs +0 -16
- package/es/tx/builder/field-types/name.mjs.map +0 -1
- package/es/tx/builder/field-types/nonce.mjs +0 -31
- package/es/tx/builder/field-types/nonce.mjs.map +0 -1
- package/es/tx/builder/field-types/pointers.mjs +0 -33
- package/es/tx/builder/field-types/pointers.mjs.map +0 -1
- package/es/tx/builder/field-types/pointers2.d.ts +0 -23
- package/es/tx/builder/field-types/pointers2.mjs +0 -65
- package/es/tx/builder/field-types/pointers2.mjs.map +0 -1
- package/es/tx/builder/field-types/query-fee.mjs +0 -20
- package/es/tx/builder/field-types/query-fee.mjs.map +0 -1
- package/es/tx/builder/field-types/raw.mjs +0 -13
- package/es/tx/builder/field-types/raw.mjs.map +0 -1
- package/es/tx/builder/field-types/short-u-int-const.mjs +0 -20
- package/es/tx/builder/field-types/short-u-int-const.mjs.map +0 -1
- package/es/tx/builder/field-types/short-u-int.mjs +0 -10
- package/es/tx/builder/field-types/short-u-int.mjs.map +0 -1
- package/es/tx/builder/field-types/string.mjs +0 -10
- package/es/tx/builder/field-types/string.mjs.map +0 -1
- package/es/tx/builder/field-types/ttl.mjs +0 -32
- package/es/tx/builder/field-types/ttl.mjs.map +0 -1
- package/es/tx/builder/field-types/u-int.mjs +0 -13
- package/es/tx/builder/field-types/u-int.mjs.map +0 -1
- package/es/tx/builder/field-types/with-default.mjs +0 -9
- package/es/tx/builder/field-types/with-default.mjs.map +0 -1
- package/es/tx/builder/field-types/with-formatting.mjs +0 -9
- package/es/tx/builder/field-types/with-formatting.mjs.map +0 -1
- package/es/tx/builder/field-types/wrapped.mjs +0 -20
- package/es/tx/builder/field-types/wrapped.mjs.map +0 -1
- package/es/tx/builder/helpers.mjs +0 -200
- package/es/tx/builder/helpers.mjs.map +0 -1
- package/es/tx/builder/index.mjs +0 -98
- package/es/tx/builder/index.mjs.map +0 -1
- package/es/tx/builder/schema.generated.mjs +0 -2
- package/es/tx/builder/schema.generated.mjs.map +0 -1
- package/es/tx/builder/schema.mjs +0 -513
- package/es/tx/builder/schema.mjs.map +0 -1
- package/es/tx/execution-cost.mjs +0 -139
- package/es/tx/execution-cost.mjs.map +0 -1
- package/es/tx/transaction-signer.mjs +0 -24
- package/es/tx/transaction-signer.mjs.map +0 -1
- package/es/tx/validator.mjs +0 -214
- package/es/tx/validator.mjs.map +0 -1
- package/es/typings/@aeternity__uuid/index.d.mjs +0 -2
- package/es/typings/@aeternity__uuid/index.d.mjs.map +0 -1
- package/es/typings/bip32-path/index.d.mjs +0 -2
- package/es/typings/bip32-path/index.d.mjs.map +0 -1
- package/es/typings/blakejs/index.d.mjs +0 -2
- package/es/typings/blakejs/index.d.mjs.map +0 -1
- package/es/typings/sha-js/index.d.mjs +0 -2
- package/es/typings/sha-js/index.d.mjs.map +0 -1
- package/es/typings/tweetnacl-auth/index.d.mjs +0 -2
- package/es/typings/tweetnacl-auth/index.d.mjs.map +0 -1
- package/es/utils/amount-formatter.mjs +0 -97
- package/es/utils/amount-formatter.mjs.map +0 -1
- package/es/utils/autorest.mjs +0 -141
- package/es/utils/autorest.mjs.map +0 -1
- package/es/utils/bignumber.mjs +0 -21
- package/es/utils/bignumber.mjs.map +0 -1
- package/es/utils/bytes.mjs +0 -32
- package/es/utils/bytes.mjs.map +0 -1
- package/es/utils/crypto.mjs +0 -193
- package/es/utils/crypto.mjs.map +0 -1
- package/es/utils/encoder-types.mjs +0 -35
- package/es/utils/encoder-types.mjs.map +0 -1
- package/es/utils/encoder.mjs +0 -110
- package/es/utils/encoder.mjs.map +0 -1
- package/es/utils/errors.mjs +0 -756
- package/es/utils/errors.mjs.map +0 -1
- package/es/utils/hd-wallet.d.ts +0 -60
- package/es/utils/hd-wallet.mjs +0 -169
- package/es/utils/hd-wallet.mjs.map +0 -1
- package/es/utils/json-big.mjs +0 -25
- package/es/utils/json-big.mjs.map +0 -1
- package/es/utils/jwt.mjs +0 -120
- package/es/utils/jwt.mjs.map +0 -1
- package/es/utils/keystore.d.ts +0 -57
- package/es/utils/keystore.mjs +0 -140
- package/es/utils/keystore.mjs.map +0 -1
- package/es/utils/other.mjs +0 -49
- package/es/utils/other.mjs.map +0 -1
- package/es/utils/semver-satisfies.mjs +0 -12
- package/es/utils/semver-satisfies.mjs.map +0 -1
- package/es/utils/string.mjs +0 -18
- package/es/utils/string.mjs.map +0 -1
- package/es/utils/typed-data.mjs +0 -55
- package/es/utils/typed-data.mjs.map +0 -1
- package/es/utils/wrap-proxy.mjs +0 -15
- package/es/utils/wrap-proxy.mjs.map +0 -1
- package/src/AeSdk.ts +0 -75
- package/src/AeSdkAepp.ts +0 -179
- package/src/AeSdkBase.ts +0 -315
- package/src/AeSdkMethods.ts +0 -149
- package/src/AeSdkWallet.ts +0 -382
- package/src/Middleware.ts +0 -149
- package/src/MiddlewareSubscriber.ts +0 -207
- package/src/Node.ts +0 -213
- package/src/account/Base.ts +0 -224
- package/src/account/Generalized.ts +0 -113
- package/src/account/Ledger.ts +0 -161
- package/src/account/LedgerFactory.ts +0 -86
- package/src/account/Memory.ts +0 -218
- package/src/account/Rpc.ts +0 -170
- package/src/aens.ts +0 -372
- package/src/aepp-wallet-communication/connection/Browser.ts +0 -54
- package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +0 -57
- package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +0 -105
- package/src/aepp-wallet-communication/connection-proxy.ts +0 -19
- package/src/aepp-wallet-communication/rpc/RpcClient.ts +0 -153
- package/src/aepp-wallet-communication/rpc/types.ts +0 -115
- package/src/aepp-wallet-communication/schema.ts +0 -212
- package/src/aepp-wallet-communication/wallet-detector.ts +0 -54
- package/src/apis/compiler/compiler.ts +0 -527
- package/src/apis/compiler/index.ts +0 -2
- package/src/apis/compiler/models/index.ts +0 -236
- package/src/apis/compiler/models/mappers.ts +0 -555
- package/src/apis/compiler/models/parameters.ts +0 -87
- package/src/apis/middleware/index.ts +0 -2
- package/src/apis/middleware/middleware.ts +0 -1928
- package/src/apis/middleware/models/index.ts +0 -1949
- package/src/apis/middleware/models/mappers.ts +0 -3808
- package/src/apis/middleware/models/parameters.ts +0 -493
- package/src/apis/node/index.ts +0 -2
- package/src/apis/node/models/index.ts +0 -1335
- package/src/apis/node/models/mappers.ts +0 -4508
- package/src/apis/node/models/parameters.ts +0 -188
- package/src/apis/node/node.ts +0 -1420
- package/src/chain.ts +0 -433
- package/src/channel/Base.ts +0 -302
- package/src/channel/Contract.ts +0 -465
- package/src/channel/Spend.ts +0 -385
- package/src/channel/handlers.ts +0 -386
- package/src/channel/internal.ts +0 -454
- package/src/contract/Contract.ts +0 -629
- package/src/contract/compiler/Base.ts +0 -123
- package/src/contract/compiler/Cli.ts +0 -173
- package/src/contract/compiler/Cli8.ts +0 -17
- package/src/contract/compiler/Http.ts +0 -134
- package/src/contract/compiler/HttpNode.ts +0 -32
- package/src/contract/compiler/getFileSystem.ts +0 -42
- package/src/contract/delegation-signature.ts +0 -88
- package/src/contract/ga.ts +0 -138
- package/src/deprecated.ts +0 -77
- package/src/index-browser.ts +0 -121
- package/src/index.ts +0 -6
- package/src/oracle.ts +0 -311
- package/src/send-transaction.ts +0 -136
- package/src/spend.ts +0 -136
- package/src/tx/builder/SchemaTypes.ts +0 -79
- package/src/tx/builder/common.ts +0 -74
- package/src/tx/builder/constants.ts +0 -155
- package/src/tx/builder/delegation/index.ts +0 -28
- package/src/tx/builder/delegation/schema.generated.ts +0 -143
- package/src/tx/builder/delegation/schema.ts +0 -61
- package/src/tx/builder/field-types/abi-version.ts +0 -44
- package/src/tx/builder/field-types/address.ts +0 -62
- package/src/tx/builder/field-types/array.ts +0 -19
- package/src/tx/builder/field-types/boolean.ts +0 -9
- package/src/tx/builder/field-types/coin-amount.ts +0 -26
- package/src/tx/builder/field-types/ct-version.ts +0 -83
- package/src/tx/builder/field-types/encoded.ts +0 -27
- package/src/tx/builder/field-types/entry.ts +0 -33
- package/src/tx/builder/field-types/enumeration.ts +0 -32
- package/src/tx/builder/field-types/fee.ts +0 -191
- package/src/tx/builder/field-types/field.ts +0 -9
- package/src/tx/builder/field-types/gas-limit.ts +0 -46
- package/src/tx/builder/field-types/gas-price.ts +0 -67
- package/src/tx/builder/field-types/index.ts +0 -40
- package/src/tx/builder/field-types/map.ts +0 -45
- package/src/tx/builder/field-types/mptree.ts +0 -243
- package/src/tx/builder/field-types/name-fee.ts +0 -32
- package/src/tx/builder/field-types/name-id.ts +0 -17
- package/src/tx/builder/field-types/name.ts +0 -18
- package/src/tx/builder/field-types/nonce.ts +0 -46
- package/src/tx/builder/field-types/pointers.ts +0 -41
- package/src/tx/builder/field-types/pointers2.ts +0 -62
- package/src/tx/builder/field-types/query-fee.ts +0 -25
- package/src/tx/builder/field-types/raw.ts +0 -9
- package/src/tx/builder/field-types/short-u-int-const.ts +0 -30
- package/src/tx/builder/field-types/short-u-int.ts +0 -11
- package/src/tx/builder/field-types/string.ts +0 -11
- package/src/tx/builder/field-types/ttl.ts +0 -34
- package/src/tx/builder/field-types/u-int.ts +0 -15
- package/src/tx/builder/field-types/with-default.ts +0 -18
- package/src/tx/builder/field-types/with-formatting.ts +0 -18
- package/src/tx/builder/field-types/wrapped.ts +0 -32
- package/src/tx/builder/helpers.ts +0 -243
- package/src/tx/builder/index.ts +0 -123
- package/src/tx/builder/schema.generated.ts +0 -2049
- package/src/tx/builder/schema.ts +0 -612
- package/src/tx/execution-cost.ts +0 -164
- package/src/tx/transaction-signer.ts +0 -27
- package/src/tx/validator.ts +0 -222
- package/src/typings/@aeternity__uuid/index.d.ts +0 -5
- package/src/typings/bip32-path/index.d.ts +0 -33
- package/src/typings/blakejs/index.d.ts +0 -5
- package/src/typings/sha-js/index.d.ts +0 -5
- package/src/typings/tweetnacl-auth/index.d.ts +0 -14
- package/src/utils/amount-formatter.ts +0 -98
- package/src/utils/autorest.ts +0 -153
- package/src/utils/bignumber.ts +0 -21
- package/src/utils/bytes.ts +0 -28
- package/src/utils/crypto.ts +0 -216
- package/src/utils/encoder-types.ts +0 -63
- package/src/utils/encoder.ts +0 -145
- package/src/utils/errors.ts +0 -777
- package/src/utils/hd-wallet.ts +0 -189
- package/src/utils/json-big.ts +0 -27
- package/src/utils/jwt.ts +0 -126
- package/src/utils/keystore.ts +0 -189
- package/src/utils/other.ts +0 -64
- package/src/utils/semver-satisfies.ts +0 -22
- package/src/utils/string.ts +0 -17
- package/src/utils/typed-data.ts +0 -69
- package/src/utils/wrap-proxy.ts +0 -24
- package/types-legacy/ts4.2/AeSdk.d.ts +0 -44
- package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -71
- package/types-legacy/ts4.2/AeSdkBase.d.ts +0 -164
- package/types-legacy/ts4.2/AeSdkMethods.d.ts +0 -146
- package/types-legacy/ts4.2/AeSdkWallet.d.ts +0 -90
- package/types-legacy/ts4.2/Middleware.d.ts +0 -46
- package/types-legacy/ts4.2/MiddlewareSubscriber.d.ts +0 -30
- package/types-legacy/ts4.2/Node.d.ts +0 -95
- package/types-legacy/ts4.2/account/Base.d.ts +0 -147
- package/types-legacy/ts4.2/account/Generalized.d.ts +0 -22
- package/types-legacy/ts4.2/account/Ledger.d.ts +0 -34
- package/types-legacy/ts4.2/account/LedgerFactory.d.ts +0 -39
- package/types-legacy/ts4.2/account/Memory.d.ts +0 -46
- package/types-legacy/ts4.2/account/Rpc.d.ts +0 -35
- package/types-legacy/ts4.2/aens.d.ts +0 -193
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/Browser.d.ts +0 -33
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
- package/types-legacy/ts4.2/aepp-wallet-communication/connection-proxy.d.ts +0 -11
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +0 -120
- package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +0 -129
- package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +0 -22
- package/types-legacy/ts4.2/apis/compiler/compiler.d.ts +0 -86
- package/types-legacy/ts4.2/apis/compiler/index.d.ts +0 -2
- package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +0 -191
- package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +0 -22
- package/types-legacy/ts4.2/apis/compiler/models/parameters.d.ts +0 -12
- package/types-legacy/ts4.2/apis/middleware/index.d.ts +0 -2
- package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +0 -327
- package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +0 -1645
- package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +0 -109
- package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +0 -46
- package/types-legacy/ts4.2/apis/node/index.d.ts +0 -2
- package/types-legacy/ts4.2/apis/node/models/index.d.ts +0 -1129
- package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +0 -99
- package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +0 -17
- package/types-legacy/ts4.2/apis/node/node.d.ts +0 -236
- package/types-legacy/ts4.2/chain.d.ts +0 -227
- package/types-legacy/ts4.2/channel/Base.d.ts +0 -168
- package/types-legacy/ts4.2/channel/Contract.d.ts +0 -239
- package/types-legacy/ts4.2/channel/Spend.d.ts +0 -213
- package/types-legacy/ts4.2/channel/handlers.d.ts +0 -21
- package/types-legacy/ts4.2/channel/internal.d.ts +0 -226
- package/types-legacy/ts4.2/contract/Contract.d.ts +0 -164
- package/types-legacy/ts4.2/contract/compiler/Base.d.ts +0 -104
- package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +0 -26
- package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +0 -13
- package/types-legacy/ts4.2/contract/compiler/Http.d.ts +0 -28
- package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +0 -15
- package/types-legacy/ts4.2/contract/compiler/getFileSystem.d.ts +0 -6
- package/types-legacy/ts4.2/contract/delegation-signature.d.ts +0 -45
- package/types-legacy/ts4.2/contract/ga.d.ts +0 -59
- package/types-legacy/ts4.2/deprecated.d.ts +0 -62
- package/types-legacy/ts4.2/globals.d.ts +0 -16
- package/types-legacy/ts4.2/index-browser.d.ts +0 -51
- package/types-legacy/ts4.2/index.d.ts +0 -6
- package/types-legacy/ts4.2/oracle.d.ts +0 -125
- package/types-legacy/ts4.2/send-transaction.d.ts +0 -53
- package/types-legacy/ts4.2/spend.d.ts +0 -56
- package/types-legacy/ts4.2/tx/builder/SchemaTypes.d.ts +0 -37
- package/types-legacy/ts4.2/tx/builder/common.d.ts +0 -32
- package/types-legacy/ts4.2/tx/builder/constants.d.ts +0 -100
- package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +0 -20
- package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +0 -136
- package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +0 -141
- package/types-legacy/ts4.2/tx/builder/field-types/abi-version.d.ts +0 -19
- package/types-legacy/ts4.2/tx/builder/field-types/address.d.ts +0 -21
- package/types-legacy/ts4.2/tx/builder/field-types/array.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/boolean.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +0 -11
- package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +0 -72
- package/types-legacy/ts4.2/tx/builder/field-types/encoded.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/entry.d.ts +0 -11
- package/types-legacy/ts4.2/tx/builder/field-types/enumeration.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +0 -30
- package/types-legacy/ts4.2/tx/builder/field-types/field.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/gas-limit.d.ts +0 -16
- package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +0 -17
- package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +0 -45
- package/types-legacy/ts4.2/tx/builder/field-types/map.d.ts +0 -13
- package/types-legacy/ts4.2/tx/builder/field-types/mptree.d.ts +0 -48
- package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +0 -18
- package/types-legacy/ts4.2/tx/builder/field-types/name-id.d.ts +0 -11
- package/types-legacy/ts4.2/tx/builder/field-types/name.d.ts +0 -13
- package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +0 -15
- package/types-legacy/ts4.2/tx/builder/field-types/pointers.d.ts +0 -26
- package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +0 -26
- package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +0 -19
- package/types-legacy/ts4.2/tx/builder/field-types/raw.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/short-u-int-const.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/short-u-int.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/string.d.ts +0 -6
- package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +0 -20
- package/types-legacy/ts4.2/tx/builder/field-types/u-int.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +0 -7
- package/types-legacy/ts4.2/tx/builder/field-types/wrapped.d.ts +0 -14
- package/types-legacy/ts4.2/tx/builder/helpers.d.ts +0 -119
- package/types-legacy/ts4.2/tx/builder/index.d.ts +0 -62
- package/types-legacy/ts4.2/tx/builder/schema.d.ts +0 -3256
- package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +0 -2047
- package/types-legacy/ts4.2/tx/execution-cost.d.ts +0 -53
- package/types-legacy/ts4.2/tx/transaction-signer.d.ts +0 -6
- package/types-legacy/ts4.2/tx/validator.d.ts +0 -18
- package/types-legacy/ts4.2/utils/amount-formatter.d.ts +0 -41
- package/types-legacy/ts4.2/utils/autorest.d.ts +0 -7
- package/types-legacy/ts4.2/utils/bignumber.d.ts +0 -13
- package/types-legacy/ts4.2/utils/bytes.d.ts +0 -9
- package/types-legacy/ts4.2/utils/crypto.d.ts +0 -100
- package/types-legacy/ts4.2/utils/encoder-types.d.ts +0 -61
- package/types-legacy/ts4.2/utils/encoder.d.ts +0 -24
- package/types-legacy/ts4.2/utils/errors.d.ts +0 -464
- package/types-legacy/ts4.2/utils/hd-wallet.d.ts +0 -67
- package/types-legacy/ts4.2/utils/json-big.d.ts +0 -5
- package/types-legacy/ts4.2/utils/jwt.d.ts +0 -53
- package/types-legacy/ts4.2/utils/keystore.d.ts +0 -57
- package/types-legacy/ts4.2/utils/other.d.ts +0 -32
- package/types-legacy/ts4.2/utils/semver-satisfies.d.ts +0 -1
- package/types-legacy/ts4.2/utils/string.d.ts +0 -12
- package/types-legacy/ts4.2/utils/typed-data.d.ts +0 -58
- package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +0 -2
- package/types-legacy/ts4.5/AeSdk.d.ts +0 -44
- package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -71
- package/types-legacy/ts4.5/AeSdkBase.d.ts +0 -164
- package/types-legacy/ts4.5/AeSdkMethods.d.ts +0 -146
- package/types-legacy/ts4.5/AeSdkWallet.d.ts +0 -90
- package/types-legacy/ts4.5/Middleware.d.ts +0 -46
- package/types-legacy/ts4.5/MiddlewareSubscriber.d.ts +0 -30
- package/types-legacy/ts4.5/Node.d.ts +0 -95
- package/types-legacy/ts4.5/account/Base.d.ts +0 -147
- package/types-legacy/ts4.5/account/Generalized.d.ts +0 -22
- package/types-legacy/ts4.5/account/Ledger.d.ts +0 -34
- package/types-legacy/ts4.5/account/LedgerFactory.d.ts +0 -39
- package/types-legacy/ts4.5/account/Memory.d.ts +0 -46
- package/types-legacy/ts4.5/account/Rpc.d.ts +0 -35
- package/types-legacy/ts4.5/aens.d.ts +0 -193
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/Browser.d.ts +0 -33
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
- package/types-legacy/ts4.5/aepp-wallet-communication/connection-proxy.d.ts +0 -11
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +0 -120
- package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +0 -129
- package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +0 -22
- package/types-legacy/ts4.5/apis/compiler/compiler.d.ts +0 -86
- package/types-legacy/ts4.5/apis/compiler/index.d.ts +0 -2
- package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +0 -191
- package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +0 -22
- package/types-legacy/ts4.5/apis/compiler/models/parameters.d.ts +0 -12
- package/types-legacy/ts4.5/apis/middleware/index.d.ts +0 -2
- package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +0 -327
- package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +0 -1645
- package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +0 -109
- package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +0 -46
- package/types-legacy/ts4.5/apis/node/index.d.ts +0 -2
- package/types-legacy/ts4.5/apis/node/models/index.d.ts +0 -1129
- package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +0 -99
- package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +0 -17
- package/types-legacy/ts4.5/apis/node/node.d.ts +0 -236
- package/types-legacy/ts4.5/chain.d.ts +0 -227
- package/types-legacy/ts4.5/channel/Base.d.ts +0 -168
- package/types-legacy/ts4.5/channel/Contract.d.ts +0 -239
- package/types-legacy/ts4.5/channel/Spend.d.ts +0 -213
- package/types-legacy/ts4.5/channel/handlers.d.ts +0 -21
- package/types-legacy/ts4.5/channel/internal.d.ts +0 -226
- package/types-legacy/ts4.5/contract/Contract.d.ts +0 -164
- package/types-legacy/ts4.5/contract/compiler/Base.d.ts +0 -104
- package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +0 -26
- package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +0 -13
- package/types-legacy/ts4.5/contract/compiler/Http.d.ts +0 -28
- package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +0 -15
- package/types-legacy/ts4.5/contract/compiler/getFileSystem.d.ts +0 -6
- package/types-legacy/ts4.5/contract/delegation-signature.d.ts +0 -45
- package/types-legacy/ts4.5/contract/ga.d.ts +0 -59
- package/types-legacy/ts4.5/deprecated.d.ts +0 -62
- package/types-legacy/ts4.5/index-browser.d.ts +0 -51
- package/types-legacy/ts4.5/index.d.ts +0 -5
- package/types-legacy/ts4.5/oracle.d.ts +0 -125
- package/types-legacy/ts4.5/send-transaction.d.ts +0 -53
- package/types-legacy/ts4.5/spend.d.ts +0 -56
- package/types-legacy/ts4.5/tx/builder/SchemaTypes.d.ts +0 -37
- package/types-legacy/ts4.5/tx/builder/common.d.ts +0 -32
- package/types-legacy/ts4.5/tx/builder/constants.d.ts +0 -100
- package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +0 -20
- package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +0 -136
- package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +0 -141
- package/types-legacy/ts4.5/tx/builder/field-types/abi-version.d.ts +0 -19
- package/types-legacy/ts4.5/tx/builder/field-types/address.d.ts +0 -21
- package/types-legacy/ts4.5/tx/builder/field-types/array.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/boolean.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +0 -11
- package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +0 -72
- package/types-legacy/ts4.5/tx/builder/field-types/encoded.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/entry.d.ts +0 -11
- package/types-legacy/ts4.5/tx/builder/field-types/enumeration.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +0 -30
- package/types-legacy/ts4.5/tx/builder/field-types/field.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/gas-limit.d.ts +0 -16
- package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +0 -17
- package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +0 -45
- package/types-legacy/ts4.5/tx/builder/field-types/map.d.ts +0 -13
- package/types-legacy/ts4.5/tx/builder/field-types/mptree.d.ts +0 -48
- package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +0 -18
- package/types-legacy/ts4.5/tx/builder/field-types/name-id.d.ts +0 -11
- package/types-legacy/ts4.5/tx/builder/field-types/name.d.ts +0 -13
- package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +0 -15
- package/types-legacy/ts4.5/tx/builder/field-types/pointers.d.ts +0 -26
- package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +0 -26
- package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +0 -19
- package/types-legacy/ts4.5/tx/builder/field-types/raw.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/short-u-int-const.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/short-u-int.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/string.d.ts +0 -6
- package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +0 -20
- package/types-legacy/ts4.5/tx/builder/field-types/u-int.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +0 -7
- package/types-legacy/ts4.5/tx/builder/field-types/wrapped.d.ts +0 -14
- package/types-legacy/ts4.5/tx/builder/helpers.d.ts +0 -119
- package/types-legacy/ts4.5/tx/builder/index.d.ts +0 -62
- package/types-legacy/ts4.5/tx/builder/schema.d.ts +0 -3256
- package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +0 -2047
- package/types-legacy/ts4.5/tx/execution-cost.d.ts +0 -53
- package/types-legacy/ts4.5/tx/transaction-signer.d.ts +0 -6
- package/types-legacy/ts4.5/tx/validator.d.ts +0 -18
- package/types-legacy/ts4.5/utils/amount-formatter.d.ts +0 -41
- package/types-legacy/ts4.5/utils/autorest.d.ts +0 -7
- package/types-legacy/ts4.5/utils/bignumber.d.ts +0 -13
- package/types-legacy/ts4.5/utils/bytes.d.ts +0 -9
- package/types-legacy/ts4.5/utils/crypto.d.ts +0 -100
- package/types-legacy/ts4.5/utils/encoder-types.d.ts +0 -61
- package/types-legacy/ts4.5/utils/encoder.d.ts +0 -24
- package/types-legacy/ts4.5/utils/errors.d.ts +0 -464
- package/types-legacy/ts4.5/utils/hd-wallet.d.ts +0 -67
- package/types-legacy/ts4.5/utils/json-big.d.ts +0 -5
- package/types-legacy/ts4.5/utils/jwt.d.ts +0 -53
- package/types-legacy/ts4.5/utils/keystore.d.ts +0 -57
- package/types-legacy/ts4.5/utils/other.d.ts +0 -32
- package/types-legacy/ts4.5/utils/semver-satisfies.d.ts +0 -1
- package/types-legacy/ts4.5/utils/string.d.ts +0 -12
- package/types-legacy/ts4.5/utils/typed-data.d.ts +0 -58
- package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +0 -2
- /package/dist/{aepp-sdk.browser.js.LICENSE.txt → aepp-sdk.browser.cjs.LICENSE.txt} +0 -0
|
@@ -1,163 +1,43 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Transaction Schema for TxBuilder
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { Encoded } from '../../utils/encoder';
|
|
4
|
+
import { Tag } from './constants.js';
|
|
5
|
+
import SchemaTypes from './SchemaTypes.js';
|
|
6
|
+
import coinAmount from './field-types/coin-amount.js';
|
|
7
|
+
import { Encoded, Encoding } from '../../utils/encoder.js';
|
|
8
|
+
import { EntryTag } from './entry/constants.js';
|
|
9
|
+
import { EntParams, EntUnpacked } from './entry/schema.generated.js';
|
|
8
10
|
export declare enum ORACLE_TTL_TYPES {
|
|
9
11
|
delta = 0,
|
|
10
12
|
block = 1
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
Ok = 0,
|
|
14
|
-
Error = 1,
|
|
15
|
-
Revert = 2
|
|
16
|
-
}
|
|
17
|
-
interface EntryAny {
|
|
14
|
+
interface TransactionAny {
|
|
18
15
|
serialize: (value: TxParams | Uint8Array | Encoded.Transaction) => Buffer;
|
|
19
16
|
deserialize: (value: Buffer) => TxUnpacked;
|
|
20
17
|
recursiveType: true;
|
|
21
18
|
}
|
|
22
|
-
interface
|
|
23
|
-
serialize: (value: TxParams & {
|
|
19
|
+
interface TransactionSignedTx {
|
|
20
|
+
serialize: (value: (TxParams & {
|
|
24
21
|
tag: Tag.SignedTx;
|
|
25
|
-
} | Uint8Array | Encoded.Transaction) => Buffer;
|
|
22
|
+
}) | Uint8Array | Encoded.Transaction) => Buffer;
|
|
26
23
|
deserialize: (value: Buffer) => TxUnpacked & {
|
|
27
24
|
tag: Tag.SignedTx;
|
|
28
25
|
};
|
|
29
26
|
recursiveType: true;
|
|
30
27
|
}
|
|
31
|
-
interface EntryMtreeValueArray {
|
|
32
|
-
serialize: (value: Array<TxParams & {
|
|
33
|
-
tag: Tag.MtreeValue;
|
|
34
|
-
} | Uint8Array | Encoded.Transaction>) => Buffer[];
|
|
35
|
-
deserialize: (value: Buffer[]) => Array<TxUnpacked & {
|
|
36
|
-
tag: Tag.MtreeValue;
|
|
37
|
-
}>;
|
|
38
|
-
recursiveType: true;
|
|
39
|
-
}
|
|
40
28
|
interface EntryTreesPoi {
|
|
41
|
-
serialize: (value:
|
|
42
|
-
tag:
|
|
43
|
-
} | Uint8Array | Encoded.Transaction) => Buffer;
|
|
44
|
-
deserialize: (value: Buffer) =>
|
|
45
|
-
tag:
|
|
29
|
+
serialize: (value: (EntParams & {
|
|
30
|
+
tag: EntryTag.TreesPoi;
|
|
31
|
+
}) | Uint8Array | Encoded.Transaction) => Buffer;
|
|
32
|
+
deserialize: (value: Buffer) => EntUnpacked & {
|
|
33
|
+
tag: EntryTag.TreesPoi;
|
|
46
34
|
};
|
|
47
35
|
recursiveType: true;
|
|
48
36
|
}
|
|
49
|
-
interface MapContracts {
|
|
50
|
-
serialize: (value: Record<Encoded.ContractAddress, TxParams & {
|
|
51
|
-
tag: Tag.Contract;
|
|
52
|
-
}>) => Buffer;
|
|
53
|
-
deserialize: (value: Buffer) => Record<Encoded.ContractAddress, TxUnpacked & {
|
|
54
|
-
tag: Tag.Contract;
|
|
55
|
-
}>;
|
|
56
|
-
recursiveType: true;
|
|
57
|
-
}
|
|
58
|
-
interface MapAccounts {
|
|
59
|
-
serialize: (value: Record<Encoded.AccountAddress, TxParams & {
|
|
60
|
-
tag: Tag.Account;
|
|
61
|
-
}>) => Buffer;
|
|
62
|
-
deserialize: (value: Buffer) => Record<Encoded.AccountAddress, TxUnpacked & {
|
|
63
|
-
tag: Tag.Account;
|
|
64
|
-
}>;
|
|
65
|
-
recursiveType: true;
|
|
66
|
-
}
|
|
67
|
-
interface MapCalls {
|
|
68
|
-
serialize: (value: Record<Encoded.Bytearray, TxParams & {
|
|
69
|
-
tag: Tag.ContractCall;
|
|
70
|
-
}>) => Buffer;
|
|
71
|
-
deserialize: (value: Buffer) => Record<Encoded.Bytearray, TxUnpacked & {
|
|
72
|
-
tag: Tag.ContractCall;
|
|
73
|
-
}>;
|
|
74
|
-
recursiveType: true;
|
|
75
|
-
}
|
|
76
|
-
interface MapChannels {
|
|
77
|
-
serialize: (value: Record<Encoded.Channel, TxParams & {
|
|
78
|
-
tag: Tag.Channel;
|
|
79
|
-
}>) => Buffer;
|
|
80
|
-
deserialize: (value: Buffer) => Record<Encoded.Channel, TxUnpacked & {
|
|
81
|
-
tag: Tag.Channel;
|
|
82
|
-
}>;
|
|
83
|
-
recursiveType: true;
|
|
84
|
-
}
|
|
85
|
-
interface MapNames {
|
|
86
|
-
serialize: (value: Record<Encoded.Name, TxParams & {
|
|
87
|
-
tag: Tag.Name;
|
|
88
|
-
}>) => Buffer;
|
|
89
|
-
deserialize: (value: Buffer) => Record<Encoded.Name, TxUnpacked & {
|
|
90
|
-
tag: Tag.Name;
|
|
91
|
-
}>;
|
|
92
|
-
recursiveType: true;
|
|
93
|
-
}
|
|
94
|
-
interface MapOracles {
|
|
95
|
-
serialize: (value: Record<Encoded.OracleAddress, TxParams & {
|
|
96
|
-
tag: Tag.Oracle;
|
|
97
|
-
}>) => Buffer;
|
|
98
|
-
deserialize: (value: Buffer) => Record<Encoded.OracleAddress, TxUnpacked & {
|
|
99
|
-
tag: Tag.Oracle;
|
|
100
|
-
}>;
|
|
101
|
-
recursiveType: true;
|
|
102
|
-
}
|
|
103
37
|
/**
|
|
104
38
|
* @see {@link https://github.com/aeternity/protocol/blob/c007deeac4a01e401238412801ac7084ac72d60e/serializations.md#accounts-version-1-basic-accounts}
|
|
105
39
|
*/
|
|
106
40
|
export declare const txSchema: readonly [{
|
|
107
|
-
readonly tag: {
|
|
108
|
-
serialize: (value: Tag.Account) => Buffer;
|
|
109
|
-
deserialize: (value: Buffer) => Tag.Account;
|
|
110
|
-
constValue: Tag.Account;
|
|
111
|
-
constValueOptional: boolean;
|
|
112
|
-
};
|
|
113
|
-
readonly version: {
|
|
114
|
-
serialize: (value: 1) => Buffer;
|
|
115
|
-
deserialize: (value: Buffer) => 1;
|
|
116
|
-
constValue: 1;
|
|
117
|
-
constValueOptional: boolean;
|
|
118
|
-
};
|
|
119
|
-
readonly nonce: {
|
|
120
|
-
serialize(value: number): Buffer;
|
|
121
|
-
deserialize(value: Buffer): number;
|
|
122
|
-
};
|
|
123
|
-
readonly balance: {
|
|
124
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
125
|
-
deserialize(value: Buffer): string;
|
|
126
|
-
};
|
|
127
|
-
}, {
|
|
128
|
-
readonly tag: {
|
|
129
|
-
serialize: (value: Tag.Account) => Buffer;
|
|
130
|
-
deserialize: (value: Buffer) => Tag.Account;
|
|
131
|
-
constValue: Tag.Account;
|
|
132
|
-
constValueOptional: boolean;
|
|
133
|
-
};
|
|
134
|
-
readonly version: {
|
|
135
|
-
serialize: (value?: 2 | undefined) => Buffer;
|
|
136
|
-
deserialize: (value: Buffer) => 2;
|
|
137
|
-
constValue: 2;
|
|
138
|
-
constValueOptional: boolean;
|
|
139
|
-
};
|
|
140
|
-
readonly flags: {
|
|
141
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
142
|
-
deserialize(value: Buffer): string;
|
|
143
|
-
};
|
|
144
|
-
readonly nonce: {
|
|
145
|
-
serialize(value: number): Buffer;
|
|
146
|
-
deserialize(value: Buffer): number;
|
|
147
|
-
};
|
|
148
|
-
readonly balance: {
|
|
149
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
150
|
-
deserialize(value: Buffer): string;
|
|
151
|
-
};
|
|
152
|
-
readonly gaContract: {
|
|
153
|
-
serialize: (value: `ct_${string}` | `nm_${string}`) => Buffer;
|
|
154
|
-
deserialize: (value: Buffer) => `ct_${string}` | `nm_${string}`;
|
|
155
|
-
};
|
|
156
|
-
readonly gaAuthFun: {
|
|
157
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
158
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
159
|
-
};
|
|
160
|
-
}, {
|
|
161
41
|
readonly tag: {
|
|
162
42
|
serialize: (value: Tag.SignedTx) => Buffer;
|
|
163
43
|
deserialize: (value: Buffer) => Tag.SignedTx;
|
|
@@ -174,7 +54,7 @@ export declare const txSchema: readonly [{
|
|
|
174
54
|
serialize: (value: readonly Uint8Array[], params: unknown) => Buffer[];
|
|
175
55
|
deserialize: (value: Buffer[], params: unknown) => Buffer[];
|
|
176
56
|
};
|
|
177
|
-
readonly encodedTx:
|
|
57
|
+
readonly encodedTx: TransactionAny;
|
|
178
58
|
}, {
|
|
179
59
|
readonly tag: {
|
|
180
60
|
serialize: (value: Tag.SpendTx) => Buffer;
|
|
@@ -198,46 +78,42 @@ export declare const txSchema: readonly [{
|
|
|
198
78
|
};
|
|
199
79
|
readonly amount: {
|
|
200
80
|
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
201
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
202
|
-
denomination?: import("
|
|
81
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
82
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
203
83
|
}): Buffer;
|
|
204
84
|
deserialize(value: Buffer): string;
|
|
205
85
|
};
|
|
206
86
|
readonly fee: {
|
|
207
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
208
|
-
onNode?: import("
|
|
209
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
210
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
211
|
-
_canIncreaseFee?: boolean
|
|
87
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
88
|
+
onNode?: import("../../Node.js").default;
|
|
89
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
90
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
91
|
+
_canIncreaseFee?: boolean;
|
|
212
92
|
}): string;
|
|
213
|
-
serialize(value:
|
|
214
|
-
_canIncreaseFee?: boolean
|
|
215
|
-
} &
|
|
216
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
217
|
-
}): Buffer;
|
|
93
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
94
|
+
_canIncreaseFee?: boolean;
|
|
95
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
218
96
|
deserialize(value: Buffer): string;
|
|
219
97
|
};
|
|
220
98
|
readonly ttl: {
|
|
221
99
|
serialize(value: number | undefined): Buffer;
|
|
222
100
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
223
|
-
onNode?: import("
|
|
224
|
-
absoluteTtl?: boolean
|
|
225
|
-
_isInternalBuild?: boolean
|
|
226
|
-
} & Omit<
|
|
227
|
-
_expectedMineRate?: number | undefined;
|
|
228
|
-
_microBlockCycle?: number | undefined;
|
|
229
|
-
onNode: import("../..").Node;
|
|
230
|
-
}, "onNode">): Promise<number | undefined>;
|
|
101
|
+
onNode?: import("../../Node.js").default;
|
|
102
|
+
absoluteTtl?: boolean;
|
|
103
|
+
_isInternalBuild?: boolean;
|
|
104
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
231
105
|
deserialize(value: Buffer): number;
|
|
232
106
|
};
|
|
233
107
|
readonly nonce: {
|
|
234
|
-
serialize: (value: number
|
|
108
|
+
serialize: (value: number, params: {
|
|
109
|
+
tag: Tag;
|
|
110
|
+
}) => Buffer;
|
|
235
111
|
prepare: (value: number | undefined, params: {}, options: {
|
|
236
112
|
senderId: string;
|
|
237
113
|
} & {
|
|
238
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
239
|
-
onNode?: import("
|
|
240
|
-
_isInternalBuild?: boolean
|
|
114
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
115
|
+
onNode?: import("../../Node.js").default;
|
|
116
|
+
_isInternalBuild?: boolean;
|
|
241
117
|
}) => Promise<number>;
|
|
242
118
|
deserialize: (value: Buffer) => number;
|
|
243
119
|
senderKey: string;
|
|
@@ -246,43 +122,6 @@ export declare const txSchema: readonly [{
|
|
|
246
122
|
serialize: (value?: `ba_${string}` | undefined) => Buffer;
|
|
247
123
|
deserialize: (value: Buffer) => `ba_${string}`;
|
|
248
124
|
};
|
|
249
|
-
}, {
|
|
250
|
-
readonly tag: {
|
|
251
|
-
serialize: (value: Tag.Name) => Buffer;
|
|
252
|
-
deserialize: (value: Buffer) => Tag.Name;
|
|
253
|
-
constValue: Tag.Name;
|
|
254
|
-
constValueOptional: boolean;
|
|
255
|
-
};
|
|
256
|
-
readonly version: {
|
|
257
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
258
|
-
deserialize: (value: Buffer) => 1;
|
|
259
|
-
constValue: 1;
|
|
260
|
-
constValueOptional: boolean;
|
|
261
|
-
};
|
|
262
|
-
readonly accountId: {
|
|
263
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
264
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
265
|
-
};
|
|
266
|
-
readonly nameTtl: {
|
|
267
|
-
serialize(value: number): Buffer;
|
|
268
|
-
deserialize(value: Buffer): number;
|
|
269
|
-
};
|
|
270
|
-
readonly status: {
|
|
271
|
-
serialize(buffer: Uint8Array): Buffer;
|
|
272
|
-
deserialize(buffer: Buffer): Buffer;
|
|
273
|
-
};
|
|
274
|
-
readonly clientTtl: {
|
|
275
|
-
serialize(value: number): Buffer;
|
|
276
|
-
deserialize(value: Buffer): number;
|
|
277
|
-
};
|
|
278
|
-
readonly pointers: {
|
|
279
|
-
serialize(pointers: (import("../../apis/node").NamePointer & {
|
|
280
|
-
id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
|
|
281
|
-
})[]): Buffer[][];
|
|
282
|
-
deserialize(pointers: [key: Buffer, id: Buffer][]): (import("../../apis/node").NamePointer & {
|
|
283
|
-
id: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`;
|
|
284
|
-
})[];
|
|
285
|
-
};
|
|
286
125
|
}, {
|
|
287
126
|
readonly tag: {
|
|
288
127
|
serialize: (value: Tag.NamePreclaimTx) => Buffer;
|
|
@@ -301,13 +140,15 @@ export declare const txSchema: readonly [{
|
|
|
301
140
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
302
141
|
};
|
|
303
142
|
readonly nonce: {
|
|
304
|
-
serialize: (value: number
|
|
143
|
+
serialize: (value: number, params: {
|
|
144
|
+
tag: Tag;
|
|
145
|
+
}) => Buffer;
|
|
305
146
|
prepare: (value: number | undefined, params: {}, options: {
|
|
306
147
|
accountId: string;
|
|
307
148
|
} & {
|
|
308
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
309
|
-
onNode?: import("
|
|
310
|
-
_isInternalBuild?: boolean
|
|
149
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
150
|
+
onNode?: import("../../Node.js").default;
|
|
151
|
+
_isInternalBuild?: boolean;
|
|
311
152
|
}) => Promise<number>;
|
|
312
153
|
deserialize: (value: Buffer) => number;
|
|
313
154
|
senderKey: string;
|
|
@@ -317,30 +158,24 @@ export declare const txSchema: readonly [{
|
|
|
317
158
|
deserialize: (value: Buffer) => `cm_${string}`;
|
|
318
159
|
};
|
|
319
160
|
readonly fee: {
|
|
320
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
321
|
-
onNode?: import("
|
|
322
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
323
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
324
|
-
_canIncreaseFee?: boolean
|
|
161
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
162
|
+
onNode?: import("../../Node.js").default;
|
|
163
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
164
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
165
|
+
_canIncreaseFee?: boolean;
|
|
325
166
|
}): string;
|
|
326
|
-
serialize(value:
|
|
327
|
-
_canIncreaseFee?: boolean
|
|
328
|
-
} &
|
|
329
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
330
|
-
}): Buffer;
|
|
167
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
168
|
+
_canIncreaseFee?: boolean;
|
|
169
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
331
170
|
deserialize(value: Buffer): string;
|
|
332
171
|
};
|
|
333
172
|
readonly ttl: {
|
|
334
173
|
serialize(value: number | undefined): Buffer;
|
|
335
174
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
336
|
-
onNode?: import("
|
|
337
|
-
absoluteTtl?: boolean
|
|
338
|
-
_isInternalBuild?: boolean
|
|
339
|
-
} & Omit<
|
|
340
|
-
_expectedMineRate?: number | undefined;
|
|
341
|
-
_microBlockCycle?: number | undefined;
|
|
342
|
-
onNode: import("../..").Node;
|
|
343
|
-
}, "onNode">): Promise<number | undefined>;
|
|
175
|
+
onNode?: import("../../Node.js").default;
|
|
176
|
+
absoluteTtl?: boolean;
|
|
177
|
+
_isInternalBuild?: boolean;
|
|
178
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
344
179
|
deserialize(value: Buffer): number;
|
|
345
180
|
};
|
|
346
181
|
}, {
|
|
@@ -361,61 +196,55 @@ export declare const txSchema: readonly [{
|
|
|
361
196
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
362
197
|
};
|
|
363
198
|
readonly nonce: {
|
|
364
|
-
serialize: (value: number
|
|
199
|
+
serialize: (value: number, params: {
|
|
200
|
+
tag: Tag;
|
|
201
|
+
}) => Buffer;
|
|
365
202
|
prepare: (value: number | undefined, params: {}, options: {
|
|
366
203
|
accountId: string;
|
|
367
204
|
} & {
|
|
368
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
369
|
-
onNode?: import("
|
|
370
|
-
_isInternalBuild?: boolean
|
|
205
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
206
|
+
onNode?: import("../../Node.js").default;
|
|
207
|
+
_isInternalBuild?: boolean;
|
|
371
208
|
}) => Promise<number>;
|
|
372
209
|
deserialize: (value: Buffer) => number;
|
|
373
210
|
senderKey: string;
|
|
374
211
|
};
|
|
375
212
|
readonly name: {
|
|
376
|
-
serialize(value:
|
|
377
|
-
deserialize(value: Buffer):
|
|
213
|
+
serialize(value: import("./constants.js").AensName): Buffer;
|
|
214
|
+
deserialize(value: Buffer): import("./constants.js").AensName;
|
|
378
215
|
};
|
|
379
216
|
readonly nameSalt: {
|
|
380
|
-
serialize(value: import("./constants").Int
|
|
381
|
-
deserialize(value: Buffer
|
|
217
|
+
serialize: (value: import("./constants.js").Int | undefined, params: unknown) => Buffer;
|
|
218
|
+
deserialize: (value: Buffer, params: unknown) => string;
|
|
382
219
|
};
|
|
383
220
|
readonly nameFee: {
|
|
384
221
|
serializeAettos(_value: string | undefined, txFields: {
|
|
385
|
-
name:
|
|
222
|
+
name: import("./constants.js").AensName;
|
|
386
223
|
}): string;
|
|
387
|
-
serialize(value: import("./constants").Int | undefined, txFields: {
|
|
388
|
-
name:
|
|
389
|
-
}, parameters:
|
|
390
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
391
|
-
}): Buffer;
|
|
224
|
+
serialize(value: import("./constants.js").Int | undefined, txFields: {
|
|
225
|
+
name: import("./constants.js").AensName;
|
|
226
|
+
} & Parameters<(typeof coinAmount)["serialize"]>[1], parameters: Parameters<(typeof coinAmount)["serialize"]>[2]): Buffer;
|
|
392
227
|
deserialize(value: Buffer): string;
|
|
393
228
|
};
|
|
394
229
|
readonly fee: {
|
|
395
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
396
|
-
onNode?: import("
|
|
397
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
398
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
399
|
-
_canIncreaseFee?: boolean
|
|
230
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
231
|
+
onNode?: import("../../Node.js").default;
|
|
232
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
233
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
234
|
+
_canIncreaseFee?: boolean;
|
|
400
235
|
}): string;
|
|
401
|
-
serialize(value:
|
|
402
|
-
_canIncreaseFee?: boolean
|
|
403
|
-
} &
|
|
404
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
405
|
-
}): Buffer;
|
|
236
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
237
|
+
_canIncreaseFee?: boolean;
|
|
238
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
406
239
|
deserialize(value: Buffer): string;
|
|
407
240
|
};
|
|
408
241
|
readonly ttl: {
|
|
409
242
|
serialize(value: number | undefined): Buffer;
|
|
410
243
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
411
|
-
onNode?: import("
|
|
412
|
-
absoluteTtl?: boolean
|
|
413
|
-
_isInternalBuild?: boolean
|
|
414
|
-
} & Omit<
|
|
415
|
-
_expectedMineRate?: number | undefined;
|
|
416
|
-
_microBlockCycle?: number | undefined;
|
|
417
|
-
onNode: import("../..").Node;
|
|
418
|
-
}, "onNode">): Promise<number | undefined>;
|
|
244
|
+
onNode?: import("../../Node.js").default;
|
|
245
|
+
absoluteTtl?: boolean;
|
|
246
|
+
_isInternalBuild?: boolean;
|
|
247
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
419
248
|
deserialize(value: Buffer): number;
|
|
420
249
|
};
|
|
421
250
|
}, {
|
|
@@ -436,19 +265,21 @@ export declare const txSchema: readonly [{
|
|
|
436
265
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
437
266
|
};
|
|
438
267
|
readonly nonce: {
|
|
439
|
-
serialize: (value: number
|
|
268
|
+
serialize: (value: number, params: {
|
|
269
|
+
tag: Tag;
|
|
270
|
+
}) => Buffer;
|
|
440
271
|
prepare: (value: number | undefined, params: {}, options: {
|
|
441
272
|
accountId: string;
|
|
442
273
|
} & {
|
|
443
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
444
|
-
onNode?: import("
|
|
445
|
-
_isInternalBuild?: boolean
|
|
274
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
275
|
+
onNode?: import("../../Node.js").default;
|
|
276
|
+
_isInternalBuild?: boolean;
|
|
446
277
|
}) => Promise<number>;
|
|
447
278
|
deserialize: (value: Buffer) => number;
|
|
448
279
|
senderKey: string;
|
|
449
280
|
};
|
|
450
281
|
readonly nameId: {
|
|
451
|
-
serialize(value:
|
|
282
|
+
serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
|
|
452
283
|
deserialize: (value: Buffer) => `nm_${string}`;
|
|
453
284
|
};
|
|
454
285
|
readonly nameTtl: {
|
|
@@ -456,11 +287,11 @@ export declare const txSchema: readonly [{
|
|
|
456
287
|
deserialize: (value: Buffer) => number;
|
|
457
288
|
};
|
|
458
289
|
readonly pointers: {
|
|
459
|
-
serialize(pointers: (import("../../apis/node").NamePointer & {
|
|
460
|
-
id:
|
|
461
|
-
})[])
|
|
462
|
-
deserialize(pointers: [key: Buffer, id: Buffer]
|
|
463
|
-
id:
|
|
290
|
+
serialize: (pointers: (import("../../apis/node/index.js").NamePointer & {
|
|
291
|
+
id: Encoded.Generic<import("./field-types/address.js").AddressEncodings>;
|
|
292
|
+
})[]) => Buffer[][];
|
|
293
|
+
deserialize: (pointers: Array<[key: Buffer, id: Buffer]>) => (import("../../apis/node/index.js").NamePointer & {
|
|
294
|
+
id: Encoded.Generic<import("./field-types/address.js").AddressEncodings>;
|
|
464
295
|
})[];
|
|
465
296
|
};
|
|
466
297
|
readonly clientTtl: {
|
|
@@ -468,30 +299,24 @@ export declare const txSchema: readonly [{
|
|
|
468
299
|
deserialize: (value: Buffer, params: unknown) => number;
|
|
469
300
|
};
|
|
470
301
|
readonly fee: {
|
|
471
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
472
|
-
onNode?: import("
|
|
473
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
474
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
475
|
-
_canIncreaseFee?: boolean
|
|
302
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
303
|
+
onNode?: import("../../Node.js").default;
|
|
304
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
305
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
306
|
+
_canIncreaseFee?: boolean;
|
|
476
307
|
}): string;
|
|
477
|
-
serialize(value:
|
|
478
|
-
_canIncreaseFee?: boolean
|
|
479
|
-
} &
|
|
480
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
481
|
-
}): Buffer;
|
|
308
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
309
|
+
_canIncreaseFee?: boolean;
|
|
310
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
482
311
|
deserialize(value: Buffer): string;
|
|
483
312
|
};
|
|
484
313
|
readonly ttl: {
|
|
485
314
|
serialize(value: number | undefined): Buffer;
|
|
486
315
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
487
|
-
onNode?: import("
|
|
488
|
-
absoluteTtl?: boolean
|
|
489
|
-
_isInternalBuild?: boolean
|
|
490
|
-
} & Omit<
|
|
491
|
-
_expectedMineRate?: number | undefined;
|
|
492
|
-
_microBlockCycle?: number | undefined;
|
|
493
|
-
onNode: import("../..").Node;
|
|
494
|
-
}, "onNode">): Promise<number | undefined>;
|
|
316
|
+
onNode?: import("../../Node.js").default;
|
|
317
|
+
absoluteTtl?: boolean;
|
|
318
|
+
_isInternalBuild?: boolean;
|
|
319
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
495
320
|
deserialize(value: Buffer): number;
|
|
496
321
|
};
|
|
497
322
|
}, {
|
|
@@ -512,19 +337,21 @@ export declare const txSchema: readonly [{
|
|
|
512
337
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
513
338
|
};
|
|
514
339
|
readonly nonce: {
|
|
515
|
-
serialize: (value: number
|
|
340
|
+
serialize: (value: number, params: {
|
|
341
|
+
tag: Tag;
|
|
342
|
+
}) => Buffer;
|
|
516
343
|
prepare: (value: number | undefined, params: {}, options: {
|
|
517
344
|
accountId: string;
|
|
518
345
|
} & {
|
|
519
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
520
|
-
onNode?: import("
|
|
521
|
-
_isInternalBuild?: boolean
|
|
346
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
347
|
+
onNode?: import("../../Node.js").default;
|
|
348
|
+
_isInternalBuild?: boolean;
|
|
522
349
|
}) => Promise<number>;
|
|
523
350
|
deserialize: (value: Buffer) => number;
|
|
524
351
|
senderKey: string;
|
|
525
352
|
};
|
|
526
353
|
readonly nameId: {
|
|
527
|
-
serialize(value:
|
|
354
|
+
serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
|
|
528
355
|
deserialize: (value: Buffer) => `nm_${string}`;
|
|
529
356
|
};
|
|
530
357
|
readonly nameTtl: {
|
|
@@ -532,11 +359,11 @@ export declare const txSchema: readonly [{
|
|
|
532
359
|
deserialize: (value: Buffer) => number;
|
|
533
360
|
};
|
|
534
361
|
readonly pointers: {
|
|
535
|
-
serialize(pointers: (import("../../apis/node").NamePointer & {
|
|
536
|
-
id:
|
|
537
|
-
})[])
|
|
538
|
-
deserialize(pointers: [key: Buffer, id: Buffer]
|
|
539
|
-
id:
|
|
362
|
+
serialize: (pointers: (import("../../apis/node/index.js").NamePointer & {
|
|
363
|
+
id: Encoded.Generic<import("./field-types/address.js").AddressEncodings | Encoding.Bytearray>;
|
|
364
|
+
})[]) => Buffer[][];
|
|
365
|
+
deserialize: (pointers: Array<[key: Buffer, id: Buffer]>) => (import("../../apis/node/index.js").NamePointer & {
|
|
366
|
+
id: Encoded.Generic<import("./field-types/address.js").AddressEncodings | Encoding.Bytearray>;
|
|
540
367
|
})[];
|
|
541
368
|
};
|
|
542
369
|
readonly clientTtl: {
|
|
@@ -544,30 +371,24 @@ export declare const txSchema: readonly [{
|
|
|
544
371
|
deserialize: (value: Buffer, params: unknown) => number;
|
|
545
372
|
};
|
|
546
373
|
readonly fee: {
|
|
547
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
548
|
-
onNode?: import("
|
|
549
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
550
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
551
|
-
_canIncreaseFee?: boolean
|
|
374
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
375
|
+
onNode?: import("../../Node.js").default;
|
|
376
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
377
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
378
|
+
_canIncreaseFee?: boolean;
|
|
552
379
|
}): string;
|
|
553
|
-
serialize(value:
|
|
554
|
-
_canIncreaseFee?: boolean
|
|
555
|
-
} &
|
|
556
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
557
|
-
}): Buffer;
|
|
380
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
381
|
+
_canIncreaseFee?: boolean;
|
|
382
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
558
383
|
deserialize(value: Buffer): string;
|
|
559
384
|
};
|
|
560
385
|
readonly ttl: {
|
|
561
386
|
serialize(value: number | undefined): Buffer;
|
|
562
387
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
563
|
-
onNode?: import("
|
|
564
|
-
absoluteTtl?: boolean
|
|
565
|
-
_isInternalBuild?: boolean
|
|
566
|
-
} & Omit<
|
|
567
|
-
_expectedMineRate?: number | undefined;
|
|
568
|
-
_microBlockCycle?: number | undefined;
|
|
569
|
-
onNode: import("../..").Node;
|
|
570
|
-
}, "onNode">): Promise<number | undefined>;
|
|
388
|
+
onNode?: import("../../Node.js").default;
|
|
389
|
+
absoluteTtl?: boolean;
|
|
390
|
+
_isInternalBuild?: boolean;
|
|
391
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
571
392
|
deserialize(value: Buffer): number;
|
|
572
393
|
};
|
|
573
394
|
}, {
|
|
@@ -588,19 +409,21 @@ export declare const txSchema: readonly [{
|
|
|
588
409
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
589
410
|
};
|
|
590
411
|
readonly nonce: {
|
|
591
|
-
serialize: (value: number
|
|
412
|
+
serialize: (value: number, params: {
|
|
413
|
+
tag: Tag;
|
|
414
|
+
}) => Buffer;
|
|
592
415
|
prepare: (value: number | undefined, params: {}, options: {
|
|
593
416
|
accountId: string;
|
|
594
417
|
} & {
|
|
595
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
596
|
-
onNode?: import("
|
|
597
|
-
_isInternalBuild?: boolean
|
|
418
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
419
|
+
onNode?: import("../../Node.js").default;
|
|
420
|
+
_isInternalBuild?: boolean;
|
|
598
421
|
}) => Promise<number>;
|
|
599
422
|
deserialize: (value: Buffer) => number;
|
|
600
423
|
senderKey: string;
|
|
601
424
|
};
|
|
602
425
|
readonly nameId: {
|
|
603
|
-
serialize(value:
|
|
426
|
+
serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
|
|
604
427
|
deserialize: (value: Buffer) => `nm_${string}`;
|
|
605
428
|
};
|
|
606
429
|
readonly recipientId: {
|
|
@@ -608,30 +431,24 @@ export declare const txSchema: readonly [{
|
|
|
608
431
|
deserialize: (value: Buffer) => `ak_${string}` | `nm_${string}`;
|
|
609
432
|
};
|
|
610
433
|
readonly fee: {
|
|
611
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
612
|
-
onNode?: import("
|
|
613
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
614
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
615
|
-
_canIncreaseFee?: boolean
|
|
434
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
435
|
+
onNode?: import("../../Node.js").default;
|
|
436
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
437
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
438
|
+
_canIncreaseFee?: boolean;
|
|
616
439
|
}): string;
|
|
617
|
-
serialize(value:
|
|
618
|
-
_canIncreaseFee?: boolean
|
|
619
|
-
} &
|
|
620
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
621
|
-
}): Buffer;
|
|
440
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
441
|
+
_canIncreaseFee?: boolean;
|
|
442
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
622
443
|
deserialize(value: Buffer): string;
|
|
623
444
|
};
|
|
624
445
|
readonly ttl: {
|
|
625
446
|
serialize(value: number | undefined): Buffer;
|
|
626
447
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
627
|
-
onNode?: import("
|
|
628
|
-
absoluteTtl?: boolean
|
|
629
|
-
_isInternalBuild?: boolean
|
|
630
|
-
} & Omit<
|
|
631
|
-
_expectedMineRate?: number | undefined;
|
|
632
|
-
_microBlockCycle?: number | undefined;
|
|
633
|
-
onNode: import("../..").Node;
|
|
634
|
-
}, "onNode">): Promise<number | undefined>;
|
|
448
|
+
onNode?: import("../../Node.js").default;
|
|
449
|
+
absoluteTtl?: boolean;
|
|
450
|
+
_isInternalBuild?: boolean;
|
|
451
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
635
452
|
deserialize(value: Buffer): number;
|
|
636
453
|
};
|
|
637
454
|
}, {
|
|
@@ -652,98 +469,44 @@ export declare const txSchema: readonly [{
|
|
|
652
469
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
653
470
|
};
|
|
654
471
|
readonly nonce: {
|
|
655
|
-
serialize: (value: number
|
|
472
|
+
serialize: (value: number, params: {
|
|
473
|
+
tag: Tag;
|
|
474
|
+
}) => Buffer;
|
|
656
475
|
prepare: (value: number | undefined, params: {}, options: {
|
|
657
476
|
accountId: string;
|
|
658
477
|
} & {
|
|
659
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
660
|
-
onNode?: import("
|
|
661
|
-
_isInternalBuild?: boolean
|
|
478
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
479
|
+
onNode?: import("../../Node.js").default;
|
|
480
|
+
_isInternalBuild?: boolean;
|
|
662
481
|
}) => Promise<number>;
|
|
663
482
|
deserialize: (value: Buffer) => number;
|
|
664
483
|
senderKey: string;
|
|
665
484
|
};
|
|
666
485
|
readonly nameId: {
|
|
667
|
-
serialize(value:
|
|
486
|
+
serialize(value: import("./constants.js").AensName | Encoded.Name): Buffer;
|
|
668
487
|
deserialize: (value: Buffer) => `nm_${string}`;
|
|
669
488
|
};
|
|
670
489
|
readonly fee: {
|
|
671
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
672
|
-
onNode?: import("
|
|
673
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
674
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
675
|
-
_canIncreaseFee?: boolean
|
|
490
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
491
|
+
onNode?: import("../../Node.js").default;
|
|
492
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
493
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
494
|
+
_canIncreaseFee?: boolean;
|
|
676
495
|
}): string;
|
|
677
|
-
serialize(value:
|
|
678
|
-
_canIncreaseFee?: boolean
|
|
679
|
-
} &
|
|
680
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
681
|
-
}): Buffer;
|
|
496
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
497
|
+
_canIncreaseFee?: boolean;
|
|
498
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
682
499
|
deserialize(value: Buffer): string;
|
|
683
500
|
};
|
|
684
501
|
readonly ttl: {
|
|
685
502
|
serialize(value: number | undefined): Buffer;
|
|
686
503
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
687
|
-
onNode?: import("
|
|
688
|
-
absoluteTtl?: boolean
|
|
689
|
-
_isInternalBuild?: boolean
|
|
690
|
-
} & Omit<
|
|
691
|
-
_expectedMineRate?: number | undefined;
|
|
692
|
-
_microBlockCycle?: number | undefined;
|
|
693
|
-
onNode: import("../..").Node;
|
|
694
|
-
}, "onNode">): Promise<number | undefined>;
|
|
504
|
+
onNode?: import("../../Node.js").default;
|
|
505
|
+
absoluteTtl?: boolean;
|
|
506
|
+
_isInternalBuild?: boolean;
|
|
507
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
695
508
|
deserialize(value: Buffer): number;
|
|
696
509
|
};
|
|
697
|
-
}, {
|
|
698
|
-
readonly tag: {
|
|
699
|
-
serialize: (value: Tag.Contract) => Buffer;
|
|
700
|
-
deserialize: (value: Buffer) => Tag.Contract;
|
|
701
|
-
constValue: Tag.Contract;
|
|
702
|
-
constValueOptional: boolean;
|
|
703
|
-
};
|
|
704
|
-
readonly version: {
|
|
705
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
706
|
-
deserialize: (value: Buffer) => 1;
|
|
707
|
-
constValue: 1;
|
|
708
|
-
constValueOptional: boolean;
|
|
709
|
-
};
|
|
710
|
-
readonly owner: {
|
|
711
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
712
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
713
|
-
};
|
|
714
|
-
readonly ctVersion: {
|
|
715
|
-
serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
|
|
716
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
717
|
-
}): Buffer;
|
|
718
|
-
prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
|
|
719
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
720
|
-
onNode?: import("../..").Node | undefined;
|
|
721
|
-
}): Promise<import("./field-types/ct-version").CtVersion | undefined>;
|
|
722
|
-
deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
|
|
723
|
-
};
|
|
724
|
-
readonly code: {
|
|
725
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
726
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
727
|
-
};
|
|
728
|
-
readonly log: {
|
|
729
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
730
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
731
|
-
};
|
|
732
|
-
readonly active: {
|
|
733
|
-
serialize(value: boolean): Buffer;
|
|
734
|
-
deserialize(buffer: Buffer): boolean;
|
|
735
|
-
};
|
|
736
|
-
readonly referers: {
|
|
737
|
-
serialize: (value: readonly `ak_${string}`[], params: unknown) => Buffer[];
|
|
738
|
-
deserialize: (value: Buffer[], params: unknown) => `ak_${string}`[];
|
|
739
|
-
};
|
|
740
|
-
readonly deposit: {
|
|
741
|
-
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
742
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
743
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
744
|
-
}): Buffer;
|
|
745
|
-
deserialize(value: Buffer): string;
|
|
746
|
-
};
|
|
747
510
|
}, {
|
|
748
511
|
readonly tag: {
|
|
749
512
|
serialize: (value: Tag.ContractCreateTx) => Buffer;
|
|
@@ -762,13 +525,15 @@ export declare const txSchema: readonly [{
|
|
|
762
525
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
763
526
|
};
|
|
764
527
|
readonly nonce: {
|
|
765
|
-
serialize: (value: number
|
|
528
|
+
serialize: (value: number, params: {
|
|
529
|
+
tag: Tag;
|
|
530
|
+
}) => Buffer;
|
|
766
531
|
prepare: (value: number | undefined, params: {}, options: {
|
|
767
532
|
ownerId: string;
|
|
768
533
|
} & {
|
|
769
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
770
|
-
onNode?: import("
|
|
771
|
-
_isInternalBuild?: boolean
|
|
534
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
535
|
+
onNode?: import("../../Node.js").default;
|
|
536
|
+
_isInternalBuild?: boolean;
|
|
772
537
|
}) => Promise<number>;
|
|
773
538
|
deserialize: (value: Buffer) => number;
|
|
774
539
|
senderKey: string;
|
|
@@ -778,52 +543,46 @@ export declare const txSchema: readonly [{
|
|
|
778
543
|
deserialize: (value: Buffer) => `cb_${string}`;
|
|
779
544
|
};
|
|
780
545
|
readonly ctVersion: {
|
|
781
|
-
serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
|
|
782
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
546
|
+
serialize(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, { consensusProtocolVersion, }: {
|
|
547
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
783
548
|
}): Buffer;
|
|
784
|
-
prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
|
|
785
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
786
|
-
onNode?: import("
|
|
787
|
-
}): Promise<import("./field-types/ct-version").CtVersion | undefined>;
|
|
788
|
-
deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
|
|
549
|
+
prepare(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, options: {
|
|
550
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
551
|
+
onNode?: import("../../Node.js").default;
|
|
552
|
+
}): Promise<import("./field-types/ct-version.js").CtVersion | undefined>;
|
|
553
|
+
deserialize(buffer: Buffer): import("./field-types/ct-version.js").CtVersion;
|
|
789
554
|
};
|
|
790
555
|
readonly fee: {
|
|
791
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
792
|
-
onNode?: import("
|
|
793
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
794
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
795
|
-
_canIncreaseFee?: boolean
|
|
556
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
557
|
+
onNode?: import("../../Node.js").default;
|
|
558
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
559
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
560
|
+
_canIncreaseFee?: boolean;
|
|
796
561
|
}): string;
|
|
797
|
-
serialize(value:
|
|
798
|
-
_canIncreaseFee?: boolean
|
|
799
|
-
} &
|
|
800
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
801
|
-
}): Buffer;
|
|
562
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
563
|
+
_canIncreaseFee?: boolean;
|
|
564
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
802
565
|
deserialize(value: Buffer): string;
|
|
803
566
|
};
|
|
804
567
|
readonly ttl: {
|
|
805
568
|
serialize(value: number | undefined): Buffer;
|
|
806
569
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
807
|
-
onNode?: import("
|
|
808
|
-
absoluteTtl?: boolean
|
|
809
|
-
_isInternalBuild?: boolean
|
|
810
|
-
} & Omit<
|
|
811
|
-
_expectedMineRate?: number | undefined;
|
|
812
|
-
_microBlockCycle?: number | undefined;
|
|
813
|
-
onNode: import("../..").Node;
|
|
814
|
-
}, "onNode">): Promise<number | undefined>;
|
|
570
|
+
onNode?: import("../../Node.js").default;
|
|
571
|
+
absoluteTtl?: boolean;
|
|
572
|
+
_isInternalBuild?: boolean;
|
|
573
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
815
574
|
deserialize(value: Buffer): number;
|
|
816
575
|
};
|
|
817
576
|
readonly deposit: {
|
|
818
|
-
serialize: (value: import("./constants").Int | undefined, params: {}, options: {
|
|
819
|
-
denomination?: import("
|
|
577
|
+
serialize: (value: import("./constants.js").Int | undefined, params: {}, options: {
|
|
578
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
820
579
|
}) => Buffer;
|
|
821
580
|
deserialize: (value: Buffer) => string;
|
|
822
581
|
};
|
|
823
582
|
readonly amount: {
|
|
824
583
|
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
825
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
826
|
-
denomination?: import("
|
|
584
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
585
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
827
586
|
}): Buffer;
|
|
828
587
|
deserialize(value: Buffer): string;
|
|
829
588
|
};
|
|
@@ -831,22 +590,22 @@ export declare const txSchema: readonly [{
|
|
|
831
590
|
serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
|
|
832
591
|
tag: Tag;
|
|
833
592
|
rebuildTx: (params: any) => any;
|
|
834
|
-
unpackTx: typeof import(".").unpackTx;
|
|
835
|
-
buildTx: typeof import(".").buildTx;
|
|
836
|
-
_computingGasLimit?: number
|
|
593
|
+
unpackTx: typeof import("./index.js").unpackTx;
|
|
594
|
+
buildTx: typeof import("./index.js").buildTx;
|
|
595
|
+
_computingGasLimit?: number;
|
|
837
596
|
}, { gasMax }: {
|
|
838
|
-
gasMax?: number
|
|
597
|
+
gasMax?: number;
|
|
839
598
|
}): Buffer;
|
|
840
599
|
deserialize(value: Buffer): number;
|
|
841
600
|
};
|
|
842
601
|
readonly gasPrice: {
|
|
843
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
|
|
844
|
-
onNode?: import("
|
|
845
|
-
denomination?: import("
|
|
846
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
602
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
|
|
603
|
+
onNode?: import("../../Node.js").default;
|
|
604
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
605
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
847
606
|
serializeAettos(value?: string | undefined): string;
|
|
848
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
849
|
-
denomination?: import("
|
|
607
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
608
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
850
609
|
}): Buffer;
|
|
851
610
|
deserialize(value: Buffer): string;
|
|
852
611
|
};
|
|
@@ -872,13 +631,15 @@ export declare const txSchema: readonly [{
|
|
|
872
631
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
873
632
|
};
|
|
874
633
|
readonly nonce: {
|
|
875
|
-
serialize: (value: number
|
|
634
|
+
serialize: (value: number, params: {
|
|
635
|
+
tag: Tag;
|
|
636
|
+
}) => Buffer;
|
|
876
637
|
prepare: (value: number | undefined, params: {}, options: {
|
|
877
638
|
callerId: string;
|
|
878
639
|
} & {
|
|
879
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
880
|
-
onNode?: import("
|
|
881
|
-
_isInternalBuild?: boolean
|
|
640
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
641
|
+
onNode?: import("../../Node.js").default;
|
|
642
|
+
_isInternalBuild?: boolean;
|
|
882
643
|
}) => Promise<number>;
|
|
883
644
|
deserialize: (value: Buffer) => number;
|
|
884
645
|
senderKey: string;
|
|
@@ -888,51 +649,45 @@ export declare const txSchema: readonly [{
|
|
|
888
649
|
deserialize: (value: Buffer) => `ct_${string}` | `nm_${string}`;
|
|
889
650
|
};
|
|
890
651
|
readonly abiVersion: {
|
|
891
|
-
_getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
|
|
892
|
-
serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
652
|
+
_getProtocolDetails(c: import("./constants.js").ConsensusProtocolVersion, tag: Tag): import("./constants.js").AbiVersion;
|
|
653
|
+
serialize(value: import("./constants.js").AbiVersion | undefined, { tag }: {
|
|
893
654
|
tag: Tag;
|
|
894
|
-
}, { consensusProtocolVersion }: {
|
|
895
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
655
|
+
}, { consensusProtocolVersion, }: {
|
|
656
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
896
657
|
}): Buffer;
|
|
897
|
-
prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
658
|
+
prepare(value: import("./constants.js").AbiVersion | undefined, { tag }: {
|
|
898
659
|
tag: Tag;
|
|
899
660
|
}, options: {
|
|
900
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
901
|
-
onNode?: import("
|
|
902
|
-
}): Promise<import("./constants").AbiVersion | undefined>;
|
|
903
|
-
deserialize(buffer: Buffer): import("./constants").AbiVersion;
|
|
661
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
662
|
+
onNode?: import("../../Node.js").default;
|
|
663
|
+
}): Promise<import("./constants.js").AbiVersion | undefined>;
|
|
664
|
+
deserialize(buffer: Buffer): import("./constants.js").AbiVersion;
|
|
904
665
|
};
|
|
905
666
|
readonly fee: {
|
|
906
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
907
|
-
onNode?: import("
|
|
908
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
909
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
910
|
-
_canIncreaseFee?: boolean
|
|
667
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
668
|
+
onNode?: import("../../Node.js").default;
|
|
669
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
670
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
671
|
+
_canIncreaseFee?: boolean;
|
|
911
672
|
}): string;
|
|
912
|
-
serialize(value:
|
|
913
|
-
_canIncreaseFee?: boolean
|
|
914
|
-
} &
|
|
915
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
916
|
-
}): Buffer;
|
|
673
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
674
|
+
_canIncreaseFee?: boolean;
|
|
675
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
917
676
|
deserialize(value: Buffer): string;
|
|
918
677
|
};
|
|
919
678
|
readonly ttl: {
|
|
920
679
|
serialize(value: number | undefined): Buffer;
|
|
921
680
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
922
|
-
onNode?: import("
|
|
923
|
-
absoluteTtl?: boolean
|
|
924
|
-
_isInternalBuild?: boolean
|
|
925
|
-
} & Omit<
|
|
926
|
-
_expectedMineRate?: number | undefined;
|
|
927
|
-
_microBlockCycle?: number | undefined;
|
|
928
|
-
onNode: import("../..").Node;
|
|
929
|
-
}, "onNode">): Promise<number | undefined>;
|
|
681
|
+
onNode?: import("../../Node.js").default;
|
|
682
|
+
absoluteTtl?: boolean;
|
|
683
|
+
_isInternalBuild?: boolean;
|
|
684
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
930
685
|
deserialize(value: Buffer): number;
|
|
931
686
|
};
|
|
932
687
|
readonly amount: {
|
|
933
688
|
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
934
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
935
|
-
denomination?: import("
|
|
689
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
690
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
936
691
|
}): Buffer;
|
|
937
692
|
deserialize(value: Buffer): string;
|
|
938
693
|
};
|
|
@@ -940,22 +695,22 @@ export declare const txSchema: readonly [{
|
|
|
940
695
|
serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
|
|
941
696
|
tag: Tag;
|
|
942
697
|
rebuildTx: (params: any) => any;
|
|
943
|
-
unpackTx: typeof import(".").unpackTx;
|
|
944
|
-
buildTx: typeof import(".").buildTx;
|
|
945
|
-
_computingGasLimit?: number
|
|
698
|
+
unpackTx: typeof import("./index.js").unpackTx;
|
|
699
|
+
buildTx: typeof import("./index.js").buildTx;
|
|
700
|
+
_computingGasLimit?: number;
|
|
946
701
|
}, { gasMax }: {
|
|
947
|
-
gasMax?: number
|
|
702
|
+
gasMax?: number;
|
|
948
703
|
}): Buffer;
|
|
949
704
|
deserialize(value: Buffer): number;
|
|
950
705
|
};
|
|
951
706
|
readonly gasPrice: {
|
|
952
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
|
|
953
|
-
onNode?: import("
|
|
954
|
-
denomination?: import("
|
|
955
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
707
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
|
|
708
|
+
onNode?: import("../../Node.js").default;
|
|
709
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
710
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
956
711
|
serializeAettos(value?: string | undefined): string;
|
|
957
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
958
|
-
denomination?: import("
|
|
712
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
713
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
959
714
|
}): Buffer;
|
|
960
715
|
deserialize(value: Buffer): string;
|
|
961
716
|
};
|
|
@@ -963,106 +718,6 @@ export declare const txSchema: readonly [{
|
|
|
963
718
|
serialize: (value: `cb_${string}`) => Buffer;
|
|
964
719
|
deserialize: (value: Buffer) => `cb_${string}`;
|
|
965
720
|
};
|
|
966
|
-
}, {
|
|
967
|
-
readonly tag: {
|
|
968
|
-
serialize: (value: Tag.ContractCall) => Buffer;
|
|
969
|
-
deserialize: (value: Buffer) => Tag.ContractCall;
|
|
970
|
-
constValue: Tag.ContractCall;
|
|
971
|
-
constValueOptional: boolean;
|
|
972
|
-
};
|
|
973
|
-
readonly version: {
|
|
974
|
-
serialize: (value?: 2 | undefined) => Buffer;
|
|
975
|
-
deserialize: (value: Buffer) => 2;
|
|
976
|
-
constValue: 2;
|
|
977
|
-
constValueOptional: boolean;
|
|
978
|
-
};
|
|
979
|
-
readonly callerId: {
|
|
980
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
981
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
982
|
-
};
|
|
983
|
-
readonly callerNonce: {
|
|
984
|
-
serialize(value: number): Buffer;
|
|
985
|
-
deserialize(value: Buffer): number;
|
|
986
|
-
};
|
|
987
|
-
readonly height: {
|
|
988
|
-
serialize(value: number): Buffer;
|
|
989
|
-
deserialize(value: Buffer): number;
|
|
990
|
-
};
|
|
991
|
-
readonly contractId: {
|
|
992
|
-
serialize: (value: `ct_${string}`) => Buffer;
|
|
993
|
-
deserialize: (value: Buffer) => `ct_${string}`;
|
|
994
|
-
};
|
|
995
|
-
readonly gasPrice: {
|
|
996
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
997
|
-
deserialize(value: Buffer): string;
|
|
998
|
-
};
|
|
999
|
-
readonly gasUsed: {
|
|
1000
|
-
serialize(value: number): Buffer;
|
|
1001
|
-
deserialize(value: Buffer): number;
|
|
1002
|
-
};
|
|
1003
|
-
readonly returnValue: {
|
|
1004
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
1005
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
1006
|
-
};
|
|
1007
|
-
readonly returnType: {
|
|
1008
|
-
serialize: (value: CallReturnType) => Buffer;
|
|
1009
|
-
deserialize: (value: Buffer) => CallReturnType;
|
|
1010
|
-
};
|
|
1011
|
-
readonly log: {
|
|
1012
|
-
serialize: (value: readonly Uint8Array[], params: unknown) => Buffer[];
|
|
1013
|
-
deserialize: (value: Buffer[], params: unknown) => Buffer[];
|
|
1014
|
-
};
|
|
1015
|
-
}, {
|
|
1016
|
-
readonly tag: {
|
|
1017
|
-
serialize: (value: Tag.Oracle) => Buffer;
|
|
1018
|
-
deserialize: (value: Buffer) => Tag.Oracle;
|
|
1019
|
-
constValue: Tag.Oracle;
|
|
1020
|
-
constValueOptional: boolean;
|
|
1021
|
-
};
|
|
1022
|
-
readonly version: {
|
|
1023
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
1024
|
-
deserialize: (value: Buffer) => 1;
|
|
1025
|
-
constValue: 1;
|
|
1026
|
-
constValueOptional: boolean;
|
|
1027
|
-
};
|
|
1028
|
-
readonly accountId: {
|
|
1029
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
1030
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1031
|
-
};
|
|
1032
|
-
readonly queryFormat: {
|
|
1033
|
-
serialize(string: string): Buffer;
|
|
1034
|
-
deserialize(buffer: Buffer): string;
|
|
1035
|
-
};
|
|
1036
|
-
readonly responseFormat: {
|
|
1037
|
-
serialize(string: string): Buffer;
|
|
1038
|
-
deserialize(buffer: Buffer): string;
|
|
1039
|
-
};
|
|
1040
|
-
readonly queryFee: {
|
|
1041
|
-
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
1042
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
1043
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1044
|
-
}): Buffer;
|
|
1045
|
-
deserialize(value: Buffer): string;
|
|
1046
|
-
};
|
|
1047
|
-
readonly oracleTtlValue: {
|
|
1048
|
-
serialize(value: number): Buffer;
|
|
1049
|
-
deserialize(value: Buffer): number;
|
|
1050
|
-
};
|
|
1051
|
-
readonly abiVersion: {
|
|
1052
|
-
_getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
|
|
1053
|
-
serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
1054
|
-
tag: Tag;
|
|
1055
|
-
}, { consensusProtocolVersion }: {
|
|
1056
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
1057
|
-
}): Buffer;
|
|
1058
|
-
prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
1059
|
-
tag: Tag;
|
|
1060
|
-
}, options: {
|
|
1061
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
1062
|
-
onNode?: import("../..").Node | undefined;
|
|
1063
|
-
}): Promise<import("./constants").AbiVersion | undefined>;
|
|
1064
|
-
deserialize(buffer: Buffer): import("./constants").AbiVersion;
|
|
1065
|
-
};
|
|
1066
721
|
}, {
|
|
1067
722
|
readonly tag: {
|
|
1068
723
|
serialize: (value: Tag.OracleRegisterTx) => Buffer;
|
|
@@ -1081,13 +736,15 @@ export declare const txSchema: readonly [{
|
|
|
1081
736
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1082
737
|
};
|
|
1083
738
|
readonly nonce: {
|
|
1084
|
-
serialize: (value: number
|
|
739
|
+
serialize: (value: number, params: {
|
|
740
|
+
tag: Tag;
|
|
741
|
+
}) => Buffer;
|
|
1085
742
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1086
743
|
accountId: string;
|
|
1087
744
|
} & {
|
|
1088
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1089
|
-
onNode?: import("
|
|
1090
|
-
_isInternalBuild?: boolean
|
|
745
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
746
|
+
onNode?: import("../../Node.js").default;
|
|
747
|
+
_isInternalBuild?: boolean;
|
|
1091
748
|
}) => Promise<number>;
|
|
1092
749
|
deserialize: (value: Buffer) => number;
|
|
1093
750
|
senderKey: string;
|
|
@@ -1102,8 +759,8 @@ export declare const txSchema: readonly [{
|
|
|
1102
759
|
};
|
|
1103
760
|
readonly queryFee: {
|
|
1104
761
|
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
1105
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
1106
|
-
denomination?: import("
|
|
762
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
763
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
1107
764
|
}): Buffer;
|
|
1108
765
|
deserialize(value: Buffer): string;
|
|
1109
766
|
};
|
|
@@ -1116,46 +773,40 @@ export declare const txSchema: readonly [{
|
|
|
1116
773
|
deserialize: (value: Buffer, params: unknown) => number;
|
|
1117
774
|
};
|
|
1118
775
|
readonly fee: {
|
|
1119
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1120
|
-
onNode?: import("
|
|
1121
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1122
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1123
|
-
_canIncreaseFee?: boolean
|
|
776
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
777
|
+
onNode?: import("../../Node.js").default;
|
|
778
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
779
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
780
|
+
_canIncreaseFee?: boolean;
|
|
1124
781
|
}): string;
|
|
1125
|
-
serialize(value:
|
|
1126
|
-
_canIncreaseFee?: boolean
|
|
1127
|
-
} &
|
|
1128
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1129
|
-
}): Buffer;
|
|
782
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
783
|
+
_canIncreaseFee?: boolean;
|
|
784
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1130
785
|
deserialize(value: Buffer): string;
|
|
1131
786
|
};
|
|
1132
787
|
readonly ttl: {
|
|
1133
788
|
serialize(value: number | undefined): Buffer;
|
|
1134
789
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1135
|
-
onNode?: import("
|
|
1136
|
-
absoluteTtl?: boolean
|
|
1137
|
-
_isInternalBuild?: boolean
|
|
1138
|
-
} & Omit<
|
|
1139
|
-
_expectedMineRate?: number | undefined;
|
|
1140
|
-
_microBlockCycle?: number | undefined;
|
|
1141
|
-
onNode: import("../..").Node;
|
|
1142
|
-
}, "onNode">): Promise<number | undefined>;
|
|
790
|
+
onNode?: import("../../Node.js").default;
|
|
791
|
+
absoluteTtl?: boolean;
|
|
792
|
+
_isInternalBuild?: boolean;
|
|
793
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1143
794
|
deserialize(value: Buffer): number;
|
|
1144
795
|
};
|
|
1145
796
|
readonly abiVersion: {
|
|
1146
|
-
_getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
|
|
1147
|
-
serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
797
|
+
_getProtocolDetails(c: import("./constants.js").ConsensusProtocolVersion, tag: Tag): import("./constants.js").AbiVersion;
|
|
798
|
+
serialize(value: import("./constants.js").AbiVersion | undefined, { tag }: {
|
|
1148
799
|
tag: Tag;
|
|
1149
|
-
}, { consensusProtocolVersion }: {
|
|
1150
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
800
|
+
}, { consensusProtocolVersion, }: {
|
|
801
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
1151
802
|
}): Buffer;
|
|
1152
|
-
prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
803
|
+
prepare(value: import("./constants.js").AbiVersion | undefined, { tag }: {
|
|
1153
804
|
tag: Tag;
|
|
1154
805
|
}, options: {
|
|
1155
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
1156
|
-
onNode?: import("
|
|
1157
|
-
}): Promise<import("./constants").AbiVersion | undefined>;
|
|
1158
|
-
deserialize(buffer: Buffer): import("./constants").AbiVersion;
|
|
806
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
807
|
+
onNode?: import("../../Node.js").default;
|
|
808
|
+
}): Promise<import("./constants.js").AbiVersion | undefined>;
|
|
809
|
+
deserialize(buffer: Buffer): import("./constants.js").AbiVersion;
|
|
1159
810
|
};
|
|
1160
811
|
}, {
|
|
1161
812
|
readonly tag: {
|
|
@@ -1175,13 +826,15 @@ export declare const txSchema: readonly [{
|
|
|
1175
826
|
deserialize: (value: Buffer) => `ok_${string}` | `nm_${string}`;
|
|
1176
827
|
};
|
|
1177
828
|
readonly nonce: {
|
|
1178
|
-
serialize: (value: number
|
|
829
|
+
serialize: (value: number, params: {
|
|
830
|
+
tag: Tag;
|
|
831
|
+
}) => Buffer;
|
|
1179
832
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1180
833
|
oracleId: string;
|
|
1181
834
|
} & {
|
|
1182
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1183
|
-
onNode?: import("
|
|
1184
|
-
_isInternalBuild?: boolean
|
|
835
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
836
|
+
onNode?: import("../../Node.js").default;
|
|
837
|
+
_isInternalBuild?: boolean;
|
|
1185
838
|
}) => Promise<number>;
|
|
1186
839
|
deserialize: (value: Buffer) => number;
|
|
1187
840
|
senderKey: string;
|
|
@@ -1195,30 +848,24 @@ export declare const txSchema: readonly [{
|
|
|
1195
848
|
deserialize: (value: Buffer, params: unknown) => number;
|
|
1196
849
|
};
|
|
1197
850
|
readonly fee: {
|
|
1198
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1199
|
-
onNode?: import("
|
|
1200
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1201
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1202
|
-
_canIncreaseFee?: boolean
|
|
851
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
852
|
+
onNode?: import("../../Node.js").default;
|
|
853
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
854
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
855
|
+
_canIncreaseFee?: boolean;
|
|
1203
856
|
}): string;
|
|
1204
|
-
serialize(value:
|
|
1205
|
-
_canIncreaseFee?: boolean
|
|
1206
|
-
} &
|
|
1207
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1208
|
-
}): Buffer;
|
|
857
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
858
|
+
_canIncreaseFee?: boolean;
|
|
859
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1209
860
|
deserialize(value: Buffer): string;
|
|
1210
861
|
};
|
|
1211
862
|
readonly ttl: {
|
|
1212
863
|
serialize(value: number | undefined): Buffer;
|
|
1213
864
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1214
|
-
onNode?: import("
|
|
1215
|
-
absoluteTtl?: boolean
|
|
1216
|
-
_isInternalBuild?: boolean
|
|
1217
|
-
} & Omit<
|
|
1218
|
-
_expectedMineRate?: number | undefined;
|
|
1219
|
-
_microBlockCycle?: number | undefined;
|
|
1220
|
-
onNode: import("../..").Node;
|
|
1221
|
-
}, "onNode">): Promise<number | undefined>;
|
|
865
|
+
onNode?: import("../../Node.js").default;
|
|
866
|
+
absoluteTtl?: boolean;
|
|
867
|
+
_isInternalBuild?: boolean;
|
|
868
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1222
869
|
deserialize(value: Buffer): number;
|
|
1223
870
|
};
|
|
1224
871
|
}, {
|
|
@@ -1239,13 +886,15 @@ export declare const txSchema: readonly [{
|
|
|
1239
886
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1240
887
|
};
|
|
1241
888
|
readonly nonce: {
|
|
1242
|
-
serialize: (value: number
|
|
889
|
+
serialize: (value: number, params: {
|
|
890
|
+
tag: Tag;
|
|
891
|
+
}) => Buffer;
|
|
1243
892
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1244
893
|
senderId: string;
|
|
1245
894
|
} & {
|
|
1246
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1247
|
-
onNode?: import("
|
|
1248
|
-
_isInternalBuild?: boolean
|
|
895
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
896
|
+
onNode?: import("../../Node.js").default;
|
|
897
|
+
_isInternalBuild?: boolean;
|
|
1249
898
|
}) => Promise<number>;
|
|
1250
899
|
deserialize: (value: Buffer) => number;
|
|
1251
900
|
senderKey: string;
|
|
@@ -1259,13 +908,13 @@ export declare const txSchema: readonly [{
|
|
|
1259
908
|
deserialize(buffer: Buffer): string;
|
|
1260
909
|
};
|
|
1261
910
|
readonly queryFee: {
|
|
1262
|
-
prepare(value: import("./constants").Int | undefined, params: {}, options: {
|
|
1263
|
-
oracleId?:
|
|
1264
|
-
onNode?: import("
|
|
1265
|
-
}): Promise<import("./constants").Int>;
|
|
911
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, options: {
|
|
912
|
+
oracleId?: Encoded.OracleAddress;
|
|
913
|
+
onNode?: import("../../Node.js").default;
|
|
914
|
+
}): Promise<import("./constants.js").Int>;
|
|
1266
915
|
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
1267
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
1268
|
-
denomination?: import("
|
|
916
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
917
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
1269
918
|
}): Buffer;
|
|
1270
919
|
deserialize(value: Buffer): string;
|
|
1271
920
|
};
|
|
@@ -1286,30 +935,24 @@ export declare const txSchema: readonly [{
|
|
|
1286
935
|
deserialize: (value: Buffer, params: unknown) => number;
|
|
1287
936
|
};
|
|
1288
937
|
readonly fee: {
|
|
1289
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1290
|
-
onNode?: import("
|
|
1291
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1292
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1293
|
-
_canIncreaseFee?: boolean
|
|
938
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
939
|
+
onNode?: import("../../Node.js").default;
|
|
940
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
941
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
942
|
+
_canIncreaseFee?: boolean;
|
|
1294
943
|
}): string;
|
|
1295
|
-
serialize(value:
|
|
1296
|
-
_canIncreaseFee?: boolean
|
|
1297
|
-
} &
|
|
1298
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1299
|
-
}): Buffer;
|
|
944
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
945
|
+
_canIncreaseFee?: boolean;
|
|
946
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1300
947
|
deserialize(value: Buffer): string;
|
|
1301
948
|
};
|
|
1302
949
|
readonly ttl: {
|
|
1303
950
|
serialize(value: number | undefined): Buffer;
|
|
1304
951
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1305
|
-
onNode?: import("
|
|
1306
|
-
absoluteTtl?: boolean
|
|
1307
|
-
_isInternalBuild?: boolean
|
|
1308
|
-
} & Omit<
|
|
1309
|
-
_expectedMineRate?: number | undefined;
|
|
1310
|
-
_microBlockCycle?: number | undefined;
|
|
1311
|
-
onNode: import("../..").Node;
|
|
1312
|
-
}, "onNode">): Promise<number | undefined>;
|
|
952
|
+
onNode?: import("../../Node.js").default;
|
|
953
|
+
absoluteTtl?: boolean;
|
|
954
|
+
_isInternalBuild?: boolean;
|
|
955
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1313
956
|
deserialize(value: Buffer): number;
|
|
1314
957
|
};
|
|
1315
958
|
}, {
|
|
@@ -1330,13 +973,15 @@ export declare const txSchema: readonly [{
|
|
|
1330
973
|
deserialize: (value: Buffer) => `ok_${string}`;
|
|
1331
974
|
};
|
|
1332
975
|
readonly nonce: {
|
|
1333
|
-
serialize: (value: number
|
|
976
|
+
serialize: (value: number, params: {
|
|
977
|
+
tag: Tag;
|
|
978
|
+
}) => Buffer;
|
|
1334
979
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1335
980
|
oracleId: string;
|
|
1336
981
|
} & {
|
|
1337
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1338
|
-
onNode?: import("
|
|
1339
|
-
_isInternalBuild?: boolean
|
|
982
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
983
|
+
onNode?: import("../../Node.js").default;
|
|
984
|
+
_isInternalBuild?: boolean;
|
|
1340
985
|
}) => Promise<number>;
|
|
1341
986
|
deserialize: (value: Buffer) => number;
|
|
1342
987
|
senderKey: string;
|
|
@@ -1358,30 +1003,24 @@ export declare const txSchema: readonly [{
|
|
|
1358
1003
|
deserialize: (value: Buffer, params: unknown) => number;
|
|
1359
1004
|
};
|
|
1360
1005
|
readonly fee: {
|
|
1361
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1362
|
-
onNode?: import("
|
|
1363
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1364
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1365
|
-
_canIncreaseFee?: boolean
|
|
1006
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1007
|
+
onNode?: import("../../Node.js").default;
|
|
1008
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1009
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1010
|
+
_canIncreaseFee?: boolean;
|
|
1366
1011
|
}): string;
|
|
1367
|
-
serialize(value:
|
|
1368
|
-
_canIncreaseFee?: boolean
|
|
1369
|
-
} &
|
|
1370
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1371
|
-
}): Buffer;
|
|
1012
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1013
|
+
_canIncreaseFee?: boolean;
|
|
1014
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1372
1015
|
deserialize(value: Buffer): string;
|
|
1373
1016
|
};
|
|
1374
1017
|
readonly ttl: {
|
|
1375
1018
|
serialize(value: number | undefined): Buffer;
|
|
1376
1019
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1377
|
-
onNode?: import("
|
|
1378
|
-
absoluteTtl?: boolean
|
|
1379
|
-
_isInternalBuild?: boolean
|
|
1380
|
-
} & Omit<
|
|
1381
|
-
_expectedMineRate?: number | undefined;
|
|
1382
|
-
_microBlockCycle?: number | undefined;
|
|
1383
|
-
onNode: import("../..").Node;
|
|
1384
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1020
|
+
onNode?: import("../../Node.js").default;
|
|
1021
|
+
absoluteTtl?: boolean;
|
|
1022
|
+
_isInternalBuild?: boolean;
|
|
1023
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1385
1024
|
deserialize(value: Buffer): number;
|
|
1386
1025
|
};
|
|
1387
1026
|
}, {
|
|
@@ -1402,7 +1041,7 @@ export declare const txSchema: readonly [{
|
|
|
1402
1041
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1403
1042
|
};
|
|
1404
1043
|
readonly initiatorAmount: {
|
|
1405
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1044
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1406
1045
|
deserialize(value: Buffer): string;
|
|
1407
1046
|
};
|
|
1408
1047
|
readonly responder: {
|
|
@@ -1410,42 +1049,36 @@ export declare const txSchema: readonly [{
|
|
|
1410
1049
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1411
1050
|
};
|
|
1412
1051
|
readonly responderAmount: {
|
|
1413
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1052
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1414
1053
|
deserialize(value: Buffer): string;
|
|
1415
1054
|
};
|
|
1416
1055
|
readonly channelReserve: {
|
|
1417
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1056
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1418
1057
|
deserialize(value: Buffer): string;
|
|
1419
1058
|
};
|
|
1420
1059
|
readonly lockPeriod: {
|
|
1421
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1060
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1422
1061
|
deserialize(value: Buffer): string;
|
|
1423
1062
|
};
|
|
1424
1063
|
readonly ttl: {
|
|
1425
1064
|
serialize(value: number | undefined): Buffer;
|
|
1426
1065
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1427
|
-
onNode?: import("
|
|
1428
|
-
absoluteTtl?: boolean
|
|
1429
|
-
_isInternalBuild?: boolean
|
|
1430
|
-
} & Omit<
|
|
1431
|
-
_expectedMineRate?: number | undefined;
|
|
1432
|
-
_microBlockCycle?: number | undefined;
|
|
1433
|
-
onNode: import("../..").Node;
|
|
1434
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1066
|
+
onNode?: import("../../Node.js").default;
|
|
1067
|
+
absoluteTtl?: boolean;
|
|
1068
|
+
_isInternalBuild?: boolean;
|
|
1069
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1435
1070
|
deserialize(value: Buffer): number;
|
|
1436
1071
|
};
|
|
1437
1072
|
readonly fee: {
|
|
1438
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1439
|
-
onNode?: import("
|
|
1440
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1441
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1442
|
-
_canIncreaseFee?: boolean
|
|
1073
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1074
|
+
onNode?: import("../../Node.js").default;
|
|
1075
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1076
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1077
|
+
_canIncreaseFee?: boolean;
|
|
1443
1078
|
}): string;
|
|
1444
|
-
serialize(value:
|
|
1445
|
-
_canIncreaseFee?: boolean
|
|
1446
|
-
} &
|
|
1447
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1448
|
-
}): Buffer;
|
|
1079
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1080
|
+
_canIncreaseFee?: boolean;
|
|
1081
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1449
1082
|
deserialize(value: Buffer): string;
|
|
1450
1083
|
};
|
|
1451
1084
|
readonly initiatorDelegateIds: {
|
|
@@ -1461,13 +1094,15 @@ export declare const txSchema: readonly [{
|
|
|
1461
1094
|
deserialize: (value: Buffer) => `st_${string}`;
|
|
1462
1095
|
};
|
|
1463
1096
|
readonly nonce: {
|
|
1464
|
-
serialize: (value: number
|
|
1097
|
+
serialize: (value: number, params: {
|
|
1098
|
+
tag: Tag;
|
|
1099
|
+
}) => Buffer;
|
|
1465
1100
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1466
1101
|
initiator: string;
|
|
1467
1102
|
} & {
|
|
1468
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1469
|
-
onNode?: import("
|
|
1470
|
-
_isInternalBuild?: boolean
|
|
1103
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1104
|
+
onNode?: import("../../Node.js").default;
|
|
1105
|
+
_isInternalBuild?: boolean;
|
|
1471
1106
|
}) => Promise<number>;
|
|
1472
1107
|
deserialize: (value: Buffer) => number;
|
|
1473
1108
|
senderKey: string;
|
|
@@ -1494,48 +1129,44 @@ export declare const txSchema: readonly [{
|
|
|
1494
1129
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1495
1130
|
};
|
|
1496
1131
|
readonly initiatorAmountFinal: {
|
|
1497
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1132
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1498
1133
|
deserialize(value: Buffer): string;
|
|
1499
1134
|
};
|
|
1500
1135
|
readonly responderAmountFinal: {
|
|
1501
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1136
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1502
1137
|
deserialize(value: Buffer): string;
|
|
1503
1138
|
};
|
|
1504
1139
|
readonly ttl: {
|
|
1505
1140
|
serialize(value: number | undefined): Buffer;
|
|
1506
1141
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1507
|
-
onNode?: import("
|
|
1508
|
-
absoluteTtl?: boolean
|
|
1509
|
-
_isInternalBuild?: boolean
|
|
1510
|
-
} & Omit<
|
|
1511
|
-
_expectedMineRate?: number | undefined;
|
|
1512
|
-
_microBlockCycle?: number | undefined;
|
|
1513
|
-
onNode: import("../..").Node;
|
|
1514
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1142
|
+
onNode?: import("../../Node.js").default;
|
|
1143
|
+
absoluteTtl?: boolean;
|
|
1144
|
+
_isInternalBuild?: boolean;
|
|
1145
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1515
1146
|
deserialize(value: Buffer): number;
|
|
1516
1147
|
};
|
|
1517
1148
|
readonly fee: {
|
|
1518
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1519
|
-
onNode?: import("
|
|
1520
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1521
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1522
|
-
_canIncreaseFee?: boolean
|
|
1149
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1150
|
+
onNode?: import("../../Node.js").default;
|
|
1151
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1152
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1153
|
+
_canIncreaseFee?: boolean;
|
|
1523
1154
|
}): string;
|
|
1524
|
-
serialize(value:
|
|
1525
|
-
_canIncreaseFee?: boolean
|
|
1526
|
-
} &
|
|
1527
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1528
|
-
}): Buffer;
|
|
1155
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1156
|
+
_canIncreaseFee?: boolean;
|
|
1157
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1529
1158
|
deserialize(value: Buffer): string;
|
|
1530
1159
|
};
|
|
1531
1160
|
readonly nonce: {
|
|
1532
|
-
serialize: (value: number
|
|
1161
|
+
serialize: (value: number, params: {
|
|
1162
|
+
tag: Tag;
|
|
1163
|
+
}) => Buffer;
|
|
1533
1164
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1534
1165
|
fromId: string;
|
|
1535
1166
|
} & {
|
|
1536
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1537
|
-
onNode?: import("
|
|
1538
|
-
_isInternalBuild?: boolean
|
|
1167
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1168
|
+
onNode?: import("../../Node.js").default;
|
|
1169
|
+
_isInternalBuild?: boolean;
|
|
1539
1170
|
}) => Promise<number>;
|
|
1540
1171
|
deserialize: (value: Buffer) => number;
|
|
1541
1172
|
senderKey: string;
|
|
@@ -1569,38 +1200,34 @@ export declare const txSchema: readonly [{
|
|
|
1569
1200
|
readonly ttl: {
|
|
1570
1201
|
serialize(value: number | undefined): Buffer;
|
|
1571
1202
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1572
|
-
onNode?: import("
|
|
1573
|
-
absoluteTtl?: boolean
|
|
1574
|
-
_isInternalBuild?: boolean
|
|
1575
|
-
} & Omit<
|
|
1576
|
-
_expectedMineRate?: number | undefined;
|
|
1577
|
-
_microBlockCycle?: number | undefined;
|
|
1578
|
-
onNode: import("../..").Node;
|
|
1579
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1203
|
+
onNode?: import("../../Node.js").default;
|
|
1204
|
+
absoluteTtl?: boolean;
|
|
1205
|
+
_isInternalBuild?: boolean;
|
|
1206
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1580
1207
|
deserialize(value: Buffer): number;
|
|
1581
1208
|
};
|
|
1582
1209
|
readonly fee: {
|
|
1583
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1584
|
-
onNode?: import("
|
|
1585
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1586
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1587
|
-
_canIncreaseFee?: boolean
|
|
1210
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1211
|
+
onNode?: import("../../Node.js").default;
|
|
1212
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1213
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1214
|
+
_canIncreaseFee?: boolean;
|
|
1588
1215
|
}): string;
|
|
1589
|
-
serialize(value:
|
|
1590
|
-
_canIncreaseFee?: boolean
|
|
1591
|
-
} &
|
|
1592
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1593
|
-
}): Buffer;
|
|
1216
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1217
|
+
_canIncreaseFee?: boolean;
|
|
1218
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1594
1219
|
deserialize(value: Buffer): string;
|
|
1595
1220
|
};
|
|
1596
1221
|
readonly nonce: {
|
|
1597
|
-
serialize: (value: number
|
|
1222
|
+
serialize: (value: number, params: {
|
|
1223
|
+
tag: Tag;
|
|
1224
|
+
}) => Buffer;
|
|
1598
1225
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1599
1226
|
fromId: string;
|
|
1600
1227
|
} & {
|
|
1601
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1602
|
-
onNode?: import("
|
|
1603
|
-
_isInternalBuild?: boolean
|
|
1228
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1229
|
+
onNode?: import("../../Node.js").default;
|
|
1230
|
+
_isInternalBuild?: boolean;
|
|
1604
1231
|
}) => Promise<number>;
|
|
1605
1232
|
deserialize: (value: Buffer) => number;
|
|
1606
1233
|
senderKey: string;
|
|
@@ -1634,38 +1261,34 @@ export declare const txSchema: readonly [{
|
|
|
1634
1261
|
readonly ttl: {
|
|
1635
1262
|
serialize(value: number | undefined): Buffer;
|
|
1636
1263
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1637
|
-
onNode?: import("
|
|
1638
|
-
absoluteTtl?: boolean
|
|
1639
|
-
_isInternalBuild?: boolean
|
|
1640
|
-
} & Omit<
|
|
1641
|
-
_expectedMineRate?: number | undefined;
|
|
1642
|
-
_microBlockCycle?: number | undefined;
|
|
1643
|
-
onNode: import("../..").Node;
|
|
1644
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1264
|
+
onNode?: import("../../Node.js").default;
|
|
1265
|
+
absoluteTtl?: boolean;
|
|
1266
|
+
_isInternalBuild?: boolean;
|
|
1267
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1645
1268
|
deserialize(value: Buffer): number;
|
|
1646
1269
|
};
|
|
1647
1270
|
readonly fee: {
|
|
1648
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1649
|
-
onNode?: import("
|
|
1650
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1651
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1652
|
-
_canIncreaseFee?: boolean
|
|
1271
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1272
|
+
onNode?: import("../../Node.js").default;
|
|
1273
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1274
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1275
|
+
_canIncreaseFee?: boolean;
|
|
1653
1276
|
}): string;
|
|
1654
|
-
serialize(value:
|
|
1655
|
-
_canIncreaseFee?: boolean
|
|
1656
|
-
} &
|
|
1657
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1658
|
-
}): Buffer;
|
|
1277
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1278
|
+
_canIncreaseFee?: boolean;
|
|
1279
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1659
1280
|
deserialize(value: Buffer): string;
|
|
1660
1281
|
};
|
|
1661
1282
|
readonly nonce: {
|
|
1662
|
-
serialize: (value: number
|
|
1283
|
+
serialize: (value: number, params: {
|
|
1284
|
+
tag: Tag;
|
|
1285
|
+
}) => Buffer;
|
|
1663
1286
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1664
1287
|
fromId: string;
|
|
1665
1288
|
} & {
|
|
1666
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1667
|
-
onNode?: import("
|
|
1668
|
-
_isInternalBuild?: boolean
|
|
1289
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1290
|
+
onNode?: import("../../Node.js").default;
|
|
1291
|
+
_isInternalBuild?: boolean;
|
|
1669
1292
|
}) => Promise<number>;
|
|
1670
1293
|
deserialize: (value: Buffer) => number;
|
|
1671
1294
|
senderKey: string;
|
|
@@ -1692,34 +1315,28 @@ export declare const txSchema: readonly [{
|
|
|
1692
1315
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1693
1316
|
};
|
|
1694
1317
|
readonly amount: {
|
|
1695
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1318
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1696
1319
|
deserialize(value: Buffer): string;
|
|
1697
1320
|
};
|
|
1698
1321
|
readonly ttl: {
|
|
1699
1322
|
serialize(value: number | undefined): Buffer;
|
|
1700
1323
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1701
|
-
onNode?: import("
|
|
1702
|
-
absoluteTtl?: boolean
|
|
1703
|
-
_isInternalBuild?: boolean
|
|
1704
|
-
} & Omit<
|
|
1705
|
-
_expectedMineRate?: number | undefined;
|
|
1706
|
-
_microBlockCycle?: number | undefined;
|
|
1707
|
-
onNode: import("../..").Node;
|
|
1708
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1324
|
+
onNode?: import("../../Node.js").default;
|
|
1325
|
+
absoluteTtl?: boolean;
|
|
1326
|
+
_isInternalBuild?: boolean;
|
|
1327
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1709
1328
|
deserialize(value: Buffer): number;
|
|
1710
1329
|
};
|
|
1711
1330
|
readonly fee: {
|
|
1712
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1713
|
-
onNode?: import("
|
|
1714
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1715
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1716
|
-
_canIncreaseFee?: boolean
|
|
1331
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1332
|
+
onNode?: import("../../Node.js").default;
|
|
1333
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1334
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1335
|
+
_canIncreaseFee?: boolean;
|
|
1717
1336
|
}): string;
|
|
1718
|
-
serialize(value:
|
|
1719
|
-
_canIncreaseFee?: boolean
|
|
1720
|
-
} &
|
|
1721
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1722
|
-
}): Buffer;
|
|
1337
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1338
|
+
_canIncreaseFee?: boolean;
|
|
1339
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1723
1340
|
deserialize(value: Buffer): string;
|
|
1724
1341
|
};
|
|
1725
1342
|
readonly stateHash: {
|
|
@@ -1731,13 +1348,15 @@ export declare const txSchema: readonly [{
|
|
|
1731
1348
|
deserialize(value: Buffer): number;
|
|
1732
1349
|
};
|
|
1733
1350
|
readonly nonce: {
|
|
1734
|
-
serialize: (value: number
|
|
1351
|
+
serialize: (value: number, params: {
|
|
1352
|
+
tag: Tag;
|
|
1353
|
+
}) => Buffer;
|
|
1735
1354
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1736
1355
|
fromId: string;
|
|
1737
1356
|
} & {
|
|
1738
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1739
|
-
onNode?: import("
|
|
1740
|
-
_isInternalBuild?: boolean
|
|
1357
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1358
|
+
onNode?: import("../../Node.js").default;
|
|
1359
|
+
_isInternalBuild?: boolean;
|
|
1741
1360
|
}) => Promise<number>;
|
|
1742
1361
|
deserialize: (value: Buffer) => number;
|
|
1743
1362
|
senderKey: string;
|
|
@@ -1764,34 +1383,28 @@ export declare const txSchema: readonly [{
|
|
|
1764
1383
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1765
1384
|
};
|
|
1766
1385
|
readonly amount: {
|
|
1767
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1386
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1768
1387
|
deserialize(value: Buffer): string;
|
|
1769
1388
|
};
|
|
1770
1389
|
readonly ttl: {
|
|
1771
1390
|
serialize(value: number | undefined): Buffer;
|
|
1772
1391
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1773
|
-
onNode?: import("
|
|
1774
|
-
absoluteTtl?: boolean
|
|
1775
|
-
_isInternalBuild?: boolean
|
|
1776
|
-
} & Omit<
|
|
1777
|
-
_expectedMineRate?: number | undefined;
|
|
1778
|
-
_microBlockCycle?: number | undefined;
|
|
1779
|
-
onNode: import("../..").Node;
|
|
1780
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1392
|
+
onNode?: import("../../Node.js").default;
|
|
1393
|
+
absoluteTtl?: boolean;
|
|
1394
|
+
_isInternalBuild?: boolean;
|
|
1395
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1781
1396
|
deserialize(value: Buffer): number;
|
|
1782
1397
|
};
|
|
1783
1398
|
readonly fee: {
|
|
1784
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1785
|
-
onNode?: import("
|
|
1786
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1787
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1788
|
-
_canIncreaseFee?: boolean
|
|
1399
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1400
|
+
onNode?: import("../../Node.js").default;
|
|
1401
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1402
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1403
|
+
_canIncreaseFee?: boolean;
|
|
1789
1404
|
}): string;
|
|
1790
|
-
serialize(value:
|
|
1791
|
-
_canIncreaseFee?: boolean
|
|
1792
|
-
} &
|
|
1793
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1794
|
-
}): Buffer;
|
|
1405
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1406
|
+
_canIncreaseFee?: boolean;
|
|
1407
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1795
1408
|
deserialize(value: Buffer): string;
|
|
1796
1409
|
};
|
|
1797
1410
|
readonly stateHash: {
|
|
@@ -1803,13 +1416,15 @@ export declare const txSchema: readonly [{
|
|
|
1803
1416
|
deserialize(value: Buffer): number;
|
|
1804
1417
|
};
|
|
1805
1418
|
readonly nonce: {
|
|
1806
|
-
serialize: (value: number
|
|
1419
|
+
serialize: (value: number, params: {
|
|
1420
|
+
tag: Tag;
|
|
1421
|
+
}) => Buffer;
|
|
1807
1422
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1808
1423
|
fromId: string;
|
|
1809
1424
|
} & {
|
|
1810
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1811
|
-
onNode?: import("
|
|
1812
|
-
_isInternalBuild?: boolean
|
|
1425
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1426
|
+
onNode?: import("../../Node.js").default;
|
|
1427
|
+
_isInternalBuild?: boolean;
|
|
1813
1428
|
}) => Promise<number>;
|
|
1814
1429
|
deserialize: (value: Buffer) => number;
|
|
1815
1430
|
senderKey: string;
|
|
@@ -1836,48 +1451,44 @@ export declare const txSchema: readonly [{
|
|
|
1836
1451
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
1837
1452
|
};
|
|
1838
1453
|
readonly initiatorAmountFinal: {
|
|
1839
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1454
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1840
1455
|
deserialize(value: Buffer): string;
|
|
1841
1456
|
};
|
|
1842
1457
|
readonly responderAmountFinal: {
|
|
1843
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
1458
|
+
serialize(value: import("./constants.js").Int): Buffer;
|
|
1844
1459
|
deserialize(value: Buffer): string;
|
|
1845
1460
|
};
|
|
1846
1461
|
readonly ttl: {
|
|
1847
1462
|
serialize(value: number | undefined): Buffer;
|
|
1848
1463
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1849
|
-
onNode?: import("
|
|
1850
|
-
absoluteTtl?: boolean
|
|
1851
|
-
_isInternalBuild?: boolean
|
|
1852
|
-
} & Omit<
|
|
1853
|
-
_expectedMineRate?: number | undefined;
|
|
1854
|
-
_microBlockCycle?: number | undefined;
|
|
1855
|
-
onNode: import("../..").Node;
|
|
1856
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1464
|
+
onNode?: import("../../Node.js").default;
|
|
1465
|
+
absoluteTtl?: boolean;
|
|
1466
|
+
_isInternalBuild?: boolean;
|
|
1467
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1857
1468
|
deserialize(value: Buffer): number;
|
|
1858
1469
|
};
|
|
1859
1470
|
readonly fee: {
|
|
1860
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1861
|
-
onNode?: import("
|
|
1862
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1863
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1864
|
-
_canIncreaseFee?: boolean
|
|
1471
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1472
|
+
onNode?: import("../../Node.js").default;
|
|
1473
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1474
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1475
|
+
_canIncreaseFee?: boolean;
|
|
1865
1476
|
}): string;
|
|
1866
|
-
serialize(value:
|
|
1867
|
-
_canIncreaseFee?: boolean
|
|
1868
|
-
} &
|
|
1869
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1870
|
-
}): Buffer;
|
|
1477
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1478
|
+
_canIncreaseFee?: boolean;
|
|
1479
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1871
1480
|
deserialize(value: Buffer): string;
|
|
1872
1481
|
};
|
|
1873
1482
|
readonly nonce: {
|
|
1874
|
-
serialize: (value: number
|
|
1483
|
+
serialize: (value: number, params: {
|
|
1484
|
+
tag: Tag;
|
|
1485
|
+
}) => Buffer;
|
|
1875
1486
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1876
1487
|
fromId: string;
|
|
1877
1488
|
} & {
|
|
1878
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1879
|
-
onNode?: import("
|
|
1880
|
-
_isInternalBuild?: boolean
|
|
1489
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1490
|
+
onNode?: import("../../Node.js").default;
|
|
1491
|
+
_isInternalBuild?: boolean;
|
|
1881
1492
|
}) => Promise<number>;
|
|
1882
1493
|
deserialize: (value: Buffer) => number;
|
|
1883
1494
|
senderKey: string;
|
|
@@ -1926,38 +1537,34 @@ export declare const txSchema: readonly [{
|
|
|
1926
1537
|
readonly ttl: {
|
|
1927
1538
|
serialize(value: number | undefined): Buffer;
|
|
1928
1539
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
1929
|
-
onNode?: import("
|
|
1930
|
-
absoluteTtl?: boolean
|
|
1931
|
-
_isInternalBuild?: boolean
|
|
1932
|
-
} & Omit<
|
|
1933
|
-
_expectedMineRate?: number | undefined;
|
|
1934
|
-
_microBlockCycle?: number | undefined;
|
|
1935
|
-
onNode: import("../..").Node;
|
|
1936
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1540
|
+
onNode?: import("../../Node.js").default;
|
|
1541
|
+
absoluteTtl?: boolean;
|
|
1542
|
+
_isInternalBuild?: boolean;
|
|
1543
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
1937
1544
|
deserialize(value: Buffer): number;
|
|
1938
1545
|
};
|
|
1939
1546
|
readonly fee: {
|
|
1940
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
1941
|
-
onNode?: import("
|
|
1942
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1943
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
1944
|
-
_canIncreaseFee?: boolean
|
|
1547
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1548
|
+
onNode?: import("../../Node.js").default;
|
|
1549
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1550
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1551
|
+
_canIncreaseFee?: boolean;
|
|
1945
1552
|
}): string;
|
|
1946
|
-
serialize(value:
|
|
1947
|
-
_canIncreaseFee?: boolean
|
|
1948
|
-
} &
|
|
1949
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
1950
|
-
}): Buffer;
|
|
1553
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1554
|
+
_canIncreaseFee?: boolean;
|
|
1555
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
1951
1556
|
deserialize(value: Buffer): string;
|
|
1952
1557
|
};
|
|
1953
1558
|
readonly nonce: {
|
|
1954
|
-
serialize: (value: number
|
|
1559
|
+
serialize: (value: number, params: {
|
|
1560
|
+
tag: Tag;
|
|
1561
|
+
}) => Buffer;
|
|
1955
1562
|
prepare: (value: number | undefined, params: {}, options: {
|
|
1956
1563
|
fromId: string;
|
|
1957
1564
|
} & {
|
|
1958
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
1959
|
-
onNode?: import("
|
|
1960
|
-
_isInternalBuild?: boolean
|
|
1565
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1566
|
+
onNode?: import("../../Node.js").default;
|
|
1567
|
+
_isInternalBuild?: boolean;
|
|
1961
1568
|
}) => Promise<number>;
|
|
1962
1569
|
deserialize: (value: Buffer) => number;
|
|
1963
1570
|
senderKey: string;
|
|
@@ -1987,79 +1594,6 @@ export declare const txSchema: readonly [{
|
|
|
1987
1594
|
serialize: (value: `st_${string}`) => Buffer;
|
|
1988
1595
|
deserialize: (value: Buffer) => `st_${string}`;
|
|
1989
1596
|
};
|
|
1990
|
-
}, {
|
|
1991
|
-
readonly tag: {
|
|
1992
|
-
serialize: (value: Tag.Channel) => Buffer;
|
|
1993
|
-
deserialize: (value: Buffer) => Tag.Channel;
|
|
1994
|
-
constValue: Tag.Channel;
|
|
1995
|
-
constValueOptional: boolean;
|
|
1996
|
-
};
|
|
1997
|
-
readonly version: {
|
|
1998
|
-
serialize: (value?: 3 | undefined) => Buffer;
|
|
1999
|
-
deserialize: (value: Buffer) => 3;
|
|
2000
|
-
constValue: 3;
|
|
2001
|
-
constValueOptional: boolean;
|
|
2002
|
-
};
|
|
2003
|
-
readonly initiator: {
|
|
2004
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2005
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2006
|
-
};
|
|
2007
|
-
readonly responder: {
|
|
2008
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2009
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2010
|
-
};
|
|
2011
|
-
readonly channelAmount: {
|
|
2012
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2013
|
-
deserialize(value: Buffer): string;
|
|
2014
|
-
};
|
|
2015
|
-
readonly initiatorAmount: {
|
|
2016
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2017
|
-
deserialize(value: Buffer): string;
|
|
2018
|
-
};
|
|
2019
|
-
readonly responderAmount: {
|
|
2020
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2021
|
-
deserialize(value: Buffer): string;
|
|
2022
|
-
};
|
|
2023
|
-
readonly channelReserve: {
|
|
2024
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2025
|
-
deserialize(value: Buffer): string;
|
|
2026
|
-
};
|
|
2027
|
-
readonly initiatorDelegateIds: {
|
|
2028
|
-
serialize: (value: readonly (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
|
|
2029
|
-
deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
|
|
2030
|
-
};
|
|
2031
|
-
readonly responderDelegateIds: {
|
|
2032
|
-
serialize: (value: readonly (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[], params: unknown) => Buffer[];
|
|
2033
|
-
deserialize: (value: Buffer[], params: unknown) => (`ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`)[];
|
|
2034
|
-
};
|
|
2035
|
-
readonly stateHash: {
|
|
2036
|
-
serialize: (value: `st_${string}`) => Buffer;
|
|
2037
|
-
deserialize: (value: Buffer) => `st_${string}`;
|
|
2038
|
-
};
|
|
2039
|
-
readonly round: {
|
|
2040
|
-
serialize(value: number): Buffer;
|
|
2041
|
-
deserialize(value: Buffer): number;
|
|
2042
|
-
};
|
|
2043
|
-
readonly soloRound: {
|
|
2044
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2045
|
-
deserialize(value: Buffer): string;
|
|
2046
|
-
};
|
|
2047
|
-
readonly lockPeriod: {
|
|
2048
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2049
|
-
deserialize(value: Buffer): string;
|
|
2050
|
-
};
|
|
2051
|
-
readonly lockedUntil: {
|
|
2052
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2053
|
-
deserialize(value: Buffer): string;
|
|
2054
|
-
};
|
|
2055
|
-
readonly initiatorAuth: {
|
|
2056
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
2057
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
2058
|
-
};
|
|
2059
|
-
readonly responderAuth: {
|
|
2060
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
2061
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
2062
|
-
};
|
|
2063
1597
|
}, {
|
|
2064
1598
|
readonly tag: {
|
|
2065
1599
|
serialize: (value: Tag.ChannelSnapshotSoloTx) => Buffer;
|
|
@@ -2088,671 +1622,38 @@ export declare const txSchema: readonly [{
|
|
|
2088
1622
|
readonly ttl: {
|
|
2089
1623
|
serialize(value: number | undefined): Buffer;
|
|
2090
1624
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
2091
|
-
onNode?: import("
|
|
2092
|
-
absoluteTtl?: boolean
|
|
2093
|
-
_isInternalBuild?: boolean
|
|
2094
|
-
} & Omit<
|
|
2095
|
-
_expectedMineRate?: number | undefined;
|
|
2096
|
-
_microBlockCycle?: number | undefined;
|
|
2097
|
-
onNode: import("../..").Node;
|
|
2098
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1625
|
+
onNode?: import("../../Node.js").default;
|
|
1626
|
+
absoluteTtl?: boolean;
|
|
1627
|
+
_isInternalBuild?: boolean;
|
|
1628
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
2099
1629
|
deserialize(value: Buffer): number;
|
|
2100
1630
|
};
|
|
2101
1631
|
readonly fee: {
|
|
2102
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
2103
|
-
onNode?: import("
|
|
2104
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
2105
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
2106
|
-
_canIncreaseFee?: boolean
|
|
1632
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1633
|
+
onNode?: import("../../Node.js").default;
|
|
1634
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1635
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1636
|
+
_canIncreaseFee?: boolean;
|
|
2107
1637
|
}): string;
|
|
2108
|
-
serialize(value:
|
|
2109
|
-
_canIncreaseFee?: boolean
|
|
2110
|
-
} &
|
|
2111
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2112
|
-
}): Buffer;
|
|
1638
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1639
|
+
_canIncreaseFee?: boolean;
|
|
1640
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
2113
1641
|
deserialize(value: Buffer): string;
|
|
2114
1642
|
};
|
|
2115
1643
|
readonly nonce: {
|
|
2116
|
-
serialize: (value: number
|
|
1644
|
+
serialize: (value: number, params: {
|
|
1645
|
+
tag: Tag;
|
|
1646
|
+
}) => Buffer;
|
|
2117
1647
|
prepare: (value: number | undefined, params: {}, options: {
|
|
2118
1648
|
fromId: string;
|
|
2119
1649
|
} & {
|
|
2120
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
2121
|
-
onNode?: import("
|
|
2122
|
-
_isInternalBuild?: boolean
|
|
1650
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1651
|
+
onNode?: import("../../Node.js").default;
|
|
1652
|
+
_isInternalBuild?: boolean;
|
|
2123
1653
|
}) => Promise<number>;
|
|
2124
1654
|
deserialize: (value: Buffer) => number;
|
|
2125
1655
|
senderKey: string;
|
|
2126
1656
|
};
|
|
2127
|
-
}, {
|
|
2128
|
-
readonly tag: {
|
|
2129
|
-
serialize: (value: Tag.ChannelOffChainUpdateTransfer) => Buffer;
|
|
2130
|
-
deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateTransfer;
|
|
2131
|
-
constValue: Tag.ChannelOffChainUpdateTransfer;
|
|
2132
|
-
constValueOptional: boolean;
|
|
2133
|
-
};
|
|
2134
|
-
readonly version: {
|
|
2135
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2136
|
-
deserialize: (value: Buffer) => 1;
|
|
2137
|
-
constValue: 1;
|
|
2138
|
-
constValueOptional: boolean;
|
|
2139
|
-
};
|
|
2140
|
-
readonly from: {
|
|
2141
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2142
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2143
|
-
};
|
|
2144
|
-
readonly to: {
|
|
2145
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2146
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2147
|
-
};
|
|
2148
|
-
readonly amount: {
|
|
2149
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2150
|
-
deserialize(value: Buffer): string;
|
|
2151
|
-
};
|
|
2152
|
-
}, {
|
|
2153
|
-
readonly tag: {
|
|
2154
|
-
serialize: (value: Tag.ChannelOffChainUpdateDeposit) => Buffer;
|
|
2155
|
-
deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateDeposit;
|
|
2156
|
-
constValue: Tag.ChannelOffChainUpdateDeposit;
|
|
2157
|
-
constValueOptional: boolean;
|
|
2158
|
-
};
|
|
2159
|
-
readonly version: {
|
|
2160
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2161
|
-
deserialize: (value: Buffer) => 1;
|
|
2162
|
-
constValue: 1;
|
|
2163
|
-
constValueOptional: boolean;
|
|
2164
|
-
};
|
|
2165
|
-
readonly from: {
|
|
2166
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2167
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2168
|
-
};
|
|
2169
|
-
readonly amount: {
|
|
2170
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2171
|
-
deserialize(value: Buffer): string;
|
|
2172
|
-
};
|
|
2173
|
-
}, {
|
|
2174
|
-
readonly tag: {
|
|
2175
|
-
serialize: (value: Tag.ChannelOffChainUpdateWithdraw) => Buffer;
|
|
2176
|
-
deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateWithdraw;
|
|
2177
|
-
constValue: Tag.ChannelOffChainUpdateWithdraw;
|
|
2178
|
-
constValueOptional: boolean;
|
|
2179
|
-
};
|
|
2180
|
-
readonly version: {
|
|
2181
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2182
|
-
deserialize: (value: Buffer) => 1;
|
|
2183
|
-
constValue: 1;
|
|
2184
|
-
constValueOptional: boolean;
|
|
2185
|
-
};
|
|
2186
|
-
readonly from: {
|
|
2187
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2188
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2189
|
-
};
|
|
2190
|
-
readonly amount: {
|
|
2191
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2192
|
-
deserialize(value: Buffer): string;
|
|
2193
|
-
};
|
|
2194
|
-
}, {
|
|
2195
|
-
readonly tag: {
|
|
2196
|
-
serialize: (value: Tag.ChannelOffChainUpdateCreateContract) => Buffer;
|
|
2197
|
-
deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateCreateContract;
|
|
2198
|
-
constValue: Tag.ChannelOffChainUpdateCreateContract;
|
|
2199
|
-
constValueOptional: boolean;
|
|
2200
|
-
};
|
|
2201
|
-
readonly version: {
|
|
2202
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2203
|
-
deserialize: (value: Buffer) => 1;
|
|
2204
|
-
constValue: 1;
|
|
2205
|
-
constValueOptional: boolean;
|
|
2206
|
-
};
|
|
2207
|
-
readonly owner: {
|
|
2208
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2209
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2210
|
-
};
|
|
2211
|
-
readonly ctVersion: {
|
|
2212
|
-
serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
|
|
2213
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
2214
|
-
}): Buffer;
|
|
2215
|
-
prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
|
|
2216
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
2217
|
-
onNode?: import("../..").Node | undefined;
|
|
2218
|
-
}): Promise<import("./field-types/ct-version").CtVersion | undefined>;
|
|
2219
|
-
deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
|
|
2220
|
-
};
|
|
2221
|
-
readonly code: {
|
|
2222
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
2223
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
2224
|
-
};
|
|
2225
|
-
readonly deposit: {
|
|
2226
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2227
|
-
deserialize(value: Buffer): string;
|
|
2228
|
-
};
|
|
2229
|
-
readonly callData: {
|
|
2230
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
2231
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
2232
|
-
};
|
|
2233
|
-
}, {
|
|
2234
|
-
readonly tag: {
|
|
2235
|
-
serialize: (value: Tag.ChannelOffChainUpdateCallContract) => Buffer;
|
|
2236
|
-
deserialize: (value: Buffer) => Tag.ChannelOffChainUpdateCallContract;
|
|
2237
|
-
constValue: Tag.ChannelOffChainUpdateCallContract;
|
|
2238
|
-
constValueOptional: boolean;
|
|
2239
|
-
};
|
|
2240
|
-
readonly version: {
|
|
2241
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2242
|
-
deserialize: (value: Buffer) => 1;
|
|
2243
|
-
constValue: 1;
|
|
2244
|
-
constValueOptional: boolean;
|
|
2245
|
-
};
|
|
2246
|
-
readonly caller: {
|
|
2247
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2248
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2249
|
-
};
|
|
2250
|
-
readonly contract: {
|
|
2251
|
-
serialize: (value: `ct_${string}`) => Buffer;
|
|
2252
|
-
deserialize: (value: Buffer) => `ct_${string}`;
|
|
2253
|
-
};
|
|
2254
|
-
readonly abiVersion: {
|
|
2255
|
-
_getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
|
|
2256
|
-
serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
2257
|
-
tag: Tag;
|
|
2258
|
-
}, { consensusProtocolVersion }: {
|
|
2259
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
2260
|
-
}): Buffer;
|
|
2261
|
-
prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
2262
|
-
tag: Tag;
|
|
2263
|
-
}, options: {
|
|
2264
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion | undefined;
|
|
2265
|
-
onNode?: import("../..").Node | undefined;
|
|
2266
|
-
}): Promise<import("./constants").AbiVersion | undefined>;
|
|
2267
|
-
deserialize(buffer: Buffer): import("./constants").AbiVersion;
|
|
2268
|
-
};
|
|
2269
|
-
readonly amount: {
|
|
2270
|
-
serialize(value: import("./constants").Int): Buffer;
|
|
2271
|
-
deserialize(value: Buffer): string;
|
|
2272
|
-
};
|
|
2273
|
-
readonly callData: {
|
|
2274
|
-
serialize: (value: `cb_${string}`) => Buffer;
|
|
2275
|
-
deserialize: (value: Buffer) => `cb_${string}`;
|
|
2276
|
-
};
|
|
2277
|
-
readonly callStack: {
|
|
2278
|
-
serialize(buffer: Uint8Array): Buffer;
|
|
2279
|
-
deserialize(buffer: Buffer): Buffer;
|
|
2280
|
-
};
|
|
2281
|
-
readonly gasPrice: {
|
|
2282
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
|
|
2283
|
-
onNode?: import("../..").Node | undefined;
|
|
2284
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2285
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
2286
|
-
serializeAettos(value?: string | undefined): string;
|
|
2287
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
2288
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2289
|
-
}): Buffer;
|
|
2290
|
-
deserialize(value: Buffer): string;
|
|
2291
|
-
};
|
|
2292
|
-
readonly gasLimit: {
|
|
2293
|
-
serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
|
|
2294
|
-
tag: Tag;
|
|
2295
|
-
rebuildTx: (params: any) => any;
|
|
2296
|
-
unpackTx: typeof import(".").unpackTx;
|
|
2297
|
-
buildTx: typeof import(".").buildTx;
|
|
2298
|
-
_computingGasLimit?: number | undefined;
|
|
2299
|
-
}, { gasMax }: {
|
|
2300
|
-
gasMax?: number | undefined;
|
|
2301
|
-
}): Buffer;
|
|
2302
|
-
deserialize(value: Buffer): number;
|
|
2303
|
-
};
|
|
2304
|
-
}, {
|
|
2305
|
-
readonly tag: {
|
|
2306
|
-
serialize: (value: Tag.ChannelClientReconnectTx) => Buffer;
|
|
2307
|
-
deserialize: (value: Buffer) => Tag.ChannelClientReconnectTx;
|
|
2308
|
-
constValue: Tag.ChannelClientReconnectTx;
|
|
2309
|
-
constValueOptional: boolean;
|
|
2310
|
-
};
|
|
2311
|
-
readonly version: {
|
|
2312
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2313
|
-
deserialize: (value: Buffer) => 1;
|
|
2314
|
-
constValue: 1;
|
|
2315
|
-
constValueOptional: boolean;
|
|
2316
|
-
};
|
|
2317
|
-
readonly channelId: {
|
|
2318
|
-
serialize: (value: `ch_${string}`) => Buffer;
|
|
2319
|
-
deserialize: (value: Buffer) => `ch_${string}`;
|
|
2320
|
-
};
|
|
2321
|
-
readonly round: {
|
|
2322
|
-
serialize(value: number): Buffer;
|
|
2323
|
-
deserialize(value: Buffer): number;
|
|
2324
|
-
};
|
|
2325
|
-
readonly role: {
|
|
2326
|
-
serialize(string: string): Buffer;
|
|
2327
|
-
deserialize(buffer: Buffer): string;
|
|
2328
|
-
};
|
|
2329
|
-
readonly pubkey: {
|
|
2330
|
-
serialize: (value: `ak_${string}`) => Buffer;
|
|
2331
|
-
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2332
|
-
};
|
|
2333
|
-
}, {
|
|
2334
|
-
readonly tag: {
|
|
2335
|
-
serialize: (value: Tag.TreesPoi) => Buffer;
|
|
2336
|
-
deserialize: (value: Buffer) => Tag.TreesPoi;
|
|
2337
|
-
constValue: Tag.TreesPoi;
|
|
2338
|
-
constValueOptional: boolean;
|
|
2339
|
-
};
|
|
2340
|
-
readonly version: {
|
|
2341
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2342
|
-
deserialize: (value: Buffer) => 1;
|
|
2343
|
-
constValue: 1;
|
|
2344
|
-
constValueOptional: boolean;
|
|
2345
|
-
};
|
|
2346
|
-
readonly accounts: {
|
|
2347
|
-
serialize: (value: readonly {
|
|
2348
|
-
readonly "__#3@#rootHash": string;
|
|
2349
|
-
"__#3@#isComplete": boolean;
|
|
2350
|
-
readonly isComplete: boolean;
|
|
2351
|
-
readonly "__#3@#nodes": {
|
|
2352
|
-
[key: string]: Buffer[];
|
|
2353
|
-
};
|
|
2354
|
-
readonly "__#3@#encoding": Encoded.Encoding.AccountAddress;
|
|
2355
|
-
readonly "__#3@#tag": Tag.Account;
|
|
2356
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2357
|
-
isEqual(tree: any): boolean;
|
|
2358
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2359
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2360
|
-
get(key: `ak_${string}`): (import("./schema.generated").TxUnpackedAccount1 & {
|
|
2361
|
-
tag: Tag.Account;
|
|
2362
|
-
}) | (import("./schema.generated").TxUnpackedAccount2 & {
|
|
2363
|
-
tag: Tag.Account;
|
|
2364
|
-
}) | undefined;
|
|
2365
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2366
|
-
toObject(): Record<`ak_${string}`, (import("./schema.generated").TxUnpackedAccount1 & {
|
|
2367
|
-
tag: Tag.Account;
|
|
2368
|
-
}) | (import("./schema.generated").TxUnpackedAccount2 & {
|
|
2369
|
-
tag: Tag.Account;
|
|
2370
|
-
})>;
|
|
2371
|
-
}[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
|
|
2372
|
-
deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
|
|
2373
|
-
readonly "__#3@#rootHash": string;
|
|
2374
|
-
"__#3@#isComplete": boolean;
|
|
2375
|
-
readonly isComplete: boolean;
|
|
2376
|
-
readonly "__#3@#nodes": {
|
|
2377
|
-
[key: string]: Buffer[];
|
|
2378
|
-
};
|
|
2379
|
-
readonly "__#3@#encoding": Encoded.Encoding.AccountAddress;
|
|
2380
|
-
readonly "__#3@#tag": Tag.Account;
|
|
2381
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2382
|
-
isEqual(tree: any): boolean;
|
|
2383
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2384
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2385
|
-
get(key: `ak_${string}`): (import("./schema.generated").TxUnpackedAccount1 & {
|
|
2386
|
-
tag: Tag.Account;
|
|
2387
|
-
}) | (import("./schema.generated").TxUnpackedAccount2 & {
|
|
2388
|
-
tag: Tag.Account;
|
|
2389
|
-
}) | undefined;
|
|
2390
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2391
|
-
toObject(): Record<`ak_${string}`, (import("./schema.generated").TxUnpackedAccount1 & {
|
|
2392
|
-
tag: Tag.Account;
|
|
2393
|
-
}) | (import("./schema.generated").TxUnpackedAccount2 & {
|
|
2394
|
-
tag: Tag.Account;
|
|
2395
|
-
})>;
|
|
2396
|
-
}[];
|
|
2397
|
-
};
|
|
2398
|
-
readonly calls: {
|
|
2399
|
-
serialize: (value: readonly {
|
|
2400
|
-
readonly "__#3@#rootHash": string;
|
|
2401
|
-
"__#3@#isComplete": boolean;
|
|
2402
|
-
readonly isComplete: boolean;
|
|
2403
|
-
readonly "__#3@#nodes": {
|
|
2404
|
-
[key: string]: Buffer[];
|
|
2405
|
-
};
|
|
2406
|
-
readonly "__#3@#encoding": Encoded.Encoding.Bytearray;
|
|
2407
|
-
readonly "__#3@#tag": Tag.ContractCall;
|
|
2408
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2409
|
-
isEqual(tree: any): boolean;
|
|
2410
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2411
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2412
|
-
get(key: `ba_${string}`): (import("./schema.generated").TxUnpackedContractCall2 & {
|
|
2413
|
-
tag: Tag.ContractCall;
|
|
2414
|
-
}) | undefined;
|
|
2415
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2416
|
-
toObject(): Record<`ba_${string}`, import("./schema.generated").TxUnpackedContractCall2 & {
|
|
2417
|
-
tag: Tag.ContractCall;
|
|
2418
|
-
}>;
|
|
2419
|
-
}[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
|
|
2420
|
-
deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
|
|
2421
|
-
readonly "__#3@#rootHash": string;
|
|
2422
|
-
"__#3@#isComplete": boolean;
|
|
2423
|
-
readonly isComplete: boolean;
|
|
2424
|
-
readonly "__#3@#nodes": {
|
|
2425
|
-
[key: string]: Buffer[];
|
|
2426
|
-
};
|
|
2427
|
-
readonly "__#3@#encoding": Encoded.Encoding.Bytearray;
|
|
2428
|
-
readonly "__#3@#tag": Tag.ContractCall;
|
|
2429
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2430
|
-
isEqual(tree: any): boolean;
|
|
2431
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2432
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2433
|
-
get(key: `ba_${string}`): (import("./schema.generated").TxUnpackedContractCall2 & {
|
|
2434
|
-
tag: Tag.ContractCall;
|
|
2435
|
-
}) | undefined;
|
|
2436
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2437
|
-
toObject(): Record<`ba_${string}`, import("./schema.generated").TxUnpackedContractCall2 & {
|
|
2438
|
-
tag: Tag.ContractCall;
|
|
2439
|
-
}>;
|
|
2440
|
-
}[];
|
|
2441
|
-
};
|
|
2442
|
-
readonly channels: {
|
|
2443
|
-
serialize: (value: readonly {
|
|
2444
|
-
readonly "__#3@#rootHash": string;
|
|
2445
|
-
"__#3@#isComplete": boolean;
|
|
2446
|
-
readonly isComplete: boolean;
|
|
2447
|
-
readonly "__#3@#nodes": {
|
|
2448
|
-
[key: string]: Buffer[];
|
|
2449
|
-
};
|
|
2450
|
-
readonly "__#3@#encoding": Encoded.Encoding.Channel;
|
|
2451
|
-
readonly "__#3@#tag": Tag.Channel;
|
|
2452
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2453
|
-
isEqual(tree: any): boolean;
|
|
2454
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2455
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2456
|
-
get(key: `ch_${string}`): (import("./schema.generated").TxUnpackedChannel3 & {
|
|
2457
|
-
tag: Tag.Channel;
|
|
2458
|
-
}) | undefined;
|
|
2459
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2460
|
-
toObject(): Record<`ch_${string}`, import("./schema.generated").TxUnpackedChannel3 & {
|
|
2461
|
-
tag: Tag.Channel;
|
|
2462
|
-
}>;
|
|
2463
|
-
}[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
|
|
2464
|
-
deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
|
|
2465
|
-
readonly "__#3@#rootHash": string;
|
|
2466
|
-
"__#3@#isComplete": boolean;
|
|
2467
|
-
readonly isComplete: boolean;
|
|
2468
|
-
readonly "__#3@#nodes": {
|
|
2469
|
-
[key: string]: Buffer[];
|
|
2470
|
-
};
|
|
2471
|
-
readonly "__#3@#encoding": Encoded.Encoding.Channel;
|
|
2472
|
-
readonly "__#3@#tag": Tag.Channel;
|
|
2473
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2474
|
-
isEqual(tree: any): boolean;
|
|
2475
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2476
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2477
|
-
get(key: `ch_${string}`): (import("./schema.generated").TxUnpackedChannel3 & {
|
|
2478
|
-
tag: Tag.Channel;
|
|
2479
|
-
}) | undefined;
|
|
2480
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2481
|
-
toObject(): Record<`ch_${string}`, import("./schema.generated").TxUnpackedChannel3 & {
|
|
2482
|
-
tag: Tag.Channel;
|
|
2483
|
-
}>;
|
|
2484
|
-
}[];
|
|
2485
|
-
};
|
|
2486
|
-
readonly contracts: {
|
|
2487
|
-
serialize: (value: readonly {
|
|
2488
|
-
readonly "__#3@#rootHash": string;
|
|
2489
|
-
"__#3@#isComplete": boolean;
|
|
2490
|
-
readonly isComplete: boolean;
|
|
2491
|
-
readonly "__#3@#nodes": {
|
|
2492
|
-
[key: string]: Buffer[];
|
|
2493
|
-
};
|
|
2494
|
-
readonly "__#3@#encoding": Encoded.Encoding.ContractAddress;
|
|
2495
|
-
readonly "__#3@#tag": Tag.Contract;
|
|
2496
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2497
|
-
isEqual(tree: any): boolean;
|
|
2498
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2499
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2500
|
-
get(key: `ct_${string}`): (import("./schema.generated").TxUnpackedContract1 & {
|
|
2501
|
-
tag: Tag.Contract;
|
|
2502
|
-
}) | undefined;
|
|
2503
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2504
|
-
toObject(): Record<`ct_${string}`, import("./schema.generated").TxUnpackedContract1 & {
|
|
2505
|
-
tag: Tag.Contract;
|
|
2506
|
-
}>;
|
|
2507
|
-
}[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
|
|
2508
|
-
deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
|
|
2509
|
-
readonly "__#3@#rootHash": string;
|
|
2510
|
-
"__#3@#isComplete": boolean;
|
|
2511
|
-
readonly isComplete: boolean;
|
|
2512
|
-
readonly "__#3@#nodes": {
|
|
2513
|
-
[key: string]: Buffer[];
|
|
2514
|
-
};
|
|
2515
|
-
readonly "__#3@#encoding": Encoded.Encoding.ContractAddress;
|
|
2516
|
-
readonly "__#3@#tag": Tag.Contract;
|
|
2517
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2518
|
-
isEqual(tree: any): boolean;
|
|
2519
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2520
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2521
|
-
get(key: `ct_${string}`): (import("./schema.generated").TxUnpackedContract1 & {
|
|
2522
|
-
tag: Tag.Contract;
|
|
2523
|
-
}) | undefined;
|
|
2524
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2525
|
-
toObject(): Record<`ct_${string}`, import("./schema.generated").TxUnpackedContract1 & {
|
|
2526
|
-
tag: Tag.Contract;
|
|
2527
|
-
}>;
|
|
2528
|
-
}[];
|
|
2529
|
-
};
|
|
2530
|
-
readonly ns: {
|
|
2531
|
-
serialize: (value: readonly {
|
|
2532
|
-
readonly "__#3@#rootHash": string;
|
|
2533
|
-
"__#3@#isComplete": boolean;
|
|
2534
|
-
readonly isComplete: boolean;
|
|
2535
|
-
readonly "__#3@#nodes": {
|
|
2536
|
-
[key: string]: Buffer[];
|
|
2537
|
-
};
|
|
2538
|
-
readonly "__#3@#encoding": Encoded.Encoding.Name;
|
|
2539
|
-
readonly "__#3@#tag": Tag.Name;
|
|
2540
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2541
|
-
isEqual(tree: any): boolean;
|
|
2542
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2543
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2544
|
-
get(key: `nm_${string}`): (import("./schema.generated").TxUnpackedName1 & {
|
|
2545
|
-
tag: Tag.Name;
|
|
2546
|
-
}) | undefined;
|
|
2547
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2548
|
-
toObject(): Record<`nm_${string}`, import("./schema.generated").TxUnpackedName1 & {
|
|
2549
|
-
tag: Tag.Name;
|
|
2550
|
-
}>;
|
|
2551
|
-
}[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
|
|
2552
|
-
deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
|
|
2553
|
-
readonly "__#3@#rootHash": string;
|
|
2554
|
-
"__#3@#isComplete": boolean;
|
|
2555
|
-
readonly isComplete: boolean;
|
|
2556
|
-
readonly "__#3@#nodes": {
|
|
2557
|
-
[key: string]: Buffer[];
|
|
2558
|
-
};
|
|
2559
|
-
readonly "__#3@#encoding": Encoded.Encoding.Name;
|
|
2560
|
-
readonly "__#3@#tag": Tag.Name;
|
|
2561
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2562
|
-
isEqual(tree: any): boolean;
|
|
2563
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2564
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2565
|
-
get(key: `nm_${string}`): (import("./schema.generated").TxUnpackedName1 & {
|
|
2566
|
-
tag: Tag.Name;
|
|
2567
|
-
}) | undefined;
|
|
2568
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2569
|
-
toObject(): Record<`nm_${string}`, import("./schema.generated").TxUnpackedName1 & {
|
|
2570
|
-
tag: Tag.Name;
|
|
2571
|
-
}>;
|
|
2572
|
-
}[];
|
|
2573
|
-
};
|
|
2574
|
-
readonly oracles: {
|
|
2575
|
-
serialize: (value: readonly {
|
|
2576
|
-
readonly "__#3@#rootHash": string;
|
|
2577
|
-
"__#3@#isComplete": boolean;
|
|
2578
|
-
readonly isComplete: boolean;
|
|
2579
|
-
readonly "__#3@#nodes": {
|
|
2580
|
-
[key: string]: Buffer[];
|
|
2581
|
-
};
|
|
2582
|
-
readonly "__#3@#encoding": Encoded.Encoding.OracleAddress;
|
|
2583
|
-
readonly "__#3@#tag": Tag.Oracle;
|
|
2584
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2585
|
-
isEqual(tree: any): boolean;
|
|
2586
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2587
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2588
|
-
get(key: `ok_${string}`): (import("./schema.generated").TxUnpackedOracle1 & {
|
|
2589
|
-
tag: Tag.Oracle;
|
|
2590
|
-
}) | undefined;
|
|
2591
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2592
|
-
toObject(): Record<`ok_${string}`, import("./schema.generated").TxUnpackedOracle1 & {
|
|
2593
|
-
tag: Tag.Oracle;
|
|
2594
|
-
}>;
|
|
2595
|
-
}[], params: unknown) => [Buffer, [Buffer, Buffer[]][]][];
|
|
2596
|
-
deserialize: (value: [Buffer, [Buffer, Buffer[]][]][], params: unknown) => {
|
|
2597
|
-
readonly "__#3@#rootHash": string;
|
|
2598
|
-
"__#3@#isComplete": boolean;
|
|
2599
|
-
readonly isComplete: boolean;
|
|
2600
|
-
readonly "__#3@#nodes": {
|
|
2601
|
-
[key: string]: Buffer[];
|
|
2602
|
-
};
|
|
2603
|
-
readonly "__#3@#encoding": Encoded.Encoding.OracleAddress;
|
|
2604
|
-
readonly "__#3@#tag": Tag.Oracle;
|
|
2605
|
-
readonly "__#3@#unpackTx": typeof import(".").unpackTx;
|
|
2606
|
-
isEqual(tree: any): boolean;
|
|
2607
|
-
serialize(): [Buffer, [Buffer, Buffer[]][]];
|
|
2608
|
-
"__#3@#getRaw"(_key: string): Buffer | undefined;
|
|
2609
|
-
get(key: `ok_${string}`): (import("./schema.generated").TxUnpackedOracle1 & {
|
|
2610
|
-
tag: Tag.Oracle;
|
|
2611
|
-
}) | undefined;
|
|
2612
|
-
"__#3@#entriesRaw"(): [string, Buffer][];
|
|
2613
|
-
toObject(): Record<`ok_${string}`, import("./schema.generated").TxUnpackedOracle1 & {
|
|
2614
|
-
tag: Tag.Oracle;
|
|
2615
|
-
}>;
|
|
2616
|
-
}[];
|
|
2617
|
-
};
|
|
2618
|
-
}, {
|
|
2619
|
-
readonly tag: {
|
|
2620
|
-
serialize: (value: Tag.StateTrees) => Buffer;
|
|
2621
|
-
deserialize: (value: Buffer) => Tag.StateTrees;
|
|
2622
|
-
constValue: Tag.StateTrees;
|
|
2623
|
-
constValueOptional: boolean;
|
|
2624
|
-
};
|
|
2625
|
-
readonly version: {
|
|
2626
|
-
serialize: (value?: 0 | undefined) => Buffer;
|
|
2627
|
-
deserialize: (value: Buffer) => 0;
|
|
2628
|
-
constValue: 0;
|
|
2629
|
-
constValueOptional: boolean;
|
|
2630
|
-
};
|
|
2631
|
-
readonly contracts: MapContracts;
|
|
2632
|
-
readonly calls: MapCalls;
|
|
2633
|
-
readonly channels: MapChannels;
|
|
2634
|
-
readonly ns: MapNames;
|
|
2635
|
-
readonly oracles: MapOracles;
|
|
2636
|
-
readonly accounts: MapAccounts;
|
|
2637
|
-
}, {
|
|
2638
|
-
readonly tag: {
|
|
2639
|
-
serialize: (value: Tag.Mtree) => Buffer;
|
|
2640
|
-
deserialize: (value: Buffer) => Tag.Mtree;
|
|
2641
|
-
constValue: Tag.Mtree;
|
|
2642
|
-
constValueOptional: boolean;
|
|
2643
|
-
};
|
|
2644
|
-
readonly version: {
|
|
2645
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2646
|
-
deserialize: (value: Buffer) => 1;
|
|
2647
|
-
constValue: 1;
|
|
2648
|
-
constValueOptional: boolean;
|
|
2649
|
-
};
|
|
2650
|
-
readonly values: EntryMtreeValueArray;
|
|
2651
|
-
}, {
|
|
2652
|
-
readonly tag: {
|
|
2653
|
-
serialize: (value: Tag.MtreeValue) => Buffer;
|
|
2654
|
-
deserialize: (value: Buffer) => Tag.MtreeValue;
|
|
2655
|
-
constValue: Tag.MtreeValue;
|
|
2656
|
-
constValueOptional: boolean;
|
|
2657
|
-
};
|
|
2658
|
-
readonly version: {
|
|
2659
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2660
|
-
deserialize: (value: Buffer) => 1;
|
|
2661
|
-
constValue: 1;
|
|
2662
|
-
constValueOptional: boolean;
|
|
2663
|
-
};
|
|
2664
|
-
readonly key: {
|
|
2665
|
-
serialize(buffer: Uint8Array): Buffer;
|
|
2666
|
-
deserialize(buffer: Buffer): Buffer;
|
|
2667
|
-
};
|
|
2668
|
-
readonly value: {
|
|
2669
|
-
serialize(buffer: Uint8Array): Buffer;
|
|
2670
|
-
deserialize(buffer: Buffer): Buffer;
|
|
2671
|
-
};
|
|
2672
|
-
}, {
|
|
2673
|
-
readonly tag: {
|
|
2674
|
-
serialize: (value: Tag.ContractsMtree) => Buffer;
|
|
2675
|
-
deserialize: (value: Buffer) => Tag.ContractsMtree;
|
|
2676
|
-
constValue: Tag.ContractsMtree;
|
|
2677
|
-
constValueOptional: boolean;
|
|
2678
|
-
};
|
|
2679
|
-
readonly version: {
|
|
2680
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2681
|
-
deserialize: (value: Buffer) => 1;
|
|
2682
|
-
constValue: 1;
|
|
2683
|
-
constValueOptional: boolean;
|
|
2684
|
-
};
|
|
2685
|
-
readonly payload: MapContracts;
|
|
2686
|
-
}, {
|
|
2687
|
-
readonly tag: {
|
|
2688
|
-
serialize: (value: Tag.CallsMtree) => Buffer;
|
|
2689
|
-
deserialize: (value: Buffer) => Tag.CallsMtree;
|
|
2690
|
-
constValue: Tag.CallsMtree;
|
|
2691
|
-
constValueOptional: boolean;
|
|
2692
|
-
};
|
|
2693
|
-
readonly version: {
|
|
2694
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2695
|
-
deserialize: (value: Buffer) => 1;
|
|
2696
|
-
constValue: 1;
|
|
2697
|
-
constValueOptional: boolean;
|
|
2698
|
-
};
|
|
2699
|
-
readonly payload: MapCalls;
|
|
2700
|
-
}, {
|
|
2701
|
-
readonly tag: {
|
|
2702
|
-
serialize: (value: Tag.ChannelsMtree) => Buffer;
|
|
2703
|
-
deserialize: (value: Buffer) => Tag.ChannelsMtree;
|
|
2704
|
-
constValue: Tag.ChannelsMtree;
|
|
2705
|
-
constValueOptional: boolean;
|
|
2706
|
-
};
|
|
2707
|
-
readonly version: {
|
|
2708
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2709
|
-
deserialize: (value: Buffer) => 1;
|
|
2710
|
-
constValue: 1;
|
|
2711
|
-
constValueOptional: boolean;
|
|
2712
|
-
};
|
|
2713
|
-
readonly payload: MapChannels;
|
|
2714
|
-
}, {
|
|
2715
|
-
readonly tag: {
|
|
2716
|
-
serialize: (value: Tag.NameserviceMtree) => Buffer;
|
|
2717
|
-
deserialize: (value: Buffer) => Tag.NameserviceMtree;
|
|
2718
|
-
constValue: Tag.NameserviceMtree;
|
|
2719
|
-
constValueOptional: boolean;
|
|
2720
|
-
};
|
|
2721
|
-
readonly version: {
|
|
2722
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2723
|
-
deserialize: (value: Buffer) => 1;
|
|
2724
|
-
constValue: 1;
|
|
2725
|
-
constValueOptional: boolean;
|
|
2726
|
-
};
|
|
2727
|
-
readonly payload: MapNames;
|
|
2728
|
-
}, {
|
|
2729
|
-
readonly tag: {
|
|
2730
|
-
serialize: (value: Tag.OraclesMtree) => Buffer;
|
|
2731
|
-
deserialize: (value: Buffer) => Tag.OraclesMtree;
|
|
2732
|
-
constValue: Tag.OraclesMtree;
|
|
2733
|
-
constValueOptional: boolean;
|
|
2734
|
-
};
|
|
2735
|
-
readonly version: {
|
|
2736
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2737
|
-
deserialize: (value: Buffer) => 1;
|
|
2738
|
-
constValue: 1;
|
|
2739
|
-
constValueOptional: boolean;
|
|
2740
|
-
};
|
|
2741
|
-
readonly payload: MapOracles;
|
|
2742
|
-
}, {
|
|
2743
|
-
readonly tag: {
|
|
2744
|
-
serialize: (value: Tag.AccountsMtree) => Buffer;
|
|
2745
|
-
deserialize: (value: Buffer) => Tag.AccountsMtree;
|
|
2746
|
-
constValue: Tag.AccountsMtree;
|
|
2747
|
-
constValueOptional: boolean;
|
|
2748
|
-
};
|
|
2749
|
-
readonly version: {
|
|
2750
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2751
|
-
deserialize: (value: Buffer) => 1;
|
|
2752
|
-
constValue: 1;
|
|
2753
|
-
constValueOptional: boolean;
|
|
2754
|
-
};
|
|
2755
|
-
readonly payload: MapAccounts;
|
|
2756
1657
|
}, {
|
|
2757
1658
|
readonly tag: {
|
|
2758
1659
|
serialize: (value: Tag.GaAttachTx) => Buffer;
|
|
@@ -2771,13 +1672,15 @@ export declare const txSchema: readonly [{
|
|
|
2771
1672
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2772
1673
|
};
|
|
2773
1674
|
readonly nonce: {
|
|
2774
|
-
serialize: (value: number
|
|
1675
|
+
serialize: (value: number, params: {
|
|
1676
|
+
tag: Tag;
|
|
1677
|
+
}) => Buffer;
|
|
2775
1678
|
prepare: (value: number | undefined, params: {}, options: {
|
|
2776
1679
|
ownerId: string;
|
|
2777
1680
|
} & {
|
|
2778
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
2779
|
-
onNode?: import("
|
|
2780
|
-
_isInternalBuild?: boolean
|
|
1681
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1682
|
+
onNode?: import("../../Node.js").default;
|
|
1683
|
+
_isInternalBuild?: boolean;
|
|
2781
1684
|
}) => Promise<number>;
|
|
2782
1685
|
deserialize: (value: Buffer) => number;
|
|
2783
1686
|
senderKey: string;
|
|
@@ -2791,62 +1694,56 @@ export declare const txSchema: readonly [{
|
|
|
2791
1694
|
deserialize(buffer: Buffer): Buffer;
|
|
2792
1695
|
};
|
|
2793
1696
|
readonly ctVersion: {
|
|
2794
|
-
serialize(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, { consensusProtocolVersion }: {
|
|
2795
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
1697
|
+
serialize(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, { consensusProtocolVersion, }: {
|
|
1698
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
2796
1699
|
}): Buffer;
|
|
2797
|
-
prepare(value: import("./field-types/ct-version").CtVersion | undefined, params: {}, options: {
|
|
2798
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
2799
|
-
onNode?: import("
|
|
2800
|
-
}): Promise<import("./field-types/ct-version").CtVersion | undefined>;
|
|
2801
|
-
deserialize(buffer: Buffer): import("./field-types/ct-version").CtVersion;
|
|
1700
|
+
prepare(value: import("./field-types/ct-version.js").CtVersion | undefined, params: {}, options: {
|
|
1701
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
1702
|
+
onNode?: import("../../Node.js").default;
|
|
1703
|
+
}): Promise<import("./field-types/ct-version.js").CtVersion | undefined>;
|
|
1704
|
+
deserialize(buffer: Buffer): import("./field-types/ct-version.js").CtVersion;
|
|
2802
1705
|
};
|
|
2803
1706
|
readonly fee: {
|
|
2804
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
2805
|
-
onNode?: import("
|
|
2806
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
2807
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
2808
|
-
_canIncreaseFee?: boolean
|
|
1707
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1708
|
+
onNode?: import("../../Node.js").default;
|
|
1709
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1710
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1711
|
+
_canIncreaseFee?: boolean;
|
|
2809
1712
|
}): string;
|
|
2810
|
-
serialize(value:
|
|
2811
|
-
_canIncreaseFee?: boolean
|
|
2812
|
-
} &
|
|
2813
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2814
|
-
}): Buffer;
|
|
1713
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1714
|
+
_canIncreaseFee?: boolean;
|
|
1715
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
2815
1716
|
deserialize(value: Buffer): string;
|
|
2816
1717
|
};
|
|
2817
1718
|
readonly ttl: {
|
|
2818
1719
|
serialize(value: number | undefined): Buffer;
|
|
2819
1720
|
prepare(value: number | undefined, params: {}, { onNode, absoluteTtl, _isInternalBuild, ...options }: {
|
|
2820
|
-
onNode?: import("
|
|
2821
|
-
absoluteTtl?: boolean
|
|
2822
|
-
_isInternalBuild?: boolean
|
|
2823
|
-
} & Omit<
|
|
2824
|
-
_expectedMineRate?: number | undefined;
|
|
2825
|
-
_microBlockCycle?: number | undefined;
|
|
2826
|
-
onNode: import("../..").Node;
|
|
2827
|
-
}, "onNode">): Promise<number | undefined>;
|
|
1721
|
+
onNode?: import("../../Node.js").default;
|
|
1722
|
+
absoluteTtl?: boolean;
|
|
1723
|
+
_isInternalBuild?: boolean;
|
|
1724
|
+
} & Omit<Parameters<typeof import("../../chain.js")._getPollInterval>[1], "onNode">): Promise<number | undefined>;
|
|
2828
1725
|
deserialize(value: Buffer): number;
|
|
2829
1726
|
};
|
|
2830
1727
|
readonly gasLimit: {
|
|
2831
1728
|
serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
|
|
2832
1729
|
tag: Tag;
|
|
2833
1730
|
rebuildTx: (params: any) => any;
|
|
2834
|
-
unpackTx: typeof import(".").unpackTx;
|
|
2835
|
-
buildTx: typeof import(".").buildTx;
|
|
2836
|
-
_computingGasLimit?: number
|
|
1731
|
+
unpackTx: typeof import("./index.js").unpackTx;
|
|
1732
|
+
buildTx: typeof import("./index.js").buildTx;
|
|
1733
|
+
_computingGasLimit?: number;
|
|
2837
1734
|
}, { gasMax }: {
|
|
2838
|
-
gasMax?: number
|
|
1735
|
+
gasMax?: number;
|
|
2839
1736
|
}): Buffer;
|
|
2840
1737
|
deserialize(value: Buffer): number;
|
|
2841
1738
|
};
|
|
2842
1739
|
readonly gasPrice: {
|
|
2843
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
|
|
2844
|
-
onNode?: import("
|
|
2845
|
-
denomination?: import("
|
|
2846
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1740
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
|
|
1741
|
+
onNode?: import("../../Node.js").default;
|
|
1742
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
1743
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
2847
1744
|
serializeAettos(value?: string | undefined): string;
|
|
2848
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
2849
|
-
denomination?: import("
|
|
1745
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
1746
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
2850
1747
|
}): Buffer;
|
|
2851
1748
|
deserialize(value: Buffer): string;
|
|
2852
1749
|
};
|
|
@@ -2876,58 +1773,56 @@ export declare const txSchema: readonly [{
|
|
|
2876
1773
|
deserialize: (value: Buffer) => `cb_${string}`;
|
|
2877
1774
|
};
|
|
2878
1775
|
readonly abiVersion: {
|
|
2879
|
-
_getProtocolDetails(c: import("./constants").ConsensusProtocolVersion, tag: Tag): import("./constants").AbiVersion;
|
|
2880
|
-
serialize(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
1776
|
+
_getProtocolDetails(c: import("./constants.js").ConsensusProtocolVersion, tag: Tag): import("./constants.js").AbiVersion;
|
|
1777
|
+
serialize(value: import("./constants.js").AbiVersion | undefined, { tag }: {
|
|
2881
1778
|
tag: Tag;
|
|
2882
|
-
}, { consensusProtocolVersion }: {
|
|
2883
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
1779
|
+
}, { consensusProtocolVersion, }: {
|
|
1780
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
2884
1781
|
}): Buffer;
|
|
2885
|
-
prepare(value: import("./constants").AbiVersion | undefined, { tag }: {
|
|
1782
|
+
prepare(value: import("./constants.js").AbiVersion | undefined, { tag }: {
|
|
2886
1783
|
tag: Tag;
|
|
2887
1784
|
}, options: {
|
|
2888
|
-
consensusProtocolVersion?: import("./constants").ConsensusProtocolVersion
|
|
2889
|
-
onNode?: import("
|
|
2890
|
-
}): Promise<import("./constants").AbiVersion | undefined>;
|
|
2891
|
-
deserialize(buffer: Buffer): import("./constants").AbiVersion;
|
|
1785
|
+
consensusProtocolVersion?: import("./constants.js").ConsensusProtocolVersion;
|
|
1786
|
+
onNode?: import("../../Node.js").default;
|
|
1787
|
+
}): Promise<import("./constants.js").AbiVersion | undefined>;
|
|
1788
|
+
deserialize(buffer: Buffer): import("./constants.js").AbiVersion;
|
|
2892
1789
|
};
|
|
2893
1790
|
readonly fee: {
|
|
2894
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
2895
|
-
onNode?: import("
|
|
2896
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
2897
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
2898
|
-
_canIncreaseFee?: boolean
|
|
1791
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1792
|
+
onNode?: import("../../Node.js").default;
|
|
1793
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1794
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1795
|
+
_canIncreaseFee?: boolean;
|
|
2899
1796
|
}): string;
|
|
2900
|
-
serialize(value:
|
|
2901
|
-
_canIncreaseFee?: boolean
|
|
2902
|
-
} &
|
|
2903
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2904
|
-
}): Buffer;
|
|
1797
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1798
|
+
_canIncreaseFee?: boolean;
|
|
1799
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
2905
1800
|
deserialize(value: Buffer): string;
|
|
2906
1801
|
};
|
|
2907
1802
|
readonly gasLimit: {
|
|
2908
1803
|
serialize(_value: number | undefined, { tag, rebuildTx, unpackTx, buildTx, _computingGasLimit, }: {
|
|
2909
1804
|
tag: Tag;
|
|
2910
1805
|
rebuildTx: (params: any) => any;
|
|
2911
|
-
unpackTx: typeof import(".").unpackTx;
|
|
2912
|
-
buildTx: typeof import(".").buildTx;
|
|
2913
|
-
_computingGasLimit?: number
|
|
1806
|
+
unpackTx: typeof import("./index.js").unpackTx;
|
|
1807
|
+
buildTx: typeof import("./index.js").buildTx;
|
|
1808
|
+
_computingGasLimit?: number;
|
|
2914
1809
|
}, { gasMax }: {
|
|
2915
|
-
gasMax?: number
|
|
1810
|
+
gasMax?: number;
|
|
2916
1811
|
}): Buffer;
|
|
2917
1812
|
deserialize(value: Buffer): number;
|
|
2918
1813
|
};
|
|
2919
1814
|
readonly gasPrice: {
|
|
2920
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
|
|
2921
|
-
onNode?: import("
|
|
2922
|
-
denomination?: import("
|
|
2923
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
1815
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode, denomination, }: {
|
|
1816
|
+
onNode?: import("../../Node.js").default;
|
|
1817
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
1818
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
2924
1819
|
serializeAettos(value?: string | undefined): string;
|
|
2925
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
2926
|
-
denomination?: import("
|
|
1820
|
+
serialize(value: import("./constants.js").Int | undefined, params: {}, { denomination, ...options }: {
|
|
1821
|
+
denomination?: import("../../index-browser.js").AE_AMOUNT_FORMATS;
|
|
2927
1822
|
}): Buffer;
|
|
2928
1823
|
deserialize(value: Buffer): string;
|
|
2929
1824
|
};
|
|
2930
|
-
readonly tx:
|
|
1825
|
+
readonly tx: TransactionSignedTx;
|
|
2931
1826
|
}, {
|
|
2932
1827
|
readonly tag: {
|
|
2933
1828
|
serialize: (value: Tag.PayingForTx) => Buffer;
|
|
@@ -2946,67 +1841,32 @@ export declare const txSchema: readonly [{
|
|
|
2946
1841
|
deserialize: (value: Buffer) => `ak_${string}`;
|
|
2947
1842
|
};
|
|
2948
1843
|
readonly nonce: {
|
|
2949
|
-
serialize: (value: number
|
|
1844
|
+
serialize: (value: number, params: {
|
|
1845
|
+
tag: Tag;
|
|
1846
|
+
}) => Buffer;
|
|
2950
1847
|
prepare: (value: number | undefined, params: {}, options: {
|
|
2951
1848
|
payerId: string;
|
|
2952
1849
|
} & {
|
|
2953
|
-
strategy?: import("../../apis/node").NextNonceStrategy
|
|
2954
|
-
onNode?: import("
|
|
2955
|
-
_isInternalBuild?: boolean
|
|
1850
|
+
strategy?: import("../../apis/node/index.js").NextNonceStrategy;
|
|
1851
|
+
onNode?: import("../../Node.js").default;
|
|
1852
|
+
_isInternalBuild?: boolean;
|
|
2956
1853
|
}) => Promise<number>;
|
|
2957
1854
|
deserialize: (value: Buffer) => number;
|
|
2958
1855
|
senderKey: string;
|
|
2959
1856
|
};
|
|
2960
1857
|
readonly fee: {
|
|
2961
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode }: {
|
|
2962
|
-
onNode?: import("
|
|
2963
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
2964
|
-
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee
|
|
2965
|
-
_canIncreaseFee?: boolean
|
|
1858
|
+
prepare(value: import("./constants.js").Int | undefined, params: {}, { onNode }: {
|
|
1859
|
+
onNode?: import("../../Node.js").default;
|
|
1860
|
+
}): Promise<import("./constants.js").Int | undefined>;
|
|
1861
|
+
serializeAettos(_value: string | undefined, { rebuildTx, unpackTx, buildTx, _computingMinFee }: import("./field-types/fee.js").SerializeAettosParams, { _canIncreaseFee }: {
|
|
1862
|
+
_canIncreaseFee?: boolean;
|
|
2966
1863
|
}): string;
|
|
2967
|
-
serialize(value:
|
|
2968
|
-
_canIncreaseFee?: boolean
|
|
2969
|
-
} &
|
|
2970
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2971
|
-
}): Buffer;
|
|
2972
|
-
deserialize(value: Buffer): string;
|
|
2973
|
-
};
|
|
2974
|
-
readonly tx: EntrySignedTx;
|
|
2975
|
-
}, {
|
|
2976
|
-
readonly tag: {
|
|
2977
|
-
serialize: (value: Tag.GaMetaTxAuthData) => Buffer;
|
|
2978
|
-
deserialize: (value: Buffer) => Tag.GaMetaTxAuthData;
|
|
2979
|
-
constValue: Tag.GaMetaTxAuthData;
|
|
2980
|
-
constValueOptional: boolean;
|
|
2981
|
-
};
|
|
2982
|
-
readonly version: {
|
|
2983
|
-
serialize: (value?: 1 | undefined) => Buffer;
|
|
2984
|
-
deserialize: (value: Buffer) => 1;
|
|
2985
|
-
constValue: 1;
|
|
2986
|
-
constValueOptional: boolean;
|
|
2987
|
-
};
|
|
2988
|
-
readonly fee: {
|
|
2989
|
-
serializeAettos(value: string | undefined, params: {}, options: {}): string;
|
|
2990
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
2991
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2992
|
-
}): Buffer;
|
|
1864
|
+
serialize(value: Parameters<typeof coinAmount.serialize>[0], params: Parameters<typeof coinAmount.serialize>[1] & import("./field-types/fee.js").SerializeAettosParams, options: {
|
|
1865
|
+
_canIncreaseFee?: boolean;
|
|
1866
|
+
} & Parameters<typeof coinAmount.serialize>[2]): Buffer;
|
|
2993
1867
|
deserialize(value: Buffer): string;
|
|
2994
1868
|
};
|
|
2995
|
-
readonly
|
|
2996
|
-
prepare(value: import("./constants").Int | undefined, params: {}, { onNode, denomination }: {
|
|
2997
|
-
onNode?: import("../..").Node | undefined;
|
|
2998
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
2999
|
-
}): Promise<import("./constants").Int | undefined>;
|
|
3000
|
-
serializeAettos(value?: string | undefined): string;
|
|
3001
|
-
serialize(value: import("./constants").Int | undefined, params: {}, { denomination, ...options }: {
|
|
3002
|
-
denomination?: import("../..").AE_AMOUNT_FORMATS | undefined;
|
|
3003
|
-
}): Buffer;
|
|
3004
|
-
deserialize(value: Buffer): string;
|
|
3005
|
-
};
|
|
3006
|
-
readonly txHash: {
|
|
3007
|
-
serialize: (value: `th_${string}`) => Buffer;
|
|
3008
|
-
deserialize: (value: Buffer) => `th_${string}`;
|
|
3009
|
-
};
|
|
1869
|
+
readonly tx: TransactionSignedTx;
|
|
3010
1870
|
}];
|
|
3011
1871
|
type TxSchema = SchemaTypes<typeof txSchema>;
|
|
3012
1872
|
export type TxParams = TxSchema['TxParams'];
|