@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,254 +0,0 @@
|
|
|
1
|
-
import { BigMapKeyType, MichelsonMap, MichelsonMapKey, Schema } from '@taquito/michelson-encoder';
|
|
2
|
-
import { SaplingDiffResponse } from '@taquito/rpc';
|
|
3
|
-
import { OperationBatch } from '../batch/rpc-batch-provider';
|
|
4
|
-
import { Context } from '../context';
|
|
5
|
-
import { DelegateOperation } from '../operations/delegate-operation';
|
|
6
|
-
import { OriginationOperation } from '../operations/origination-operation';
|
|
7
|
-
import { RegisterGlobalConstantOperation } from '../operations/register-global-constant-operation';
|
|
8
|
-
import { RevealOperation } from '../operations/reveal-operation';
|
|
9
|
-
import { TransactionOperation } from '../operations/transaction-operation';
|
|
10
|
-
import { DelegateParams, OriginateParams, TransferParams, RegisterDelegateParams, ParamsWithKind, RevealParams, RegisterGlobalConstantParams, IncreasePaidStorageParams, TransferTicketParams, DrainDelegateParams, BallotParams, ProposalsParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, FailingNoopParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
|
|
11
|
-
import { ContractAbstraction, ContractStorageType, DefaultContractType } from './contract';
|
|
12
|
-
import { IncreasePaidStorageOperation } from '../operations/increase-paid-storage-operation';
|
|
13
|
-
import { TransferTicketOperation } from '../operations/transfer-ticket-operation';
|
|
14
|
-
import { DrainDelegateOperation } from '../operations';
|
|
15
|
-
import { BallotOperation } from '../operations';
|
|
16
|
-
import { ProposalsOperation } from '../operations/proposals-operation';
|
|
17
|
-
import { UpdateConsensusKeyOperation } from '../operations/update-consensus-key-operation';
|
|
18
|
-
import { UpdateCompanionKeyOperation } from '../operations/update-companion-key-operation';
|
|
19
|
-
import { SmartRollupAddMessagesOperation } from '../operations/smart-rollup-add-messages-operation';
|
|
20
|
-
import { SmartRollupOriginateOperation } from '../operations/smart-rollup-originate-operation';
|
|
21
|
-
import { SmartRollupExecuteOutboxMessageOperation } from '../operations/smart-rollup-execute-outbox-message-operation';
|
|
22
|
-
import { FailingNoopOperation } from '../operations/failing-noop-operation';
|
|
23
|
-
export type ContractSchema = Schema | unknown;
|
|
24
|
-
export interface StorageProvider {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* Return a well formatted json object of the contract storage
|
|
28
|
-
*
|
|
29
|
-
* @param contract contract address you want to get the storage from
|
|
30
|
-
* @param schema optional schema can either be the contract script rpc response or a michelson-encoder schema
|
|
31
|
-
*
|
|
32
|
-
* @see https://tezos.gitlab.io/api/rpc.html#get-block-id-context-contracts-contract-id-script
|
|
33
|
-
*/
|
|
34
|
-
getStorage<T>(contract: string, schema?: ContractSchema): Promise<T>;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* Return a well formatted json object of a big map value
|
|
38
|
-
*
|
|
39
|
-
* @param id Big Map ID
|
|
40
|
-
* @param keyToEncode key to query (will be encoded properly according to the schema)
|
|
41
|
-
* @param schema Big Map schema (can be determined using your contract type)
|
|
42
|
-
* @param block optional block level to fetch the value from
|
|
43
|
-
*
|
|
44
|
-
* @see https://tezos.gitlab.io/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr
|
|
45
|
-
*/
|
|
46
|
-
getBigMapKeyByID<T>(id: string, keyToEncode: BigMapKeyType, schema: Schema, block?: number): Promise<T>;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* Fetch multiple values in a big map
|
|
50
|
-
*
|
|
51
|
-
* @param id Big Map ID
|
|
52
|
-
* @param keysToEncode Array of keys to query (will be encoded properly according to the schema)
|
|
53
|
-
* @param schema Big Map schema (can be determined using your contract type)
|
|
54
|
-
* @param block optional block level to fetch the values from
|
|
55
|
-
* @param batchSize optional batch size representing the number of requests to execute in parallel
|
|
56
|
-
* @returns An object containing the keys queried in the big map and their value in a well-formatted JSON object format
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
getBigMapKeysByID<T>(id: string, keysToEncode: Array<BigMapKeyType>, schema: Schema, block?: number, batchSize?: number): Promise<MichelsonMap<MichelsonMapKey, T | undefined>>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* Return a well formatted json object of a sapling state
|
|
63
|
-
*
|
|
64
|
-
* @param id Sapling state ID
|
|
65
|
-
* @param block optional block level to fetch the value from
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
|
-
getSaplingDiffByID(id: string, block?: number): Promise<SaplingDiffResponse>;
|
|
69
|
-
}
|
|
70
|
-
export interface ContractProvider extends StorageProvider {
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* Originate a new contract according to the script in parameters. Will sign and inject an operation using the current context
|
|
74
|
-
*
|
|
75
|
-
* @returns An operation handle with the result from the rpc node
|
|
76
|
-
*
|
|
77
|
-
* @param contract Originate operation parameter
|
|
78
|
-
*/
|
|
79
|
-
originate<TContract extends DefaultContractType = DefaultContractType>(contract: OriginateParams<ContractStorageType<TContract>>): Promise<OriginationOperation<TContract>>;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* Set the delegate for a contract. Will sign and inject an operation using the current context
|
|
83
|
-
*
|
|
84
|
-
* @returns An operation handle with the result from the rpc node
|
|
85
|
-
*
|
|
86
|
-
* @param params SetDelegate operation parameter
|
|
87
|
-
*/
|
|
88
|
-
setDelegate(params: DelegateParams): Promise<DelegateOperation>;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* Register the current address as delegate. Will sign and inject an operation using the current context
|
|
92
|
-
*
|
|
93
|
-
* @returns An operation handle with the result from the rpc node
|
|
94
|
-
*
|
|
95
|
-
* @param params RegisterDelegate operation parameter
|
|
96
|
-
*/
|
|
97
|
-
registerDelegate(params: RegisterDelegateParams): Promise<DelegateOperation>;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* Transfer tz from current address to a specific address. Will sign and inject an operation using the current context
|
|
101
|
-
*
|
|
102
|
-
* @returns An operation handle with the result from the rpc node
|
|
103
|
-
*
|
|
104
|
-
* @param params Transfer operation parameter
|
|
105
|
-
*/
|
|
106
|
-
transfer(params: TransferParams): Promise<TransactionOperation>;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* Stake tz from current address to a specific address. Built on top of the existing transaction operation
|
|
110
|
-
*
|
|
111
|
-
* @returns An operation handle with the result from the rpc node
|
|
112
|
-
*
|
|
113
|
-
* @param params Stake pseudo-operation parameter
|
|
114
|
-
*/
|
|
115
|
-
stake(params: StakeParams): Promise<TransactionOperation>;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* Unstake tz from current address to a specific address. Built on top of the existing transaction operation
|
|
119
|
-
*
|
|
120
|
-
* @returns An operation handle with the result from the rpc node
|
|
121
|
-
*
|
|
122
|
-
* @param params Unstake pseudo-operation parameter
|
|
123
|
-
*/
|
|
124
|
-
unstake(params: UnstakeParams): Promise<TransactionOperation>;
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* Finalize unstake tz from current address to a specific address. Built on top of the existing transaction operation
|
|
128
|
-
*
|
|
129
|
-
* @returns An operation handle with the result from the rpc node
|
|
130
|
-
*
|
|
131
|
-
* @param params Finalize unstake pseudo-operation parameter
|
|
132
|
-
*/
|
|
133
|
-
finalizeUnstake(params: FinalizeUnstakeParams): Promise<TransactionOperation>;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* Transfer tickets from an implicit account to a contract or another implicit account.
|
|
137
|
-
*
|
|
138
|
-
* @returns An operation handle with the result from the rpc node
|
|
139
|
-
*
|
|
140
|
-
* @param params TransferTicket operation parameter
|
|
141
|
-
*/
|
|
142
|
-
transferTicket(params: TransferTicketParams): Promise<TransferTicketOperation>;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* Reveal the current address. Will throw an error if the address is already revealed.
|
|
146
|
-
* @returns An operation handle with the result from the rpc node
|
|
147
|
-
*
|
|
148
|
-
* @param params Reveal operation parameter
|
|
149
|
-
*/
|
|
150
|
-
reveal(params: RevealParams): Promise<RevealOperation>;
|
|
151
|
-
at<T extends ContractAbstraction<ContractProvider>>(address: string, contractAbstractionComposer?: (abs: ContractAbstraction<ContractProvider>, context: Context) => T): Promise<T>;
|
|
152
|
-
/**
|
|
153
|
-
*
|
|
154
|
-
* Batch a group of operation together. Operations will be applied in the order in which they are added to the batch
|
|
155
|
-
*
|
|
156
|
-
* @param params List of operation to batch together
|
|
157
|
-
*/
|
|
158
|
-
batch(params?: ParamsWithKind[]): OperationBatch;
|
|
159
|
-
/**
|
|
160
|
-
*
|
|
161
|
-
* Register a Micheline expression in a global table of constants. Will sign and inject an operation using the current context
|
|
162
|
-
*
|
|
163
|
-
* @returns An operation handle with the result from the rpc node
|
|
164
|
-
*
|
|
165
|
-
* @param params registerGlobalConstant operation parameter
|
|
166
|
-
*/
|
|
167
|
-
registerGlobalConstant(params: RegisterGlobalConstantParams): Promise<RegisterGlobalConstantOperation>;
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* Increase the amount of bytes in a smart contract storage by paying a fee
|
|
171
|
-
*
|
|
172
|
-
* @returns An operation handle with the result from the rpc node
|
|
173
|
-
*
|
|
174
|
-
* @param params IncreasePaidStorage operation parameter
|
|
175
|
-
*/
|
|
176
|
-
increasePaidStorage(params: IncreasePaidStorageParams): Promise<IncreasePaidStorageOperation>;
|
|
177
|
-
/**
|
|
178
|
-
*
|
|
179
|
-
* Submit a drain delegate operation
|
|
180
|
-
*
|
|
181
|
-
* @returns An operation handle with the result from the RPC node
|
|
182
|
-
*
|
|
183
|
-
* @param params DrainDelegate operation parameter
|
|
184
|
-
*/
|
|
185
|
-
drainDelegate(params: DrainDelegateParams): Promise<DrainDelegateOperation>;
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
* Submit ballot for an ongoing proposal
|
|
189
|
-
*
|
|
190
|
-
* @returns An operation handle with the result from the RPC node
|
|
191
|
-
*
|
|
192
|
-
* @param params Ballot operation parameter
|
|
193
|
-
*/
|
|
194
|
-
ballot(params: BallotParams): Promise<BallotOperation>;
|
|
195
|
-
/**
|
|
196
|
-
*
|
|
197
|
-
* Submit proposal
|
|
198
|
-
*
|
|
199
|
-
* @returns An operation handle with the result from the RPC node
|
|
200
|
-
*
|
|
201
|
-
* @param params Proposals operation parameter
|
|
202
|
-
*/
|
|
203
|
-
proposals(params: ProposalsParams): Promise<ProposalsOperation>;
|
|
204
|
-
/**
|
|
205
|
-
*
|
|
206
|
-
* Update consensus key
|
|
207
|
-
* @returns An operation handle with the result from the RPC node
|
|
208
|
-
*
|
|
209
|
-
* @param params UpdateConsensusKey operation parameter
|
|
210
|
-
*/
|
|
211
|
-
updateConsensusKey(params: UpdateConsensusKeyParams): Promise<UpdateConsensusKeyOperation>;
|
|
212
|
-
/**
|
|
213
|
-
*
|
|
214
|
-
* Update companion key
|
|
215
|
-
* @returns An operation handle with the result from the RPC node
|
|
216
|
-
*
|
|
217
|
-
* @param params UpdateCompanionKey operation parameter
|
|
218
|
-
*/
|
|
219
|
-
updateCompanionKey(params: UpdateCompanionKeyParams): Promise<UpdateCompanionKeyOperation>;
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* Smart Rollup Add Messages
|
|
223
|
-
*
|
|
224
|
-
* @returns An operation handle with the result from the RPC node
|
|
225
|
-
*
|
|
226
|
-
* @param params smartRollupAddMessages operation parameter
|
|
227
|
-
*/
|
|
228
|
-
smartRollupAddMessages(params: SmartRollupAddMessagesParams): Promise<SmartRollupAddMessagesOperation>;
|
|
229
|
-
/**
|
|
230
|
-
* Smart rollup originate
|
|
231
|
-
*
|
|
232
|
-
* @returns An operation handle with the result from the RPC node
|
|
233
|
-
*
|
|
234
|
-
* @param params smartRollupOriginate operation parameter
|
|
235
|
-
*/
|
|
236
|
-
smartRollupOriginate(params: SmartRollupOriginateParams): Promise<SmartRollupOriginateOperation>;
|
|
237
|
-
/**
|
|
238
|
-
* Execute a message from a smart rollup's outbox of a cemented commitment
|
|
239
|
-
*
|
|
240
|
-
* @returns An operation handle with the result from the RPC node
|
|
241
|
-
*
|
|
242
|
-
* @param params smartRollupExecuteOutboxMessage operation parameter
|
|
243
|
-
*/
|
|
244
|
-
smartRollupExecuteOutboxMessage(params: SmartRollupExecuteOutboxMessageParams): Promise<SmartRollupExecuteOutboxMessageOperation>;
|
|
245
|
-
/**
|
|
246
|
-
*
|
|
247
|
-
* Send arbitrary data inside a failing_noop operation that's guaranteed to fail.
|
|
248
|
-
*
|
|
249
|
-
* @returns An operation handle with the result from the rpc node
|
|
250
|
-
*
|
|
251
|
-
* @param params FailingNoop operation parameter
|
|
252
|
-
*/
|
|
253
|
-
failingNoop(params: FailingNoopParams): Promise<FailingNoopOperation>;
|
|
254
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export declare const MANAGER_LAMBDA: {
|
|
2
|
-
setDelegate: (key: string) => ({
|
|
3
|
-
prim: string;
|
|
4
|
-
args?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
prim: string;
|
|
7
|
-
args: ({
|
|
8
|
-
prim: string;
|
|
9
|
-
string?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
string: string;
|
|
12
|
-
prim?: undefined;
|
|
13
|
-
})[];
|
|
14
|
-
})[];
|
|
15
|
-
removeDelegate: () => ({
|
|
16
|
-
prim: string;
|
|
17
|
-
args?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
prim: string;
|
|
20
|
-
args: {
|
|
21
|
-
prim: string;
|
|
22
|
-
}[];
|
|
23
|
-
})[];
|
|
24
|
-
transferImplicit: (key: string, mutez: number) => ({
|
|
25
|
-
prim: string;
|
|
26
|
-
args?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
prim: string;
|
|
29
|
-
args: ({
|
|
30
|
-
prim: string;
|
|
31
|
-
string?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
string: string;
|
|
34
|
-
prim?: undefined;
|
|
35
|
-
})[];
|
|
36
|
-
} | {
|
|
37
|
-
prim: string;
|
|
38
|
-
args: ({
|
|
39
|
-
prim: string;
|
|
40
|
-
int?: undefined;
|
|
41
|
-
} | {
|
|
42
|
-
int: string;
|
|
43
|
-
prim?: undefined;
|
|
44
|
-
})[];
|
|
45
|
-
})[];
|
|
46
|
-
transferToContract: (key: string, amount: number) => ({
|
|
47
|
-
prim: string;
|
|
48
|
-
args?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
prim: string;
|
|
51
|
-
args: ({
|
|
52
|
-
prim: string;
|
|
53
|
-
string?: undefined;
|
|
54
|
-
} | {
|
|
55
|
-
string: string;
|
|
56
|
-
prim?: undefined;
|
|
57
|
-
})[];
|
|
58
|
-
} | {
|
|
59
|
-
prim: string;
|
|
60
|
-
args: {
|
|
61
|
-
prim: string;
|
|
62
|
-
}[][];
|
|
63
|
-
} | {
|
|
64
|
-
prim: string;
|
|
65
|
-
args: ({
|
|
66
|
-
prim: string;
|
|
67
|
-
int?: undefined;
|
|
68
|
-
} | {
|
|
69
|
-
int: string;
|
|
70
|
-
prim?: undefined;
|
|
71
|
-
})[];
|
|
72
|
-
})[];
|
|
73
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OriginateParams, RPCOriginationOperation, TransferParams, RPCTransferOperation, DelegateParams, RPCDelegateOperation, RegisterDelegateParams, RPCRevealOperation, RevealParams, RegisterGlobalConstantParams, RPCRegisterGlobalConstantOperation, TransferTicketParams, RPCTransferTicketOperation, IncreasePaidStorageParams, RPCIncreasePaidStorageOperation, DrainDelegateParams, RPCDrainDelegateOperation, BallotParams, RPCBallotOperation, ProposalsParams, RPCProposalsOperation, UpdateConsensusKeyParams, RPCUpdateConsensusKeyOperation, UpdateCompanionKeyParams, RPCUpdateCompanionKeyOperation, SmartRollupAddMessagesParams, RPCSmartRollupAddMessagesOperation, SmartRollupOriginateParams, RPCSmartRollupOriginateOperation, SmartRollupExecuteOutboxMessageParams, RPCSmartRollupOutboxMessageOperation, ActivationParams, RPCActivateOperation } from '../operations/types';
|
|
2
|
-
export declare const createActivationOperation: ({ pkh, secret }: ActivationParams) => Promise<RPCActivateOperation>;
|
|
3
|
-
export declare const createOriginationOperation: ({ code, init, balance, delegate, storage, fee, gasLimit, storageLimit, mutez, }: OriginateParams) => Promise<RPCOriginationOperation>;
|
|
4
|
-
export declare const createTransferOperation: ({ to, amount, parameter, fee, gasLimit, storageLimit, mutez, }: TransferParams) => Promise<RPCTransferOperation>;
|
|
5
|
-
export declare const createSetDelegateOperation: ({ delegate, source, fee, gasLimit, storageLimit, }: DelegateParams) => Promise<RPCDelegateOperation>;
|
|
6
|
-
export declare const createRegisterDelegateOperation: ({ fee, gasLimit, storageLimit }: RegisterDelegateParams, source: string) => Promise<RPCDelegateOperation>;
|
|
7
|
-
export declare const createRevealOperation: ({ fee, gasLimit, storageLimit, proof }: RevealParams, source: string, publicKey: string) => Promise<RPCRevealOperation>;
|
|
8
|
-
export declare const createRegisterGlobalConstantOperation: ({ value, source, fee, gasLimit, storageLimit, }: RegisterGlobalConstantParams) => Promise<RPCRegisterGlobalConstantOperation>;
|
|
9
|
-
export declare const createTransferTicketOperation: ({ ticketContents, ticketTy, ticketTicketer, ticketAmount, destination, entrypoint, source, fee, gasLimit, storageLimit, }: TransferTicketParams) => Promise<RPCTransferTicketOperation>;
|
|
10
|
-
export declare const createIncreasePaidStorageOperation: ({ source, fee, gasLimit, storageLimit, amount, destination, }: IncreasePaidStorageParams) => Promise<RPCIncreasePaidStorageOperation>;
|
|
11
|
-
export declare const createDrainDelegateOperation: ({ consensus_key, delegate, destination, }: DrainDelegateParams) => Promise<RPCDrainDelegateOperation>;
|
|
12
|
-
export declare const createBallotOperation: ({ source, proposal, ballot }: BallotParams) => Promise<RPCBallotOperation>;
|
|
13
|
-
export declare const createProposalsOperation: ({ source, proposals }: ProposalsParams) => Promise<RPCProposalsOperation>;
|
|
14
|
-
export declare const createUpdateConsensusKeyOperation: ({ source, fee, gasLimit, storageLimit, pk, proof, }: UpdateConsensusKeyParams) => Promise<RPCUpdateConsensusKeyOperation>;
|
|
15
|
-
export declare const createUpdateCompanionKeyOperation: ({ source, fee, gasLimit, storageLimit, pk, proof, }: UpdateCompanionKeyParams) => Promise<RPCUpdateCompanionKeyOperation>;
|
|
16
|
-
export declare const createSmartRollupAddMessagesOperation: ({ source, fee, gasLimit, storageLimit, message, }: SmartRollupAddMessagesParams) => Promise<RPCSmartRollupAddMessagesOperation>;
|
|
17
|
-
export declare const createSmartRollupOriginateOperation: ({ source, fee, gasLimit, storageLimit, pvmKind, kernel, parametersType, }: SmartRollupOriginateParams) => Promise<RPCSmartRollupOriginateOperation>;
|
|
18
|
-
export declare const createSmartRollupExecuteOutboxMessageOperation: ({ source, fee, gasLimit, storageLimit, rollup, cementedCommitment, outputProof, }: SmartRollupExecuteOutboxMessageParams) => Promise<RPCSmartRollupOutboxMessageOperation>;
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { BigMapKeyType, MichelsonMap, MichelsonMapKey, Schema } from '@taquito/michelson-encoder';
|
|
2
|
-
import { OperationBatch } from '../batch/rpc-batch-provider';
|
|
3
|
-
import { Context } from '../context';
|
|
4
|
-
import { DelegateOperation } from '../operations/delegate-operation';
|
|
5
|
-
import { OriginationOperation } from '../operations/origination-operation';
|
|
6
|
-
import { RegisterGlobalConstantOperation } from '../operations/register-global-constant-operation';
|
|
7
|
-
import { RevealOperation } from '../operations/reveal-operation';
|
|
8
|
-
import { TransactionOperation } from '../operations/transaction-operation';
|
|
9
|
-
import { DelegateParams, OriginateParams, ParamsWithKind, RegisterDelegateParams, RegisterGlobalConstantParams, RevealParams, TransferParams, TransferTicketParams, IncreasePaidStorageParams, DrainDelegateParams, BallotParams, ProposalsParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, FailingNoopParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
|
|
10
|
-
import { DefaultContractType, ContractStorageType, ContractAbstraction } from './contract';
|
|
11
|
-
import { ContractProvider, ContractSchema, StorageProvider } from './interface';
|
|
12
|
-
import { EstimationProvider } from '../estimate/estimate-provider-interface';
|
|
13
|
-
import { TransferTicketOperation } from '../operations/transfer-ticket-operation';
|
|
14
|
-
import { IncreasePaidStorageOperation } from '../operations/increase-paid-storage-operation';
|
|
15
|
-
import { BallotOperation } from '../operations/ballot-operation';
|
|
16
|
-
import { DrainDelegateOperation } from '../operations/drain-delegate-operation';
|
|
17
|
-
import { ProposalsOperation } from '../operations/proposals-operation';
|
|
18
|
-
import { UpdateConsensusKeyOperation } from '../operations/update-consensus-key-operation';
|
|
19
|
-
import { UpdateCompanionKeyOperation } from '../operations/update-companion-key-operation';
|
|
20
|
-
import { SmartRollupAddMessagesOperation } from '../operations/smart-rollup-add-messages-operation';
|
|
21
|
-
import { SmartRollupOriginateOperation } from '../operations/smart-rollup-originate-operation';
|
|
22
|
-
import { SmartRollupExecuteOutboxMessageOperation } from '../operations/smart-rollup-execute-outbox-message-operation';
|
|
23
|
-
import { Provider } from '../provider';
|
|
24
|
-
import { FailingNoopOperation } from '../operations/failing-noop-operation';
|
|
25
|
-
import { BlockIdentifier } from '../read-provider/interface';
|
|
26
|
-
export declare class RpcContractProvider extends Provider implements ContractProvider, StorageProvider {
|
|
27
|
-
private estimator;
|
|
28
|
-
constructor(context: Context, estimator: EstimationProvider);
|
|
29
|
-
contractProviderTypeSymbol: symbol;
|
|
30
|
-
private prepare;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* Return a well formatted json object of the contract storage
|
|
34
|
-
*
|
|
35
|
-
* @param contract contract address you want to get the storage from
|
|
36
|
-
* @param schema optional schema can either be the contract script rpc response or a michelson-encoder schema
|
|
37
|
-
* @throws {@link InvalidContractAddressError}
|
|
38
|
-
* @see https://tezos.gitlab.io/api/rpc.html#get-block-id-context-contracts-contract-id-script
|
|
39
|
-
*/
|
|
40
|
-
getStorage<T>(contract: string, schema?: ContractSchema): Promise<T>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* Return a well formatted json object of a big map value
|
|
44
|
-
*
|
|
45
|
-
* @param id Big Map ID
|
|
46
|
-
* @param keyToEncode key to query (will be encoded properly according to the schema)
|
|
47
|
-
* @param schema Big Map schema (can be determined using your contract type)
|
|
48
|
-
* @param block optional block level to fetch the values from
|
|
49
|
-
*
|
|
50
|
-
* @see https://tezos.gitlab.io/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr
|
|
51
|
-
*/
|
|
52
|
-
getBigMapKeyByID<T>(id: string, keyToEncode: BigMapKeyType, schema: Schema, block?: number): Promise<T>;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* Fetch multiple values in a big map
|
|
56
|
-
* All values will be fetched on the same block level. If a block is specified in the request, the values will be fetched at it.
|
|
57
|
-
* Otherwise, a first request will be done to the node to fetch the level of the head and all values will be fetched at this level.
|
|
58
|
-
* If one of the keys does not exist in the big map, its value will be set to undefined.
|
|
59
|
-
*
|
|
60
|
-
* @param id Big Map ID
|
|
61
|
-
* @param keys Array of keys to query (will be encoded properly according to the schema)
|
|
62
|
-
* @param schema Big Map schema (can be determined using your contract type)
|
|
63
|
-
* @param block optional block level to fetch the values from
|
|
64
|
-
* @param batchSize optional batch size representing the number of requests to execute in parallel
|
|
65
|
-
* @returns A MichelsonMap containing the keys queried in the big map and their value in a well-formatted JSON object format
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
|
-
getBigMapKeysByID<T>(id: string, keys: Array<BigMapKeyType>, schema: Schema, block?: number, batchSize?: number): Promise<MichelsonMap<MichelsonMapKey, T | undefined>>;
|
|
69
|
-
private getBlockForRequest;
|
|
70
|
-
private getBigMapValueOrUndefined;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* Return a well formatted json object of a sapling state
|
|
74
|
-
*
|
|
75
|
-
* @param id Sapling state ID
|
|
76
|
-
* @param block optional block level to fetch the value from
|
|
77
|
-
*
|
|
78
|
-
*/
|
|
79
|
-
getSaplingDiffByID(id: string, block?: number): Promise<import("@taquito/rpc").SaplingDiffResponse>;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* Originate a new contract according to the script in parameters. Will sign and inject an operation using the current context
|
|
83
|
-
*
|
|
84
|
-
* @returns An operation handle with the result from the rpc node
|
|
85
|
-
*
|
|
86
|
-
* @warn You cannot specify storage and init at the same time (use init to pass the raw michelson representation of storage)
|
|
87
|
-
*
|
|
88
|
-
* @param params Originate operation parameter
|
|
89
|
-
*/
|
|
90
|
-
originate<TContract extends DefaultContractType = DefaultContractType>(params: OriginateParams<ContractStorageType<TContract>>): Promise<OriginationOperation<TContract>>;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* Set the delegate for a contract. Will sign and inject an operation using the current context
|
|
94
|
-
*
|
|
95
|
-
* @returns An operation handle with the result from the rpc node
|
|
96
|
-
*
|
|
97
|
-
* @param params SetDelegate operation parameter
|
|
98
|
-
*/
|
|
99
|
-
setDelegate(params: DelegateParams): Promise<DelegateOperation>;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* Register the current address as delegate. Will sign and inject an operation using the current context
|
|
103
|
-
*
|
|
104
|
-
* @returns An operation handle with the result from the rpc node
|
|
105
|
-
*
|
|
106
|
-
* @param params RegisterDelegate operation parameter
|
|
107
|
-
*/
|
|
108
|
-
registerDelegate(params: RegisterDelegateParams): Promise<DelegateOperation>;
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
* Transfer tz from current address to a specific address. Will sign and inject an operation using the current context
|
|
112
|
-
*
|
|
113
|
-
* @returns An operation handle with the result from the rpc node
|
|
114
|
-
*
|
|
115
|
-
* @param params Transfer operation parameter
|
|
116
|
-
*/
|
|
117
|
-
transfer(params: TransferParams): Promise<TransactionOperation>;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* Stake a given amount for the source address
|
|
121
|
-
*
|
|
122
|
-
* @returns An operation handle with the result from the rpc node
|
|
123
|
-
*
|
|
124
|
-
* @param params Stake pseudo-operation parameter
|
|
125
|
-
*/
|
|
126
|
-
stake(params: StakeParams): Promise<TransactionOperation>;
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* Unstake the given amount. If "everything" is given as amount, unstakes everything from the staking balance.
|
|
130
|
-
* Unstaked tez remains frozen for a set amount of cycles (the slashing period) after the operation. Once this period is over,
|
|
131
|
-
* the operation "finalize unstake" must be called for the funds to appear in the liquid balance.
|
|
132
|
-
*
|
|
133
|
-
* @returns An operation handle with the result from the rpc node
|
|
134
|
-
*
|
|
135
|
-
* @param params Unstake pseudo-operation parameter
|
|
136
|
-
*/
|
|
137
|
-
unstake(params: UnstakeParams): Promise<TransactionOperation>;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* Transfer all the finalizable unstaked funds of the source to their liquid balance
|
|
141
|
-
* @returns An operation handle with the result from the rpc node
|
|
142
|
-
*
|
|
143
|
-
* @param params Finalize_unstake pseudo-operation parameter
|
|
144
|
-
*/
|
|
145
|
-
finalizeUnstake(params: FinalizeUnstakeParams): Promise<TransactionOperation>;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* Transfer Tickets to a smart contract address
|
|
149
|
-
*
|
|
150
|
-
* @returns An operation handle with the result from the rpc node
|
|
151
|
-
*
|
|
152
|
-
* @param params TransferTicket operation parameter
|
|
153
|
-
*/
|
|
154
|
-
transferTicket(params: TransferTicketParams): Promise<TransferTicketOperation>;
|
|
155
|
-
/**
|
|
156
|
-
*
|
|
157
|
-
* Reveal the public key of the current address. Will throw an error if the address is already revealed.
|
|
158
|
-
* @returns An operation handle with the result from the rpc node
|
|
159
|
-
*
|
|
160
|
-
* @param params Reveal operation parameter
|
|
161
|
-
*/
|
|
162
|
-
reveal(params: RevealParams): Promise<RevealOperation>;
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* Register a Micheline expression in a global table of constants. Will sign and inject an operation using the current context
|
|
166
|
-
*
|
|
167
|
-
* @returns An operation handle with the result from the rpc node
|
|
168
|
-
*
|
|
169
|
-
* @param params registerGlobalConstant operation parameter
|
|
170
|
-
*/
|
|
171
|
-
registerGlobalConstant(params: RegisterGlobalConstantParams): Promise<RegisterGlobalConstantOperation>;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* Increase the paid storage of a smart contract
|
|
175
|
-
*
|
|
176
|
-
* @returns An operation handle with the result from the rpc node
|
|
177
|
-
*
|
|
178
|
-
* @param params increasePaidStorage operation parameter
|
|
179
|
-
*/
|
|
180
|
-
increasePaidStorage(params: IncreasePaidStorageParams): Promise<IncreasePaidStorageOperation>;
|
|
181
|
-
/**
|
|
182
|
-
*
|
|
183
|
-
* Transfers the spendable balance of the delegate to destination when consensus_key is the active consensus key of delegate
|
|
184
|
-
*
|
|
185
|
-
* @returns An operation handle with the result from the rpc node
|
|
186
|
-
*
|
|
187
|
-
* @param params drainDelegate operation parameter
|
|
188
|
-
*/
|
|
189
|
-
drainDelegate(params: DrainDelegateParams): Promise<DrainDelegateOperation>;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* Submit a ballot vote to a specified proposal
|
|
193
|
-
*
|
|
194
|
-
* @returns An operation handle with the result from the rpc node
|
|
195
|
-
*
|
|
196
|
-
* @param params Ballot operation parameter
|
|
197
|
-
*/
|
|
198
|
-
ballot(params: BallotParams): Promise<BallotOperation>;
|
|
199
|
-
/**
|
|
200
|
-
*
|
|
201
|
-
* Submit or upvote a proposal during the Proposal period
|
|
202
|
-
*
|
|
203
|
-
* @returns An operation handle with the result from the rpc node
|
|
204
|
-
*
|
|
205
|
-
* @param params Proposals operation parameter
|
|
206
|
-
*/
|
|
207
|
-
proposals(params: ProposalsParams): Promise<ProposalsOperation>;
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
* Update the consensus key of a delegate starting from the current cycle plus CONSENSUS_RIGHTS_DELAY + 1
|
|
211
|
-
* @returns An operation handle with the result from the rpc node
|
|
212
|
-
*
|
|
213
|
-
* @param params UpdateConsensusKey operation parameter
|
|
214
|
-
*/
|
|
215
|
-
updateConsensusKey(params: UpdateConsensusKeyParams): Promise<UpdateConsensusKeyOperation>;
|
|
216
|
-
/**
|
|
217
|
-
*
|
|
218
|
-
* Updates the companion key of the delegate starting from the current cycle plus CONSENSUS_KEY_ACTIVATION_DELAY + 1
|
|
219
|
-
* @returns An operation handle with the result from the rpc node
|
|
220
|
-
*
|
|
221
|
-
* @param params UpdateCompanionKey operation parameter
|
|
222
|
-
*/
|
|
223
|
-
updateCompanionKey(params: UpdateCompanionKeyParams): Promise<UpdateCompanionKeyOperation>;
|
|
224
|
-
/**
|
|
225
|
-
* Adds messages to the rollup inbox that can be executed/claimed after it gets cemented
|
|
226
|
-
* @param params SmartRollupAddMessages operation parameter
|
|
227
|
-
* @returns An operation handle with results from the RPC node
|
|
228
|
-
*/
|
|
229
|
-
smartRollupAddMessages(params: SmartRollupAddMessagesParams): Promise<SmartRollupAddMessagesOperation>;
|
|
230
|
-
/**
|
|
231
|
-
* Creates a smart rollup originate operation
|
|
232
|
-
* @param params SmartRollupOriginate operation parameter
|
|
233
|
-
* @returns An operation handle with results from the RPC node
|
|
234
|
-
*/
|
|
235
|
-
smartRollupOriginate(params: SmartRollupOriginateParams): Promise<SmartRollupOriginateOperation>;
|
|
236
|
-
/**
|
|
237
|
-
* Execute a message from a smart rollup's outbox of a cemented commitment
|
|
238
|
-
* @param params SmartRollupExecuteOutboxMessage operation parameter
|
|
239
|
-
* @returns An operation handle with results from the RPC node
|
|
240
|
-
*/
|
|
241
|
-
smartRollupExecuteOutboxMessage(params: SmartRollupExecuteOutboxMessageParams): Promise<SmartRollupExecuteOutboxMessageOperation>;
|
|
242
|
-
/**
|
|
243
|
-
*
|
|
244
|
-
* A failing_noop operation that is guaranteed to fail.
|
|
245
|
-
*
|
|
246
|
-
* @returns A FailingNoopOperation object representing the signed failing_noop operation
|
|
247
|
-
*
|
|
248
|
-
* @param params failingNoop operation parameter
|
|
249
|
-
*/
|
|
250
|
-
failingNoop(params: FailingNoopParams): Promise<FailingNoopOperation>;
|
|
251
|
-
/**
|
|
252
|
-
*
|
|
253
|
-
* Create an smart contract abstraction for the address specified.
|
|
254
|
-
*
|
|
255
|
-
* @param address Smart contract address
|
|
256
|
-
* @throws {@link InvalidContractAddressError}
|
|
257
|
-
*/
|
|
258
|
-
at<T extends DefaultContractType = DefaultContractType>(address: string, contractAbstractionComposer?: ContractAbstractionComposer<T>, block?: BlockIdentifier): Promise<T>;
|
|
259
|
-
/**
|
|
260
|
-
*
|
|
261
|
-
* Batch a group of operation together. Operations will be applied in the order in which they are added to the batch
|
|
262
|
-
*
|
|
263
|
-
* @returns A batch object from which we can add more operation or send a command to execute the batch
|
|
264
|
-
*
|
|
265
|
-
* @param params List of operation to batch together
|
|
266
|
-
*/
|
|
267
|
-
batch(params?: ParamsWithKind[]): OperationBatch;
|
|
268
|
-
}
|
|
269
|
-
type ContractAbstractionComposer<T> = (abs: ContractAbstraction<ContractProvider>, context: Context) => T;
|
|
270
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import BigNumber from 'bignumber.js';
|
|
2
|
-
import { ContractProvider } from './interface';
|
|
3
|
-
export declare class SaplingStateAbstraction {
|
|
4
|
-
private id;
|
|
5
|
-
private provider;
|
|
6
|
-
constructor(id: BigNumber, provider: ContractProvider);
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* Fetch the sapling state
|
|
10
|
-
*
|
|
11
|
-
* @param block optional block level to fetch the values from (head will be use by default)
|
|
12
|
-
* @returns Return a json object of the sapling_state
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
getSaplingDiff(block?: number): Promise<import("@taquito/rpc").SaplingDiffResponse>;
|
|
16
|
-
getId(): string;
|
|
17
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Semantic } from '@taquito/michelson-encoder';
|
|
2
|
-
import { ContractProvider } from './interface';
|
|
3
|
-
/**
|
|
4
|
-
* Override the default michelson encoder semantic to provide richer abstraction over storage properties
|
|
5
|
-
* @param p ContractProvider (contract API)
|
|
6
|
-
*/
|
|
7
|
-
export declare const smartContractAbstractionSemantic: (p: ContractProvider) => Semantic;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const VIEW_LAMBDA: {
|
|
2
|
-
code: ({
|
|
3
|
-
prim: string;
|
|
4
|
-
args: {
|
|
5
|
-
prim: string;
|
|
6
|
-
args: ({
|
|
7
|
-
prim: string;
|
|
8
|
-
args?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
prim: string;
|
|
11
|
-
args: ({
|
|
12
|
-
prim: string;
|
|
13
|
-
args: {
|
|
14
|
-
prim: string;
|
|
15
|
-
}[];
|
|
16
|
-
} | {
|
|
17
|
-
prim: string;
|
|
18
|
-
args?: undefined;
|
|
19
|
-
})[];
|
|
20
|
-
})[];
|
|
21
|
-
}[];
|
|
22
|
-
} | {
|
|
23
|
-
prim: string;
|
|
24
|
-
args: {
|
|
25
|
-
prim: string;
|
|
26
|
-
}[];
|
|
27
|
-
} | {
|
|
28
|
-
prim: string;
|
|
29
|
-
args: {
|
|
30
|
-
prim: string;
|
|
31
|
-
}[][];
|
|
32
|
-
})[];
|
|
33
|
-
storage: string;
|
|
34
|
-
};
|