@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,26 +0,0 @@
|
|
|
1
|
-
import { ParameterValidationError, RpcError, NetworkError } from '@taquito/core';
|
|
2
|
-
/**
|
|
3
|
-
* @category Error
|
|
4
|
-
* Error that indicates invalid confirmation count has been passed or configured
|
|
5
|
-
*/
|
|
6
|
-
export declare class InvalidConfirmationCountError extends ParameterValidationError {
|
|
7
|
-
readonly invalidConfirmations: number;
|
|
8
|
-
constructor(invalidConfirmations: number);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @category Error
|
|
12
|
-
* Error that indicates that confirmation polling timed out
|
|
13
|
-
*/
|
|
14
|
-
export declare class ConfirmationTimeoutError extends NetworkError {
|
|
15
|
-
readonly message: string;
|
|
16
|
-
constructor(message: string);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @category Error
|
|
20
|
-
* Error that indicates an error being returned from the RPC response
|
|
21
|
-
*/
|
|
22
|
-
export declare class RPCResponseError extends RpcError {
|
|
23
|
-
readonly message: string;
|
|
24
|
-
readonly cause?: any | undefined;
|
|
25
|
-
constructor(message: string, cause?: any | undefined);
|
|
26
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { OriginateParams, TransferParams, DelegateParams, RegisterDelegateParams, ParamsWithKind } from '../operations';
|
|
2
|
-
import { RevealParams, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
|
|
3
|
-
import { Estimate } from './estimate';
|
|
4
|
-
import { ContractMethodObject, ContractProvider } from '../contract';
|
|
5
|
-
/**
|
|
6
|
-
* Public estimation API used by `TezosToolkit.estimate`.
|
|
7
|
-
*
|
|
8
|
-
* Estimation is simulation-based: Taquito prepares an unsigned operation, simulates it on the
|
|
9
|
-
* current head, and derives recommended limits/fees from the simulation result.
|
|
10
|
-
*
|
|
11
|
-
* Returned values are best-effort recommendations for the current chain state and mempool
|
|
12
|
-
* conditions. They are not an inclusion guarantee.
|
|
13
|
-
*/
|
|
14
|
-
export interface EstimationProvider {
|
|
15
|
-
/**
|
|
16
|
-
* Estimate gas/storage/fee for an origination.
|
|
17
|
-
*
|
|
18
|
-
* @param params Origination parameters.
|
|
19
|
-
* @returns Recommended limits and fees for the operation.
|
|
20
|
-
*/
|
|
21
|
-
originate(params: OriginateParams): Promise<Estimate>;
|
|
22
|
-
/**
|
|
23
|
-
* Estimate gas/storage/fee for a transaction.
|
|
24
|
-
*
|
|
25
|
-
* If `gasLimit`, `storageLimit`, or `fee` are provided they are used as simulation inputs.
|
|
26
|
-
* Otherwise Taquito fills defaults from protocol constants.
|
|
27
|
-
*
|
|
28
|
-
* @param params Transfer parameters.
|
|
29
|
-
* @returns Recommended limits and fees for the operation.
|
|
30
|
-
*/
|
|
31
|
-
transfer(params: TransferParams): Promise<Estimate>;
|
|
32
|
-
/**
|
|
33
|
-
* Estimate gas/storage/fee for the `stake` pseudo-operation.
|
|
34
|
-
*
|
|
35
|
-
* @param params Stake parameters.
|
|
36
|
-
* @returns Recommended limits and fees for the operation.
|
|
37
|
-
*/
|
|
38
|
-
stake(params: StakeParams): Promise<Estimate>;
|
|
39
|
-
/**
|
|
40
|
-
* Estimate gas/storage/fee for the `unstake` pseudo-operation.
|
|
41
|
-
*
|
|
42
|
-
* @param params Unstake parameters.
|
|
43
|
-
* @returns Recommended limits and fees for the operation.
|
|
44
|
-
*/
|
|
45
|
-
unstake(params: UnstakeParams): Promise<Estimate>;
|
|
46
|
-
/**
|
|
47
|
-
* Estimate gas/storage/fee for the `finalize_unstake` pseudo-operation.
|
|
48
|
-
*
|
|
49
|
-
* @param params Finalize-unstake parameters.
|
|
50
|
-
* @returns Recommended limits and fees for the operation.
|
|
51
|
-
*/
|
|
52
|
-
finalizeUnstake(params: FinalizeUnstakeParams): Promise<Estimate>;
|
|
53
|
-
/**
|
|
54
|
-
* Estimate gas/storage/fee for a `transfer_ticket` operation.
|
|
55
|
-
*
|
|
56
|
-
* @param params Ticket transfer parameters.
|
|
57
|
-
* @returns Recommended limits and fees for the operation.
|
|
58
|
-
*/
|
|
59
|
-
transferTicket(params: TransferTicketParams): Promise<Estimate>;
|
|
60
|
-
/**
|
|
61
|
-
* Estimate gas/storage/fee for `set_delegate`.
|
|
62
|
-
*
|
|
63
|
-
* @param params Delegate parameters.
|
|
64
|
-
* @returns Recommended limits and fees for the operation.
|
|
65
|
-
*/
|
|
66
|
-
setDelegate(params: DelegateParams): Promise<Estimate>;
|
|
67
|
-
/**
|
|
68
|
-
* Estimate gas/storage/fee for delegate registration (`delegate = source`).
|
|
69
|
-
*
|
|
70
|
-
* @param params Register-delegate parameters.
|
|
71
|
-
* @returns Recommended limits and fees for the operation.
|
|
72
|
-
*/
|
|
73
|
-
registerDelegate(params?: RegisterDelegateParams): Promise<Estimate>;
|
|
74
|
-
/**
|
|
75
|
-
* Estimate gas/storage/fee for an explicit reveal.
|
|
76
|
-
*
|
|
77
|
-
* @param params Reveal parameters.
|
|
78
|
-
* @returns Estimate for reveal, or `undefined` if the account is already revealed.
|
|
79
|
-
*/
|
|
80
|
-
reveal(params?: RevealParams): Promise<Estimate | undefined>;
|
|
81
|
-
/**
|
|
82
|
-
* Estimate gas/storage/fee for each operation in a manager-operation batch.
|
|
83
|
-
*
|
|
84
|
-
* If a reveal is needed, its estimate is returned as the first element.
|
|
85
|
-
*
|
|
86
|
-
* For operations missing an explicit `gasLimit`, Taquito patches simulation gas using
|
|
87
|
-
* protocol constants and block gas budget:
|
|
88
|
-
* - count only ops that need gas patching
|
|
89
|
-
* - subtract already-explicit gas from the block budget
|
|
90
|
-
* - reserve reveal gas when reveal will be prepended
|
|
91
|
-
* - divide remaining block gas across ops that need patching
|
|
92
|
-
*
|
|
93
|
-
* @param params Batch operation parameters.
|
|
94
|
-
* @returns Per-operation estimates in simulation order.
|
|
95
|
-
*/
|
|
96
|
-
batch(params: ParamsWithKind[]): Promise<Estimate[]>;
|
|
97
|
-
/**
|
|
98
|
-
* Estimate gas/storage/fee for `register_global_constant`.
|
|
99
|
-
*
|
|
100
|
-
* @param params Register-global-constant parameters.
|
|
101
|
-
* @returns Recommended limits and fees for the operation.
|
|
102
|
-
*/
|
|
103
|
-
registerGlobalConstant(params: RegisterGlobalConstantParams): Promise<Estimate>;
|
|
104
|
-
/**
|
|
105
|
-
* Estimate gas/storage/fee for `increase_paid_storage`.
|
|
106
|
-
*
|
|
107
|
-
* @param params Increase-paid-storage parameters.
|
|
108
|
-
* @returns Recommended limits and fees for the operation.
|
|
109
|
-
*/
|
|
110
|
-
increasePaidStorage(params: IncreasePaidStorageParams): Promise<Estimate>;
|
|
111
|
-
/**
|
|
112
|
-
* Estimate gas/storage/fee for `update_consensus_key`.
|
|
113
|
-
*
|
|
114
|
-
* @param params Update-consensus-key parameters.
|
|
115
|
-
* @returns Recommended limits and fees for the operation.
|
|
116
|
-
*/
|
|
117
|
-
updateConsensusKey(params: UpdateConsensusKeyParams): Promise<Estimate>;
|
|
118
|
-
/**
|
|
119
|
-
* Estimate gas/storage/fee for `update_companion_key`.
|
|
120
|
-
*
|
|
121
|
-
* @param params Update-companion-key parameters.
|
|
122
|
-
* @returns Recommended limits and fees for the operation.
|
|
123
|
-
*/
|
|
124
|
-
updateCompanionKey(params: UpdateCompanionKeyParams): Promise<Estimate>;
|
|
125
|
-
/**
|
|
126
|
-
* Estimate gas/storage/fee for `smart_rollup_add_messages`.
|
|
127
|
-
*
|
|
128
|
-
* @param params Smart-rollup-add-messages parameters.
|
|
129
|
-
* @returns Recommended limits and fees for the operation.
|
|
130
|
-
*/
|
|
131
|
-
smartRollupAddMessages(params: SmartRollupAddMessagesParams): Promise<Estimate>;
|
|
132
|
-
/**
|
|
133
|
-
* Estimate gas/storage/fee for `smart_rollup_execute_outbox_message`.
|
|
134
|
-
*
|
|
135
|
-
* @param params Smart-rollup-execute-outbox-message parameters.
|
|
136
|
-
* @returns Recommended limits and fees for the operation.
|
|
137
|
-
*/
|
|
138
|
-
smartRollupExecuteOutboxMessage(params: SmartRollupExecuteOutboxMessageParams): Promise<Estimate>;
|
|
139
|
-
/**
|
|
140
|
-
* Estimate gas/storage/fee for a typed contract method call.
|
|
141
|
-
*
|
|
142
|
-
* @param contractMethod Contract method instance to estimate.
|
|
143
|
-
* @returns Recommended limits and fees for the contract call.
|
|
144
|
-
*/
|
|
145
|
-
contractCall(contractMethod: ContractMethodObject<ContractProvider>): Promise<Estimate>;
|
|
146
|
-
/**
|
|
147
|
-
* Estimate gas/storage/fee for `smart_rollup_originate`.
|
|
148
|
-
*
|
|
149
|
-
* @param params Smart-rollup-originate parameters.
|
|
150
|
-
* @returns Recommended limits and fees for the operation.
|
|
151
|
-
*/
|
|
152
|
-
smartRollupOriginate(params: SmartRollupOriginateParams): Promise<Estimate>;
|
|
153
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { MempoolFilterResponse } from '@taquito/rpc';
|
|
2
|
-
export interface FeeParams {
|
|
3
|
-
minimalFeeMutez: number;
|
|
4
|
-
feePerGasMutez: number;
|
|
5
|
-
feePerByteMutez: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const DEFAULT_FEE_PARAMS: FeeParams;
|
|
8
|
-
export declare const feeParamsFromMempoolFilter: (response?: Pick<MempoolFilterResponse, "minimal_fees" | "minimal_nanotez_per_gas_unit" | "minimal_nanotez_per_byte">) => FeeParams;
|
|
9
|
-
export interface EstimateProperties {
|
|
10
|
-
milligasLimit: number;
|
|
11
|
-
storageLimit: number;
|
|
12
|
-
opSize: number;
|
|
13
|
-
minimalFeePerStorageByteMutez: number;
|
|
14
|
-
baseFeeMutez?: number;
|
|
15
|
-
feeParams?: FeeParams;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Examples of use :
|
|
19
|
-
*
|
|
20
|
-
* Estimate a transfer operation :
|
|
21
|
-
* ```
|
|
22
|
-
* // Assuming that provider and signer are already configured...
|
|
23
|
-
*
|
|
24
|
-
* const amount = 2;
|
|
25
|
-
* const address = 'tz1h3rQ8wBxFd8L9B3d7Jhaawu6Z568XU3xY';
|
|
26
|
-
*
|
|
27
|
-
* // Estimate gasLimit, storageLimit and fees for a transfer operation
|
|
28
|
-
* const est = await Tezos.estimate.transfer({ to: address, amount: amount })
|
|
29
|
-
* console.log(est.burnFeeMutez, est.gasLimit, est.minimalFeeMutez, est.storageLimit,
|
|
30
|
-
* est.suggestedFeeMutez, est.totalCost, est.usingBaseFeeMutez)
|
|
31
|
-
*
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* Estimate a contract origination :
|
|
35
|
-
* ```
|
|
36
|
-
* // generic.json is referring to a Michelson Smart Contract
|
|
37
|
-
*
|
|
38
|
-
* const genericMultisigJSON = require('./generic.json')
|
|
39
|
-
* const est = await Tezos.estimate.originate({
|
|
40
|
-
* code: genericMultisigJSON,
|
|
41
|
-
* storage: {
|
|
42
|
-
* stored_counter: 0,
|
|
43
|
-
* threshold: 1,
|
|
44
|
-
* keys: ['edpkuLxx9PQD8fZ45eUzrK3BhfDZJHhBuK4Zi49DcEGANwd2rpX82t']
|
|
45
|
-
* }
|
|
46
|
-
* })
|
|
47
|
-
* console.log(est.burnFeeMutez, est.gasLimit, est.minimalFeeMutez, est.storageLimit,
|
|
48
|
-
* est.suggestedFeeMutez, est.totalCost, est.usingBaseFeeMutez)
|
|
49
|
-
*
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* Fee estimation keeps the same overall formula shape on Tezos L1 and on Tezos X / Tezlink:
|
|
53
|
-
* a fixed minimal fee plus byte and gas-price components. The important difference is that on
|
|
54
|
-
* Tezos X the byte fee and gas-price terms exposed by `mempool/filter` are material and may
|
|
55
|
-
* change over time, while on L1 they have historically been close to Taquito's long-standing
|
|
56
|
-
* defaults. `Estimate` therefore accepts fee parameters computed by the estimator instead of
|
|
57
|
-
* assuming L1 values internally.
|
|
58
|
-
*/
|
|
59
|
-
export declare class Estimate {
|
|
60
|
-
private readonly _milligasLimit;
|
|
61
|
-
private readonly _storageLimit;
|
|
62
|
-
readonly opSize: number | string;
|
|
63
|
-
private readonly minimalFeePerStorageByteMutez;
|
|
64
|
-
/**
|
|
65
|
-
* Base fee in mutez (1 mutez = 1e10−6 tez)
|
|
66
|
-
*/
|
|
67
|
-
private readonly baseFeeMutez;
|
|
68
|
-
private readonly feeParams;
|
|
69
|
-
constructor(_milligasLimit: number | string, _storageLimit: number | string, opSize: number | string, minimalFeePerStorageByteMutez: number | string,
|
|
70
|
-
/**
|
|
71
|
-
* Base fee in mutez (1 mutez = 1e10−6 tez)
|
|
72
|
-
*/
|
|
73
|
-
baseFeeMutez?: number | string, feeParams?: FeeParams);
|
|
74
|
-
/**
|
|
75
|
-
* The number of Mutez that will be burned for the storage of the [operation](https://tezos.gitlab.io/user/glossary.html#operations). (Storage + Allocation fees)
|
|
76
|
-
*/
|
|
77
|
-
get burnFeeMutez(): number;
|
|
78
|
-
/**
|
|
79
|
-
* The limit on the amount of storage an [operation](https://tezos.gitlab.io/user/glossary.html#operations) can use with 20 buffer.
|
|
80
|
-
*/
|
|
81
|
-
get storageLimit(): number;
|
|
82
|
-
/**
|
|
83
|
-
* The limit on the amount of [gas](https://tezos.gitlab.io/user/glossary.html#gas) a given operation can consume with 100 buffer depends on the operation.
|
|
84
|
-
*/
|
|
85
|
-
get gasLimit(): number;
|
|
86
|
-
private get operationFeeMutez();
|
|
87
|
-
private roundUp;
|
|
88
|
-
/**
|
|
89
|
-
* Minimum fees for the [operation](https://tezos.gitlab.io/user/glossary.html#operations) according to [baker](https://tezos.gitlab.io/user/glossary.html#baker) defaults.
|
|
90
|
-
*/
|
|
91
|
-
get minimalFeeMutez(): number;
|
|
92
|
-
/**
|
|
93
|
-
* The suggested fee for the operation which includes minimal fees and a small buffer.
|
|
94
|
-
*/
|
|
95
|
-
get suggestedFeeMutez(): number;
|
|
96
|
-
/**
|
|
97
|
-
* Fees according to your specified base fee will ensure that at least minimum fees are used.
|
|
98
|
-
*/
|
|
99
|
-
get usingBaseFeeMutez(): number;
|
|
100
|
-
/**
|
|
101
|
-
* The sum of `minimalFeeMutez` + `burnFeeMutez`.
|
|
102
|
-
*/
|
|
103
|
-
get totalCost(): number;
|
|
104
|
-
/**
|
|
105
|
-
* Since Delphinet, consumed gas is provided in milligas for more precision.
|
|
106
|
-
* This function returns an estimation of the gas that operation will consume in milligas.
|
|
107
|
-
*/
|
|
108
|
-
get consumedMilligas(): number;
|
|
109
|
-
static createEstimateInstanceFromProperties(estimateProperties: EstimateProperties[]): Estimate;
|
|
110
|
-
static createArrayEstimateInstancesFromProperties(estimateProperties: EstimateProperties[]): Estimate[];
|
|
111
|
-
}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import { DelegateParams, OriginateParams, ParamsWithKind, RegisterDelegateParams, TransferParams, RevealParams, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
|
|
2
|
-
import { Estimate } from './estimate';
|
|
3
|
-
import { EstimationProvider } from '../estimate/estimate-provider-interface';
|
|
4
|
-
import { ContractMethodObject, ContractProvider } from '../contract';
|
|
5
|
-
import { Provider } from '../provider';
|
|
6
|
-
/**
|
|
7
|
-
* Estimates gas, storage, and fees by simulating operations against the node RPC.
|
|
8
|
-
*
|
|
9
|
-
* On Tezos L1, Taquito historically matched estimation with built-in fee defaults because the
|
|
10
|
-
* fee-per-byte and fee-per-gas terms were usually close to those values. Tezos X / Tezlink keeps
|
|
11
|
-
* the same fee formula shape, but those terms are surfaced through `mempool/filter` and may be
|
|
12
|
-
* significantly higher or dynamic, so this provider reads them from RPC before computing fees.
|
|
13
|
-
*/
|
|
14
|
-
export declare class RPCEstimateProvider extends Provider implements EstimationProvider {
|
|
15
|
-
private readonly REVEAL_LENGTH;
|
|
16
|
-
private readonly REVEAL_LENGTH_TZ4;
|
|
17
|
-
private readonly MILLIGAS_BUFFER;
|
|
18
|
-
private readonly STORAGE_BUFFER;
|
|
19
|
-
private prepare;
|
|
20
|
-
private getKeys;
|
|
21
|
-
private getEstimationPropertiesFromOperationContent;
|
|
22
|
-
private calculateEstimates;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* Estimate gasLimit, storageLimit and fees for an origination operation
|
|
26
|
-
*
|
|
27
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
28
|
-
*
|
|
29
|
-
* @param params Originate operation parameter
|
|
30
|
-
*/
|
|
31
|
-
originate(params: OriginateParams): Promise<Estimate>;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* Estimate gasLimit, storageLimit and fees for an transfer operation
|
|
35
|
-
*
|
|
36
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
37
|
-
*
|
|
38
|
-
* @param TransferOperation Originate operation parameter
|
|
39
|
-
*/
|
|
40
|
-
transfer({ fee, storageLimit, gasLimit, ...rest }: TransferParams): Promise<Estimate>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* Estimate gasLimit, storageLimit and fees for an stake pseudo-operation
|
|
44
|
-
*
|
|
45
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
46
|
-
*
|
|
47
|
-
* @param Stake pseudo-operation parameter
|
|
48
|
-
*/
|
|
49
|
-
stake({ fee, storageLimit, gasLimit, ...rest }: StakeParams): Promise<Estimate>;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* Estimate gasLimit, storageLimit and fees for an Unstake pseudo-operation
|
|
53
|
-
*
|
|
54
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
55
|
-
*
|
|
56
|
-
* @param Unstake pseudo-operation parameter
|
|
57
|
-
*/
|
|
58
|
-
unstake({ fee, storageLimit, gasLimit, ...rest }: UnstakeParams): Promise<Estimate>;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* Estimate gasLimit, storageLimit and fees for an finalize_unstake pseudo-operation
|
|
62
|
-
*
|
|
63
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
64
|
-
*
|
|
65
|
-
* @param finalize_unstake pseudo-operation parameter
|
|
66
|
-
*/
|
|
67
|
-
finalizeUnstake({ fee, storageLimit, gasLimit, ...rest }: FinalizeUnstakeParams): Promise<Estimate>;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* Estimate gasLimit, storageLimit and fees for a transferTicket operation
|
|
71
|
-
*
|
|
72
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
73
|
-
*
|
|
74
|
-
* @param TransferTicketParams operation parameter
|
|
75
|
-
*/
|
|
76
|
-
transferTicket({ fee, storageLimit, gasLimit, ...rest }: TransferTicketParams): Promise<Estimate>;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* Estimate gasLimit, storageLimit and fees for a delegate operation
|
|
80
|
-
*
|
|
81
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
82
|
-
*/
|
|
83
|
-
setDelegate({ fee, gasLimit, storageLimit, ...rest }: DelegateParams): Promise<Estimate>;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* Estimate gasLimit, storageLimit and fees for a each operation in the batch
|
|
87
|
-
*
|
|
88
|
-
* @returns An array of Estimate objects. If a reveal operation is needed, the first element of the array is the Estimate for the reveal operation.
|
|
89
|
-
*/
|
|
90
|
-
batch(params: ParamsWithKind[]): Promise<Estimate[]>;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* Estimate gasLimit, storageLimit and fees for a delegate operation
|
|
94
|
-
*
|
|
95
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
96
|
-
*/
|
|
97
|
-
registerDelegate({ fee, storageLimit, gasLimit, ...rest }: RegisterDelegateParams, source?: string): Promise<Estimate>;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* Estimate gasLimit, storageLimit and fees to reveal the current account
|
|
101
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation or undefined if the account is already revealed
|
|
102
|
-
*
|
|
103
|
-
* @param params Reveal operation parameter
|
|
104
|
-
*/
|
|
105
|
-
reveal(params?: RevealParams): Promise<Estimate | undefined>;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* Estimate gasLimit, storageLimit and fees for an registerGlobalConstant operation
|
|
109
|
-
*
|
|
110
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
111
|
-
*
|
|
112
|
-
* @param params registerGlobalConstant operation parameter
|
|
113
|
-
*/
|
|
114
|
-
registerGlobalConstant({ fee, storageLimit, gasLimit, ...rest }: RegisterGlobalConstantParams): Promise<Estimate>;
|
|
115
|
-
/**
|
|
116
|
-
*
|
|
117
|
-
* Estimate gasLimit, storageLimit, and fees for an increasePaidStorage operation
|
|
118
|
-
*
|
|
119
|
-
* @returns An estimation of gasLimit, storageLimit, and fees for the operation
|
|
120
|
-
*
|
|
121
|
-
* @param params increasePaidStorage operation parameters
|
|
122
|
-
*/
|
|
123
|
-
increasePaidStorage({ fee, storageLimit, gasLimit, ...rest }: IncreasePaidStorageParams): Promise<Estimate>;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* Estimate gasLimit, storageLimit and fees for an Update Consensus Key operation
|
|
127
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
128
|
-
* @param params UpdateConsensusKey operation parameter
|
|
129
|
-
*/
|
|
130
|
-
updateConsensusKey(params: UpdateConsensusKeyParams): Promise<Estimate>;
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* Estimate gasLimit, storageLimit and fees for an Update Companion Key operation
|
|
134
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
135
|
-
* @param params UpdateCompanionKey operation parameter
|
|
136
|
-
*/
|
|
137
|
-
updateCompanionKey(params: UpdateCompanionKeyParams): Promise<Estimate>;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* Estimate gasLimit, storageLimit and fees for a smart_rollup_add_messages operation
|
|
141
|
-
*
|
|
142
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
143
|
-
*
|
|
144
|
-
* @param params SmartRollupAddMessages operation parameter
|
|
145
|
-
*/
|
|
146
|
-
smartRollupAddMessages(params: SmartRollupAddMessagesParams): Promise<Estimate>;
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* Estimate gasLimit, storageLimit and fees for an Smart Rollup Originate operation
|
|
150
|
-
*
|
|
151
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
152
|
-
*
|
|
153
|
-
* @param params SmartRollupOriginate operation parameter
|
|
154
|
-
*/
|
|
155
|
-
smartRollupOriginate(params: SmartRollupOriginateParams): Promise<Estimate>;
|
|
156
|
-
/**
|
|
157
|
-
*
|
|
158
|
-
* Estimate gasLimit, storageLimit and fees for a smart_rollup_execute_outbox_message operation
|
|
159
|
-
*
|
|
160
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
161
|
-
*
|
|
162
|
-
* @param params SmartRollupExecuteOutboxMessage operation parameter
|
|
163
|
-
*/
|
|
164
|
-
smartRollupExecuteOutboxMessage(params: SmartRollupExecuteOutboxMessageParams): Promise<Estimate>;
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
* Estimate gasLimit, storageLimit and fees for contract call
|
|
168
|
-
*
|
|
169
|
-
* @returns An estimation of gasLimit, storageLimit and fees for the contract call
|
|
170
|
-
*
|
|
171
|
-
* @param contractMethod ContractMethodObject for the contract call
|
|
172
|
-
*/
|
|
173
|
-
contractCall(contractMethod: ContractMethodObject<ContractProvider>): Promise<Estimate>;
|
|
174
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TaquitoError, TezosToolkitConfigError } from '@taquito/core';
|
|
2
|
-
/**
|
|
3
|
-
* @category Error
|
|
4
|
-
* Error that indicates CompositeForger.forge() results doesn't match each other
|
|
5
|
-
*/
|
|
6
|
-
export declare class ForgingMismatchError extends TaquitoError {
|
|
7
|
-
readonly results: string[];
|
|
8
|
-
constructor(results: string[]);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @category Error
|
|
12
|
-
* Error that indicates no forger has been configured for CompositeForger
|
|
13
|
-
*/
|
|
14
|
-
export declare class UnspecifiedForgerError extends TezosToolkitConfigError {
|
|
15
|
-
constructor();
|
|
16
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Forger, ForgeParams, ForgeResponse } from '@taquito/local-forging';
|
|
2
|
-
import { Context } from '../context';
|
|
3
|
-
export declare class RpcForger implements Forger {
|
|
4
|
-
private context;
|
|
5
|
-
constructor(context: Context);
|
|
6
|
-
forge({ branch, contents }: ForgeParams): Promise<ForgeResponse>;
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Forger, ForgeParams, ForgeResponse } from '@taquito/local-forging';
|
|
2
|
-
import { Context } from '../context';
|
|
3
|
-
export declare class TaquitoLocalForger implements Forger {
|
|
4
|
-
private context;
|
|
5
|
-
constructor(context: Context);
|
|
6
|
-
private getNextProto;
|
|
7
|
-
forge({ branch, contents }: ForgeParams): Promise<ForgeResponse>;
|
|
8
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { GlobalConstantHashAndValue } from '@taquito/michel-codec';
|
|
2
|
-
import { GlobalConstantHash, GlobalConstantsProvider } from './interface-global-constants-provider';
|
|
3
|
-
export declare class DefaultGlobalConstantsProvider implements GlobalConstantsProvider {
|
|
4
|
-
private _globalConstantsLibrary;
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* Allows to load global constant hashes and their corresponding Michelson JSON values
|
|
8
|
-
*/
|
|
9
|
-
loadGlobalConstant(globalConstant: GlobalConstantHashAndValue): void;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* Retrieve the Michelson value of a global constant based on its hash
|
|
13
|
-
*
|
|
14
|
-
* @param hash a string representing the global constant hash
|
|
15
|
-
* @returns Expr, the JSON Michelson value
|
|
16
|
-
*/
|
|
17
|
-
getGlobalConstantByHash(hash: GlobalConstantHash): Promise<import("@taquito/michel-codec").Expr>;
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TaquitoError, TezosToolkitConfigError } from '@taquito/core';
|
|
2
|
-
/**
|
|
3
|
-
* @category Error
|
|
4
|
-
* Error that indicates that a global constant does not exist
|
|
5
|
-
*/
|
|
6
|
-
export declare class GlobalConstantNotFound extends TaquitoError {
|
|
7
|
-
readonly hash: string;
|
|
8
|
-
constructor(hash: string);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @category Error
|
|
12
|
-
* Error that indicates the global constant provider not being configured under TezosToolkit
|
|
13
|
-
*/
|
|
14
|
-
export declare class UnconfiguredGlobalConstantsProviderError extends TezosToolkitConfigError {
|
|
15
|
-
constructor();
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Expr } from "@taquito/michel-codec";
|
|
2
|
-
export type GlobalConstantHash = string;
|
|
3
|
-
export interface GlobalConstantsProvider {
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* Retrieve the Michelson value of a global constant based on its hash
|
|
7
|
-
*
|
|
8
|
-
* @param hash a string representing the global constant hash
|
|
9
|
-
*/
|
|
10
|
-
getGlobalConstantByHash(hash: GlobalConstantHash): Promise<Expr>;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Expr } from '@taquito/michel-codec';
|
|
2
|
-
import { GlobalConstantHash, GlobalConstantsProvider } from './interface-global-constants-provider';
|
|
3
|
-
export declare class NoopGlobalConstantsProvider implements GlobalConstantsProvider {
|
|
4
|
-
getGlobalConstantByHash(_hash: GlobalConstantHash): Promise<Expr>;
|
|
5
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TezosToolkit } from './taquito';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Import a key to sign operation with the side-effect of setting the Tezos instance to use the InMemorySigner provider
|
|
5
|
-
*
|
|
6
|
-
* @remarks The JSON faucets are no longer available on https://teztnets.com/
|
|
7
|
-
* @param toolkit The toolkit instance to attach a signer
|
|
8
|
-
* @param privateKeyOrEmail Key to load in memory
|
|
9
|
-
* @param passphrase If the key is encrypted passphrase to decrypt it
|
|
10
|
-
* @param mnemonic Faucet mnemonic
|
|
11
|
-
* @param secret Faucet secret
|
|
12
|
-
*/
|
|
13
|
-
export declare function importKey(toolkit: TezosToolkit, privateKeyOrEmail: string, passphrase?: string, mnemonic?: string, secret?: string): Promise<void>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OperationContentsAndResult, OperationContentsAndResultBallot, OperationContentsBallot } from '@taquito/rpc';
|
|
2
|
-
import { Context } from '../context';
|
|
3
|
-
import { Operation } from './operations';
|
|
4
|
-
import { ForgedBytes } from './types';
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* BallotOperation provides utility functions to fetch a new operation of kind ballot
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare class BallotOperation extends Operation {
|
|
11
|
-
private readonly params;
|
|
12
|
-
readonly source: string;
|
|
13
|
-
constructor(hash: string, params: OperationContentsBallot, source: string, raw: ForgedBytes, results: OperationContentsAndResult[], context: Context);
|
|
14
|
-
get operationResults(): OperationContentsAndResultBallot | undefined;
|
|
15
|
-
get period(): number | undefined;
|
|
16
|
-
get proposal(): string;
|
|
17
|
-
get ballot(): import("@taquito/rpc").BallotVote;
|
|
18
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OperationContents, OperationContentsAndResult } from '@taquito/rpc';
|
|
2
|
-
import { Context } from '../context';
|
|
3
|
-
import { Operation } from './operations';
|
|
4
|
-
import { FeeConsumingOperation, ForgedBytes, GasConsumingOperation, StorageConsumingOperation } from './types';
|
|
5
|
-
export declare class BatchOperation extends Operation implements GasConsumingOperation, StorageConsumingOperation, FeeConsumingOperation {
|
|
6
|
-
private readonly params;
|
|
7
|
-
readonly source: string;
|
|
8
|
-
constructor(hash: string, params: OperationContents[], source: string, raw: ForgedBytes, results: OperationContentsAndResult[], context: Context);
|
|
9
|
-
private sumProp;
|
|
10
|
-
getOriginatedContractAddresses(): string[];
|
|
11
|
-
get status(): import("@taquito/rpc").OperationResultStatusEnum | "unknown";
|
|
12
|
-
get fee(): any;
|
|
13
|
-
get gasLimit(): any;
|
|
14
|
-
get storageLimit(): any;
|
|
15
|
-
get consumedGas(): string;
|
|
16
|
-
get consumedMilliGas(): string;
|
|
17
|
-
get storageDiff(): string;
|
|
18
|
-
get errors(): import("@taquito/rpc").TezosGenericOperationError[];
|
|
19
|
-
}
|