@aeternity/aepp-sdk 13.2.2 → 13.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/bin/aesophia_cli +0 -0
- package/bin/aesophia_cli_8 +0 -0
- package/dist/aepp-sdk.browser-script.js +1 -1
- package/dist/aepp-sdk.browser-script.js.map +1 -1
- package/dist/aepp-sdk.browser.js +1 -1
- package/dist/aepp-sdk.browser.js.map +1 -1
- package/dist/aepp-sdk.js +9171 -7086
- package/dist/aepp-sdk.js.map +1 -1
- package/es/AeSdk.d.ts +3 -0
- package/es/AeSdk.mjs +12 -12
- package/es/AeSdk.mjs.map +1 -1
- package/es/AeSdkAepp.d.ts +0 -1
- package/es/AeSdkAepp.mjs +12 -16
- package/es/AeSdkAepp.mjs.map +1 -1
- package/es/AeSdkBase.d.ts +61 -6
- package/es/AeSdkBase.mjs +150 -69
- package/es/AeSdkBase.mjs.map +1 -1
- package/es/AeSdkMethods.d.ts +19 -7
- package/es/AeSdkMethods.mjs +39 -38
- package/es/AeSdkMethods.mjs.map +1 -1
- package/es/AeSdkWallet.mjs +86 -55
- package/es/AeSdkWallet.mjs.map +1 -1
- package/es/Middleware.mjs +31 -27
- package/es/Middleware.mjs.map +1 -1
- package/es/MiddlewareSubscriber.mjs +5 -14
- package/es/MiddlewareSubscriber.mjs.map +1 -1
- package/es/Node.d.ts +10 -2
- package/es/Node.mjs +53 -54
- package/es/Node.mjs.map +1 -1
- package/es/account/Base.d.ts +39 -3
- package/es/account/Base.mjs +35 -1
- package/es/account/Base.mjs.map +1 -1
- package/es/account/Generalized.d.ts +2 -0
- package/es/account/Generalized.mjs +15 -6
- package/es/account/Generalized.mjs.map +1 -1
- package/es/account/Ledger.d.ts +2 -0
- package/es/account/Ledger.mjs +14 -5
- package/es/account/Ledger.mjs.map +1 -1
- package/es/account/LedgerFactory.mjs +4 -6
- package/es/account/LedgerFactory.mjs.map +1 -1
- package/es/account/Memory.d.ts +15 -4
- package/es/account/Memory.mjs +96 -31
- package/es/account/Memory.mjs.map +1 -1
- package/es/account/Rpc.d.ts +16 -5
- package/es/account/Rpc.mjs +94 -21
- package/es/account/Rpc.mjs.map +1 -1
- package/es/aens.d.ts +17 -44
- package/es/aens.mjs +32 -71
- package/es/aens.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/Browser.mjs +3 -4
- package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +7 -5
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +8 -9
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs +7 -7
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/types.d.ts +14 -0
- package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
- package/es/aepp-wallet-communication/schema.d.ts +2 -0
- package/es/aepp-wallet-communication/schema.mjs +2 -0
- package/es/aepp-wallet-communication/schema.mjs.map +1 -1
- package/es/aepp-wallet-communication/wallet-detector.mjs +4 -5
- package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
- package/es/apis/compiler/compiler.mjs.map +1 -1
- package/es/apis/compiler/models/index.d.ts +1 -0
- package/es/apis/compiler/models/index.mjs.map +1 -1
- package/es/apis/compiler/models/mappers.mjs +13 -0
- package/es/apis/compiler/models/mappers.mjs.map +1 -1
- package/es/apis/compiler/models/parameters.mjs.map +1 -1
- package/es/apis/middleware/middleware.d.ts +23 -5
- package/es/apis/middleware/middleware.mjs +114 -18
- package/es/apis/middleware/middleware.mjs.map +1 -1
- package/es/apis/middleware/models/index.d.ts +164 -15
- package/es/apis/middleware/models/index.mjs +53 -3
- package/es/apis/middleware/models/index.mjs.map +1 -1
- package/es/apis/middleware/models/mappers.d.ts +8 -1
- package/es/apis/middleware/models/mappers.mjs +376 -3
- package/es/apis/middleware/models/mappers.mjs.map +1 -1
- package/es/apis/middleware/models/parameters.d.ts +6 -3
- package/es/apis/middleware/models/parameters.mjs +38 -11
- package/es/apis/middleware/models/parameters.mjs.map +1 -1
- package/es/apis/node/models/index.d.ts +66 -2
- package/es/apis/node/models/index.mjs.map +1 -1
- package/es/apis/node/models/mappers.d.ts +5 -1
- package/es/apis/node/models/mappers.mjs +229 -7
- package/es/apis/node/models/mappers.mjs.map +1 -1
- package/es/apis/node/models/parameters.d.ts +2 -2
- package/es/apis/node/models/parameters.mjs +2 -2
- package/es/apis/node/models/parameters.mjs.map +1 -1
- package/es/apis/node/node.d.ts +24 -3
- package/es/apis/node/node.mjs +135 -3
- package/es/apis/node/node.mjs.map +1 -1
- package/es/chain.d.ts +14 -44
- package/es/chain.mjs +125 -219
- package/es/chain.mjs.map +1 -1
- package/es/channel/Base.d.ts +3 -47
- package/es/channel/Base.mjs +21 -54
- package/es/channel/Base.mjs.map +1 -1
- package/es/channel/Contract.d.ts +16 -25
- package/es/channel/Contract.mjs +39 -63
- package/es/channel/Contract.mjs.map +1 -1
- package/es/channel/Spend.d.ts +0 -8
- package/es/channel/Spend.mjs +17 -29
- package/es/channel/Spend.mjs.map +1 -1
- package/es/channel/handlers.mjs +1 -1
- package/es/channel/handlers.mjs.map +1 -1
- package/es/channel/internal.d.ts +104 -5
- package/es/channel/internal.mjs +26 -34
- package/es/channel/internal.mjs.map +1 -1
- package/es/contract/Contract.d.ts +9 -1
- package/es/contract/Contract.mjs +67 -73
- package/es/contract/Contract.mjs.map +1 -1
- package/es/contract/compiler/Base.d.ts +14 -8
- package/es/contract/compiler/Base.mjs.map +1 -1
- package/es/contract/compiler/Cli.d.ts +5 -9
- package/es/contract/compiler/Cli.mjs +45 -23
- package/es/contract/compiler/Cli.mjs.map +1 -1
- package/es/contract/compiler/Cli8.d.ts +13 -0
- package/es/contract/compiler/Cli8.mjs +22 -0
- package/es/contract/compiler/Cli8.mjs.map +1 -0
- package/es/contract/compiler/Http.d.ts +3 -9
- package/es/contract/compiler/Http.mjs +28 -16
- package/es/contract/compiler/Http.mjs.map +1 -1
- package/es/contract/compiler/HttpNode.d.ts +2 -5
- package/es/contract/compiler/HttpNode.mjs.map +1 -1
- package/es/contract/delegation-signature.d.ts +2 -1
- package/es/contract/delegation-signature.mjs +18 -14
- package/es/contract/delegation-signature.mjs.map +1 -1
- package/es/contract/ga.d.ts +1 -2
- package/es/contract/ga.mjs +23 -25
- package/es/contract/ga.mjs.map +1 -1
- package/es/deprecated.d.ts +38 -0
- package/es/deprecated.mjs +45 -0
- package/es/deprecated.mjs.map +1 -1
- package/es/index-browser.d.ts +10 -5
- package/es/index-browser.mjs +9 -5
- package/es/index-browser.mjs.map +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/index.mjs.map +1 -1
- package/es/oracle.d.ts +6 -37
- package/es/oracle.mjs +32 -66
- package/es/oracle.mjs.map +1 -1
- package/es/send-transaction.d.ts +53 -0
- package/es/send-transaction.mjs +109 -0
- package/es/send-transaction.mjs.map +1 -0
- package/es/spend.d.ts +4 -3
- package/es/spend.mjs +6 -1
- package/es/spend.mjs.map +1 -1
- package/es/tx/builder/common.d.ts +29 -0
- package/es/tx/builder/common.mjs +42 -0
- package/es/tx/builder/common.mjs.map +1 -0
- package/es/tx/builder/constants.d.ts +4 -4
- package/es/tx/builder/constants.mjs +6 -15
- package/es/tx/builder/constants.mjs.map +1 -1
- package/es/tx/builder/delegation/index.d.ts +20 -0
- package/es/tx/builder/delegation/index.mjs +24 -0
- package/es/tx/builder/delegation/index.mjs.map +1 -0
- package/es/tx/builder/delegation/schema.d.ts +130 -0
- package/es/tx/builder/delegation/schema.generated.d.ts +141 -0
- package/es/tx/builder/delegation/schema.generated.mjs +2 -0
- package/es/tx/builder/delegation/schema.generated.mjs.map +1 -0
- package/es/tx/builder/delegation/schema.mjs +54 -0
- package/es/tx/builder/delegation/schema.mjs.map +1 -0
- package/es/tx/builder/field-types/abi-version.mjs +8 -11
- package/es/tx/builder/field-types/abi-version.mjs.map +1 -1
- package/es/tx/builder/field-types/address.mjs +1 -4
- package/es/tx/builder/field-types/address.mjs.map +1 -1
- package/es/tx/builder/field-types/coin-amount.d.ts +2 -2
- package/es/tx/builder/field-types/coin-amount.mjs +6 -6
- package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
- package/es/tx/builder/field-types/ct-version.mjs +3 -4
- package/es/tx/builder/field-types/ct-version.mjs.map +1 -1
- package/es/tx/builder/field-types/entry.mjs +7 -13
- package/es/tx/builder/field-types/entry.mjs.map +1 -1
- package/es/tx/builder/field-types/fee.d.ts +19 -11
- package/es/tx/builder/field-types/fee.mjs +56 -38
- package/es/tx/builder/field-types/fee.mjs.map +1 -1
- package/es/tx/builder/field-types/gas-limit.mjs +13 -15
- package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
- package/es/tx/builder/field-types/gas-price.d.ts +10 -2
- package/es/tx/builder/field-types/gas-price.mjs +52 -3
- package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
- package/es/tx/builder/field-types/index.d.ts +31 -29
- package/es/tx/builder/field-types/index.mjs +31 -29
- package/es/tx/builder/field-types/index.mjs.map +1 -1
- package/es/tx/builder/field-types/map.mjs +20 -31
- package/es/tx/builder/field-types/map.mjs.map +1 -1
- package/es/tx/builder/field-types/mptree.mjs +14 -29
- package/es/tx/builder/field-types/mptree.mjs.map +1 -1
- package/es/tx/builder/field-types/name-fee.d.ts +1 -1
- package/es/tx/builder/field-types/name-fee.mjs +1 -1
- package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
- package/es/tx/builder/field-types/nonce.d.ts +1 -0
- package/es/tx/builder/field-types/nonce.mjs +2 -0
- package/es/tx/builder/field-types/nonce.mjs.map +1 -1
- package/es/tx/builder/field-types/pointers.mjs +4 -7
- package/es/tx/builder/field-types/pointers.mjs.map +1 -1
- package/es/tx/builder/field-types/pointers2.d.ts +23 -0
- package/es/tx/builder/field-types/pointers2.mjs +65 -0
- package/es/tx/builder/field-types/pointers2.mjs.map +1 -0
- package/es/tx/builder/field-types/query-fee.d.ts +19 -0
- package/es/tx/builder/field-types/query-fee.mjs +20 -0
- package/es/tx/builder/field-types/query-fee.mjs.map +1 -0
- package/es/tx/builder/field-types/ttl.d.ts +9 -1
- package/es/tx/builder/field-types/ttl.mjs +19 -8
- package/es/tx/builder/field-types/ttl.mjs.map +1 -1
- package/es/tx/builder/field-types/with-default.d.ts +7 -0
- package/es/tx/builder/field-types/with-default.mjs +9 -0
- package/es/tx/builder/field-types/with-default.mjs.map +1 -0
- package/es/tx/builder/field-types/with-formatting.d.ts +7 -0
- package/es/tx/builder/field-types/with-formatting.mjs +9 -0
- package/es/tx/builder/field-types/with-formatting.mjs.map +1 -0
- package/es/tx/builder/field-types/wrapped.mjs +6 -8
- package/es/tx/builder/field-types/wrapped.mjs.map +1 -1
- package/es/tx/builder/helpers.d.ts +2 -2
- package/es/tx/builder/helpers.mjs +12 -21
- package/es/tx/builder/helpers.mjs.map +1 -1
- package/es/tx/builder/index.d.ts +17 -10
- package/es/tx/builder/index.mjs +39 -65
- package/es/tx/builder/index.mjs.map +1 -1
- package/es/tx/builder/schema.d.ts +478 -257
- package/es/tx/builder/schema.generated.d.ts +39 -3
- package/es/tx/builder/schema.generated.mjs.map +1 -1
- package/es/tx/builder/schema.mjs +48 -36
- package/es/tx/builder/schema.mjs.map +1 -1
- package/es/tx/execution-cost.d.ts +6 -5
- package/es/tx/execution-cost.mjs +16 -17
- package/es/tx/execution-cost.mjs.map +1 -1
- package/es/tx/transaction-signer.mjs +1 -4
- package/es/tx/transaction-signer.mjs.map +1 -1
- package/es/tx/validator.mjs +61 -42
- package/es/tx/validator.mjs.map +1 -1
- package/es/utils/amount-formatter.mjs +15 -22
- package/es/utils/amount-formatter.mjs.map +1 -1
- package/es/utils/autorest.d.ts +2 -3
- package/es/utils/autorest.mjs +40 -24
- package/es/utils/autorest.mjs.map +1 -1
- package/es/utils/bytes.mjs +1 -2
- package/es/utils/bytes.mjs.map +1 -1
- package/es/utils/crypto.d.ts +8 -4
- package/es/utils/crypto.mjs +17 -13
- package/es/utils/crypto.mjs.map +1 -1
- package/es/utils/errors.d.ts +6 -0
- package/es/utils/errors.mjs +12 -6
- package/es/utils/errors.mjs.map +1 -1
- package/es/utils/hd-wallet.d.ts +2 -0
- package/es/utils/hd-wallet.mjs +6 -5
- package/es/utils/hd-wallet.mjs.map +1 -1
- package/es/utils/json-big.mjs +2 -10
- package/es/utils/json-big.mjs.map +1 -1
- package/es/utils/jwt.d.ts +53 -0
- package/es/utils/jwt.mjs +120 -0
- package/es/utils/jwt.mjs.map +1 -0
- package/es/utils/keystore.d.ts +6 -2
- package/es/utils/keystore.mjs +8 -16
- package/es/utils/keystore.mjs.map +1 -1
- package/es/utils/typed-data.mjs +1 -0
- package/es/utils/typed-data.mjs.map +1 -1
- package/es/utils/wrap-proxy.d.ts +2 -0
- package/es/utils/wrap-proxy.mjs +15 -0
- package/es/utils/wrap-proxy.mjs.map +1 -0
- package/package.json +57 -51
- package/src/AeSdk.ts +3 -0
- package/src/AeSdkAepp.ts +0 -1
- package/src/AeSdkBase.ts +97 -10
- package/src/AeSdkMethods.ts +37 -33
- package/src/AeSdkWallet.ts +22 -3
- package/src/Middleware.ts +16 -8
- package/src/MiddlewareSubscriber.ts +1 -1
- package/src/Node.ts +37 -18
- package/src/account/Base.ts +62 -3
- package/src/account/Generalized.ts +10 -0
- package/src/account/Ledger.ts +10 -0
- package/src/account/Memory.ts +83 -9
- package/src/account/Rpc.ts +69 -6
- package/src/aens.ts +35 -56
- package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +3 -0
- package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +2 -2
- package/src/aepp-wallet-communication/rpc/RpcClient.ts +4 -2
- package/src/aepp-wallet-communication/rpc/types.ts +13 -0
- package/src/aepp-wallet-communication/schema.ts +2 -0
- package/src/apis/compiler/compiler.ts +93 -93
- package/src/apis/compiler/models/index.ts +1 -0
- package/src/apis/compiler/models/mappers.ts +178 -165
- package/src/apis/compiler/models/parameters.ts +18 -18
- package/src/apis/middleware/middleware.ts +462 -341
- package/src/apis/middleware/models/index.ts +258 -56
- package/src/apis/middleware/models/mappers.ts +2357 -1919
- package/src/apis/middleware/models/parameters.ts +172 -142
- package/src/apis/node/models/index.ts +79 -2
- package/src/apis/node/models/mappers.ts +1529 -1302
- package/src/apis/node/models/parameters.ts +51 -51
- package/src/apis/node/node.ts +420 -275
- package/src/chain.ts +42 -128
- package/src/channel/Base.ts +14 -47
- package/src/channel/Contract.ts +18 -26
- package/src/channel/Spend.ts +0 -8
- package/src/channel/internal.ts +115 -13
- package/src/contract/Contract.ts +26 -8
- package/src/contract/compiler/Base.ts +15 -8
- package/src/contract/compiler/Cli.ts +37 -21
- package/src/contract/compiler/Cli8.ts +17 -0
- package/src/contract/compiler/Http.ts +24 -14
- package/src/contract/compiler/HttpNode.ts +2 -2
- package/src/contract/delegation-signature.ts +11 -5
- package/src/contract/ga.ts +4 -3
- package/src/deprecated.ts +36 -0
- package/src/index-browser.ts +14 -7
- package/src/index.ts +1 -0
- package/src/oracle.ts +11 -54
- package/src/send-transaction.ts +136 -0
- package/src/spend.ts +25 -11
- package/src/tx/builder/common.ts +74 -0
- package/src/tx/builder/constants.ts +6 -9
- package/src/tx/builder/delegation/index.ts +28 -0
- package/src/tx/builder/delegation/schema.generated.ts +143 -0
- package/src/tx/builder/delegation/schema.ts +61 -0
- package/src/tx/builder/field-types/coin-amount.ts +3 -2
- package/src/tx/builder/field-types/entry.ts +1 -4
- package/src/tx/builder/field-types/fee.ts +71 -43
- package/src/tx/builder/field-types/gas-limit.ts +4 -4
- package/src/tx/builder/field-types/gas-price.ts +70 -14
- package/src/tx/builder/field-types/index.ts +31 -59
- package/src/tx/builder/field-types/name-fee.ts +1 -1
- package/src/tx/builder/field-types/nonce.ts +7 -1
- package/src/tx/builder/field-types/pointers2.ts +62 -0
- package/src/tx/builder/field-types/query-fee.ts +25 -0
- package/src/tx/builder/field-types/ttl.ts +13 -3
- package/src/tx/builder/field-types/with-default.ts +18 -0
- package/src/tx/builder/field-types/with-formatting.ts +18 -0
- package/src/tx/builder/helpers.ts +2 -2
- package/src/tx/builder/index.ts +42 -59
- package/src/tx/builder/schema.generated.ts +39 -3
- package/src/tx/builder/schema.ts +55 -29
- package/src/tx/execution-cost.ts +6 -5
- package/src/tx/validator.ts +31 -5
- package/src/utils/autorest.ts +36 -27
- package/src/utils/crypto.ts +23 -13
- package/src/utils/errors.ts +10 -0
- package/src/utils/hd-wallet.ts +2 -0
- package/src/utils/jwt.ts +126 -0
- package/src/utils/keystore.ts +6 -2
- package/src/utils/wrap-proxy.ts +24 -0
- package/types-legacy/ts4.2/AeSdk.d.ts +3 -0
- package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -1
- package/types-legacy/ts4.2/AeSdkBase.d.ts +61 -6
- package/types-legacy/ts4.2/AeSdkMethods.d.ts +19 -7
- package/types-legacy/ts4.2/Node.d.ts +14 -1
- package/types-legacy/ts4.2/account/Base.d.ts +39 -3
- package/types-legacy/ts4.2/account/Generalized.d.ts +2 -0
- package/types-legacy/ts4.2/account/Ledger.d.ts +2 -0
- package/types-legacy/ts4.2/account/Memory.d.ts +15 -4
- package/types-legacy/ts4.2/account/Rpc.d.ts +16 -5
- package/types-legacy/ts4.2/aens.d.ts +17 -44
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +14 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +2 -0
- package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +1 -0
- package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +23 -5
- package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +164 -15
- package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +8 -1
- package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +6 -3
- package/types-legacy/ts4.2/apis/node/models/index.d.ts +66 -2
- package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +5 -1
- package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +2 -2
- package/types-legacy/ts4.2/apis/node/node.d.ts +24 -3
- package/types-legacy/ts4.2/chain.d.ts +14 -44
- package/types-legacy/ts4.2/channel/Base.d.ts +3 -47
- package/types-legacy/ts4.2/channel/Contract.d.ts +16 -25
- package/types-legacy/ts4.2/channel/Spend.d.ts +0 -8
- package/types-legacy/ts4.2/channel/internal.d.ts +104 -5
- package/types-legacy/ts4.2/contract/Contract.d.ts +9 -1
- package/types-legacy/ts4.2/contract/compiler/Base.d.ts +14 -8
- package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +5 -9
- package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +13 -0
- package/types-legacy/ts4.2/contract/compiler/Http.d.ts +3 -9
- package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +2 -5
- package/types-legacy/ts4.2/contract/delegation-signature.d.ts +2 -1
- package/types-legacy/ts4.2/contract/ga.d.ts +1 -2
- package/types-legacy/ts4.2/deprecated.d.ts +38 -0
- package/types-legacy/ts4.2/index-browser.d.ts +10 -5
- package/types-legacy/ts4.2/index.d.ts +1 -0
- package/types-legacy/ts4.2/oracle.d.ts +6 -37
- package/types-legacy/ts4.2/send-transaction.d.ts +53 -0
- package/types-legacy/ts4.2/spend.d.ts +4 -3
- package/types-legacy/ts4.2/tx/builder/common.d.ts +32 -0
- package/types-legacy/ts4.2/tx/builder/constants.d.ts +4 -4
- package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +20 -0
- package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +136 -0
- package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +141 -0
- package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +2 -2
- package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +19 -11
- package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +10 -2
- package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +31 -29
- package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +1 -1
- package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +1 -0
- package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +26 -0
- package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +19 -0
- package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +9 -1
- package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/helpers.d.ts +2 -2
- package/types-legacy/ts4.2/tx/builder/index.d.ts +17 -10
- package/types-legacy/ts4.2/tx/builder/schema.d.ts +482 -257
- package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +39 -3
- package/types-legacy/ts4.2/tx/execution-cost.d.ts +6 -5
- package/types-legacy/ts4.2/utils/autorest.d.ts +2 -3
- package/types-legacy/ts4.2/utils/crypto.d.ts +8 -4
- package/types-legacy/ts4.2/utils/errors.d.ts +6 -0
- package/types-legacy/ts4.2/utils/hd-wallet.d.ts +2 -0
- package/types-legacy/ts4.2/utils/jwt.d.ts +53 -0
- package/types-legacy/ts4.2/utils/keystore.d.ts +6 -2
- package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +2 -0
- package/types-legacy/ts4.5/AeSdk.d.ts +3 -0
- package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -1
- package/types-legacy/ts4.5/AeSdkBase.d.ts +61 -6
- package/types-legacy/ts4.5/AeSdkMethods.d.ts +19 -7
- package/types-legacy/ts4.5/Node.d.ts +14 -1
- package/types-legacy/ts4.5/account/Base.d.ts +39 -3
- package/types-legacy/ts4.5/account/Generalized.d.ts +2 -0
- package/types-legacy/ts4.5/account/Ledger.d.ts +2 -0
- package/types-legacy/ts4.5/account/Memory.d.ts +15 -4
- package/types-legacy/ts4.5/account/Rpc.d.ts +16 -5
- package/types-legacy/ts4.5/aens.d.ts +17 -44
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +14 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +2 -0
- package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +1 -0
- package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +23 -5
- package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +164 -15
- package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +8 -1
- package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +6 -3
- package/types-legacy/ts4.5/apis/node/models/index.d.ts +66 -2
- package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +5 -1
- package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +2 -2
- package/types-legacy/ts4.5/apis/node/node.d.ts +24 -3
- package/types-legacy/ts4.5/chain.d.ts +14 -44
- package/types-legacy/ts4.5/channel/Base.d.ts +3 -47
- package/types-legacy/ts4.5/channel/Contract.d.ts +16 -25
- package/types-legacy/ts4.5/channel/Spend.d.ts +0 -8
- package/types-legacy/ts4.5/channel/internal.d.ts +104 -5
- package/types-legacy/ts4.5/contract/Contract.d.ts +9 -1
- package/types-legacy/ts4.5/contract/compiler/Base.d.ts +14 -8
- package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +5 -9
- package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +13 -0
- package/types-legacy/ts4.5/contract/compiler/Http.d.ts +3 -9
- package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +2 -5
- package/types-legacy/ts4.5/contract/delegation-signature.d.ts +2 -1
- package/types-legacy/ts4.5/contract/ga.d.ts +1 -2
- package/types-legacy/ts4.5/deprecated.d.ts +38 -0
- package/types-legacy/ts4.5/index-browser.d.ts +10 -5
- package/types-legacy/ts4.5/index.d.ts +1 -0
- package/types-legacy/ts4.5/oracle.d.ts +6 -37
- package/types-legacy/ts4.5/send-transaction.d.ts +53 -0
- package/types-legacy/ts4.5/spend.d.ts +4 -3
- package/types-legacy/ts4.5/tx/builder/common.d.ts +32 -0
- package/types-legacy/ts4.5/tx/builder/constants.d.ts +4 -4
- package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +20 -0
- package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +136 -0
- package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +141 -0
- package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +2 -2
- package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +19 -11
- package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +10 -2
- package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +31 -29
- package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +1 -1
- package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +1 -0
- package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +26 -0
- package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +19 -0
- package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +9 -1
- package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/helpers.d.ts +2 -2
- package/types-legacy/ts4.5/tx/builder/index.d.ts +17 -10
- package/types-legacy/ts4.5/tx/builder/schema.d.ts +482 -257
- package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +39 -3
- package/types-legacy/ts4.5/tx/execution-cost.d.ts +6 -5
- package/types-legacy/ts4.5/utils/autorest.d.ts +2 -3
- package/types-legacy/ts4.5/utils/crypto.d.ts +8 -4
- package/types-legacy/ts4.5/utils/errors.d.ts +6 -0
- package/types-legacy/ts4.5/utils/hd-wallet.d.ts +2 -0
- package/types-legacy/ts4.5/utils/jwt.d.ts +53 -0
- package/types-legacy/ts4.5/utils/keystore.d.ts +6 -2
- package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +2 -0
- package/es/tx/builder/field-types/deposit.d.ts +0 -15
- package/es/tx/builder/field-types/deposit.mjs +0 -18
- package/es/tx/builder/field-types/deposit.mjs.map +0 -1
- package/src/tx/builder/field-types/deposit.ts +0 -23
- package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +0 -15
- package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +0 -15
|
@@ -6,6 +6,8 @@ export interface Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplica
|
|
|
6
6
|
export interface Activity {
|
|
7
7
|
/** The block hash */
|
|
8
8
|
blockHash: string;
|
|
9
|
+
/** The time in which the block happened */
|
|
10
|
+
blockTime?: number;
|
|
9
11
|
/** The block height */
|
|
10
12
|
height: number;
|
|
11
13
|
/** Any object */
|
|
@@ -252,8 +254,10 @@ export interface Channel {
|
|
|
252
254
|
initiator?: string;
|
|
253
255
|
/** Amount owned by initiator */
|
|
254
256
|
initiatorAmount?: number;
|
|
255
|
-
/** The last height in which the channel was updated */
|
|
257
|
+
/** The last height in which the channel was updated on chain */
|
|
256
258
|
lastUpdatedHeight?: string;
|
|
259
|
+
/** The block time in which the channel was last updated */
|
|
260
|
+
lastUpdatedTime?: number;
|
|
257
261
|
/** The transaction type of the last transaction that updated the channel */
|
|
258
262
|
lastUpdatedTxType?: string;
|
|
259
263
|
/** Amount of heights locked after a solo closing */
|
|
@@ -310,6 +314,15 @@ export interface ContractLog {
|
|
|
310
314
|
microIndex?: number;
|
|
311
315
|
parentContractId?: number;
|
|
312
316
|
}
|
|
317
|
+
/** Contract creation info */
|
|
318
|
+
export interface Contract {
|
|
319
|
+
aexnType?: string;
|
|
320
|
+
blockHash?: string;
|
|
321
|
+
/** Any object */
|
|
322
|
+
createTx?: Record<string, unknown>;
|
|
323
|
+
sourceTxHash?: string;
|
|
324
|
+
sourceTxType?: string;
|
|
325
|
+
}
|
|
313
326
|
export interface PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
314
327
|
data?: DeltaStat[];
|
|
315
328
|
}
|
|
@@ -325,6 +338,8 @@ export interface DeltaStat {
|
|
|
325
338
|
devReward?: number;
|
|
326
339
|
/** The generation */
|
|
327
340
|
height?: number;
|
|
341
|
+
/** The last transaction hash for this height */
|
|
342
|
+
lastTxHash?: string;
|
|
328
343
|
/** The number of names activated */
|
|
329
344
|
namesActivated?: number;
|
|
330
345
|
/** The number of names expired */
|
|
@@ -428,6 +443,7 @@ export interface Name {
|
|
|
428
443
|
status?: NameStatus;
|
|
429
444
|
}
|
|
430
445
|
export interface NameInfo {
|
|
446
|
+
activationTime?: number;
|
|
431
447
|
activeFrom?: number;
|
|
432
448
|
claims?: number[];
|
|
433
449
|
expireHeight?: number;
|
|
@@ -501,6 +517,9 @@ export interface NameUpdate {
|
|
|
501
517
|
/** Any object */
|
|
502
518
|
tx?: Record<string, unknown>;
|
|
503
519
|
}
|
|
520
|
+
export interface PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
521
|
+
data?: Oracle[];
|
|
522
|
+
}
|
|
504
523
|
export interface Oracle {
|
|
505
524
|
/** The oracle active status */
|
|
506
525
|
active: boolean;
|
|
@@ -516,6 +535,8 @@ export interface Oracle {
|
|
|
516
535
|
queryFee: number;
|
|
517
536
|
/** The tx index when the oracle is registered */
|
|
518
537
|
register: number;
|
|
538
|
+
/** The block time in which the oracle was registered */
|
|
539
|
+
registerTime?: number;
|
|
519
540
|
}
|
|
520
541
|
/** The oracle's query and response formats */
|
|
521
542
|
export interface OracleExtendsItem {
|
|
@@ -524,8 +545,71 @@ export interface OracleExtendsItem {
|
|
|
524
545
|
/** The response format */
|
|
525
546
|
response: string;
|
|
526
547
|
}
|
|
527
|
-
export interface
|
|
528
|
-
data?:
|
|
548
|
+
export interface Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
549
|
+
data?: OracleQuery[];
|
|
550
|
+
}
|
|
551
|
+
export interface OracleQuery {
|
|
552
|
+
/** The hash of the block in which it ocurred */
|
|
553
|
+
blockHash: string;
|
|
554
|
+
/** The time of the block */
|
|
555
|
+
blockTime: number;
|
|
556
|
+
/** The transaction fee */
|
|
557
|
+
fee: number;
|
|
558
|
+
/** The block height */
|
|
559
|
+
height: number;
|
|
560
|
+
/** The nonce */
|
|
561
|
+
nonce: number;
|
|
562
|
+
/** The oracle ID of this query */
|
|
563
|
+
oracleId: string;
|
|
564
|
+
/** Base64 encoding of the query */
|
|
565
|
+
query: string;
|
|
566
|
+
/** The query fee */
|
|
567
|
+
queryFee: number;
|
|
568
|
+
/** The query ID */
|
|
569
|
+
queryId: string;
|
|
570
|
+
/** Expiration of the query */
|
|
571
|
+
queryTtl: Record<string, unknown>;
|
|
572
|
+
response?: OracleResponse;
|
|
573
|
+
/** Expiration of the response */
|
|
574
|
+
responseTtl: Record<string, unknown>;
|
|
575
|
+
/** The creator of the query */
|
|
576
|
+
senderId: string;
|
|
577
|
+
/** The hash of the transaction in which the query was created */
|
|
578
|
+
sourceTxHash: string;
|
|
579
|
+
/** The type of the transaction in which the query was created, it can be either via a contract call or a query transaction */
|
|
580
|
+
sourceTxType: string;
|
|
581
|
+
/** Transaction TTL */
|
|
582
|
+
ttl: number;
|
|
583
|
+
}
|
|
584
|
+
export interface OracleResponse {
|
|
585
|
+
/** The hash of the block in which it ocurred */
|
|
586
|
+
blockHash: string;
|
|
587
|
+
/** The time of the block */
|
|
588
|
+
blockTime: number;
|
|
589
|
+
/** The transaction fee */
|
|
590
|
+
fee: number;
|
|
591
|
+
/** The block height */
|
|
592
|
+
height: number;
|
|
593
|
+
/** The nonce */
|
|
594
|
+
nonce: number;
|
|
595
|
+
/** The oracle ID of this response */
|
|
596
|
+
oracleId: string;
|
|
597
|
+
query?: OracleResponse;
|
|
598
|
+
/** The query ID */
|
|
599
|
+
queryId: string;
|
|
600
|
+
/** Base64 encoding of the response */
|
|
601
|
+
response: string;
|
|
602
|
+
/** Expiration of the response */
|
|
603
|
+
responseTtl: Record<string, unknown>;
|
|
604
|
+
/** The hash of the transaction in which the response was created */
|
|
605
|
+
sourceTxHash: string;
|
|
606
|
+
/** The type of the transaction in which the response was created, it can be either via a contract call or a respond transaction */
|
|
607
|
+
sourceTxType: string;
|
|
608
|
+
/** Transaction TTL */
|
|
609
|
+
ttl: number;
|
|
610
|
+
}
|
|
611
|
+
export interface Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0 {
|
|
612
|
+
data?: OracleResponse[];
|
|
529
613
|
}
|
|
530
614
|
export interface Status {
|
|
531
615
|
mdwAsyncTasks: StatusMdwAsyncTasks;
|
|
@@ -576,6 +660,8 @@ export interface TotalStat {
|
|
|
576
660
|
devReward?: number;
|
|
577
661
|
/** The generation */
|
|
578
662
|
height?: number;
|
|
663
|
+
/** The last transaction hash for this height */
|
|
664
|
+
lastTxHash?: string;
|
|
579
665
|
/** The number of names activated */
|
|
580
666
|
namesActivated?: number;
|
|
581
667
|
/** The number of names expired */
|
|
@@ -757,6 +843,10 @@ export interface Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSc
|
|
|
757
843
|
}
|
|
758
844
|
export interface PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema extends PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
|
|
759
845
|
}
|
|
846
|
+
export interface Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema extends Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
|
|
847
|
+
}
|
|
848
|
+
export interface Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema extends Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
|
|
849
|
+
}
|
|
760
850
|
export interface Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema extends PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
|
|
761
851
|
}
|
|
762
852
|
export interface PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema extends Paths17Cjtx5V2TransfersGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
|
|
@@ -909,20 +999,58 @@ export declare enum KnownActivityType {
|
|
|
909
999
|
export type ActivityType = string;
|
|
910
1000
|
/** Known values of {@link Enum3} that the service accepts. */
|
|
911
1001
|
export declare enum KnownEnum3 {
|
|
1002
|
+
/** Creation */
|
|
1003
|
+
Creation = "creation",
|
|
1004
|
+
/** Name */
|
|
1005
|
+
Name = "name",
|
|
1006
|
+
/** Symbol */
|
|
1007
|
+
Symbol = "symbol"
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* Defines values for Enum3. \
|
|
1011
|
+
* {@link KnownEnum3} can be used interchangeably with Enum3,
|
|
1012
|
+
* this enum contains the known values that the service supports.
|
|
1013
|
+
* ### Known values supported by the service
|
|
1014
|
+
* **creation** \
|
|
1015
|
+
* **name** \
|
|
1016
|
+
* **symbol**
|
|
1017
|
+
*/
|
|
1018
|
+
export type Enum3 = string;
|
|
1019
|
+
/** Known values of {@link Enum4} that the service accepts. */
|
|
1020
|
+
export declare enum KnownEnum4 {
|
|
1021
|
+
/** Creation */
|
|
1022
|
+
Creation = "creation",
|
|
1023
|
+
/** Name */
|
|
1024
|
+
Name = "name",
|
|
1025
|
+
/** Symbol */
|
|
1026
|
+
Symbol = "symbol"
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* Defines values for Enum4. \
|
|
1030
|
+
* {@link KnownEnum4} can be used interchangeably with Enum4,
|
|
1031
|
+
* this enum contains the known values that the service supports.
|
|
1032
|
+
* ### Known values supported by the service
|
|
1033
|
+
* **creation** \
|
|
1034
|
+
* **name** \
|
|
1035
|
+
* **symbol**
|
|
1036
|
+
*/
|
|
1037
|
+
export type Enum4 = string;
|
|
1038
|
+
/** Known values of {@link Enum5} that the service accepts. */
|
|
1039
|
+
export declare enum KnownEnum5 {
|
|
912
1040
|
/** Active */
|
|
913
1041
|
Active = "active",
|
|
914
1042
|
/** Inactive */
|
|
915
1043
|
Inactive = "inactive"
|
|
916
1044
|
}
|
|
917
1045
|
/**
|
|
918
|
-
* Defines values for
|
|
919
|
-
* {@link
|
|
1046
|
+
* Defines values for Enum5. \
|
|
1047
|
+
* {@link KnownEnum5} can be used interchangeably with Enum5,
|
|
920
1048
|
* this enum contains the known values that the service supports.
|
|
921
1049
|
* ### Known values supported by the service
|
|
922
1050
|
* **active** \
|
|
923
1051
|
* **inactive**
|
|
924
1052
|
*/
|
|
925
|
-
export type
|
|
1053
|
+
export type Enum5 = string;
|
|
926
1054
|
/** Known values of {@link NameStatus} that the service accepts. */
|
|
927
1055
|
export declare enum KnownNameStatus {
|
|
928
1056
|
/** Name */
|
|
@@ -1174,7 +1302,7 @@ export type GetAccountActivitiesResponse = PathsKlr2M2V2AccountsIdActivitiesGetR
|
|
|
1174
1302
|
/** Optional parameters. */
|
|
1175
1303
|
export interface GetSortedAex141ContractsOptionalParams extends coreClient.OperationOptions {
|
|
1176
1304
|
/** meta info field used on sorting */
|
|
1177
|
-
by?:
|
|
1305
|
+
by?: Enum3;
|
|
1178
1306
|
/** Sorts by name or symbol prefix */
|
|
1179
1307
|
prefix?: string;
|
|
1180
1308
|
}
|
|
@@ -1182,6 +1310,8 @@ export interface GetSortedAex141ContractsOptionalParams extends coreClient.Opera
|
|
|
1182
1310
|
export type GetSortedAex141ContractsResponse = PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema;
|
|
1183
1311
|
/** Optional parameters. */
|
|
1184
1312
|
export interface GetAex141OwnedTokensOptionalParams extends coreClient.OperationOptions {
|
|
1313
|
+
/** Collection contract pubkey */
|
|
1314
|
+
contract?: string;
|
|
1185
1315
|
}
|
|
1186
1316
|
/** Contains response data for the getAex141OwnedTokens operation. */
|
|
1187
1317
|
export type GetAex141OwnedTokensResponse = PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema;
|
|
@@ -1215,10 +1345,10 @@ export interface GetAex141ByContractOptionalParams extends coreClient.OperationO
|
|
|
1215
1345
|
export type GetAex141ByContractResponse = Aex141Response;
|
|
1216
1346
|
/** Optional parameters. */
|
|
1217
1347
|
export interface GetSortedAex9TokensOptionalParams extends coreClient.OperationOptions {
|
|
1218
|
-
/** meta info field used on sorting */
|
|
1219
|
-
by?: string;
|
|
1220
1348
|
/** Sorts by name or symbol */
|
|
1221
1349
|
prefix?: string;
|
|
1350
|
+
/** meta info field used on sorting */
|
|
1351
|
+
by?: Enum4;
|
|
1222
1352
|
}
|
|
1223
1353
|
/** Contains response data for the getSortedAex9Tokens operation. */
|
|
1224
1354
|
export type GetSortedAex9TokensResponse = Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema;
|
|
@@ -1298,7 +1428,7 @@ export type GetBlockByMbiResponse = Block;
|
|
|
1298
1428
|
/** Optional parameters. */
|
|
1299
1429
|
export interface GetChannelsOptionalParams extends coreClient.OperationOptions {
|
|
1300
1430
|
/** Exclusively filter by active/inactive channels. */
|
|
1301
|
-
state?:
|
|
1431
|
+
state?: Enum5;
|
|
1302
1432
|
}
|
|
1303
1433
|
/** Contains response data for the getChannels operation. */
|
|
1304
1434
|
export type GetChannelsResponse = Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema;
|
|
@@ -1319,6 +1449,8 @@ export interface GetContractsLogsOptionalParams extends coreClient.OperationOpti
|
|
|
1319
1449
|
/** Name of the event */
|
|
1320
1450
|
event?: string;
|
|
1321
1451
|
/** Prefix of the contract called function */
|
|
1452
|
+
function?: string;
|
|
1453
|
+
/** Prefix of the contract called function */
|
|
1322
1454
|
functionPrefix?: string;
|
|
1323
1455
|
/** Data prefix from the contract call */
|
|
1324
1456
|
data?: string;
|
|
@@ -1328,6 +1460,11 @@ export interface GetContractsLogsOptionalParams extends coreClient.OperationOpti
|
|
|
1328
1460
|
/** Contains response data for the getContractsLogs operation. */
|
|
1329
1461
|
export type GetContractsLogsResponse = PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema;
|
|
1330
1462
|
/** Optional parameters. */
|
|
1463
|
+
export interface GetContractOptionalParams extends coreClient.OperationOptions {
|
|
1464
|
+
}
|
|
1465
|
+
/** Contains response data for the getContract operation. */
|
|
1466
|
+
export type GetContractResponse = Contract;
|
|
1467
|
+
/** Optional parameters. */
|
|
1331
1468
|
export interface GetDeltastatsOptionalParams extends coreClient.OperationOptions {
|
|
1332
1469
|
}
|
|
1333
1470
|
/** Contains response data for the getDeltastats operation. */
|
|
@@ -1414,15 +1551,27 @@ export interface GetNameUpdatesOptionalParams extends coreClient.OperationOption
|
|
|
1414
1551
|
/** Contains response data for the getNameUpdates operation. */
|
|
1415
1552
|
export type GetNameUpdatesResponse = NameUpdate;
|
|
1416
1553
|
/** Optional parameters. */
|
|
1554
|
+
export interface GetOraclesOptionalParams extends coreClient.OperationOptions {
|
|
1555
|
+
/** oracle state (active or inactive) */
|
|
1556
|
+
state?: string;
|
|
1557
|
+
}
|
|
1558
|
+
/** Contains response data for the getOracles operation. */
|
|
1559
|
+
export type GetOraclesResponse = PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema;
|
|
1560
|
+
/** Optional parameters. */
|
|
1417
1561
|
export interface GetOracleOptionalParams extends coreClient.OperationOptions {
|
|
1418
1562
|
}
|
|
1419
1563
|
/** Contains response data for the getOracle operation. */
|
|
1420
1564
|
export type GetOracleResponse = Oracle;
|
|
1421
1565
|
/** Optional parameters. */
|
|
1422
|
-
export interface
|
|
1566
|
+
export interface GetOracleQueriesOptionalParams extends coreClient.OperationOptions {
|
|
1423
1567
|
}
|
|
1424
|
-
/** Contains response data for the
|
|
1425
|
-
export type
|
|
1568
|
+
/** Contains response data for the getOracleQueries operation. */
|
|
1569
|
+
export type GetOracleQueriesResponse = Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema;
|
|
1570
|
+
/** Optional parameters. */
|
|
1571
|
+
export interface GetOracleResponsesOptionalParams extends coreClient.OperationOptions {
|
|
1572
|
+
}
|
|
1573
|
+
/** Contains response data for the getOracleResponses operation. */
|
|
1574
|
+
export type GetOracleResponsesResponse = Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema;
|
|
1426
1575
|
/** Optional parameters. */
|
|
1427
1576
|
export interface GetStatusOptionalParams extends coreClient.OperationOptions {
|
|
1428
1577
|
}
|
|
@@ -1440,14 +1589,14 @@ export interface GetTransfersOptionalParams extends coreClient.OperationOptions
|
|
|
1440
1589
|
export type GetTransfersResponse = PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema;
|
|
1441
1590
|
/** Optional parameters. */
|
|
1442
1591
|
export interface GetTxsOptionalParams extends coreClient.OperationOptions {
|
|
1592
|
+
/** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
1593
|
+
contract?: string;
|
|
1443
1594
|
/** The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
|
|
1444
1595
|
type?: Get0ItemsItem[];
|
|
1445
1596
|
/** The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
|
|
1446
1597
|
typeGroup?: Get1ItemsItem[];
|
|
1447
1598
|
/** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
1448
1599
|
account?: string;
|
|
1449
|
-
/** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
1450
|
-
contract?: string;
|
|
1451
1600
|
/** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
1452
1601
|
channel?: string;
|
|
1453
1602
|
/** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
|
|
27
27
|
/** ContractLog */
|
|
28
28
|
|
|
29
|
+
/** Contract creation info */
|
|
30
|
+
|
|
29
31
|
/** DeltaStat */
|
|
30
32
|
|
|
31
33
|
/** Key Block */
|
|
@@ -168,8 +170,9 @@ export let KnownActivityType = /*#__PURE__*/function (KnownActivityType) {
|
|
|
168
170
|
|
|
169
171
|
/** Known values of {@link Enum3} that the service accepts. */
|
|
170
172
|
export let KnownEnum3 = /*#__PURE__*/function (KnownEnum3) {
|
|
171
|
-
KnownEnum3["
|
|
172
|
-
KnownEnum3["
|
|
173
|
+
KnownEnum3["Creation"] = "creation";
|
|
174
|
+
KnownEnum3["Name"] = "name";
|
|
175
|
+
KnownEnum3["Symbol"] = "symbol";
|
|
173
176
|
return KnownEnum3;
|
|
174
177
|
}({});
|
|
175
178
|
|
|
@@ -178,6 +181,41 @@ export let KnownEnum3 = /*#__PURE__*/function (KnownEnum3) {
|
|
|
178
181
|
* {@link KnownEnum3} can be used interchangeably with Enum3,
|
|
179
182
|
* this enum contains the known values that the service supports.
|
|
180
183
|
* ### Known values supported by the service
|
|
184
|
+
* **creation** \
|
|
185
|
+
* **name** \
|
|
186
|
+
* **symbol**
|
|
187
|
+
*/
|
|
188
|
+
|
|
189
|
+
/** Known values of {@link Enum4} that the service accepts. */
|
|
190
|
+
export let KnownEnum4 = /*#__PURE__*/function (KnownEnum4) {
|
|
191
|
+
KnownEnum4["Creation"] = "creation";
|
|
192
|
+
KnownEnum4["Name"] = "name";
|
|
193
|
+
KnownEnum4["Symbol"] = "symbol";
|
|
194
|
+
return KnownEnum4;
|
|
195
|
+
}({});
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Defines values for Enum4. \
|
|
199
|
+
* {@link KnownEnum4} can be used interchangeably with Enum4,
|
|
200
|
+
* this enum contains the known values that the service supports.
|
|
201
|
+
* ### Known values supported by the service
|
|
202
|
+
* **creation** \
|
|
203
|
+
* **name** \
|
|
204
|
+
* **symbol**
|
|
205
|
+
*/
|
|
206
|
+
|
|
207
|
+
/** Known values of {@link Enum5} that the service accepts. */
|
|
208
|
+
export let KnownEnum5 = /*#__PURE__*/function (KnownEnum5) {
|
|
209
|
+
KnownEnum5["Active"] = "active";
|
|
210
|
+
KnownEnum5["Inactive"] = "inactive";
|
|
211
|
+
return KnownEnum5;
|
|
212
|
+
}({});
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Defines values for Enum5. \
|
|
216
|
+
* {@link KnownEnum5} can be used interchangeably with Enum5,
|
|
217
|
+
* this enum contains the known values that the service supports.
|
|
218
|
+
* ### Known values supported by the service
|
|
181
219
|
* **active** \
|
|
182
220
|
* **inactive**
|
|
183
221
|
*/
|
|
@@ -478,6 +516,10 @@ export let KnownInternalTransferEventKind = /*#__PURE__*/function (KnownInternal
|
|
|
478
516
|
|
|
479
517
|
/** Optional parameters. */
|
|
480
518
|
|
|
519
|
+
/** Contains response data for the getContract operation. */
|
|
520
|
+
|
|
521
|
+
/** Optional parameters. */
|
|
522
|
+
|
|
481
523
|
/** Contains response data for the getDeltastats operation. */
|
|
482
524
|
|
|
483
525
|
/** Optional parameters. */
|
|
@@ -542,11 +584,19 @@ export let KnownInternalTransferEventKind = /*#__PURE__*/function (KnownInternal
|
|
|
542
584
|
|
|
543
585
|
/** Optional parameters. */
|
|
544
586
|
|
|
587
|
+
/** Contains response data for the getOracles operation. */
|
|
588
|
+
|
|
589
|
+
/** Optional parameters. */
|
|
590
|
+
|
|
545
591
|
/** Contains response data for the getOracle operation. */
|
|
546
592
|
|
|
547
593
|
/** Optional parameters. */
|
|
548
594
|
|
|
549
|
-
/** Contains response data for the
|
|
595
|
+
/** Contains response data for the getOracleQueries operation. */
|
|
596
|
+
|
|
597
|
+
/** Optional parameters. */
|
|
598
|
+
|
|
599
|
+
/** Contains response data for the getOracleResponses operation. */
|
|
550
600
|
|
|
551
601
|
/** Optional parameters. */
|
|
552
602
|
|