@taquito/wallet-connect 24.3.0-beta.2 → 24.3.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/{taquito-wallet-connect/src/taquito-wallet-connect.js → taquito-wallet-connect.js} +1 -4
- package/dist/lib/{taquito-http-utils/src/version.js → version.js} +2 -2
- package/package.json +5 -7
- package/dist/lib/taquito/src/batch/constants.js +0 -16
- package/dist/lib/taquito/src/batch/rpc-batch-provider.js +0 -327
- package/dist/lib/taquito/src/constants.js +0 -135
- package/dist/lib/taquito/src/context.js +0 -178
- package/dist/lib/taquito/src/contract/big-map.js +0 -57
- package/dist/lib/taquito/src/contract/compose.js +0 -6
- package/dist/lib/taquito/src/contract/constants.js +0 -4
- package/dist/lib/taquito/src/contract/contract-methods/contract-method-factory.js +0 -18
- package/dist/lib/taquito/src/contract/contract-methods/contract-method-interface.js +0 -2
- package/dist/lib/taquito/src/contract/contract-methods/contract-method-object-param.js +0 -72
- package/dist/lib/taquito/src/contract/contract-methods/contract-on-chain-view.js +0 -111
- package/dist/lib/taquito/src/contract/contract.js +0 -158
- package/dist/lib/taquito/src/contract/errors.js +0 -140
- package/dist/lib/taquito/src/contract/index.js +0 -30
- package/dist/lib/taquito/src/contract/interface.js +0 -2
- package/dist/lib/taquito/src/contract/manager-lambda.js +0 -71
- package/dist/lib/taquito/src/contract/prepare.js +0 -231
- package/dist/lib/taquito/src/contract/rpc-contract-provider.js +0 -675
- package/dist/lib/taquito/src/contract/sapling-state-abstraction.js +0 -24
- package/dist/lib/taquito/src/contract/semantic.js +0 -43
- package/dist/lib/taquito/src/contract/view_lambda.js +0 -27
- package/dist/lib/taquito/src/errors.js +0 -42
- package/dist/lib/taquito/src/estimate/errors.js +0 -16
- package/dist/lib/taquito/src/estimate/estimate-provider-interface.js +0 -2
- package/dist/lib/taquito/src/estimate/estimate.js +0 -176
- package/dist/lib/taquito/src/estimate/index.js +0 -20
- package/dist/lib/taquito/src/estimate/rpc-estimate-provider.js +0 -640
- package/dist/lib/taquito/src/extension/extension.js +0 -2
- package/dist/lib/taquito/src/forger/composite-forger.js +0 -32
- package/dist/lib/taquito/src/forger/errors.js +0 -30
- package/dist/lib/taquito/src/forger/rpc-forger.js +0 -12
- package/dist/lib/taquito/src/forger/taquito-local-forger.js +0 -21
- package/dist/lib/taquito/src/global-constants/default-global-constants-provider.js +0 -35
- package/dist/lib/taquito/src/global-constants/errors.js +0 -30
- package/dist/lib/taquito/src/global-constants/interface-global-constants-provider.js +0 -2
- package/dist/lib/taquito/src/global-constants/noop-global-constants-provider.js +0 -10
- package/dist/lib/taquito/src/import-key.js +0 -40
- package/dist/lib/taquito/src/injector/helper.js +0 -18
- package/dist/lib/taquito/src/injector/interface.js +0 -2
- package/dist/lib/taquito/src/injector/rpc-injector.js +0 -27
- package/dist/lib/taquito/src/operations/ballot-operation.js +0 -32
- package/dist/lib/taquito/src/operations/batch-operation.js +0 -69
- package/dist/lib/taquito/src/operations/delegate-operation.js +0 -54
- package/dist/lib/taquito/src/operations/drain-delegate-operation.js +0 -31
- package/dist/lib/taquito/src/operations/errors.js +0 -133
- package/dist/lib/taquito/src/operations/failing-noop-operation.js +0 -2
- package/dist/lib/taquito/src/operations/increase-paid-storage-operation.js +0 -49
- package/dist/lib/taquito/src/operations/index.js +0 -54
- package/dist/lib/taquito/src/operations/operations.js +0 -193
- package/dist/lib/taquito/src/operations/origination-operation.js +0 -78
- package/dist/lib/taquito/src/operations/proposals-operation.js +0 -29
- package/dist/lib/taquito/src/operations/register-global-constant-operation.js +0 -52
- package/dist/lib/taquito/src/operations/reveal-operation.js +0 -74
- package/dist/lib/taquito/src/operations/smart-rollup-add-messages-operation.js +0 -44
- package/dist/lib/taquito/src/operations/smart-rollup-execute-outbox-message-operation.js +0 -53
- package/dist/lib/taquito/src/operations/smart-rollup-originate-operation.js +0 -50
- package/dist/lib/taquito/src/operations/transaction-operation.js +0 -73
- package/dist/lib/taquito/src/operations/transfer-ticket-operation.js +0 -47
- package/dist/lib/taquito/src/operations/types.js +0 -88
- package/dist/lib/taquito/src/operations/update-companion-key-operation.js +0 -55
- package/dist/lib/taquito/src/operations/update-consensus-key-operation.js +0 -55
- package/dist/lib/taquito/src/packer/interface.js +0 -2
- package/dist/lib/taquito/src/packer/michel-codec-packer.js +0 -11
- package/dist/lib/taquito/src/packer/rpc-packer.js +0 -12
- package/dist/lib/taquito/src/parser/interface.js +0 -2
- package/dist/lib/taquito/src/parser/michel-codec-parser.js +0 -110
- package/dist/lib/taquito/src/parser/noop-parser.js +0 -9
- package/dist/lib/taquito/src/prepare/index.js +0 -18
- package/dist/lib/taquito/src/prepare/interface.js +0 -2
- package/dist/lib/taquito/src/prepare/prepare-provider.js +0 -1049
- package/dist/lib/taquito/src/provider.js +0 -363
- package/dist/lib/taquito/src/read-provider/interface.js +0 -2
- package/dist/lib/taquito/src/read-provider/rpc-read-adapter.js +0 -183
- package/dist/lib/taquito/src/signer/errors.js +0 -17
- package/dist/lib/taquito/src/signer/noop.js +0 -23
- package/dist/lib/taquito/src/subscribe/create-observable-from-subscription.js +0 -20
- package/dist/lib/taquito/src/subscribe/errors.js +0 -30
- package/dist/lib/taquito/src/subscribe/filters.js +0 -96
- package/dist/lib/taquito/src/subscribe/interface.js +0 -2
- package/dist/lib/taquito/src/subscribe/observable-subscription.js +0 -79
- package/dist/lib/taquito/src/subscribe/polling-subcribe-provider.js +0 -118
- package/dist/lib/taquito/src/taquito.js +0 -404
- package/dist/lib/taquito/src/tz/interface.js +0 -2
- package/dist/lib/taquito/src/tz/rpc-tz-provider.js +0 -46
- package/dist/lib/taquito/src/version.js +0 -8
- package/dist/lib/taquito/src/wallet/batch-operation.js +0 -71
- package/dist/lib/taquito/src/wallet/delegation-operation.js +0 -42
- package/dist/lib/taquito/src/wallet/errors.js +0 -40
- package/dist/lib/taquito/src/wallet/increase-paid-storage-operation.js +0 -42
- package/dist/lib/taquito/src/wallet/index.js +0 -25
- package/dist/lib/taquito/src/wallet/interface.js +0 -2
- package/dist/lib/taquito/src/wallet/legacy.js +0 -51
- package/dist/lib/taquito/src/wallet/operation-factory.js +0 -88
- package/dist/lib/taquito/src/wallet/operation.js +0 -221
- package/dist/lib/taquito/src/wallet/origination-operation.js +0 -53
- package/dist/lib/taquito/src/wallet/receipt.js +0 -46
- package/dist/lib/taquito/src/wallet/register-global-constant-operation.js +0 -45
- package/dist/lib/taquito/src/wallet/transaction-operation.js +0 -38
- package/dist/lib/taquito/src/wallet/transfer-ticket-operation.js +0 -38
- package/dist/lib/taquito/src/wallet/wallet.js +0 -445
- package/dist/lib/taquito-core/src/errors.js +0 -351
- package/dist/lib/taquito-core/src/signer-interfaces.js +0 -2
- package/dist/lib/taquito-core/src/taquito-core.js +0 -22
- package/dist/lib/taquito-http-utils/src/errors.js +0 -103
- package/dist/lib/taquito-http-utils/src/status_code.js +0 -322
- package/dist/lib/taquito-http-utils/src/taquito-http-utils.js +0 -308
- package/dist/lib/taquito-http-utils/src/transport-errors.js +0 -141
- package/dist/lib/taquito-local-forging/src/codec.js +0 -543
- package/dist/lib/taquito-local-forging/src/constants.js +0 -291
- package/dist/lib/taquito-local-forging/src/decoder.js +0 -64
- package/dist/lib/taquito-local-forging/src/encoder.js +0 -63
- package/dist/lib/taquito-local-forging/src/errors.js +0 -179
- package/dist/lib/taquito-local-forging/src/interface.js +0 -2
- package/dist/lib/taquito-local-forging/src/michelson/codec.js +0 -283
- package/dist/lib/taquito-local-forging/src/protocols.js +0 -60
- package/dist/lib/taquito-local-forging/src/schema/operation.js +0 -259
- package/dist/lib/taquito-local-forging/src/taquito-local-forging.js +0 -117
- package/dist/lib/taquito-local-forging/src/uint8array-consumer.js +0 -35
- package/dist/lib/taquito-local-forging/src/utils.js +0 -18
- package/dist/lib/taquito-local-forging/src/validator.js +0 -57
- package/dist/lib/taquito-local-forging/src/version.js +0 -8
- package/dist/lib/taquito-michel-codec/src/base58.js +0 -255
- package/dist/lib/taquito-michel-codec/src/binary.js +0 -1271
- package/dist/lib/taquito-michel-codec/src/errors.js +0 -90
- package/dist/lib/taquito-michel-codec/src/formatters.js +0 -58
- package/dist/lib/taquito-michel-codec/src/global-constants.js +0 -12
- package/dist/lib/taquito-michel-codec/src/macros.js +0 -551
- package/dist/lib/taquito-michel-codec/src/micheline-emitter.js +0 -128
- package/dist/lib/taquito-michel-codec/src/micheline-parser.js +0 -402
- package/dist/lib/taquito-michel-codec/src/micheline.js +0 -5
- package/dist/lib/taquito-michel-codec/src/michelson-contract.js +0 -93
- package/dist/lib/taquito-michel-codec/src/michelson-typecheck.js +0 -1756
- package/dist/lib/taquito-michel-codec/src/michelson-types.js +0 -83
- package/dist/lib/taquito-michel-codec/src/michelson-validator.js +0 -833
- package/dist/lib/taquito-michel-codec/src/scan.js +0 -128
- package/dist/lib/taquito-michel-codec/src/taquito-michel-codec.js +0 -38
- package/dist/lib/taquito-michel-codec/src/utils.js +0 -323
- package/dist/lib/taquito-michel-codec/src/version.js +0 -8
- package/dist/lib/taquito-michelson-encoder/src/constants.js +0 -11
- package/dist/lib/taquito-michelson-encoder/src/errors.js +0 -38
- package/dist/lib/taquito-michelson-encoder/src/michelson-map.js +0 -201
- package/dist/lib/taquito-michelson-encoder/src/schema/errors.js +0 -127
- package/dist/lib/taquito-michelson-encoder/src/schema/event-schema.js +0 -52
- package/dist/lib/taquito-michelson-encoder/src/schema/parameter.js +0 -113
- package/dist/lib/taquito-michelson-encoder/src/schema/storage.js +0 -260
- package/dist/lib/taquito-michelson-encoder/src/schema/types.js +0 -2
- package/dist/lib/taquito-michelson-encoder/src/schema/view-schema.js +0 -90
- package/dist/lib/taquito-michelson-encoder/src/taquito-michelson-encoder.js +0 -36
- package/dist/lib/taquito-michelson-encoder/src/tokens/bigmap.js +0 -130
- package/dist/lib/taquito-michelson-encoder/src/tokens/bls12-381-fr.js +0 -86
- package/dist/lib/taquito-michelson-encoder/src/tokens/bls12-381-g1.js +0 -76
- package/dist/lib/taquito-michelson-encoder/src/tokens/bls12-381-g2.js +0 -76
- package/dist/lib/taquito-michelson-encoder/src/tokens/chain-id.js +0 -78
- package/dist/lib/taquito-michelson-encoder/src/tokens/chest-key.js +0 -74
- package/dist/lib/taquito-michelson-encoder/src/tokens/chest.js +0 -74
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/address.js +0 -116
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/bool.js +0 -59
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/bytes.js +0 -90
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/int.js +0 -90
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/key_hash.js +0 -90
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/mutez.js +0 -90
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/nat.js +0 -93
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/string.js +0 -48
- package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/timestamp.js +0 -66
- package/dist/lib/taquito-michelson-encoder/src/tokens/constant.js +0 -80
- package/dist/lib/taquito-michelson-encoder/src/tokens/contract.js +0 -86
- package/dist/lib/taquito-michelson-encoder/src/tokens/createToken.js +0 -35
- package/dist/lib/taquito-michelson-encoder/src/tokens/key.js +0 -97
- package/dist/lib/taquito-michelson-encoder/src/tokens/lambda.js +0 -55
- package/dist/lib/taquito-michelson-encoder/src/tokens/list.js +0 -85
- package/dist/lib/taquito-michelson-encoder/src/tokens/map.js +0 -112
- package/dist/lib/taquito-michelson-encoder/src/tokens/never.js +0 -61
- package/dist/lib/taquito-michelson-encoder/src/tokens/operation.js +0 -39
- package/dist/lib/taquito-michelson-encoder/src/tokens/option.js +0 -88
- package/dist/lib/taquito-michelson-encoder/src/tokens/or.js +0 -282
- package/dist/lib/taquito-michelson-encoder/src/tokens/pair.js +0 -233
- package/dist/lib/taquito-michelson-encoder/src/tokens/sapling-state.js +0 -84
- package/dist/lib/taquito-michelson-encoder/src/tokens/sapling-transaction-deprecated.js +0 -74
- package/dist/lib/taquito-michelson-encoder/src/tokens/sapling-transaction.js +0 -74
- package/dist/lib/taquito-michelson-encoder/src/tokens/set.js +0 -82
- package/dist/lib/taquito-michelson-encoder/src/tokens/signature.js +0 -82
- package/dist/lib/taquito-michelson-encoder/src/tokens/ticket-deprecated.js +0 -92
- package/dist/lib/taquito-michelson-encoder/src/tokens/ticket.js +0 -92
- package/dist/lib/taquito-michelson-encoder/src/tokens/token.js +0 -100
- package/dist/lib/taquito-michelson-encoder/src/tokens/tokens.js +0 -75
- package/dist/lib/taquito-michelson-encoder/src/tokens/unit.js +0 -52
- package/dist/lib/taquito-michelson-encoder/src/version.js +0 -8
- package/dist/lib/taquito-rpc/src/opkind.js +0 -49
- package/dist/lib/taquito-rpc/src/rpc-client-interface.js +0 -60
- package/dist/lib/taquito-rpc/src/rpc-client-modules/rpc-cache.js +0 -1118
- package/dist/lib/taquito-rpc/src/taquito-rpc.js +0 -990
- package/dist/lib/taquito-rpc/src/types.js +0 -114
- package/dist/lib/taquito-rpc/src/utils/utils.js +0 -65
- package/dist/lib/taquito-rpc/src/version.js +0 -8
- package/dist/lib/taquito-signer/src/bls-key.js +0 -104
- package/dist/lib/taquito-signer/src/derivation-tools/ecdsa.js +0 -156
- package/dist/lib/taquito-signer/src/derivation-tools/ed25519.js +0 -82
- package/dist/lib/taquito-signer/src/derivation-tools/index.js +0 -79
- package/dist/lib/taquito-signer/src/derivation-tools/types.js +0 -4
- package/dist/lib/taquito-signer/src/derivation-tools/utils.js +0 -16
- package/dist/lib/taquito-signer/src/ec-key.js +0 -196
- package/dist/lib/taquito-signer/src/ed-key.js +0 -130
- package/dist/lib/taquito-signer/src/errors.js +0 -77
- package/dist/lib/taquito-signer/src/helpers.js +0 -44
- package/dist/lib/taquito-signer/src/in-memory-signer.js +0 -240
- package/dist/lib/taquito-signer/src/key-interface.js +0 -6
- package/dist/lib/taquito-signer/src/taquito-signer.js +0 -28
- package/dist/lib/taquito-signer/src/version.js +0 -8
- package/dist/lib/taquito-utils/src/constants.js +0 -203
- package/dist/lib/taquito-utils/src/encoding.js +0 -606
- package/dist/lib/taquito-utils/src/errors.js +0 -45
- package/dist/lib/taquito-utils/src/format.js +0 -29
- package/dist/lib/taquito-utils/src/taquito-utils.js +0 -42
- package/dist/lib/taquito-utils/src/validators.js +0 -236
- package/dist/lib/taquito-utils/src/verify-signature.js +0 -136
- package/dist/lib/taquito-utils/src/version.js +0 -8
- package/dist/lib/taquito-wallet-connect/src/version.js +0 -8
- package/dist/types/taquito/src/batch/constants.d.ts +0 -3
- package/dist/types/taquito/src/batch/rpc-batch-provider.d.ts +0 -139
- package/dist/types/taquito/src/constants.d.ts +0 -81
- package/dist/types/taquito/src/context.d.ts +0 -100
- package/dist/types/taquito/src/contract/big-map.d.ts +0 -35
- package/dist/types/taquito/src/contract/compose.d.ts +0 -5
- package/dist/types/taquito/src/contract/constants.d.ts +0 -1
- package/dist/types/taquito/src/contract/contract-methods/contract-method-factory.d.ts +0 -14
- package/dist/types/taquito/src/contract/contract-methods/contract-method-interface.d.ts +0 -28
- package/dist/types/taquito/src/contract/contract-methods/contract-method-object-param.d.ts +0 -39
- package/dist/types/taquito/src/contract/contract-methods/contract-on-chain-view.d.ts +0 -43
- package/dist/types/taquito/src/contract/contract.d.ts +0 -75
- package/dist/types/taquito/src/contract/errors.d.ts +0 -83
- package/dist/types/taquito/src/contract/index.d.ts +0 -11
- package/dist/types/taquito/src/contract/interface.d.ts +0 -254
- package/dist/types/taquito/src/contract/manager-lambda.d.ts +0 -73
- package/dist/types/taquito/src/contract/prepare.d.ts +0 -18
- package/dist/types/taquito/src/contract/rpc-contract-provider.d.ts +0 -270
- package/dist/types/taquito/src/contract/sapling-state-abstraction.d.ts +0 -17
- package/dist/types/taquito/src/contract/semantic.d.ts +0 -7
- package/dist/types/taquito/src/contract/view_lambda.d.ts +0 -34
- package/dist/types/taquito/src/errors.d.ts +0 -26
- package/dist/types/taquito/src/estimate/errors.d.ts +0 -8
- package/dist/types/taquito/src/estimate/estimate-provider-interface.d.ts +0 -153
- package/dist/types/taquito/src/estimate/estimate.d.ts +0 -111
- package/dist/types/taquito/src/estimate/index.d.ts +0 -4
- package/dist/types/taquito/src/estimate/rpc-estimate-provider.d.ts +0 -174
- package/dist/types/taquito/src/extension/extension.d.ts +0 -4
- package/dist/types/taquito/src/forger/composite-forger.d.ts +0 -6
- package/dist/types/taquito/src/forger/errors.d.ts +0 -16
- package/dist/types/taquito/src/forger/rpc-forger.d.ts +0 -7
- package/dist/types/taquito/src/forger/taquito-local-forger.d.ts +0 -8
- package/dist/types/taquito/src/global-constants/default-global-constants-provider.d.ts +0 -18
- package/dist/types/taquito/src/global-constants/errors.d.ts +0 -16
- package/dist/types/taquito/src/global-constants/interface-global-constants-provider.d.ts +0 -11
- package/dist/types/taquito/src/global-constants/noop-global-constants-provider.d.ts +0 -5
- package/dist/types/taquito/src/import-key.d.ts +0 -13
- package/dist/types/taquito/src/injector/helper.d.ts +0 -2
- package/dist/types/taquito/src/injector/interface.d.ts +0 -5
- package/dist/types/taquito/src/injector/rpc-injector.d.ts +0 -7
- package/dist/types/taquito/src/operations/ballot-operation.d.ts +0 -18
- package/dist/types/taquito/src/operations/batch-operation.d.ts +0 -19
- package/dist/types/taquito/src/operations/delegate-operation.d.ts +0 -24
- package/dist/types/taquito/src/operations/drain-delegate-operation.d.ts +0 -17
- package/dist/types/taquito/src/operations/errors.d.ts +0 -50
- package/dist/types/taquito/src/operations/failing-noop-operation.d.ts +0 -17
- package/dist/types/taquito/src/operations/increase-paid-storage-operation.d.ts +0 -23
- package/dist/types/taquito/src/operations/index.d.ts +0 -18
- package/dist/types/taquito/src/operations/operations.d.ts +0 -35
- package/dist/types/taquito/src/operations/origination-operation.d.ts +0 -35
- package/dist/types/taquito/src/operations/proposals-operation.d.ts +0 -17
- package/dist/types/taquito/src/operations/register-global-constant-operation.d.ts +0 -25
- package/dist/types/taquito/src/operations/reveal-operation.d.ts +0 -25
- package/dist/types/taquito/src/operations/smart-rollup-add-messages-operation.d.ts +0 -20
- package/dist/types/taquito/src/operations/smart-rollup-execute-outbox-message-operation.d.ts +0 -24
- package/dist/types/taquito/src/operations/smart-rollup-originate-operation.d.ts +0 -23
- package/dist/types/taquito/src/operations/transaction-operation.d.ts +0 -28
- package/dist/types/taquito/src/operations/transfer-ticket-operation.d.ts +0 -22
- package/dist/types/taquito/src/operations/types.d.ts +0 -823
- package/dist/types/taquito/src/operations/update-companion-key-operation.d.ts +0 -23
- package/dist/types/taquito/src/operations/update-consensus-key-operation.d.ts +0 -23
- package/dist/types/taquito/src/packer/interface.d.ts +0 -4
- package/dist/types/taquito/src/packer/michel-codec-packer.d.ts +0 -5
- package/dist/types/taquito/src/packer/rpc-packer.d.ts +0 -8
- package/dist/types/taquito/src/parser/interface.d.ts +0 -4
- package/dist/types/taquito/src/parser/michel-codec-parser.d.ts +0 -16
- package/dist/types/taquito/src/parser/noop-parser.d.ts +0 -5
- package/dist/types/taquito/src/prepare/index.d.ts +0 -2
- package/dist/types/taquito/src/prepare/interface.d.ts +0 -152
- package/dist/types/taquito/src/prepare/prepare-provider.d.ts +0 -187
- package/dist/types/taquito/src/provider.d.ts +0 -50
- package/dist/types/taquito/src/read-provider/interface.d.ts +0 -132
- package/dist/types/taquito/src/read-provider/rpc-read-adapter.d.ts +0 -130
- package/dist/types/taquito/src/signer/errors.d.ts +0 -8
- package/dist/types/taquito/src/signer/noop.d.ts +0 -11
- package/dist/types/taquito/src/subscribe/create-observable-from-subscription.d.ts +0 -4
- package/dist/types/taquito/src/subscribe/errors.d.ts +0 -18
- package/dist/types/taquito/src/subscribe/filters.d.ts +0 -6
- package/dist/types/taquito/src/subscribe/interface.d.ts +0 -48
- package/dist/types/taquito/src/subscribe/observable-subscription.d.ts +0 -21
- package/dist/types/taquito/src/subscribe/polling-subcribe-provider.d.ts +0 -23
- package/dist/types/taquito/src/taquito.d.ts +0 -248
- package/dist/types/taquito/src/tz/interface.d.ts +0 -20
- package/dist/types/taquito/src/tz/rpc-tz-provider.d.ts +0 -13
- package/dist/types/taquito/src/version.d.ts +0 -4
- package/dist/types/taquito/src/wallet/batch-operation.d.ts +0 -13
- package/dist/types/taquito/src/wallet/delegation-operation.d.ts +0 -12
- package/dist/types/taquito/src/wallet/errors.d.ts +0 -24
- package/dist/types/taquito/src/wallet/increase-paid-storage-operation.d.ts +0 -12
- package/dist/types/taquito/src/wallet/index.d.ts +0 -9
- package/dist/types/taquito/src/wallet/interface.d.ts +0 -66
- package/dist/types/taquito/src/wallet/legacy.d.ts +0 -21
- package/dist/types/taquito/src/wallet/operation-factory.d.ts +0 -32
- package/dist/types/taquito/src/wallet/operation.d.ts +0 -55
- package/dist/types/taquito/src/wallet/origination-operation.d.ts +0 -14
- package/dist/types/taquito/src/wallet/receipt.d.ts +0 -16
- package/dist/types/taquito/src/wallet/register-global-constant-operation.d.ts +0 -13
- package/dist/types/taquito/src/wallet/transaction-operation.d.ts +0 -12
- package/dist/types/taquito/src/wallet/transfer-ticket-operation.d.ts +0 -12
- package/dist/types/taquito/src/wallet/wallet.d.ts +0 -196
- package/dist/types/taquito-core/src/errors.d.ts +0 -213
- package/dist/types/taquito-core/src/signer-interfaces.d.ts +0 -38
- package/dist/types/taquito-core/src/taquito-core.d.ts +0 -6
- package/dist/types/taquito-http-utils/src/errors.d.ts +0 -63
- package/dist/types/taquito-http-utils/src/status_code.d.ts +0 -318
- package/dist/types/taquito-http-utils/src/taquito-http-utils.d.ts +0 -58
- package/dist/types/taquito-http-utils/src/transport-errors.d.ts +0 -28
- package/dist/types/taquito-local-forging/src/codec.d.ts +0 -79
- package/dist/types/taquito-local-forging/src/constants.d.ts +0 -75
- package/dist/types/taquito-local-forging/src/decoder.d.ts +0 -5
- package/dist/types/taquito-local-forging/src/encoder.d.ts +0 -4
- package/dist/types/taquito-local-forging/src/errors.d.ts +0 -109
- package/dist/types/taquito-local-forging/src/interface.d.ts +0 -9
- package/dist/types/taquito-local-forging/src/michelson/codec.d.ts +0 -49
- package/dist/types/taquito-local-forging/src/protocols.d.ts +0 -27
- package/dist/types/taquito-local-forging/src/schema/operation.d.ts +0 -198
- package/dist/types/taquito-local-forging/src/taquito-local-forging.d.ts +0 -27
- package/dist/types/taquito-local-forging/src/uint8array-consumer.d.ts +0 -10
- package/dist/types/taquito-local-forging/src/utils.d.ts +0 -3
- package/dist/types/taquito-local-forging/src/validator.d.ts +0 -13
- package/dist/types/taquito-local-forging/src/version.d.ts +0 -4
- package/dist/types/taquito-michel-codec/src/base58.d.ts +0 -13
- package/dist/types/taquito-michel-codec/src/binary.d.ts +0 -127
- package/dist/types/taquito-michel-codec/src/errors.d.ts +0 -57
- package/dist/types/taquito-michel-codec/src/formatters.d.ts +0 -6
- package/dist/types/taquito-michel-codec/src/global-constants.d.ts +0 -3
- package/dist/types/taquito-michel-codec/src/macros.d.ts +0 -13
- package/dist/types/taquito-michel-codec/src/micheline-emitter.d.ts +0 -17
- package/dist/types/taquito-michel-codec/src/micheline-parser.d.ts +0 -130
- package/dist/types/taquito-michel-codec/src/micheline.d.ts +0 -44
- package/dist/types/taquito-michel-codec/src/michelson-contract.d.ts +0 -24
- package/dist/types/taquito-michel-codec/src/michelson-typecheck.d.ts +0 -38
- package/dist/types/taquito-michel-codec/src/michelson-types.d.ts +0 -147
- package/dist/types/taquito-michel-codec/src/michelson-validator.d.ts +0 -66
- package/dist/types/taquito-michel-codec/src/scan.d.ts +0 -26
- package/dist/types/taquito-michel-codec/src/taquito-michel-codec.d.ts +0 -16
- package/dist/types/taquito-michel-codec/src/utils.d.ts +0 -76
- package/dist/types/taquito-michel-codec/src/version.d.ts +0 -4
- package/dist/types/taquito-michelson-encoder/src/constants.d.ts +0 -8
- package/dist/types/taquito-michelson-encoder/src/errors.d.ts +0 -17
- package/dist/types/taquito-michelson-encoder/src/michelson-map.d.ts +0 -82
- package/dist/types/taquito-michelson-encoder/src/schema/errors.d.ts +0 -83
- package/dist/types/taquito-michelson-encoder/src/schema/event-schema.d.ts +0 -12
- package/dist/types/taquito-michelson-encoder/src/schema/parameter.d.ts +0 -54
- package/dist/types/taquito-michelson-encoder/src/schema/storage.d.ts +0 -97
- package/dist/types/taquito-michelson-encoder/src/schema/types.d.ts +0 -105
- package/dist/types/taquito-michelson-encoder/src/schema/view-schema.d.ts +0 -53
- package/dist/types/taquito-michelson-encoder/src/taquito-michelson-encoder.d.ts +0 -16
- package/dist/types/taquito-michelson-encoder/src/tokens/bigmap.d.ts +0 -51
- package/dist/types/taquito-michelson-encoder/src/tokens/bls12-381-fr.d.ts +0 -51
- package/dist/types/taquito-michelson-encoder/src/tokens/bls12-381-g1.d.ts +0 -47
- package/dist/types/taquito-michelson-encoder/src/tokens/bls12-381-g2.d.ts +0 -47
- package/dist/types/taquito-michelson-encoder/src/tokens/chain-id.d.ts +0 -51
- package/dist/types/taquito-michelson-encoder/src/tokens/chest-key.d.ts +0 -47
- package/dist/types/taquito-michelson-encoder/src/tokens/chest.d.ts +0 -47
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/address.d.ts +0 -61
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/bool.d.ts +0 -32
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/bytes.d.ts +0 -52
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/int.d.ts +0 -56
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/key_hash.d.ts +0 -55
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/mutez.d.ts +0 -53
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/nat.d.ts +0 -55
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/string.d.ts +0 -31
- package/dist/types/taquito-michelson-encoder/src/tokens/comparable/timestamp.d.ts +0 -34
- package/dist/types/taquito-michelson-encoder/src/tokens/constant.d.ts +0 -51
- package/dist/types/taquito-michelson-encoder/src/tokens/contract.d.ts +0 -48
- package/dist/types/taquito-michelson-encoder/src/tokens/createToken.d.ts +0 -18
- package/dist/types/taquito-michelson-encoder/src/tokens/key.d.ts +0 -55
- package/dist/types/taquito-michelson-encoder/src/tokens/lambda.d.ts +0 -24
- package/dist/types/taquito-michelson-encoder/src/tokens/list.d.ts +0 -46
- package/dist/types/taquito-michelson-encoder/src/tokens/map.d.ts +0 -47
- package/dist/types/taquito-michelson-encoder/src/tokens/never.d.ts +0 -41
- package/dist/types/taquito-michelson-encoder/src/tokens/operation.d.ts +0 -24
- package/dist/types/taquito-michelson-encoder/src/tokens/option.d.ts +0 -37
- package/dist/types/taquito-michelson-encoder/src/tokens/or.d.ts +0 -53
- package/dist/types/taquito-michelson-encoder/src/tokens/pair.d.ts +0 -50
- package/dist/types/taquito-michelson-encoder/src/tokens/sapling-state.d.ts +0 -44
- package/dist/types/taquito-michelson-encoder/src/tokens/sapling-transaction-deprecated.d.ts +0 -40
- package/dist/types/taquito-michelson-encoder/src/tokens/sapling-transaction.d.ts +0 -40
- package/dist/types/taquito-michelson-encoder/src/tokens/set.d.ts +0 -43
- package/dist/types/taquito-michelson-encoder/src/tokens/signature.d.ts +0 -53
- package/dist/types/taquito-michelson-encoder/src/tokens/ticket-deprecated.d.ts +0 -38
- package/dist/types/taquito-michelson-encoder/src/tokens/ticket.d.ts +0 -38
- package/dist/types/taquito-michelson-encoder/src/tokens/token.d.ts +0 -68
- package/dist/types/taquito-michelson-encoder/src/tokens/tokens.d.ts +0 -36
- package/dist/types/taquito-michelson-encoder/src/tokens/unit.d.ts +0 -34
- package/dist/types/taquito-michelson-encoder/src/version.d.ts +0 -4
- package/dist/types/taquito-rpc/src/opkind.d.ts +0 -45
- package/dist/types/taquito-rpc/src/rpc-client-interface.d.ts +0 -126
- package/dist/types/taquito-rpc/src/rpc-client-modules/rpc-cache.d.ts +0 -473
- package/dist/types/taquito-rpc/src/taquito-rpc.d.ts +0 -483
- package/dist/types/taquito-rpc/src/types.d.ts +0 -2362
- package/dist/types/taquito-rpc/src/utils/utils.d.ts +0 -14
- package/dist/types/taquito-rpc/src/version.d.ts +0 -4
- package/dist/types/taquito-signer/src/bls-key.d.ts +0 -21
- package/dist/types/taquito-signer/src/derivation-tools/ecdsa.d.ts +0 -49
- package/dist/types/taquito-signer/src/derivation-tools/ed25519.d.ts +0 -33
- package/dist/types/taquito-signer/src/derivation-tools/index.d.ts +0 -12
- package/dist/types/taquito-signer/src/derivation-tools/types.d.ts +0 -10
- package/dist/types/taquito-signer/src/derivation-tools/utils.d.ts +0 -1
- package/dist/types/taquito-signer/src/ec-key.d.ts +0 -42
- package/dist/types/taquito-signer/src/ed-key.d.ts +0 -39
- package/dist/types/taquito-signer/src/errors.d.ts +0 -51
- package/dist/types/taquito-signer/src/helpers.d.ts +0 -10
- package/dist/types/taquito-signer/src/in-memory-signer.d.ts +0 -56
- package/dist/types/taquito-signer/src/key-interface.d.ts +0 -37
- package/dist/types/taquito-signer/src/taquito-signer.d.ts +0 -10
- package/dist/types/taquito-signer/src/version.d.ts +0 -4
- package/dist/types/taquito-utils/src/constants.d.ts +0 -78
- package/dist/types/taquito-utils/src/encoding.d.ts +0 -184
- package/dist/types/taquito-utils/src/errors.d.ts +0 -20
- package/dist/types/taquito-utils/src/format.d.ts +0 -4
- package/dist/types/taquito-utils/src/taquito-utils.d.ts +0 -11
- package/dist/types/taquito-utils/src/validators.d.ts +0 -167
- package/dist/types/taquito-utils/src/verify-signature.d.ts +0 -22
- package/dist/types/taquito-utils/src/version.d.ts +0 -4
- package/dist/types/taquito-wallet-connect/src/version.d.ts +0 -4
- /package/dist/lib/{taquito-wallet-connect/src/errors.js → errors.js} +0 -0
- /package/dist/lib/{taquito-wallet-connect/src/types.js → types.js} +0 -0
- /package/dist/types/{taquito-wallet-connect/src/errors.d.ts → errors.d.ts} +0 -0
- /package/dist/types/{taquito-wallet-connect/src/taquito-wallet-connect.d.ts → taquito-wallet-connect.d.ts} +0 -0
- /package/dist/types/{taquito-wallet-connect/src/types.d.ts → types.d.ts} +0 -0
- /package/dist/types/{taquito-http-utils/src/version.d.ts → version.d.ts} +0 -0
|
@@ -1,823 +0,0 @@
|
|
|
1
|
-
import { OperationObject, InternalOperationResultKindEnum, OpKind, TransactionOperationParameter, MichelsonV1Expression, BallotVote, PvmKind } from '@taquito/rpc';
|
|
2
|
-
import { BlockIdentifier } from '../read-provider/interface';
|
|
3
|
-
export { OpKind } from '@taquito/rpc';
|
|
4
|
-
export type withKind<T, K extends OpKind> = T & {
|
|
5
|
-
kind: K;
|
|
6
|
-
};
|
|
7
|
-
export type ParamsWithKind = withKind<OriginateParams, OpKind.ORIGINATION> | withKind<DelegateParams, OpKind.DELEGATION> | withKind<TransferParams, OpKind.TRANSACTION> | withKind<ActivationParams, OpKind.ACTIVATION> | withKind<RegisterGlobalConstantParams, OpKind.REGISTER_GLOBAL_CONSTANT> | withKind<IncreasePaidStorageParams, OpKind.INCREASE_PAID_STORAGE> | withKind<TransferTicketParams, OpKind.TRANSFER_TICKET> | withKind<UpdateConsensusKeyParams, OpKind.UPDATE_CONSENSUS_KEY> | withKind<UpdateCompanionKeyParams, OpKind.UPDATE_COMPANION_KEY> | withKind<SmartRollupAddMessagesParams, OpKind.SMART_ROLLUP_ADD_MESSAGES> | withKind<FailingNoopParams, OpKind.FAILING_NOOP> | withKind<SmartRollupOriginateParams, OpKind.SMART_ROLLUP_ORIGINATE> | withKind<SmartRollupExecuteOutboxMessageParams, OpKind.SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE>;
|
|
8
|
-
export type ParamsWithKindExtended = ParamsWithKind | withKind<RevealParams, OpKind.REVEAL>;
|
|
9
|
-
export declare const attachKind: <T, K extends OpKind>(op: T, kind: K) => withKind<T, K>;
|
|
10
|
-
export declare const findWithKind: <T extends {
|
|
11
|
-
kind: OpKind;
|
|
12
|
-
}, K extends OpKind>(arr: T[], kind: K) => (T & {
|
|
13
|
-
kind: K;
|
|
14
|
-
}) | undefined;
|
|
15
|
-
export declare const isKind: <T extends {
|
|
16
|
-
kind: OpKind;
|
|
17
|
-
}, K extends OpKind>(op: T, kind: K) => op is withKind<T, K>;
|
|
18
|
-
export type RPCOpWithFee = RPCTransferOperation | RPCOriginationOperation | RPCDelegateOperation | RPCRevealOperation | RPCRegisterGlobalConstantOperation | RPCIncreasePaidStorageOperation | RPCTransferTicketOperation | RPCUpdateConsensusKeyOperation | RPCUpdateCompanionKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation;
|
|
19
|
-
export type RPCOpWithSource = RPCTransferOperation | RPCOriginationOperation | RPCDelegateOperation | RPCRevealOperation | RPCRegisterGlobalConstantOperation | RPCIncreasePaidStorageOperation | RPCTransferTicketOperation | RPCUpdateConsensusKeyOperation | RPCUpdateCompanionKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation | RPCBallotOperation | RPCProposalsOperation;
|
|
20
|
-
declare const feeConsumingOpKinds: readonly [OpKind.TRANSACTION, OpKind.DELEGATION, OpKind.ORIGINATION, OpKind.REVEAL, OpKind.REGISTER_GLOBAL_CONSTANT, OpKind.INCREASE_PAID_STORAGE, OpKind.TRANSFER_TICKET, OpKind.UPDATE_CONSENSUS_KEY, OpKind.UPDATE_COMPANION_KEY, OpKind.SMART_ROLLUP_ADD_MESSAGES, OpKind.SMART_ROLLUP_ORIGINATE, OpKind.SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE];
|
|
21
|
-
type FeeConsumingOpKind = (typeof feeConsumingOpKinds)[number];
|
|
22
|
-
export declare const isOpWithGasBuffer: <T extends {
|
|
23
|
-
kind: OpKind;
|
|
24
|
-
destination?: string;
|
|
25
|
-
}>(op: T) => boolean;
|
|
26
|
-
export declare const isOpWithFee: <T extends {
|
|
27
|
-
kind: OpKind;
|
|
28
|
-
}>(op: T) => op is Extract<T, {
|
|
29
|
-
kind: FeeConsumingOpKind;
|
|
30
|
-
}>;
|
|
31
|
-
export declare const isOpRequireReveal: <T extends {
|
|
32
|
-
kind: OpKind;
|
|
33
|
-
}>(op: T) => op is withKind<T, Exclude<InternalOperationResultKindEnum, OpKind.REVEAL>>;
|
|
34
|
-
export type SourceKinds = InternalOperationResultKindEnum;
|
|
35
|
-
export declare const isSourceOp: <T extends {
|
|
36
|
-
kind: OpKind;
|
|
37
|
-
}>(op: T) => op is withKind<T, SourceKinds>;
|
|
38
|
-
export declare const hasMetadata: <T extends {
|
|
39
|
-
kind: OpKind;
|
|
40
|
-
}, K>(op: T) => op is T & {
|
|
41
|
-
metadata: K;
|
|
42
|
-
};
|
|
43
|
-
export declare const hasMetadataWithResult: <T extends {
|
|
44
|
-
kind: OpKind;
|
|
45
|
-
}, K>(op: T) => op is T & {
|
|
46
|
-
metadata: {
|
|
47
|
-
operation_result: K;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export declare const hasMetadataWithInternalOperationResult: <T extends {
|
|
51
|
-
kind: OpKind;
|
|
52
|
-
}, K>(op: T) => op is T & {
|
|
53
|
-
metadata: {
|
|
54
|
-
internal_operation_results?: K;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
export interface GasConsumingOperation {
|
|
58
|
-
consumedGas?: string;
|
|
59
|
-
gasLimit: number;
|
|
60
|
-
}
|
|
61
|
-
export interface StorageConsumingOperation {
|
|
62
|
-
storageDiff?: string;
|
|
63
|
-
storageSize?: string;
|
|
64
|
-
storageLimit: number;
|
|
65
|
-
}
|
|
66
|
-
export interface FeeConsumingOperation {
|
|
67
|
-
fee: number;
|
|
68
|
-
}
|
|
69
|
-
export type OriginateParamsBase = {
|
|
70
|
-
/**
|
|
71
|
-
* Initial contract balance.
|
|
72
|
-
*
|
|
73
|
-
* Interpreted as tez by default. Set `mutez: true` to pass this value in mutez.
|
|
74
|
-
*/
|
|
75
|
-
balance?: string | number;
|
|
76
|
-
/**
|
|
77
|
-
* Contract code in Micheline JSON (`object[]`) or Michelson string.
|
|
78
|
-
*/
|
|
79
|
-
code: string | object[];
|
|
80
|
-
/**
|
|
81
|
-
* Optional delegate for the originated contract.
|
|
82
|
-
*/
|
|
83
|
-
delegate?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Fee in mutez.
|
|
86
|
-
*
|
|
87
|
-
* If omitted, Taquito estimates and fills a fee.
|
|
88
|
-
*/
|
|
89
|
-
fee?: number;
|
|
90
|
-
/**
|
|
91
|
-
* Gas limit.
|
|
92
|
-
*
|
|
93
|
-
* If omitted, Taquito derives it from protocol constants and simulation.
|
|
94
|
-
*/
|
|
95
|
-
gasLimit?: number;
|
|
96
|
-
/**
|
|
97
|
-
* Storage limit.
|
|
98
|
-
*
|
|
99
|
-
* If omitted, Taquito derives it from protocol constants and simulation.
|
|
100
|
-
*/
|
|
101
|
-
storageLimit?: number;
|
|
102
|
-
/**
|
|
103
|
-
* When `true`, `balance` is interpreted as mutez.
|
|
104
|
-
*/
|
|
105
|
-
mutez?: boolean;
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* Parameters for originate method
|
|
109
|
-
*/
|
|
110
|
-
export type OriginateParams<TStorage = any> = OriginateParamsBase & ({
|
|
111
|
-
init?: never;
|
|
112
|
-
/** JS representation of a storage object */
|
|
113
|
-
storage: TStorage;
|
|
114
|
-
} | {
|
|
115
|
-
/** Initial storage object value. Either Micheline or JSON encoded */
|
|
116
|
-
init: string | object;
|
|
117
|
-
storage?: never;
|
|
118
|
-
});
|
|
119
|
-
export interface ActivationParams {
|
|
120
|
-
pkh: string;
|
|
121
|
-
secret: string;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* RPC origination operation
|
|
125
|
-
*/
|
|
126
|
-
export interface RPCOriginationOperation {
|
|
127
|
-
kind: OpKind.ORIGINATION;
|
|
128
|
-
fee: number;
|
|
129
|
-
gas_limit: number;
|
|
130
|
-
storage_limit: number;
|
|
131
|
-
balance: string;
|
|
132
|
-
delegate?: string;
|
|
133
|
-
source?: string;
|
|
134
|
-
script: {
|
|
135
|
-
code: any;
|
|
136
|
-
storage: any;
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* RPC reveal operation
|
|
141
|
-
*/
|
|
142
|
-
export interface RPCRevealOperation {
|
|
143
|
-
kind: OpKind.REVEAL;
|
|
144
|
-
fee: number;
|
|
145
|
-
public_key: string;
|
|
146
|
-
source?: string;
|
|
147
|
-
gas_limit: number;
|
|
148
|
-
storage_limit: number;
|
|
149
|
-
proof?: string;
|
|
150
|
-
}
|
|
151
|
-
export interface RevealParams {
|
|
152
|
-
/**
|
|
153
|
-
* Reveal fee in mutez.
|
|
154
|
-
*/
|
|
155
|
-
fee?: number;
|
|
156
|
-
/**
|
|
157
|
-
* Reveal gas limit.
|
|
158
|
-
*/
|
|
159
|
-
gasLimit?: number;
|
|
160
|
-
/**
|
|
161
|
-
* Reveal storage limit.
|
|
162
|
-
*/
|
|
163
|
-
storageLimit?: number;
|
|
164
|
-
/**
|
|
165
|
-
* Proof of possession for BLS (`tz4`) reveal.
|
|
166
|
-
*
|
|
167
|
-
* Required for BLS reveal and ignored for non-BLS sources.
|
|
168
|
-
*/
|
|
169
|
-
proof?: string;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Result of a forge operation contains the operation plus its encoded version
|
|
173
|
-
*/
|
|
174
|
-
export interface ForgedBytes {
|
|
175
|
-
opbytes: string;
|
|
176
|
-
opOb: OperationObject;
|
|
177
|
-
counter: number;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Parameters for setDelegate method
|
|
181
|
-
*/
|
|
182
|
-
export interface DelegateParams {
|
|
183
|
-
/**
|
|
184
|
-
* Operation source. Defaults to the active signer pkh.
|
|
185
|
-
*/
|
|
186
|
-
source?: string;
|
|
187
|
-
/**
|
|
188
|
-
* Delegate address.
|
|
189
|
-
*
|
|
190
|
-
* Omit to clear delegation.
|
|
191
|
-
*/
|
|
192
|
-
delegate?: string;
|
|
193
|
-
/**
|
|
194
|
-
* Fee in mutez.
|
|
195
|
-
*/
|
|
196
|
-
fee?: number;
|
|
197
|
-
/**
|
|
198
|
-
* Gas limit.
|
|
199
|
-
*/
|
|
200
|
-
gasLimit?: number;
|
|
201
|
-
/**
|
|
202
|
-
* Storage limit.
|
|
203
|
-
*/
|
|
204
|
-
storageLimit?: number;
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* Parameters for registerDelegate method
|
|
208
|
-
*/
|
|
209
|
-
export interface RegisterDelegateParams {
|
|
210
|
-
/**
|
|
211
|
-
* Fee in mutez.
|
|
212
|
-
*/
|
|
213
|
-
fee?: number;
|
|
214
|
-
/**
|
|
215
|
-
* Gas limit.
|
|
216
|
-
*/
|
|
217
|
-
gasLimit?: number;
|
|
218
|
-
/**
|
|
219
|
-
* Storage limit.
|
|
220
|
-
*/
|
|
221
|
-
storageLimit?: number;
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* RPC delegation operation
|
|
225
|
-
*/
|
|
226
|
-
export interface RPCDelegateOperation {
|
|
227
|
-
kind: OpKind.DELEGATION;
|
|
228
|
-
source?: string;
|
|
229
|
-
fee: number;
|
|
230
|
-
gas_limit: number;
|
|
231
|
-
storage_limit: number;
|
|
232
|
-
delegate?: string;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Parameters for transfer method
|
|
236
|
-
*/
|
|
237
|
-
export interface TransferParams {
|
|
238
|
-
/**
|
|
239
|
-
* Destination account or contract address.
|
|
240
|
-
*/
|
|
241
|
-
to: string;
|
|
242
|
-
/**
|
|
243
|
-
* Operation source. Defaults to the active signer pkh.
|
|
244
|
-
*/
|
|
245
|
-
source?: string;
|
|
246
|
-
/**
|
|
247
|
-
* Transfer amount.
|
|
248
|
-
*
|
|
249
|
-
* Interpreted as tez by default. Set `mutez: true` to pass mutez.
|
|
250
|
-
*/
|
|
251
|
-
amount: number;
|
|
252
|
-
/**
|
|
253
|
-
* Fee in mutez.
|
|
254
|
-
*/
|
|
255
|
-
fee?: number;
|
|
256
|
-
/**
|
|
257
|
-
* Optional transaction parameter for contract calls.
|
|
258
|
-
*/
|
|
259
|
-
parameter?: TransactionOperationParameter;
|
|
260
|
-
/**
|
|
261
|
-
* Gas limit.
|
|
262
|
-
*/
|
|
263
|
-
gasLimit?: number;
|
|
264
|
-
/**
|
|
265
|
-
* Storage limit.
|
|
266
|
-
*/
|
|
267
|
-
storageLimit?: number;
|
|
268
|
-
/**
|
|
269
|
-
* When `true`, `amount` is interpreted as mutez.
|
|
270
|
-
*/
|
|
271
|
-
mutez?: boolean;
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* RPC Stake pseudo operation params
|
|
275
|
-
*/
|
|
276
|
-
export interface StakeParams {
|
|
277
|
-
/**
|
|
278
|
-
* Destination staking contract/account.
|
|
279
|
-
*
|
|
280
|
-
* Defaults to source when omitted.
|
|
281
|
-
*/
|
|
282
|
-
to?: string;
|
|
283
|
-
/**
|
|
284
|
-
* Operation source. Defaults to the active signer pkh.
|
|
285
|
-
*/
|
|
286
|
-
source?: string;
|
|
287
|
-
/**
|
|
288
|
-
* Amount to stake.
|
|
289
|
-
*
|
|
290
|
-
* Interpreted as tez by default. Set `mutez: true` to pass mutez.
|
|
291
|
-
*/
|
|
292
|
-
amount: number;
|
|
293
|
-
/**
|
|
294
|
-
* Fee in mutez.
|
|
295
|
-
*/
|
|
296
|
-
fee?: number;
|
|
297
|
-
/**
|
|
298
|
-
* Optional RPC-level parameter override.
|
|
299
|
-
*/
|
|
300
|
-
parameter?: TransactionOperationParameter;
|
|
301
|
-
/**
|
|
302
|
-
* Gas limit.
|
|
303
|
-
*/
|
|
304
|
-
gasLimit?: number;
|
|
305
|
-
/**
|
|
306
|
-
* Storage limit.
|
|
307
|
-
*/
|
|
308
|
-
storageLimit?: number;
|
|
309
|
-
/**
|
|
310
|
-
* When `true`, `amount` is interpreted as mutez.
|
|
311
|
-
*/
|
|
312
|
-
mutez?: boolean;
|
|
313
|
-
}
|
|
314
|
-
/**
|
|
315
|
-
* RPC unstake pseudo operation params
|
|
316
|
-
*/
|
|
317
|
-
export interface UnstakeParams {
|
|
318
|
-
/**
|
|
319
|
-
* Destination staking contract/account.
|
|
320
|
-
*
|
|
321
|
-
* Defaults to source when omitted.
|
|
322
|
-
*/
|
|
323
|
-
to?: string;
|
|
324
|
-
/**
|
|
325
|
-
* Operation source. Defaults to the active signer pkh.
|
|
326
|
-
*/
|
|
327
|
-
source?: string;
|
|
328
|
-
/**
|
|
329
|
-
* Amount to unstake.
|
|
330
|
-
*
|
|
331
|
-
* Interpreted as tez by default. Set `mutez: true` to pass mutez.
|
|
332
|
-
*/
|
|
333
|
-
amount: number;
|
|
334
|
-
/**
|
|
335
|
-
* Fee in mutez.
|
|
336
|
-
*/
|
|
337
|
-
fee?: number;
|
|
338
|
-
/**
|
|
339
|
-
* Optional RPC-level parameter override.
|
|
340
|
-
*/
|
|
341
|
-
parameter?: TransactionOperationParameter;
|
|
342
|
-
/**
|
|
343
|
-
* Gas limit.
|
|
344
|
-
*/
|
|
345
|
-
gasLimit?: number;
|
|
346
|
-
/**
|
|
347
|
-
* Storage limit.
|
|
348
|
-
*/
|
|
349
|
-
storageLimit?: number;
|
|
350
|
-
/**
|
|
351
|
-
* When `true`, `amount` is interpreted as mutez.
|
|
352
|
-
*/
|
|
353
|
-
mutez?: boolean;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* RPC finalize_unstake pseudo operation params
|
|
357
|
-
*/
|
|
358
|
-
export interface FinalizeUnstakeParams {
|
|
359
|
-
/**
|
|
360
|
-
* Destination account for finalized funds.
|
|
361
|
-
*
|
|
362
|
-
* Defaults to source when omitted.
|
|
363
|
-
*/
|
|
364
|
-
to?: string;
|
|
365
|
-
/**
|
|
366
|
-
* Operation source. Defaults to the active signer pkh.
|
|
367
|
-
*/
|
|
368
|
-
source?: string;
|
|
369
|
-
/**
|
|
370
|
-
* Transaction amount in mutez for the underlying `finalize_unstake` transaction.
|
|
371
|
-
*
|
|
372
|
-
* Protocol requires this to be `0` when present. Non-zero values are rejected with
|
|
373
|
-
* `operations.invalid_nonzero_transaction_amount`.
|
|
374
|
-
*/
|
|
375
|
-
amount?: number;
|
|
376
|
-
/**
|
|
377
|
-
* Fee in mutez.
|
|
378
|
-
*/
|
|
379
|
-
fee?: number;
|
|
380
|
-
/**
|
|
381
|
-
* Optional RPC-level parameter override.
|
|
382
|
-
*/
|
|
383
|
-
parameter?: TransactionOperationParameter;
|
|
384
|
-
/**
|
|
385
|
-
* Gas limit.
|
|
386
|
-
*/
|
|
387
|
-
gasLimit?: number;
|
|
388
|
-
/**
|
|
389
|
-
* Storage limit.
|
|
390
|
-
*/
|
|
391
|
-
storageLimit?: number;
|
|
392
|
-
/**
|
|
393
|
-
* When `true`, numeric amounts are interpreted as mutez.
|
|
394
|
-
*/
|
|
395
|
-
mutez?: boolean;
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
* RPC register global constant operation
|
|
399
|
-
*/
|
|
400
|
-
export interface RPCRegisterGlobalConstantOperation {
|
|
401
|
-
kind: OpKind.REGISTER_GLOBAL_CONSTANT;
|
|
402
|
-
fee: number;
|
|
403
|
-
gas_limit: number;
|
|
404
|
-
storage_limit: number;
|
|
405
|
-
source: string;
|
|
406
|
-
value: MichelsonV1Expression;
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* Parameters for the `registerGlobalConstant` method
|
|
410
|
-
*/
|
|
411
|
-
export interface RegisterGlobalConstantParams {
|
|
412
|
-
/**
|
|
413
|
-
* Micheline expression to register.
|
|
414
|
-
*/
|
|
415
|
-
value: MichelsonV1Expression;
|
|
416
|
-
/**
|
|
417
|
-
* Operation source. Defaults to the active signer pkh.
|
|
418
|
-
*/
|
|
419
|
-
source?: string;
|
|
420
|
-
/**
|
|
421
|
-
* Fee in mutez.
|
|
422
|
-
*/
|
|
423
|
-
fee?: number;
|
|
424
|
-
/**
|
|
425
|
-
* Gas limit.
|
|
426
|
-
*/
|
|
427
|
-
gasLimit?: number;
|
|
428
|
-
/**
|
|
429
|
-
* Storage limit.
|
|
430
|
-
*/
|
|
431
|
-
storageLimit?: number;
|
|
432
|
-
}
|
|
433
|
-
/**
|
|
434
|
-
* RPC transfer operation
|
|
435
|
-
*/
|
|
436
|
-
export interface RPCTransferOperation {
|
|
437
|
-
kind: OpKind.TRANSACTION;
|
|
438
|
-
fee: number;
|
|
439
|
-
gas_limit: number;
|
|
440
|
-
storage_limit: number;
|
|
441
|
-
amount: string;
|
|
442
|
-
source?: string;
|
|
443
|
-
destination: string;
|
|
444
|
-
parameters?: TransactionOperationParameter;
|
|
445
|
-
}
|
|
446
|
-
/**
|
|
447
|
-
* RPC activate account operation
|
|
448
|
-
*/
|
|
449
|
-
export interface RPCActivateOperation {
|
|
450
|
-
kind: OpKind.ACTIVATION;
|
|
451
|
-
pkh: string;
|
|
452
|
-
secret: string;
|
|
453
|
-
}
|
|
454
|
-
/**
|
|
455
|
-
* Parameters for the transferTicket contract provider
|
|
456
|
-
*/
|
|
457
|
-
export interface TransferTicketParams {
|
|
458
|
-
/**
|
|
459
|
-
* Operation source. Defaults to the active signer pkh.
|
|
460
|
-
*/
|
|
461
|
-
source?: string;
|
|
462
|
-
/**
|
|
463
|
-
* Fee in mutez.
|
|
464
|
-
*/
|
|
465
|
-
fee?: number;
|
|
466
|
-
/**
|
|
467
|
-
* Gas limit.
|
|
468
|
-
*/
|
|
469
|
-
gasLimit?: number;
|
|
470
|
-
/**
|
|
471
|
-
* Storage limit.
|
|
472
|
-
*/
|
|
473
|
-
storageLimit?: number;
|
|
474
|
-
/**
|
|
475
|
-
* Ticket payload.
|
|
476
|
-
*/
|
|
477
|
-
ticketContents: MichelsonV1Expression;
|
|
478
|
-
/**
|
|
479
|
-
* Ticket Micheline type.
|
|
480
|
-
*/
|
|
481
|
-
ticketTy: MichelsonV1Expression;
|
|
482
|
-
/**
|
|
483
|
-
* Ticket ticketer contract address.
|
|
484
|
-
*/
|
|
485
|
-
ticketTicketer: string;
|
|
486
|
-
/**
|
|
487
|
-
* Quantity of tickets to transfer.
|
|
488
|
-
*/
|
|
489
|
-
ticketAmount: number;
|
|
490
|
-
/**
|
|
491
|
-
* Destination contract or implicit account.
|
|
492
|
-
*/
|
|
493
|
-
destination: string;
|
|
494
|
-
/**
|
|
495
|
-
* Destination entrypoint name (1-31 bytes).
|
|
496
|
-
*
|
|
497
|
-
* For implicit destinations (`tz...`), this must be `default`; otherwise protocol
|
|
498
|
-
* rejects with `michelson_v1.no_such_entrypoint`.
|
|
499
|
-
*/
|
|
500
|
-
entrypoint: string;
|
|
501
|
-
}
|
|
502
|
-
/**
|
|
503
|
-
* Rpc transfer-ticket operation
|
|
504
|
-
*/
|
|
505
|
-
export interface RPCTransferTicketOperation {
|
|
506
|
-
kind: OpKind.TRANSFER_TICKET;
|
|
507
|
-
source?: string;
|
|
508
|
-
fee: number;
|
|
509
|
-
gas_limit: number;
|
|
510
|
-
storage_limit: number;
|
|
511
|
-
ticket_contents: MichelsonV1Expression;
|
|
512
|
-
ticket_ty: MichelsonV1Expression;
|
|
513
|
-
ticket_ticketer: string;
|
|
514
|
-
ticket_amount: number;
|
|
515
|
-
destination: string;
|
|
516
|
-
entrypoint: string;
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
* Parameters for the increasePaidStorage method
|
|
520
|
-
*/
|
|
521
|
-
export interface IncreasePaidStorageParams {
|
|
522
|
-
/**
|
|
523
|
-
* Operation source. Defaults to the active signer pkh.
|
|
524
|
-
*/
|
|
525
|
-
source?: string;
|
|
526
|
-
/**
|
|
527
|
-
* Fee in mutez.
|
|
528
|
-
*/
|
|
529
|
-
fee?: number;
|
|
530
|
-
/**
|
|
531
|
-
* Gas limit.
|
|
532
|
-
*/
|
|
533
|
-
gasLimit?: number;
|
|
534
|
-
/**
|
|
535
|
-
* Storage limit.
|
|
536
|
-
*/
|
|
537
|
-
storageLimit?: number;
|
|
538
|
-
/**
|
|
539
|
-
* Additional storage bytes to pre-pay for the target contract.
|
|
540
|
-
*
|
|
541
|
-
* Must be a positive integer. Burn cost is `amount * cost_per_byte`.
|
|
542
|
-
*/
|
|
543
|
-
amount: number;
|
|
544
|
-
/**
|
|
545
|
-
* Destination contract address.
|
|
546
|
-
*/
|
|
547
|
-
destination: string;
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* RPC IncreasePaidStorage operation
|
|
551
|
-
*/
|
|
552
|
-
export interface RPCIncreasePaidStorageOperation {
|
|
553
|
-
kind: OpKind.INCREASE_PAID_STORAGE;
|
|
554
|
-
source: string;
|
|
555
|
-
fee: number;
|
|
556
|
-
gas_limit: number;
|
|
557
|
-
storage_limit: number;
|
|
558
|
-
amount: number;
|
|
559
|
-
destination: string;
|
|
560
|
-
}
|
|
561
|
-
/**
|
|
562
|
-
* Parameters for the DrainDelegate method
|
|
563
|
-
*/
|
|
564
|
-
export interface DrainDelegateParams {
|
|
565
|
-
consensus_key: string;
|
|
566
|
-
delegate: string;
|
|
567
|
-
destination: string;
|
|
568
|
-
}
|
|
569
|
-
/**
|
|
570
|
-
* RPC DrainDelegate operation
|
|
571
|
-
*/
|
|
572
|
-
export interface RPCDrainDelegateOperation {
|
|
573
|
-
kind: OpKind.DRAIN_DELEGATE;
|
|
574
|
-
consensus_key: string;
|
|
575
|
-
delegate: string;
|
|
576
|
-
destination: string;
|
|
577
|
-
}
|
|
578
|
-
/**
|
|
579
|
-
* Ballot operation params
|
|
580
|
-
*/
|
|
581
|
-
export interface BallotParams {
|
|
582
|
-
source?: string;
|
|
583
|
-
proposal: string;
|
|
584
|
-
ballot: BallotVote;
|
|
585
|
-
}
|
|
586
|
-
export interface RPCBallotOperation {
|
|
587
|
-
kind: OpKind.BALLOT;
|
|
588
|
-
source: string;
|
|
589
|
-
period: number;
|
|
590
|
-
proposal: string;
|
|
591
|
-
ballot: BallotVote;
|
|
592
|
-
}
|
|
593
|
-
export interface ProposalsParams {
|
|
594
|
-
source?: string;
|
|
595
|
-
proposals: string[];
|
|
596
|
-
}
|
|
597
|
-
export interface RPCProposalsOperation {
|
|
598
|
-
kind: OpKind.PROPOSALS;
|
|
599
|
-
source: string;
|
|
600
|
-
period: number;
|
|
601
|
-
proposals: string[];
|
|
602
|
-
}
|
|
603
|
-
export interface UpdateConsensusKeyParams {
|
|
604
|
-
/**
|
|
605
|
-
* Operation source. Defaults to the active signer pkh.
|
|
606
|
-
*/
|
|
607
|
-
source?: string;
|
|
608
|
-
/**
|
|
609
|
-
* Fee in mutez.
|
|
610
|
-
*/
|
|
611
|
-
fee?: number;
|
|
612
|
-
/**
|
|
613
|
-
* Gas limit.
|
|
614
|
-
*/
|
|
615
|
-
gasLimit?: number;
|
|
616
|
-
/**
|
|
617
|
-
* Storage limit.
|
|
618
|
-
*/
|
|
619
|
-
storageLimit?: number;
|
|
620
|
-
/**
|
|
621
|
-
* New consensus public key.
|
|
622
|
-
*/
|
|
623
|
-
pk: string;
|
|
624
|
-
/**
|
|
625
|
-
* BLS proof-of-possession for `pk`.
|
|
626
|
-
*
|
|
627
|
-
* Required when `pk` is a BLS (`tz4`) key, otherwise validation fails with
|
|
628
|
-
* `validate.operation.missing_bls_proof`. Invalid proofs fail with
|
|
629
|
-
* `validate.operation.incorrect_bls_proof`. Must be omitted for non-BLS keys.
|
|
630
|
-
*/
|
|
631
|
-
proof?: string;
|
|
632
|
-
}
|
|
633
|
-
export interface RPCUpdateConsensusKeyOperation {
|
|
634
|
-
kind: OpKind.UPDATE_CONSENSUS_KEY;
|
|
635
|
-
source: string;
|
|
636
|
-
fee: number;
|
|
637
|
-
gas_limit: number;
|
|
638
|
-
storage_limit: number;
|
|
639
|
-
pk: string;
|
|
640
|
-
proof?: string;
|
|
641
|
-
}
|
|
642
|
-
export interface UpdateCompanionKeyParams {
|
|
643
|
-
/**
|
|
644
|
-
* Operation source. Defaults to the active signer pkh.
|
|
645
|
-
*/
|
|
646
|
-
source?: string;
|
|
647
|
-
/**
|
|
648
|
-
* Fee in mutez.
|
|
649
|
-
*/
|
|
650
|
-
fee?: number;
|
|
651
|
-
/**
|
|
652
|
-
* Gas limit.
|
|
653
|
-
*/
|
|
654
|
-
gasLimit?: number;
|
|
655
|
-
/**
|
|
656
|
-
* Storage limit.
|
|
657
|
-
*/
|
|
658
|
-
storageLimit?: number;
|
|
659
|
-
/**
|
|
660
|
-
* New companion public key (BLS).
|
|
661
|
-
*/
|
|
662
|
-
pk: string;
|
|
663
|
-
/**
|
|
664
|
-
* BLS proof-of-possession for the companion key.
|
|
665
|
-
*
|
|
666
|
-
* Companion keys must be `tz4`; non-BLS keys fail with
|
|
667
|
-
* `validate.operation.update_companion_key_not_tz4`.
|
|
668
|
-
* Missing proof fails with `validate.operation.missing_bls_proof` and invalid proof
|
|
669
|
-
* fails with `validate.operation.incorrect_bls_proof`.
|
|
670
|
-
*/
|
|
671
|
-
proof?: string;
|
|
672
|
-
}
|
|
673
|
-
export interface RPCUpdateCompanionKeyOperation {
|
|
674
|
-
kind: OpKind.UPDATE_COMPANION_KEY;
|
|
675
|
-
source: string;
|
|
676
|
-
fee: number;
|
|
677
|
-
gas_limit: number;
|
|
678
|
-
storage_limit: number;
|
|
679
|
-
pk: string;
|
|
680
|
-
proof?: string;
|
|
681
|
-
}
|
|
682
|
-
export interface SmartRollupAddMessagesParams {
|
|
683
|
-
/**
|
|
684
|
-
* Operation source. Defaults to the active signer pkh.
|
|
685
|
-
*/
|
|
686
|
-
source?: string;
|
|
687
|
-
/**
|
|
688
|
-
* Fee in mutez.
|
|
689
|
-
*/
|
|
690
|
-
fee?: number;
|
|
691
|
-
/**
|
|
692
|
-
* Gas limit.
|
|
693
|
-
*/
|
|
694
|
-
gasLimit?: number;
|
|
695
|
-
/**
|
|
696
|
-
* Storage limit.
|
|
697
|
-
*/
|
|
698
|
-
storageLimit?: number;
|
|
699
|
-
/**
|
|
700
|
-
* Hex-encoded message bytes posted to the global smart-rollup inbox.
|
|
701
|
-
*
|
|
702
|
-
* At least one message is required. Each message is limited to 4096 bytes after decoding.
|
|
703
|
-
*/
|
|
704
|
-
message: string[];
|
|
705
|
-
}
|
|
706
|
-
export interface RPCSmartRollupAddMessagesOperation {
|
|
707
|
-
kind: OpKind.SMART_ROLLUP_ADD_MESSAGES;
|
|
708
|
-
source: string;
|
|
709
|
-
fee: number;
|
|
710
|
-
gas_limit: number;
|
|
711
|
-
storage_limit: number;
|
|
712
|
-
message: string[];
|
|
713
|
-
}
|
|
714
|
-
export interface SmartRollupOriginateParams {
|
|
715
|
-
/**
|
|
716
|
-
* Operation source. Defaults to the active signer pkh.
|
|
717
|
-
*/
|
|
718
|
-
source?: string;
|
|
719
|
-
/**
|
|
720
|
-
* Fee in mutez.
|
|
721
|
-
*/
|
|
722
|
-
fee?: number;
|
|
723
|
-
/**
|
|
724
|
-
* Gas limit.
|
|
725
|
-
*/
|
|
726
|
-
gasLimit?: number;
|
|
727
|
-
/**
|
|
728
|
-
* Storage limit.
|
|
729
|
-
*/
|
|
730
|
-
storageLimit?: number;
|
|
731
|
-
/**
|
|
732
|
-
* PVM kind for the rollup.
|
|
733
|
-
*/
|
|
734
|
-
pvmKind: PvmKind;
|
|
735
|
-
/**
|
|
736
|
-
* Hex-encoded boot sector binary for the selected PVM.
|
|
737
|
-
*
|
|
738
|
-
* Effective size is constrained by the operation data size limit.
|
|
739
|
-
*/
|
|
740
|
-
kernel: string;
|
|
741
|
-
/**
|
|
742
|
-
* Micheline type for L1-to-rollup deposited values.
|
|
743
|
-
*
|
|
744
|
-
* Must be a valid Michelson type accepted by protocol rollup parameter typing rules.
|
|
745
|
-
*/
|
|
746
|
-
parametersType: MichelsonV1Expression;
|
|
747
|
-
}
|
|
748
|
-
export interface RPCSmartRollupOriginateOperation {
|
|
749
|
-
kind: OpKind.SMART_ROLLUP_ORIGINATE;
|
|
750
|
-
source: string;
|
|
751
|
-
fee: number;
|
|
752
|
-
gas_limit: number;
|
|
753
|
-
storage_limit: number;
|
|
754
|
-
pvm_kind: PvmKind;
|
|
755
|
-
kernel: string;
|
|
756
|
-
parameters_ty: MichelsonV1Expression;
|
|
757
|
-
}
|
|
758
|
-
export interface SmartRollupExecuteOutboxMessageParams {
|
|
759
|
-
/**
|
|
760
|
-
* Operation source. Defaults to the active signer pkh.
|
|
761
|
-
*/
|
|
762
|
-
source?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Fee in mutez.
|
|
765
|
-
*/
|
|
766
|
-
fee?: number;
|
|
767
|
-
/**
|
|
768
|
-
* Gas limit.
|
|
769
|
-
*/
|
|
770
|
-
gasLimit?: number;
|
|
771
|
-
/**
|
|
772
|
-
* Storage limit.
|
|
773
|
-
*/
|
|
774
|
-
storageLimit?: number;
|
|
775
|
-
/**
|
|
776
|
-
* Target smart-rollup address (`sr1...`).
|
|
777
|
-
*/
|
|
778
|
-
rollup: string;
|
|
779
|
-
/**
|
|
780
|
-
* Cemented commitment hash (`src1...`) referenced by the outbox proof.
|
|
781
|
-
*
|
|
782
|
-
* Must still be present in the chain of stored cemented commitments.
|
|
783
|
-
*/
|
|
784
|
-
cementedCommitment: string;
|
|
785
|
-
/**
|
|
786
|
-
* Hex-encoded PVM outbox proof bytes produced by a rollup node.
|
|
787
|
-
*/
|
|
788
|
-
outputProof: string;
|
|
789
|
-
}
|
|
790
|
-
export interface RPCSmartRollupOutboxMessageOperation {
|
|
791
|
-
kind: OpKind.SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE;
|
|
792
|
-
source: string;
|
|
793
|
-
fee: number;
|
|
794
|
-
gas_limit: number;
|
|
795
|
-
storage_limit: number;
|
|
796
|
-
rollup: string;
|
|
797
|
-
cemented_commitment: string;
|
|
798
|
-
output_proof: string;
|
|
799
|
-
}
|
|
800
|
-
/**
|
|
801
|
-
* RPC failing noop operation
|
|
802
|
-
*/
|
|
803
|
-
export interface RPCFailingNoopOperation {
|
|
804
|
-
kind: OpKind.FAILING_NOOP;
|
|
805
|
-
arbitrary: string;
|
|
806
|
-
}
|
|
807
|
-
/**
|
|
808
|
-
* Parameters for the `failingNoop` method
|
|
809
|
-
*/
|
|
810
|
-
export interface FailingNoopParams {
|
|
811
|
-
arbitrary: string;
|
|
812
|
-
basedOnBlock: BlockIdentifier;
|
|
813
|
-
}
|
|
814
|
-
export type RPCOperation = RPCOriginationOperation | RPCTransferOperation | RPCDelegateOperation | RPCRevealOperation | RPCActivateOperation | RPCRegisterGlobalConstantOperation | RPCTransferTicketOperation | RPCIncreasePaidStorageOperation | RPCDrainDelegateOperation | RPCBallotOperation | RPCProposalsOperation | RPCUpdateConsensusKeyOperation | RPCUpdateCompanionKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation | RPCFailingNoopOperation;
|
|
815
|
-
export type PrepareOperationParams = {
|
|
816
|
-
operation: RPCOperation | RPCOperation[];
|
|
817
|
-
source?: string;
|
|
818
|
-
};
|
|
819
|
-
export type ParamsWithOptionalFees = {
|
|
820
|
-
fee?: number | string;
|
|
821
|
-
storageLimit?: number | string;
|
|
822
|
-
gasLimit?: number | string;
|
|
823
|
-
};
|