@aeternity/aepp-sdk 12.1.3 → 13.0.0-alpha.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/bin/aesophia_cli +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 +12031 -11231
- package/dist/aepp-sdk.js.map +1 -1
- package/es/AeSdk.d.ts +7 -3
- package/es/AeSdk.mjs +17 -22
- package/es/AeSdk.mjs.map +1 -1
- package/es/AeSdkAepp.d.ts +6 -5
- package/es/AeSdkAepp.mjs +7 -30
- package/es/AeSdkAepp.mjs.map +1 -1
- package/es/AeSdkBase.d.ts +18 -140
- package/es/AeSdkBase.mjs +30 -184
- package/es/AeSdkBase.mjs.map +1 -1
- package/es/AeSdkMethods.d.ts +123 -0
- package/es/AeSdkMethods.mjs +122 -0
- package/es/AeSdkMethods.mjs.map +1 -0
- package/es/AeSdkWallet.d.ts +7 -21
- package/es/AeSdkWallet.mjs +38 -86
- package/es/AeSdkWallet.mjs.map +1 -1
- package/es/Node.d.ts +11 -15
- package/es/Node.mjs +35 -48
- package/es/Node.mjs.map +1 -1
- package/es/account/Base.d.ts +24 -40
- package/es/account/Base.mjs +1 -101
- package/es/account/Base.mjs.map +1 -1
- package/es/account/Generalized.d.ts +16 -0
- package/es/account/Generalized.mjs +113 -0
- package/es/account/Generalized.mjs.map +1 -0
- package/es/account/Ledger.d.ts +28 -0
- package/es/account/Ledger.mjs +102 -0
- package/es/account/Ledger.mjs.map +1 -0
- package/es/account/LedgerFactory.d.ts +39 -0
- package/es/account/LedgerFactory.mjs +81 -0
- package/es/account/LedgerFactory.mjs.map +1 -0
- package/es/account/Memory.d.ts +13 -17
- package/es/account/Memory.mjs +43 -64
- package/es/account/Memory.mjs.map +1 -1
- package/es/account/Rpc.d.ts +6 -8
- package/es/account/Rpc.mjs +14 -32
- package/es/account/Rpc.mjs.map +1 -1
- package/es/aens.d.ts +4 -4
- package/es/aens.mjs +46 -41
- package/es/aens.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/Browser.mjs +9 -13
- package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +1 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +22 -11
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +1 -1
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +0 -31
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection-proxy.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +3 -3
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs +5 -42
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/types.d.ts +7 -1
- package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
- package/es/aepp-wallet-communication/schema.mjs +14 -68
- package/es/aepp-wallet-communication/schema.mjs.map +1 -1
- package/es/aepp-wallet-communication/wallet-detector.mjs +0 -3
- package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
- package/es/apis/compiler/compiler.d.ts +23 -29
- package/es/apis/compiler/compiler.mjs +128 -189
- package/es/apis/compiler/compiler.mjs.map +1 -1
- package/es/apis/compiler/index.mjs.map +1 -1
- package/es/apis/compiler/models/index.d.ts +82 -135
- package/es/apis/compiler/models/index.mjs +1 -47
- package/es/apis/compiler/models/index.mjs.map +1 -1
- package/es/apis/compiler/models/mappers.d.ts +8 -8
- package/es/apis/compiler/models/mappers.mjs +165 -183
- package/es/apis/compiler/models/mappers.mjs.map +1 -1
- package/es/apis/compiler/models/parameters.d.ts +0 -1
- package/es/apis/compiler/models/parameters.mjs +5 -9
- package/es/apis/compiler/models/parameters.mjs.map +1 -1
- package/es/apis/node/index.mjs.map +1 -1
- package/es/apis/node/models/index.d.ts +48 -48
- package/es/apis/node/models/mappers.mjs +12 -6
- package/es/apis/node/models/mappers.mjs.map +1 -1
- package/es/apis/node/models/parameters.mjs.map +1 -1
- package/es/apis/node/node.mjs +43 -84
- package/es/apis/node/node.mjs.map +1 -1
- package/es/chain.d.ts +10 -2
- package/es/chain.mjs +37 -59
- package/es/chain.mjs.map +1 -1
- package/es/channel/Base.d.ts +200 -0
- package/es/channel/Base.mjs +293 -0
- package/es/channel/Base.mjs.map +1 -0
- package/es/channel/Contract.d.ts +248 -0
- package/es/channel/Contract.mjs +420 -0
- package/es/channel/Contract.mjs.map +1 -0
- package/es/channel/Spend.d.ts +219 -0
- package/es/channel/Spend.mjs +385 -0
- package/es/channel/Spend.mjs.map +1 -0
- package/es/channel/handlers.d.ts +8 -21
- package/es/channel/handlers.mjs +151 -899
- package/es/channel/handlers.mjs.map +1 -1
- package/es/channel/internal.d.ts +27 -21
- package/es/channel/internal.mjs +101 -191
- package/es/channel/internal.mjs.map +1 -1
- package/es/contract/Contract.d.ts +210 -0
- package/es/contract/Contract.mjs +551 -0
- package/es/contract/Contract.mjs.map +1 -0
- package/es/contract/compiler/Base.d.ts +81 -0
- package/es/contract/compiler/Base.mjs +5 -0
- package/es/contract/compiler/Base.mjs.map +1 -0
- package/es/contract/compiler/Cli.d.ts +23 -0
- package/es/contract/compiler/Cli.mjs +155 -0
- package/es/contract/compiler/Cli.mjs.map +1 -0
- package/es/contract/compiler/Http.d.ts +32 -0
- package/es/contract/compiler/Http.mjs +118 -0
- package/es/contract/compiler/Http.mjs.map +1 -0
- package/es/contract/compiler/HttpNode.d.ts +17 -0
- package/es/contract/compiler/HttpNode.mjs +26 -0
- package/es/contract/compiler/HttpNode.mjs.map +1 -0
- package/es/contract/compiler/getFileSystem.d.ts +6 -0
- package/es/contract/compiler/getFileSystem.mjs +40 -0
- package/es/contract/compiler/getFileSystem.mjs.map +1 -0
- package/es/contract/ga.d.ts +9 -34
- package/es/contract/ga.mjs +29 -112
- package/es/contract/ga.mjs.map +1 -1
- package/es/index-browser.d.ts +39 -0
- package/es/index-browser.mjs +55 -0
- package/es/index-browser.mjs.map +1 -0
- package/es/index.d.ts +4 -35
- package/es/index.mjs +4 -51
- package/es/index.mjs.map +1 -1
- package/es/oracle.d.ts +5 -5
- package/es/oracle.mjs +34 -40
- package/es/oracle.mjs.map +1 -1
- package/es/spend.d.ts +3 -3
- package/es/spend.mjs +18 -23
- package/es/spend.mjs.map +1 -1
- package/es/tx/builder/constants.d.ts +30 -2
- package/es/tx/builder/constants.mjs +43 -14
- package/es/tx/builder/constants.mjs.map +1 -1
- package/es/tx/builder/field-types/abi-version.d.ts +10 -0
- package/es/tx/builder/field-types/abi-version.mjs +20 -0
- package/es/tx/builder/field-types/abi-version.mjs.map +1 -0
- package/es/tx/builder/field-types/address.d.ts +14 -0
- package/es/tx/builder/field-types/address.mjs +51 -0
- package/es/tx/builder/field-types/address.mjs.map +1 -0
- package/es/tx/builder/field-types/array.d.ts +7 -0
- package/es/tx/builder/field-types/array.mjs +11 -0
- package/es/tx/builder/field-types/array.mjs.map +1 -0
- package/es/tx/builder/field-types/boolean.d.ts +6 -0
- package/es/tx/builder/field-types/boolean.mjs +13 -0
- package/es/tx/builder/field-types/boolean.mjs.map +1 -0
- package/es/tx/builder/field-types/coin-amount.d.ts +2 -3
- package/es/tx/builder/field-types/coin-amount.mjs +4 -12
- package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
- package/es/tx/builder/field-types/ct-version.d.ts +30 -0
- package/es/tx/builder/field-types/ct-version.mjs +48 -0
- package/es/tx/builder/field-types/ct-version.mjs.map +1 -0
- package/es/tx/builder/field-types/deposit.d.ts +1 -2
- package/es/tx/builder/field-types/deposit.mjs +2 -4
- package/es/tx/builder/field-types/deposit.mjs.map +1 -1
- package/es/tx/builder/field-types/encoded.d.ts +6 -0
- package/es/tx/builder/field-types/encoded.mjs +21 -0
- package/es/tx/builder/field-types/encoded.mjs.map +1 -0
- package/es/tx/builder/field-types/entry.d.ts +11 -0
- package/es/tx/builder/field-types/entry.mjs +31 -0
- package/es/tx/builder/field-types/entry.mjs.map +1 -0
- package/es/tx/builder/field-types/enumeration.d.ts +7 -0
- package/es/tx/builder/field-types/enumeration.mjs +30 -0
- package/es/tx/builder/field-types/enumeration.mjs.map +1 -0
- package/es/tx/builder/field-types/fee.d.ts +10 -15
- package/es/tx/builder/field-types/fee.mjs +31 -43
- package/es/tx/builder/field-types/fee.mjs.map +1 -1
- package/es/tx/builder/field-types/field.mjs +0 -2
- package/es/tx/builder/field-types/field.mjs.map +1 -1
- package/es/tx/builder/field-types/gas-limit.d.ts +5 -2
- package/es/tx/builder/field-types/gas-limit.mjs +12 -14
- package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
- package/es/tx/builder/field-types/gas-price.d.ts +1 -2
- package/es/tx/builder/field-types/gas-price.mjs +3 -7
- package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
- package/es/tx/builder/field-types/index.d.ts +80 -30
- package/es/tx/builder/field-types/index.mjs +34 -9
- package/es/tx/builder/field-types/index.mjs.map +1 -1
- package/es/tx/builder/field-types/mptree.d.ts +37 -0
- package/es/tx/builder/field-types/mptree.mjs +268 -0
- package/es/tx/builder/field-types/mptree.mjs.map +1 -0
- package/es/tx/builder/field-types/name-fee.d.ts +1 -3
- package/es/tx/builder/field-types/name-fee.mjs +3 -5
- package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
- package/es/tx/builder/field-types/name-id.d.ts +1 -4
- package/es/tx/builder/field-types/name-id.mjs +5 -10
- package/es/tx/builder/field-types/name-id.mjs.map +1 -1
- package/es/tx/builder/field-types/name.mjs +0 -2
- package/es/tx/builder/field-types/name.mjs.map +1 -1
- package/es/tx/builder/field-types/pointers.d.ts +23 -0
- package/es/tx/builder/field-types/pointers.mjs +36 -0
- package/es/tx/builder/field-types/pointers.mjs.map +1 -0
- package/es/tx/builder/field-types/raw.d.ts +6 -0
- package/es/tx/builder/field-types/raw.mjs +13 -0
- package/es/tx/builder/field-types/raw.mjs.map +1 -0
- package/es/tx/builder/field-types/short-u-int-const.d.ts +5 -0
- package/es/tx/builder/field-types/short-u-int-const.mjs +16 -0
- package/es/tx/builder/field-types/short-u-int-const.mjs.map +1 -0
- package/es/tx/builder/field-types/short-u-int.mjs +0 -2
- package/es/tx/builder/field-types/short-u-int.mjs.map +1 -1
- package/es/tx/builder/field-types/string.d.ts +6 -0
- package/es/tx/builder/field-types/string.mjs +10 -0
- package/es/tx/builder/field-types/string.mjs.map +1 -0
- package/es/tx/builder/field-types/u-int.d.ts +1 -2
- package/es/tx/builder/field-types/u-int.mjs +3 -4
- package/es/tx/builder/field-types/u-int.mjs.map +1 -1
- package/es/tx/builder/helpers.d.ts +2 -32
- package/es/tx/builder/helpers.mjs +19 -71
- package/es/tx/builder/helpers.mjs.map +1 -1
- package/es/tx/builder/index.d.ts +11 -49
- package/es/tx/builder/index.mjs +57 -337
- package/es/tx/builder/index.mjs.map +1 -1
- package/es/tx/builder/schema.d.ts +2367 -667
- package/es/tx/builder/schema.mjs +70 -145
- package/es/tx/builder/schema.mjs.map +1 -1
- package/es/tx/index.d.ts +4 -49
- package/es/tx/index.mjs +38 -112
- package/es/tx/index.mjs.map +1 -1
- package/es/tx/validator.d.ts +4 -6
- package/es/tx/validator.mjs +104 -90
- package/es/tx/validator.mjs.map +1 -1
- package/es/typings/{@aeternity__argon2-browser → @aeternity__aepp-calldata}/index.d.mjs +0 -0
- package/es/typings/@aeternity__aepp-calldata/index.d.mjs.map +1 -0
- package/es/utils/amount-formatter.mjs +4 -10
- package/es/utils/amount-formatter.mjs.map +1 -1
- package/es/utils/autorest.d.ts +1 -0
- package/es/utils/autorest.mjs +17 -19
- package/es/utils/autorest.mjs.map +1 -1
- package/es/utils/bignumber.mjs +4 -7
- package/es/utils/bignumber.mjs.map +1 -1
- package/es/utils/bytes.d.ts +0 -17
- package/es/utils/bytes.mjs +6 -35
- package/es/utils/bytes.mjs.map +1 -1
- package/es/utils/crypto.d.ts +15 -8
- package/es/utils/crypto.mjs +40 -40
- package/es/utils/crypto.mjs.map +1 -1
- package/es/utils/encoder-types.d.ts +28 -28
- package/es/utils/encoder-types.mjs +0 -1
- package/es/utils/encoder-types.mjs.map +1 -1
- package/es/utils/encoder.d.ts +0 -1
- package/es/utils/encoder.mjs +7 -15
- package/es/utils/encoder.mjs.map +1 -1
- package/es/utils/errors.d.ts +15 -14
- package/es/utils/errors.mjs +86 -172
- package/es/utils/errors.mjs.map +1 -1
- package/es/utils/hd-wallet.d.ts +27 -19
- package/es/utils/hd-wallet.mjs +42 -26
- package/es/utils/hd-wallet.mjs.map +1 -1
- package/es/utils/json-big.mjs +0 -8
- package/es/utils/json-big.mjs.map +1 -1
- package/es/utils/keystore.d.ts +2 -0
- package/es/utils/keystore.mjs +37 -36
- package/es/utils/keystore.mjs.map +1 -1
- package/es/utils/other.d.ts +4 -2
- package/es/utils/other.mjs +11 -7
- package/es/utils/other.mjs.map +1 -1
- package/es/utils/semver-satisfies.mjs +0 -3
- package/es/utils/semver-satisfies.mjs.map +1 -1
- package/es/utils/string.d.ts +0 -12
- package/es/utils/string.mjs +1 -21
- package/es/utils/string.mjs.map +1 -1
- package/package.json +98 -51
- package/src/AeSdk.ts +15 -11
- package/src/AeSdkAepp.ts +9 -7
- package/src/AeSdkBase.ts +31 -202
- package/src/AeSdkMethods.ts +169 -0
- package/src/AeSdkWallet.ts +16 -47
- package/src/Node.ts +17 -18
- package/src/account/Base.ts +29 -75
- package/src/account/Generalized.ts +98 -0
- package/src/account/Ledger.ts +131 -0
- package/src/account/LedgerFactory.ts +86 -0
- package/src/account/Memory.ts +46 -60
- package/src/account/Rpc.ts +17 -26
- package/src/aens.ts +13 -11
- package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +21 -9
- package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +3 -3
- package/src/aepp-wallet-communication/rpc/RpcClient.ts +4 -4
- package/src/aepp-wallet-communication/rpc/types.ts +11 -1
- package/src/aepp-wallet-communication/schema.ts +18 -18
- package/src/apis/compiler/code-model-v4.yaml +681 -888
- package/src/apis/compiler/compiler.ts +113 -154
- package/src/apis/compiler/models/index.ts +80 -140
- package/src/apis/compiler/models/mappers.ts +165 -183
- package/src/apis/compiler/models/parameters.ts +6 -12
- package/src/chain.ts +11 -6
- package/src/channel/Base.ts +335 -0
- package/src/channel/Contract.ts +488 -0
- package/src/channel/Spend.ts +408 -0
- package/src/channel/handlers.ts +164 -582
- package/src/channel/internal.ts +114 -143
- package/src/contract/Contract.ts +610 -0
- package/src/contract/compiler/Base.ts +94 -0
- package/src/contract/compiler/Cli.ts +134 -0
- package/src/contract/compiler/Http.ts +124 -0
- package/src/contract/compiler/HttpNode.ts +26 -0
- package/src/contract/compiler/getFileSystem.ts +42 -0
- package/src/contract/ga.ts +23 -106
- package/src/index-browser.ts +58 -0
- package/src/index.ts +4 -55
- package/src/oracle.ts +8 -8
- package/src/spend.ts +6 -14
- package/src/tx/builder/constants.ts +33 -3
- package/src/tx/builder/field-types/abi-version.ts +21 -0
- package/src/tx/builder/field-types/address.ts +62 -0
- package/src/tx/builder/field-types/array.ts +19 -0
- package/src/tx/builder/field-types/boolean.ts +9 -0
- package/src/tx/builder/field-types/coin-amount.ts +4 -9
- package/src/tx/builder/field-types/ct-version.ts +50 -0
- package/src/tx/builder/field-types/deposit.ts +1 -1
- package/src/tx/builder/field-types/encoded.ts +27 -0
- package/src/tx/builder/field-types/entry.ts +31 -0
- package/src/tx/builder/field-types/enumeration.ts +32 -0
- package/src/tx/builder/field-types/fee.ts +39 -21
- package/src/tx/builder/field-types/gas-limit.ts +13 -8
- package/src/tx/builder/field-types/gas-price.ts +0 -2
- package/src/tx/builder/field-types/index.ts +54 -15
- package/src/tx/builder/field-types/mptree.ts +242 -0
- package/src/tx/builder/field-types/name-fee.ts +2 -3
- package/src/tx/builder/field-types/name-id.ts +7 -10
- package/src/tx/builder/field-types/pointers.ts +41 -0
- package/src/tx/builder/field-types/raw.ts +9 -0
- package/src/tx/builder/field-types/short-u-int-const.ts +20 -0
- package/src/tx/builder/field-types/string.ts +11 -0
- package/src/tx/builder/field-types/u-int.ts +4 -5
- package/src/tx/builder/helpers.ts +10 -60
- package/src/tx/builder/index.ts +65 -308
- package/src/tx/builder/schema.ts +280 -341
- package/src/tx/index.ts +40 -103
- package/src/tx/validator.ts +91 -96
- package/src/typings/@aeternity__aepp-calldata/index.d.ts +20 -0
- package/src/utils/autorest.ts +16 -1
- package/src/utils/bytes.ts +6 -34
- package/src/utils/crypto.ts +23 -16
- package/src/utils/encoder.ts +0 -1
- package/src/utils/errors.ts +22 -25
- package/src/utils/hd-wallet.ts +30 -9
- package/src/utils/keystore.ts +24 -21
- package/src/utils/other.ts +16 -1
- package/src/utils/string.ts +0 -20
- package/types-legacy/ts4.2/AeSdk.d.ts +41 -0
- package/types-legacy/ts4.2/AeSdkAepp.d.ts +71 -0
- package/types-legacy/ts4.2/AeSdkBase.d.ts +91 -0
- package/types-legacy/ts4.2/AeSdkMethods.d.ts +140 -0
- package/types-legacy/ts4.2/AeSdkWallet.d.ts +90 -0
- package/types-legacy/ts4.2/Node.d.ts +78 -0
- package/types-legacy/ts4.2/account/Base.d.ts +52 -0
- package/types-legacy/ts4.2/account/Generalized.d.ts +16 -0
- package/types-legacy/ts4.2/account/Ledger.d.ts +28 -0
- package/types-legacy/ts4.2/account/LedgerFactory.d.ts +39 -0
- package/types-legacy/ts4.2/account/Memory.d.ts +22 -0
- package/types-legacy/ts4.2/account/Rpc.d.ts +25 -0
- package/types-legacy/ts4.2/aens.d.ts +222 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/Browser.d.ts +33 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +19 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +36 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/connection-proxy.d.ts +11 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/RpcClient.d.ts +34 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +83 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +133 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +25 -0
- package/types-legacy/ts4.2/apis/compiler/compiler.d.ts +86 -0
- package/types-legacy/ts4.2/apis/compiler/index.d.ts +2 -0
- package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +195 -0
- package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +23 -0
- package/types-legacy/ts4.2/apis/compiler/models/parameters.d.ts +12 -0
- package/types-legacy/ts4.2/apis/node/index.d.ts +2 -0
- package/types-legacy/ts4.2/apis/node/models/index.d.ts +1065 -0
- package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +95 -0
- package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +17 -0
- package/types-legacy/ts4.2/apis/node/node.d.ts +215 -0
- package/types-legacy/ts4.2/chain.d.ts +256 -0
- package/types-legacy/ts4.2/channel/Base.d.ts +199 -0
- package/types-legacy/ts4.2/channel/Contract.d.ts +248 -0
- package/types-legacy/ts4.2/channel/Spend.d.ts +219 -0
- package/types-legacy/ts4.2/channel/handlers.d.ts +21 -0
- package/types-legacy/ts4.2/channel/internal.d.ts +107 -0
- package/types-legacy/ts4.2/contract/Contract.d.ts +212 -0
- package/types-legacy/ts4.2/contract/compiler/Base.d.ts +81 -0
- package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +23 -0
- package/types-legacy/ts4.2/contract/compiler/Http.d.ts +32 -0
- package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +17 -0
- package/types-legacy/ts4.2/contract/compiler/getFileSystem.d.ts +6 -0
- package/types-legacy/ts4.2/contract/ga.d.ts +44 -0
- package/types-legacy/ts4.2/globals.d.ts +16 -0
- package/types-legacy/ts4.2/index-browser.d.ts +39 -0
- package/types-legacy/ts4.2/index.d.ts +5 -0
- package/types-legacy/ts4.2/oracle.d.ts +161 -0
- package/types-legacy/ts4.2/spend.d.ts +62 -0
- package/types-legacy/ts4.2/tx/builder/constants.d.ts +98 -0
- package/types-legacy/ts4.2/tx/builder/field-types/abi-version.d.ts +10 -0
- package/types-legacy/ts4.2/tx/builder/field-types/address.d.ts +21 -0
- package/types-legacy/ts4.2/tx/builder/field-types/array.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/field-types/boolean.d.ts +6 -0
- package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +12 -0
- package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +42 -0
- package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +14 -0
- package/types-legacy/ts4.2/tx/builder/field-types/encoded.d.ts +6 -0
- package/types-legacy/ts4.2/tx/builder/field-types/entry.d.ts +11 -0
- package/types-legacy/ts4.2/tx/builder/field-types/enumeration.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +20 -0
- package/types-legacy/ts4.2/tx/builder/field-types/field.d.ts +6 -0
- package/types-legacy/ts4.2/tx/builder/field-types/gas-limit.d.ts +15 -0
- package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +129 -0
- package/types-legacy/ts4.2/tx/builder/field-types/mptree.d.ts +43 -0
- package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +18 -0
- package/types-legacy/ts4.2/tx/builder/field-types/name-id.d.ts +11 -0
- package/types-legacy/ts4.2/tx/builder/field-types/name.d.ts +13 -0
- package/types-legacy/ts4.2/tx/builder/field-types/pointers.d.ts +26 -0
- package/types-legacy/ts4.2/tx/builder/field-types/raw.d.ts +6 -0
- package/types-legacy/ts4.2/tx/builder/field-types/short-u-int-const.d.ts +5 -0
- package/types-legacy/ts4.2/tx/builder/field-types/short-u-int.d.ts +6 -0
- package/types-legacy/ts4.2/tx/builder/field-types/string.d.ts +6 -0
- package/types-legacy/ts4.2/tx/builder/field-types/u-int.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/helpers.d.ts +112 -0
- package/types-legacy/ts4.2/tx/builder/index.d.ts +50 -0
- package/types-legacy/ts4.2/tx/builder/schema.d.ts +4675 -0
- package/types-legacy/ts4.2/tx/index.d.ts +19 -0
- package/types-legacy/ts4.2/tx/validator.d.ts +18 -0
- package/types-legacy/ts4.2/utils/amount-formatter.d.ts +42 -0
- package/types-legacy/ts4.2/utils/autorest.d.ts +7 -0
- package/types-legacy/ts4.2/utils/bignumber.d.ts +13 -0
- package/types-legacy/ts4.2/utils/bytes.d.ts +9 -0
- package/types-legacy/ts4.2/utils/crypto.d.ts +95 -0
- package/types-legacy/ts4.2/utils/encoder-types.d.ts +61 -0
- package/types-legacy/ts4.2/utils/encoder.d.ts +24 -0
- package/types-legacy/ts4.2/utils/errors.d.ts +475 -0
- package/types-legacy/ts4.2/utils/hd-wallet.d.ts +65 -0
- package/types-legacy/ts4.2/utils/json-big.d.ts +5 -0
- package/types-legacy/ts4.2/utils/keystore.d.ts +53 -0
- package/types-legacy/ts4.2/utils/other.d.ts +31 -0
- package/types-legacy/ts4.2/utils/semver-satisfies.d.ts +1 -0
- package/types-legacy/ts4.2/utils/string.d.ts +12 -0
- package/types-legacy/ts4.5/AeSdk.d.ts +41 -0
- package/types-legacy/ts4.5/AeSdkAepp.d.ts +71 -0
- package/types-legacy/ts4.5/AeSdkBase.d.ts +91 -0
- package/types-legacy/ts4.5/AeSdkMethods.d.ts +140 -0
- package/types-legacy/ts4.5/AeSdkWallet.d.ts +90 -0
- package/types-legacy/ts4.5/Node.d.ts +78 -0
- package/types-legacy/ts4.5/account/Base.d.ts +52 -0
- package/types-legacy/ts4.5/account/Generalized.d.ts +16 -0
- package/types-legacy/ts4.5/account/Ledger.d.ts +28 -0
- package/types-legacy/ts4.5/account/LedgerFactory.d.ts +39 -0
- package/types-legacy/ts4.5/account/Memory.d.ts +22 -0
- package/types-legacy/ts4.5/account/Rpc.d.ts +25 -0
- package/types-legacy/ts4.5/aens.d.ts +222 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/Browser.d.ts +33 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +19 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +36 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/connection-proxy.d.ts +11 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/RpcClient.d.ts +34 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +83 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +133 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +25 -0
- package/types-legacy/ts4.5/apis/compiler/compiler.d.ts +86 -0
- package/types-legacy/ts4.5/apis/compiler/index.d.ts +2 -0
- package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +195 -0
- package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +23 -0
- package/types-legacy/ts4.5/apis/compiler/models/parameters.d.ts +12 -0
- package/types-legacy/ts4.5/apis/node/index.d.ts +2 -0
- package/types-legacy/ts4.5/apis/node/models/index.d.ts +1065 -0
- package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +95 -0
- package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +17 -0
- package/types-legacy/ts4.5/apis/node/node.d.ts +215 -0
- package/types-legacy/ts4.5/chain.d.ts +256 -0
- package/types-legacy/ts4.5/channel/Base.d.ts +199 -0
- package/types-legacy/ts4.5/channel/Contract.d.ts +248 -0
- package/types-legacy/ts4.5/channel/Spend.d.ts +219 -0
- package/types-legacy/ts4.5/channel/handlers.d.ts +21 -0
- package/types-legacy/ts4.5/channel/internal.d.ts +107 -0
- package/types-legacy/ts4.5/contract/Contract.d.ts +212 -0
- package/types-legacy/ts4.5/contract/compiler/Base.d.ts +81 -0
- package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +23 -0
- package/types-legacy/ts4.5/contract/compiler/Http.d.ts +32 -0
- package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +17 -0
- package/types-legacy/ts4.5/contract/compiler/getFileSystem.d.ts +6 -0
- package/types-legacy/ts4.5/contract/ga.d.ts +44 -0
- package/types-legacy/ts4.5/index-browser.d.ts +39 -0
- package/types-legacy/ts4.5/index.d.ts +4 -0
- package/types-legacy/ts4.5/oracle.d.ts +161 -0
- package/types-legacy/ts4.5/spend.d.ts +62 -0
- package/types-legacy/ts4.5/tx/builder/constants.d.ts +98 -0
- package/types-legacy/ts4.5/tx/builder/field-types/abi-version.d.ts +10 -0
- package/types-legacy/ts4.5/tx/builder/field-types/address.d.ts +21 -0
- package/types-legacy/ts4.5/tx/builder/field-types/array.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/field-types/boolean.d.ts +6 -0
- package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +12 -0
- package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +42 -0
- package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +14 -0
- package/types-legacy/ts4.5/tx/builder/field-types/encoded.d.ts +6 -0
- package/types-legacy/ts4.5/tx/builder/field-types/entry.d.ts +11 -0
- package/types-legacy/ts4.5/tx/builder/field-types/enumeration.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +20 -0
- package/types-legacy/ts4.5/tx/builder/field-types/field.d.ts +6 -0
- package/types-legacy/ts4.5/tx/builder/field-types/gas-limit.d.ts +15 -0
- package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +129 -0
- package/types-legacy/ts4.5/tx/builder/field-types/mptree.d.ts +43 -0
- package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +18 -0
- package/types-legacy/ts4.5/tx/builder/field-types/name-id.d.ts +11 -0
- package/types-legacy/ts4.5/tx/builder/field-types/name.d.ts +13 -0
- package/types-legacy/ts4.5/tx/builder/field-types/pointers.d.ts +26 -0
- package/types-legacy/ts4.5/tx/builder/field-types/raw.d.ts +6 -0
- package/types-legacy/ts4.5/tx/builder/field-types/short-u-int-const.d.ts +5 -0
- package/types-legacy/ts4.5/tx/builder/field-types/short-u-int.d.ts +6 -0
- package/types-legacy/ts4.5/tx/builder/field-types/string.d.ts +6 -0
- package/types-legacy/ts4.5/tx/builder/field-types/u-int.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/helpers.d.ts +112 -0
- package/types-legacy/ts4.5/tx/builder/index.d.ts +50 -0
- package/types-legacy/ts4.5/tx/builder/schema.d.ts +4675 -0
- package/types-legacy/ts4.5/tx/index.d.ts +19 -0
- package/types-legacy/ts4.5/tx/validator.d.ts +18 -0
- package/types-legacy/ts4.5/utils/amount-formatter.d.ts +42 -0
- package/types-legacy/ts4.5/utils/autorest.d.ts +7 -0
- package/types-legacy/ts4.5/utils/bignumber.d.ts +13 -0
- package/types-legacy/ts4.5/utils/bytes.d.ts +9 -0
- package/types-legacy/ts4.5/utils/crypto.d.ts +95 -0
- package/types-legacy/ts4.5/utils/encoder-types.d.ts +61 -0
- package/types-legacy/ts4.5/utils/encoder.d.ts +24 -0
- package/types-legacy/ts4.5/utils/errors.d.ts +475 -0
- package/types-legacy/ts4.5/utils/hd-wallet.d.ts +65 -0
- package/types-legacy/ts4.5/utils/json-big.d.ts +5 -0
- package/types-legacy/ts4.5/utils/keystore.d.ts +53 -0
- package/types-legacy/ts4.5/utils/other.d.ts +31 -0
- package/types-legacy/ts4.5/utils/semver-satisfies.d.ts +1 -0
- package/types-legacy/ts4.5/utils/string.d.ts +12 -0
- package/es/channel/index.d.ts +0 -625
- package/es/channel/index.mjs +0 -975
- package/es/channel/index.mjs.map +0 -1
- package/es/contract/Compiler.d.ts +0 -18
- package/es/contract/Compiler.mjs +0 -68
- package/es/contract/Compiler.mjs.map +0 -1
- package/es/contract/aci.d.ts +0 -127
- package/es/contract/aci.mjs +0 -508
- package/es/contract/aci.mjs.map +0 -1
- package/es/contract/methods.d.ts +0 -71
- package/es/contract/methods.mjs +0 -104
- package/es/contract/methods.mjs.map +0 -1
- package/es/deprecated/index.d.ts +0 -143
- package/es/deprecated/index.mjs +0 -162
- package/es/deprecated/index.mjs.map +0 -1
- package/es/deprecated/methods.d.ts +0 -18
- package/es/deprecated/methods.mjs +0 -26
- package/es/deprecated/methods.mjs.map +0 -1
- package/es/tx/builder/address.d.ts +0 -25
- package/es/tx/builder/address.mjs +0 -45
- package/es/tx/builder/address.mjs.map +0 -1
- package/es/typings/@aeternity__argon2-browser/index.d.mjs.map +0 -1
- package/es/utils/mptree.d.ts +0 -26
- package/es/utils/mptree.mjs +0 -165
- package/es/utils/mptree.mjs.map +0 -1
- package/src/channel/index.ts +0 -1025
- package/src/contract/Compiler.ts +0 -67
- package/src/contract/aci.ts +0 -537
- package/src/contract/methods.ts +0 -123
- package/src/deprecated/index.ts +0 -172
- package/src/deprecated/methods.ts +0 -25
- package/src/tx/builder/address.ts +0 -50
- package/src/typings/@aeternity__argon2-browser/index.d.ts +0 -3
- package/src/utils/mptree.ts +0 -145
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Contract as ContractMapper,
|
|
1
|
+
import { Contract as ContractMapper, SophiaCallResultInput as SophiaCallResultInputMapper, BytecodeCallResultInput as BytecodeCallResultInputMapper, FunctionCallInput as FunctionCallInputMapper, DecodeCalldataBytecode as DecodeCalldataBytecodeMapper, DecodeCalldataSource as DecodeCalldataSourceMapper, ByteCodeInput as ByteCodeInputMapper, ValidateByteCodeInput as ValidateByteCodeInputMapper } from "../models/mappers.mjs";
|
|
2
2
|
export const contentType = {
|
|
3
3
|
parameterPath: ["options", "contentType"],
|
|
4
4
|
mapper: {
|
|
@@ -38,15 +38,15 @@ export const $host = {
|
|
|
38
38
|
};
|
|
39
39
|
export const body1 = {
|
|
40
40
|
parameterPath: "body",
|
|
41
|
-
mapper:
|
|
41
|
+
mapper: SophiaCallResultInputMapper
|
|
42
42
|
};
|
|
43
43
|
export const body2 = {
|
|
44
44
|
parameterPath: "body",
|
|
45
|
-
mapper:
|
|
45
|
+
mapper: BytecodeCallResultInputMapper
|
|
46
46
|
};
|
|
47
47
|
export const body3 = {
|
|
48
48
|
parameterPath: "body",
|
|
49
|
-
mapper:
|
|
49
|
+
mapper: FunctionCallInputMapper
|
|
50
50
|
};
|
|
51
51
|
export const body4 = {
|
|
52
52
|
parameterPath: "body",
|
|
@@ -58,13 +58,9 @@ export const body5 = {
|
|
|
58
58
|
};
|
|
59
59
|
export const body6 = {
|
|
60
60
|
parameterPath: "body",
|
|
61
|
-
mapper:
|
|
61
|
+
mapper: ByteCodeInputMapper
|
|
62
62
|
};
|
|
63
63
|
export const body7 = {
|
|
64
|
-
parameterPath: "body",
|
|
65
|
-
mapper: FunctionCallInputMapper
|
|
66
|
-
};
|
|
67
|
-
export const body8 = {
|
|
68
64
|
parameterPath: "body",
|
|
69
65
|
mapper: ValidateByteCodeInputMapper
|
|
70
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.mjs","names":["Contract","ContractMapper","
|
|
1
|
+
{"version":3,"file":"parameters.mjs","names":["Contract","ContractMapper","SophiaCallResultInput","SophiaCallResultInputMapper","BytecodeCallResultInput","BytecodeCallResultInputMapper","FunctionCallInput","FunctionCallInputMapper","DecodeCalldataBytecode","DecodeCalldataBytecodeMapper","DecodeCalldataSource","DecodeCalldataSourceMapper","ByteCodeInput","ByteCodeInputMapper","ValidateByteCodeInput","ValidateByteCodeInputMapper","contentType","parameterPath","mapper","defaultValue","isConstant","serializedName","type","name","body","accept","$host","required","skipEncoding","body1","body2","body3","body4","body5","body6","body7"],"sources":["../../../../src/apis/compiler/models/parameters.ts"],"sourcesContent":["import { OperationParameter, OperationURLParameter } from \"@azure/core-client\";\nimport {\n Contract as ContractMapper,\n SophiaCallResultInput as SophiaCallResultInputMapper,\n BytecodeCallResultInput as BytecodeCallResultInputMapper,\n FunctionCallInput as FunctionCallInputMapper,\n DecodeCalldataBytecode as DecodeCalldataBytecodeMapper,\n DecodeCalldataSource as DecodeCalldataSourceMapper,\n ByteCodeInput as ByteCodeInputMapper,\n ValidateByteCodeInput as ValidateByteCodeInputMapper\n} from \"../models/mappers\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: ContractMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const body1: OperationParameter = {\n parameterPath: \"body\",\n mapper: SophiaCallResultInputMapper\n};\n\nexport const body2: OperationParameter = {\n parameterPath: \"body\",\n mapper: BytecodeCallResultInputMapper\n};\n\nexport const body3: OperationParameter = {\n parameterPath: \"body\",\n mapper: FunctionCallInputMapper\n};\n\nexport const body4: OperationParameter = {\n parameterPath: \"body\",\n mapper: DecodeCalldataBytecodeMapper\n};\n\nexport const body5: OperationParameter = {\n parameterPath: \"body\",\n mapper: DecodeCalldataSourceMapper\n};\n\nexport const body6: OperationParameter = {\n parameterPath: \"body\",\n mapper: ByteCodeInputMapper\n};\n\nexport const body7: OperationParameter = {\n parameterPath: \"body\",\n mapper: ValidateByteCodeInputMapper\n};\n"],"mappings":"SAEEA,QAAQ,IAAIC,cAAc,EAC1BC,qBAAqB,IAAIC,2BAA2B,EACpDC,uBAAuB,IAAIC,6BAA6B,EACxDC,iBAAiB,IAAIC,uBAAuB,EAC5CC,sBAAsB,IAAIC,4BAA4B,EACtDC,oBAAoB,IAAIC,0BAA0B,EAClDC,aAAa,IAAIC,mBAAmB,EACpCC,qBAAqB,IAAIC,2BAA2B;AAGtD,OAAO,MAAMC,WAA+B,GAAG;EAC7CC,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;EACzCC,MAAM,EAAE;IACNC,YAAY,EAAE,kBAAkB;IAChCC,UAAU,EAAE,IAAI;IAChBC,cAAc,EAAE,cAAc;IAC9BC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMC,IAAwB,GAAG;EACtCP,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAEjB;AACV,CAAC;AAED,OAAO,MAAMwB,MAA0B,GAAG;EACxCR,aAAa,EAAE,QAAQ;EACvBC,MAAM,EAAE;IACNC,YAAY,EAAE,kBAAkB;IAChCC,UAAU,EAAE,IAAI;IAChBC,cAAc,EAAE,QAAQ;IACxBC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMG,KAA4B,GAAG;EAC1CT,aAAa,EAAE,OAAO;EACtBC,MAAM,EAAE;IACNG,cAAc,EAAE,OAAO;IACvBM,QAAQ,EAAE,IAAI;IACdL,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF,CAAC;EACDK,YAAY,EAAE;AAChB,CAAC;AAED,OAAO,MAAMC,KAAyB,GAAG;EACvCZ,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAEf;AACV,CAAC;AAED,OAAO,MAAM2B,KAAyB,GAAG;EACvCb,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAEb;AACV,CAAC;AAED,OAAO,MAAM0B,KAAyB,GAAG;EACvCd,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAEX;AACV,CAAC;AAED,OAAO,MAAMyB,KAAyB,GAAG;EACvCf,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAET;AACV,CAAC;AAED,OAAO,MAAMwB,KAAyB,GAAG;EACvChB,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAEP;AACV,CAAC;AAED,OAAO,MAAMuB,KAAyB,GAAG;EACvCjB,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAEL;AACV,CAAC;AAED,OAAO,MAAMsB,KAAyB,GAAG;EACvClB,aAAa,EAAE,MAAM;EACrBC,MAAM,EAAEH;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Node"],"sources":["../../../src/apis/node/index.ts"],"sourcesContent":["export * from \"./models\";\nexport { Node } from \"./node\";\n"],"mappings":";SACSA,
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Node"],"sources":["../../../src/apis/node/index.ts"],"sourcesContent":["export * from \"./models\";\nexport { Node } from \"./node\";\n"],"mappings":";SACSA,IAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
export
|
|
2
|
+
export type OffChainUpdateUnion = OffChainUpdate | OffChainTransfer | OffChainWithdrawal | OffChainDeposit | OffChainNewContract | OffChainCallContract;
|
|
3
3
|
/** A mix of KeyBlock, MicroBlockHeader properties. */
|
|
4
4
|
export interface Header {
|
|
5
5
|
/** Base58Check encoded tagged hash */
|
|
@@ -808,7 +808,7 @@ export interface PayingForTx {
|
|
|
808
808
|
export interface CheckTxInPoolResponse {
|
|
809
809
|
status: string;
|
|
810
810
|
}
|
|
811
|
-
export
|
|
811
|
+
export type OffChainTransfer = OffChainUpdate & {
|
|
812
812
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
813
813
|
op: "OffChainTransfer";
|
|
814
814
|
/** Base58Check encoded tagged pubkey */
|
|
@@ -817,21 +817,21 @@ export declare type OffChainTransfer = OffChainUpdate & {
|
|
|
817
817
|
to: string;
|
|
818
818
|
amount: string;
|
|
819
819
|
};
|
|
820
|
-
export
|
|
820
|
+
export type OffChainWithdrawal = OffChainUpdate & {
|
|
821
821
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
822
822
|
op: "OffChainWithdrawal";
|
|
823
823
|
/** Base58Check encoded tagged pubkey */
|
|
824
824
|
to: string;
|
|
825
825
|
amount: string;
|
|
826
826
|
};
|
|
827
|
-
export
|
|
827
|
+
export type OffChainDeposit = OffChainUpdate & {
|
|
828
828
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
829
829
|
op: "OffChainDeposit";
|
|
830
830
|
/** Base58Check encoded tagged pubkey */
|
|
831
831
|
from: string;
|
|
832
832
|
amount: string;
|
|
833
833
|
};
|
|
834
|
-
export
|
|
834
|
+
export type OffChainNewContract = OffChainUpdate & {
|
|
835
835
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
836
836
|
op: "OffChainNewContract";
|
|
837
837
|
/** Base58Check encoded tagged pubkey */
|
|
@@ -843,7 +843,7 @@ export declare type OffChainNewContract = OffChainUpdate & {
|
|
|
843
843
|
/** Base64Check encoded tagged byte array */
|
|
844
844
|
callData: string;
|
|
845
845
|
};
|
|
846
|
-
export
|
|
846
|
+
export type OffChainCallContract = OffChainUpdate & {
|
|
847
847
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
848
848
|
op: "OffChainCallContract";
|
|
849
849
|
/** Base58Check encoded tagged pubkey */
|
|
@@ -857,161 +857,161 @@ export declare type OffChainCallContract = OffChainUpdate & {
|
|
|
857
857
|
/** Base64Check encoded tagged byte array */
|
|
858
858
|
callData: string;
|
|
859
859
|
};
|
|
860
|
-
export
|
|
860
|
+
export type CreateContractUnsignedTx = UnsignedTx & {
|
|
861
861
|
/** Base58Check encoded tagged pubkey */
|
|
862
862
|
contractId: string;
|
|
863
863
|
};
|
|
864
864
|
/** Defines values for TTLType. */
|
|
865
|
-
export
|
|
865
|
+
export type TTLType = "delta" | "block";
|
|
866
866
|
/** Defines values for TxType. */
|
|
867
|
-
export
|
|
867
|
+
export type TxType = "SpendTx" | "ChannelCreateTx" | "ChannelDepositTx" | "ChannelWithdrawTx" | "ChannelForceProgressTx" | "ChannelCloseMutualTx" | "ChannelCloseSoloTx" | "ChannelSlashTx" | "ChannelSettleTx" | "ChannelSnapshotSoloTx" | "ChannelSetDelegatesTx" | "OracleRegisterTx" | "OracleExtendTx" | "OracleQueryTx" | "OracleRespondTx" | "NamePreclaimTx" | "NameClaimTx" | "NameUpdateTx" | "NameTransferTx" | "NameRevokeTx" | "ContractCreateTx" | "ContractCallTx" | "GAAttachTx" | "GAMetaTx" | "PayingForTx";
|
|
868
868
|
/** Defines values for AccountKind. */
|
|
869
|
-
export
|
|
869
|
+
export type AccountKind = "basic" | "generalized";
|
|
870
870
|
/** Defines values for NextNonceStrategy. */
|
|
871
|
-
export
|
|
871
|
+
export type NextNonceStrategy = "max" | "continuity";
|
|
872
872
|
/** Defines values for ContractCallReturnType. */
|
|
873
|
-
export
|
|
873
|
+
export type ContractCallReturnType = "ok" | "error" | "revert";
|
|
874
874
|
/** Defines values for GAReturnType. */
|
|
875
|
-
export
|
|
875
|
+
export type GAReturnType = "ok" | "error";
|
|
876
876
|
/** Defines values for OracleQueryType. */
|
|
877
|
-
export
|
|
877
|
+
export type OracleQueryType = "open" | "closed" | "all";
|
|
878
878
|
/** Optional parameters. */
|
|
879
879
|
export interface GetTopHeaderOptionalParams extends coreClient.OperationOptions {
|
|
880
880
|
}
|
|
881
881
|
/** Contains response data for the getTopHeader operation. */
|
|
882
|
-
export
|
|
882
|
+
export type GetTopHeaderResponse = Header;
|
|
883
883
|
/** Optional parameters. */
|
|
884
884
|
export interface GetCurrentKeyBlockOptionalParams extends coreClient.OperationOptions {
|
|
885
885
|
}
|
|
886
886
|
/** Contains response data for the getCurrentKeyBlock operation. */
|
|
887
|
-
export
|
|
887
|
+
export type GetCurrentKeyBlockResponse = KeyBlock;
|
|
888
888
|
/** Optional parameters. */
|
|
889
889
|
export interface GetCurrentKeyBlockHashOptionalParams extends coreClient.OperationOptions {
|
|
890
890
|
}
|
|
891
891
|
/** Contains response data for the getCurrentKeyBlockHash operation. */
|
|
892
|
-
export
|
|
892
|
+
export type GetCurrentKeyBlockHashResponse = HashResponse;
|
|
893
893
|
/** Optional parameters. */
|
|
894
894
|
export interface GetCurrentKeyBlockHeightOptionalParams extends coreClient.OperationOptions {
|
|
895
895
|
}
|
|
896
896
|
/** Contains response data for the getCurrentKeyBlockHeight operation. */
|
|
897
|
-
export
|
|
897
|
+
export type GetCurrentKeyBlockHeightResponse = HeightResponse;
|
|
898
898
|
/** Optional parameters. */
|
|
899
899
|
export interface GetPendingKeyBlockOptionalParams extends coreClient.OperationOptions {
|
|
900
900
|
}
|
|
901
901
|
/** Contains response data for the getPendingKeyBlock operation. */
|
|
902
|
-
export
|
|
902
|
+
export type GetPendingKeyBlockResponse = KeyBlock;
|
|
903
903
|
/** Optional parameters. */
|
|
904
904
|
export interface GetKeyBlockByHashOptionalParams extends coreClient.OperationOptions {
|
|
905
905
|
}
|
|
906
906
|
/** Contains response data for the getKeyBlockByHash operation. */
|
|
907
|
-
export
|
|
907
|
+
export type GetKeyBlockByHashResponse = KeyBlock;
|
|
908
908
|
/** Optional parameters. */
|
|
909
909
|
export interface GetKeyBlockByHeightOptionalParams extends coreClient.OperationOptions {
|
|
910
910
|
}
|
|
911
911
|
/** Contains response data for the getKeyBlockByHeight operation. */
|
|
912
|
-
export
|
|
912
|
+
export type GetKeyBlockByHeightResponse = KeyBlock;
|
|
913
913
|
/** Optional parameters. */
|
|
914
914
|
export interface GetMicroBlockHeaderByHashOptionalParams extends coreClient.OperationOptions {
|
|
915
915
|
}
|
|
916
916
|
/** Contains response data for the getMicroBlockHeaderByHash operation. */
|
|
917
|
-
export
|
|
917
|
+
export type GetMicroBlockHeaderByHashResponse = MicroBlockHeader;
|
|
918
918
|
/** Optional parameters. */
|
|
919
919
|
export interface GetMicroBlockTransactionsByHashOptionalParams extends coreClient.OperationOptions {
|
|
920
920
|
}
|
|
921
921
|
/** Contains response data for the getMicroBlockTransactionsByHash operation. */
|
|
922
|
-
export
|
|
922
|
+
export type GetMicroBlockTransactionsByHashResponse = SignedTxs;
|
|
923
923
|
/** Optional parameters. */
|
|
924
924
|
export interface GetMicroBlockTransactionByHashAndIndexOptionalParams extends coreClient.OperationOptions {
|
|
925
925
|
}
|
|
926
926
|
/** Contains response data for the getMicroBlockTransactionByHashAndIndex operation. */
|
|
927
|
-
export
|
|
927
|
+
export type GetMicroBlockTransactionByHashAndIndexResponse = SignedTx;
|
|
928
928
|
/** Optional parameters. */
|
|
929
929
|
export interface GetMicroBlockTransactionsCountByHashOptionalParams extends coreClient.OperationOptions {
|
|
930
930
|
}
|
|
931
931
|
/** Contains response data for the getMicroBlockTransactionsCountByHash operation. */
|
|
932
|
-
export
|
|
932
|
+
export type GetMicroBlockTransactionsCountByHashResponse = CountResponse;
|
|
933
933
|
/** Optional parameters. */
|
|
934
934
|
export interface GetCurrentGenerationOptionalParams extends coreClient.OperationOptions {
|
|
935
935
|
}
|
|
936
936
|
/** Contains response data for the getCurrentGeneration operation. */
|
|
937
|
-
export
|
|
937
|
+
export type GetCurrentGenerationResponse = Generation;
|
|
938
938
|
/** Optional parameters. */
|
|
939
939
|
export interface GetGenerationByHashOptionalParams extends coreClient.OperationOptions {
|
|
940
940
|
}
|
|
941
941
|
/** Contains response data for the getGenerationByHash operation. */
|
|
942
|
-
export
|
|
942
|
+
export type GetGenerationByHashResponse = Generation;
|
|
943
943
|
/** Optional parameters. */
|
|
944
944
|
export interface GetGenerationByHeightOptionalParams extends coreClient.OperationOptions {
|
|
945
945
|
}
|
|
946
946
|
/** Contains response data for the getGenerationByHeight operation. */
|
|
947
|
-
export
|
|
947
|
+
export type GetGenerationByHeightResponse = Generation;
|
|
948
948
|
/** Optional parameters. */
|
|
949
949
|
export interface GetAccountByPubkeyOptionalParams extends coreClient.OperationOptions {
|
|
950
950
|
}
|
|
951
951
|
/** Contains response data for the getAccountByPubkey operation. */
|
|
952
|
-
export
|
|
952
|
+
export type GetAccountByPubkeyResponse = Account;
|
|
953
953
|
/** Optional parameters. */
|
|
954
954
|
export interface GetAccountByPubkeyAndHeightOptionalParams extends coreClient.OperationOptions {
|
|
955
955
|
}
|
|
956
956
|
/** Contains response data for the getAccountByPubkeyAndHeight operation. */
|
|
957
|
-
export
|
|
957
|
+
export type GetAccountByPubkeyAndHeightResponse = Account;
|
|
958
958
|
/** Optional parameters. */
|
|
959
959
|
export interface GetAccountByPubkeyAndHashOptionalParams extends coreClient.OperationOptions {
|
|
960
960
|
}
|
|
961
961
|
/** Contains response data for the getAccountByPubkeyAndHash operation. */
|
|
962
|
-
export
|
|
962
|
+
export type GetAccountByPubkeyAndHashResponse = Account;
|
|
963
963
|
/** Optional parameters. */
|
|
964
964
|
export interface GetPendingAccountTransactionsByPubkeyOptionalParams extends coreClient.OperationOptions {
|
|
965
965
|
}
|
|
966
966
|
/** Contains response data for the getPendingAccountTransactionsByPubkey operation. */
|
|
967
|
-
export
|
|
967
|
+
export type GetPendingAccountTransactionsByPubkeyResponse = SignedTxs;
|
|
968
968
|
/** Optional parameters. */
|
|
969
969
|
export interface GetAccountNextNonceOptionalParams extends coreClient.OperationOptions {
|
|
970
970
|
/** What strategy to use in order to determine the next nonce: shall it check for continuity or return the largest nonce seen + 1. If you choose strategy max, then the greatest nonce seen in the account or currently in the transaction pool is incremented with 1 and returned. If you choose the strategy continuity, then transactions in the mempool are checked if there are gaps - missing nonces that prevent transactions with greater nonces to get included. */
|
|
971
971
|
strategy?: NextNonceStrategy;
|
|
972
972
|
}
|
|
973
973
|
/** Contains response data for the getAccountNextNonce operation. */
|
|
974
|
-
export
|
|
974
|
+
export type GetAccountNextNonceResponse = NextNonceResponse;
|
|
975
975
|
/** Optional parameters. */
|
|
976
976
|
export interface ProtectedDryRunTxsOptionalParams extends coreClient.OperationOptions {
|
|
977
977
|
}
|
|
978
978
|
/** Contains response data for the protectedDryRunTxs operation. */
|
|
979
|
-
export
|
|
979
|
+
export type ProtectedDryRunTxsResponse = DryRunResults;
|
|
980
980
|
/** Optional parameters. */
|
|
981
981
|
export interface GetTransactionByHashOptionalParams extends coreClient.OperationOptions {
|
|
982
982
|
}
|
|
983
983
|
/** Contains response data for the getTransactionByHash operation. */
|
|
984
|
-
export
|
|
984
|
+
export type GetTransactionByHashResponse = SignedTx;
|
|
985
985
|
/** Optional parameters. */
|
|
986
986
|
export interface GetTransactionInfoByHashOptionalParams extends coreClient.OperationOptions {
|
|
987
987
|
}
|
|
988
988
|
/** Contains response data for the getTransactionInfoByHash operation. */
|
|
989
|
-
export
|
|
989
|
+
export type GetTransactionInfoByHashResponse = TxInfoObject;
|
|
990
990
|
/** Optional parameters. */
|
|
991
991
|
export interface PostTransactionOptionalParams extends coreClient.OperationOptions {
|
|
992
992
|
}
|
|
993
993
|
/** Contains response data for the postTransaction operation. */
|
|
994
|
-
export
|
|
994
|
+
export type PostTransactionResponse = PostTxResponse;
|
|
995
995
|
/** Optional parameters. */
|
|
996
996
|
export interface GetContractOptionalParams extends coreClient.OperationOptions {
|
|
997
997
|
}
|
|
998
998
|
/** Contains response data for the getContract operation. */
|
|
999
|
-
export
|
|
999
|
+
export type GetContractResponse = ContractObject;
|
|
1000
1000
|
/** Optional parameters. */
|
|
1001
1001
|
export interface GetContractCodeOptionalParams extends coreClient.OperationOptions {
|
|
1002
1002
|
}
|
|
1003
1003
|
/** Contains response data for the getContractCode operation. */
|
|
1004
|
-
export
|
|
1004
|
+
export type GetContractCodeResponse = ByteCode;
|
|
1005
1005
|
/** Optional parameters. */
|
|
1006
1006
|
export interface GetContractPoIOptionalParams extends coreClient.OperationOptions {
|
|
1007
1007
|
}
|
|
1008
1008
|
/** Contains response data for the getContractPoI operation. */
|
|
1009
|
-
export
|
|
1009
|
+
export type GetContractPoIResponse = PoI;
|
|
1010
1010
|
/** Optional parameters. */
|
|
1011
1011
|
export interface GetOracleByPubkeyOptionalParams extends coreClient.OperationOptions {
|
|
1012
1012
|
}
|
|
1013
1013
|
/** Contains response data for the getOracleByPubkey operation. */
|
|
1014
|
-
export
|
|
1014
|
+
export type GetOracleByPubkeyResponse = RegisteredOracle;
|
|
1015
1015
|
/** Optional parameters. */
|
|
1016
1016
|
export interface GetOracleQueriesByPubkeyOptionalParams extends coreClient.OperationOptions {
|
|
1017
1017
|
/** Last query id in previous page */
|
|
@@ -1022,37 +1022,37 @@ export interface GetOracleQueriesByPubkeyOptionalParams extends coreClient.Opera
|
|
|
1022
1022
|
typeParam?: OracleQueryType;
|
|
1023
1023
|
}
|
|
1024
1024
|
/** Contains response data for the getOracleQueriesByPubkey operation. */
|
|
1025
|
-
export
|
|
1025
|
+
export type GetOracleQueriesByPubkeyResponse = OracleQueries;
|
|
1026
1026
|
/** Optional parameters. */
|
|
1027
1027
|
export interface GetOracleQueryByPubkeyAndQueryIdOptionalParams extends coreClient.OperationOptions {
|
|
1028
1028
|
}
|
|
1029
1029
|
/** Contains response data for the getOracleQueryByPubkeyAndQueryId operation. */
|
|
1030
|
-
export
|
|
1030
|
+
export type GetOracleQueryByPubkeyAndQueryIdResponse = OracleQuery;
|
|
1031
1031
|
/** Optional parameters. */
|
|
1032
1032
|
export interface GetNameEntryByNameOptionalParams extends coreClient.OperationOptions {
|
|
1033
1033
|
}
|
|
1034
1034
|
/** Contains response data for the getNameEntryByName operation. */
|
|
1035
|
-
export
|
|
1035
|
+
export type GetNameEntryByNameResponse = NameEntry;
|
|
1036
1036
|
/** Optional parameters. */
|
|
1037
1037
|
export interface GetChannelByPubkeyOptionalParams extends coreClient.OperationOptions {
|
|
1038
1038
|
}
|
|
1039
1039
|
/** Contains response data for the getChannelByPubkey operation. */
|
|
1040
|
-
export
|
|
1040
|
+
export type GetChannelByPubkeyResponse = Channel;
|
|
1041
1041
|
/** Optional parameters. */
|
|
1042
1042
|
export interface GetPeerPubkeyOptionalParams extends coreClient.OperationOptions {
|
|
1043
1043
|
}
|
|
1044
1044
|
/** Contains response data for the getPeerPubkey operation. */
|
|
1045
|
-
export
|
|
1045
|
+
export type GetPeerPubkeyResponse = PeerPubKey;
|
|
1046
1046
|
/** Optional parameters. */
|
|
1047
1047
|
export interface GetStatusOptionalParams extends coreClient.OperationOptions {
|
|
1048
1048
|
}
|
|
1049
1049
|
/** Contains response data for the getStatus operation. */
|
|
1050
|
-
export
|
|
1050
|
+
export type GetStatusResponse = Status;
|
|
1051
1051
|
/** Optional parameters. */
|
|
1052
1052
|
export interface GetChainEndsOptionalParams extends coreClient.OperationOptions {
|
|
1053
1053
|
}
|
|
1054
1054
|
/** Contains response data for the getChainEnds operation. */
|
|
1055
|
-
export
|
|
1055
|
+
export type GetChainEndsResponse = {
|
|
1056
1056
|
/** The parsed response body. */
|
|
1057
1057
|
body: string[];
|
|
1058
1058
|
};
|
|
@@ -3951,7 +3951,8 @@ export const OffChainTransfer = {
|
|
|
3951
3951
|
className: "OffChainTransfer",
|
|
3952
3952
|
uberParent: "OffChainUpdate",
|
|
3953
3953
|
polymorphicDiscriminator: OffChainUpdate.type.polymorphicDiscriminator,
|
|
3954
|
-
modelProperties: {
|
|
3954
|
+
modelProperties: {
|
|
3955
|
+
...OffChainUpdate.type.modelProperties,
|
|
3955
3956
|
from: {
|
|
3956
3957
|
serializedName: "from",
|
|
3957
3958
|
required: true,
|
|
@@ -3983,7 +3984,8 @@ export const OffChainWithdrawal = {
|
|
|
3983
3984
|
className: "OffChainWithdrawal",
|
|
3984
3985
|
uberParent: "OffChainUpdate",
|
|
3985
3986
|
polymorphicDiscriminator: OffChainUpdate.type.polymorphicDiscriminator,
|
|
3986
|
-
modelProperties: {
|
|
3987
|
+
modelProperties: {
|
|
3988
|
+
...OffChainUpdate.type.modelProperties,
|
|
3987
3989
|
to: {
|
|
3988
3990
|
serializedName: "to",
|
|
3989
3991
|
required: true,
|
|
@@ -4008,7 +4010,8 @@ export const OffChainDeposit = {
|
|
|
4008
4010
|
className: "OffChainDeposit",
|
|
4009
4011
|
uberParent: "OffChainUpdate",
|
|
4010
4012
|
polymorphicDiscriminator: OffChainUpdate.type.polymorphicDiscriminator,
|
|
4011
|
-
modelProperties: {
|
|
4013
|
+
modelProperties: {
|
|
4014
|
+
...OffChainUpdate.type.modelProperties,
|
|
4012
4015
|
from: {
|
|
4013
4016
|
serializedName: "from",
|
|
4014
4017
|
required: true,
|
|
@@ -4033,7 +4036,8 @@ export const OffChainNewContract = {
|
|
|
4033
4036
|
className: "OffChainNewContract",
|
|
4034
4037
|
uberParent: "OffChainUpdate",
|
|
4035
4038
|
polymorphicDiscriminator: OffChainUpdate.type.polymorphicDiscriminator,
|
|
4036
|
-
modelProperties: {
|
|
4039
|
+
modelProperties: {
|
|
4040
|
+
...OffChainUpdate.type.modelProperties,
|
|
4037
4041
|
owner: {
|
|
4038
4042
|
serializedName: "owner",
|
|
4039
4043
|
required: true,
|
|
@@ -4086,7 +4090,8 @@ export const OffChainCallContract = {
|
|
|
4086
4090
|
className: "OffChainCallContract",
|
|
4087
4091
|
uberParent: "OffChainUpdate",
|
|
4088
4092
|
polymorphicDiscriminator: OffChainUpdate.type.polymorphicDiscriminator,
|
|
4089
|
-
modelProperties: {
|
|
4093
|
+
modelProperties: {
|
|
4094
|
+
...OffChainUpdate.type.modelProperties,
|
|
4090
4095
|
caller: {
|
|
4091
4096
|
serializedName: "caller",
|
|
4092
4097
|
required: true,
|
|
@@ -4143,7 +4148,8 @@ export const CreateContractUnsignedTx = {
|
|
|
4143
4148
|
type: {
|
|
4144
4149
|
name: "Composite",
|
|
4145
4150
|
className: "CreateContractUnsignedTx",
|
|
4146
|
-
modelProperties: {
|
|
4151
|
+
modelProperties: {
|
|
4152
|
+
...UnsignedTx.type.modelProperties,
|
|
4147
4153
|
contractId: {
|
|
4148
4154
|
serializedName: "contract_id",
|
|
4149
4155
|
required: true,
|