@haneullabs/haneul 2.5.1 → 2.13.0
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/CHANGELOG.md +129 -0
- package/README.md +36 -36
- package/dist/bcs/bcs.d.mts +6 -7
- package/dist/bcs/bcs.d.mts.map +1 -1
- package/dist/bcs/bcs.mjs.map +1 -1
- package/dist/bcs/effects.mjs.map +1 -1
- package/dist/bcs/index.d.mts +2 -2
- package/dist/bcs/index.d.mts.map +1 -1
- package/dist/bcs/index.mjs +2 -2
- package/dist/bcs/index.mjs.map +1 -1
- package/dist/bcs/pure.d.mts.map +1 -1
- package/dist/bcs/type-tag-serializer.d.mts.map +1 -1
- package/dist/bcs/types.d.mts +0 -1
- package/dist/bcs/types.d.mts.map +1 -1
- package/dist/client/cache.d.mts.map +1 -1
- package/dist/client/client.d.mts.map +1 -1
- package/dist/client/core-resolver.d.mts.map +1 -1
- package/dist/client/core-resolver.mjs +87 -68
- package/dist/client/core-resolver.mjs.map +1 -1
- package/dist/client/core.d.mts +9 -8
- package/dist/client/core.d.mts.map +1 -1
- package/dist/client/core.mjs +29 -10
- package/dist/client/core.mjs.map +1 -1
- package/dist/client/errors.d.mts.map +1 -1
- package/dist/client/mvr.d.mts +0 -1
- package/dist/client/mvr.d.mts.map +1 -1
- package/dist/client/types.d.mts +110 -24
- package/dist/client/types.d.mts.map +1 -1
- package/dist/client/utils.d.mts.map +1 -1
- package/dist/client/utils.mjs +7 -7
- package/dist/client/utils.mjs.map +1 -1
- package/dist/cryptography/index.d.mts +2 -2
- package/dist/cryptography/index.mjs +2 -2
- package/dist/cryptography/intent.d.mts +2 -2
- package/dist/cryptography/intent.d.mts.map +1 -1
- package/dist/cryptography/intent.mjs +2 -2
- package/dist/cryptography/intent.mjs.map +1 -1
- package/dist/cryptography/keypair.d.mts +3 -3
- package/dist/cryptography/keypair.d.mts.map +1 -1
- package/dist/cryptography/keypair.mjs +3 -3
- package/dist/cryptography/keypair.mjs.map +1 -1
- package/dist/cryptography/mnemonics.d.mts +5 -5
- package/dist/cryptography/mnemonics.d.mts.map +1 -1
- package/dist/cryptography/mnemonics.mjs +7 -7
- package/dist/cryptography/mnemonics.mjs.map +1 -1
- package/dist/cryptography/publickey.d.mts +2 -3
- package/dist/cryptography/publickey.d.mts.map +1 -1
- package/dist/cryptography/publickey.mjs +10 -10
- package/dist/cryptography/publickey.mjs.map +1 -1
- package/dist/cryptography/signature-scheme.d.mts.map +1 -1
- package/dist/cryptography/signature.d.mts +10 -13
- package/dist/cryptography/signature.d.mts.map +1 -1
- package/dist/cryptography/signature.mjs +2 -2
- package/dist/cryptography/signature.mjs.map +1 -1
- package/dist/faucet/faucet.d.mts +2 -2
- package/dist/faucet/faucet.d.mts.map +1 -1
- package/dist/faucet/faucet.mjs +2 -2
- package/dist/faucet/faucet.mjs.map +1 -1
- package/dist/faucet/index.d.mts +2 -2
- package/dist/faucet/index.mjs +2 -2
- package/dist/graphql/client.d.mts +20 -5
- package/dist/graphql/client.d.mts.map +1 -1
- package/dist/graphql/client.mjs +55 -7
- package/dist/graphql/client.mjs.map +1 -1
- package/dist/graphql/core.d.mts +6 -5
- package/dist/graphql/core.d.mts.map +1 -1
- package/dist/graphql/core.mjs +43 -47
- package/dist/graphql/core.mjs.map +1 -1
- package/dist/graphql/generated/queries.d.mts +0 -1
- package/dist/graphql/generated/queries.d.mts.map +1 -1
- package/dist/graphql/generated/queries.mjs +46 -10
- package/dist/graphql/generated/queries.mjs.map +1 -1
- package/dist/graphql/generated/tada-env.d.mts +706 -98
- package/dist/graphql/generated/tada-env.d.mts.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.mjs +2 -2
- package/dist/graphql/schema/index.d.mts +0 -1
- package/dist/graphql/schema/index.d.mts.map +1 -1
- package/dist/graphql/types.d.mts.map +1 -1
- package/dist/grpc/client.d.mts +20 -5
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +47 -7
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/core.d.mts +6 -5
- package/dist/grpc/core.d.mts.map +1 -1
- package/dist/grpc/core.mjs +35 -34
- package/dist/grpc/core.mjs.map +1 -1
- package/dist/grpc/index.d.mts +2 -2
- package/dist/grpc/index.mjs +2 -2
- package/dist/grpc/proto/google/protobuf/any.d.mts +0 -1
- package/dist/grpc/proto/google/protobuf/any.d.mts.map +1 -1
- package/dist/grpc/proto/google/protobuf/duration.d.mts +0 -1
- package/dist/grpc/proto/google/protobuf/duration.d.mts.map +1 -1
- package/dist/grpc/proto/google/protobuf/field_mask.d.mts +0 -1
- package/dist/grpc/proto/google/protobuf/field_mask.d.mts.map +1 -1
- package/dist/grpc/proto/google/protobuf/struct.d.mts +1 -2
- package/dist/grpc/proto/google/protobuf/struct.d.mts.map +1 -1
- package/dist/grpc/proto/google/protobuf/timestamp.d.mts +0 -1
- package/dist/grpc/proto/google/protobuf/timestamp.d.mts.map +1 -1
- package/dist/grpc/proto/google/rpc/status.d.mts +0 -1
- package/dist/grpc/proto/google/rpc/status.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/argument.d.mts +1 -2
- package/dist/grpc/proto/haneul/rpc/v2/argument.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/balance_change.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/balance_change.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/bcs.d.mts +1 -2
- package/dist/grpc/proto/haneul/rpc/v2/bcs.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/bcs.mjs.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/checkpoint.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/checkpoint.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/checkpoint_contents.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/checkpoint_contents.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/checkpoint_summary.d.mts +1 -2
- package/dist/grpc/proto/haneul/rpc/v2/checkpoint_summary.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/effects.d.mts +5 -6
- package/dist/grpc/proto/haneul/rpc/v2/effects.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/epoch.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/epoch.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/error_reason.d.mts +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/error_reason.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/event.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/event.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/executed_transaction.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/executed_transaction.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/execution_status.d.mts +8 -9
- package/dist/grpc/proto/haneul/rpc/v2/execution_status.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/execution_status.mjs +4 -4
- package/dist/grpc/proto/haneul/rpc/v2/execution_status.mjs.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/gas_cost_summary.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/gas_cost_summary.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/input.d.mts +3 -4
- package/dist/grpc/proto/haneul/rpc/v2/input.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/jwk.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/jwk.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/ledger_service.client.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/ledger_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/ledger_service.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/ledger_service.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/move_package.d.mts +5 -6
- package/dist/grpc/proto/haneul/rpc/v2/move_package.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/move_package_service.client.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/move_package_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/move_package_service.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/move_package_service.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/name_service.client.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/name_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/name_service.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/name_service.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/object.d.mts +38 -2
- package/dist/grpc/proto/haneul/rpc/v2/object.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/object.mjs +26 -1
- package/dist/grpc/proto/haneul/rpc/v2/object.mjs.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/object_reference.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/object_reference.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/owner.d.mts +1 -2
- package/dist/grpc/proto/haneul/rpc/v2/owner.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/protocol_config.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/protocol_config.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature.d.mts +1 -2
- package/dist/grpc/proto/haneul/rpc/v2/signature.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature.mjs.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.d.mts +2 -2
- package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.mjs +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.mjs.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.client.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/state_service.client.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/state_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/state_service.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/state_service.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/subscription_service.client.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/subscription_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/subscription_service.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/subscription_service.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/system_state.d.mts +3 -4
- package/dist/grpc/proto/haneul/rpc/v2/system_state.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/system_state.mjs +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/system_state.mjs.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/transaction.d.mts +4 -5
- package/dist/grpc/proto/haneul/rpc/v2/transaction.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.d.mts +0 -1
- package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.d.mts +9 -2
- package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.d.mts.map +1 -1
- package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.mjs +23 -12
- package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.mjs.map +1 -1
- package/dist/grpc/proto/types.d.mts +2 -2
- package/dist/grpc/proto/types.d.mts.map +1 -1
- package/dist/grpc/proto/types.mjs +2 -1
- package/dist/jsonRpc/client.d.mts +4 -7
- package/dist/jsonRpc/client.d.mts.map +1 -1
- package/dist/jsonRpc/client.mjs +4 -33
- package/dist/jsonRpc/client.mjs.map +1 -1
- package/dist/jsonRpc/core.d.mts +8 -15
- package/dist/jsonRpc/core.d.mts.map +1 -1
- package/dist/jsonRpc/core.mjs +81 -34
- package/dist/jsonRpc/core.mjs.map +1 -1
- package/dist/jsonRpc/errors.d.mts.map +1 -1
- package/dist/jsonRpc/http-transport.d.mts +1 -17
- package/dist/jsonRpc/http-transport.d.mts.map +1 -1
- package/dist/jsonRpc/http-transport.mjs +0 -23
- package/dist/jsonRpc/http-transport.mjs.map +1 -1
- package/dist/jsonRpc/index.d.mts +3 -3
- package/dist/jsonRpc/network.d.mts.map +1 -1
- package/dist/jsonRpc/types/chain.d.mts.map +1 -1
- package/dist/jsonRpc/types/changes.d.mts.map +1 -1
- package/dist/jsonRpc/types/coins.d.mts.map +1 -1
- package/dist/jsonRpc/types/common.d.mts +1 -2
- package/dist/jsonRpc/types/common.d.mts.map +1 -1
- package/dist/jsonRpc/types/generated.d.mts +101 -129
- package/dist/jsonRpc/types/generated.d.mts.map +1 -1
- package/dist/jsonRpc/types/index.d.mts +1 -1
- package/dist/jsonRpc/types/params.d.mts +9 -14
- package/dist/jsonRpc/types/params.d.mts.map +1 -1
- package/dist/keypairs/ed25519/keypair.d.mts +8 -6
- package/dist/keypairs/ed25519/keypair.d.mts.map +1 -1
- package/dist/keypairs/ed25519/keypair.mjs +13 -9
- package/dist/keypairs/ed25519/keypair.mjs.map +1 -1
- package/dist/keypairs/ed25519/publickey.d.mts +0 -1
- package/dist/keypairs/ed25519/publickey.d.mts.map +1 -1
- package/dist/keypairs/passkey/keypair.d.mts +12 -5
- package/dist/keypairs/passkey/keypair.d.mts.map +1 -1
- package/dist/keypairs/passkey/keypair.mjs +20 -7
- package/dist/keypairs/passkey/keypair.mjs.map +1 -1
- package/dist/keypairs/passkey/publickey.d.mts +0 -1
- package/dist/keypairs/passkey/publickey.d.mts.map +1 -1
- package/dist/keypairs/passkey/types.d.mts.map +1 -1
- package/dist/keypairs/secp256k1/keypair.d.mts +3 -3
- package/dist/keypairs/secp256k1/keypair.d.mts.map +1 -1
- package/dist/keypairs/secp256k1/keypair.mjs +6 -6
- package/dist/keypairs/secp256k1/keypair.mjs.map +1 -1
- package/dist/keypairs/secp256k1/publickey.d.mts +0 -1
- package/dist/keypairs/secp256k1/publickey.d.mts.map +1 -1
- package/dist/keypairs/secp256r1/keypair.d.mts +3 -3
- package/dist/keypairs/secp256r1/keypair.d.mts.map +1 -1
- package/dist/keypairs/secp256r1/keypair.mjs +6 -6
- package/dist/keypairs/secp256r1/keypair.mjs.map +1 -1
- package/dist/keypairs/secp256r1/publickey.d.mts +0 -1
- package/dist/keypairs/secp256r1/publickey.d.mts.map +1 -1
- package/dist/multisig/publickey.d.mts +1 -0
- package/dist/multisig/publickey.d.mts.map +1 -1
- package/dist/multisig/publickey.mjs +8 -8
- package/dist/multisig/publickey.mjs.map +1 -1
- package/dist/multisig/signer.d.mts.map +1 -1
- package/dist/transactions/Arguments.d.mts.map +1 -1
- package/dist/transactions/Commands.d.mts +1 -1
- package/dist/transactions/Commands.d.mts.map +1 -1
- package/dist/transactions/Commands.mjs.map +1 -1
- package/dist/transactions/Inputs.d.mts.map +1 -1
- package/dist/transactions/ObjectCache.d.mts +3 -3
- package/dist/transactions/ObjectCache.d.mts.map +1 -1
- package/dist/transactions/Transaction.d.mts +32 -6
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/Transaction.mjs +23 -1
- package/dist/transactions/Transaction.mjs.map +1 -1
- package/dist/transactions/TransactionData.d.mts.map +1 -1
- package/dist/transactions/TransactionData.mjs +8 -8
- package/dist/transactions/TransactionData.mjs.map +1 -1
- package/dist/transactions/data/internal.d.mts +109 -109
- package/dist/transactions/data/internal.d.mts.map +1 -1
- package/dist/transactions/data/internal.mjs.map +1 -1
- package/dist/transactions/data/v1.d.mts +220 -221
- package/dist/transactions/data/v1.d.mts.map +1 -1
- package/dist/transactions/data/v2.d.mts +16 -16
- package/dist/transactions/data/v2.d.mts.map +1 -1
- package/dist/transactions/data/v2.mjs.map +1 -1
- package/dist/transactions/executor/caching.mjs +2 -2
- package/dist/transactions/executor/caching.mjs.map +1 -1
- package/dist/transactions/executor/parallel.d.mts +1 -1
- package/dist/transactions/executor/parallel.d.mts.map +1 -1
- package/dist/transactions/executor/parallel.mjs +1 -1
- package/dist/transactions/executor/parallel.mjs.map +1 -1
- package/dist/transactions/executor/serial.d.mts +3 -3
- package/dist/transactions/executor/serial.d.mts.map +1 -1
- package/dist/transactions/executor/serial.mjs.map +1 -1
- package/dist/transactions/intents/CoinWithBalance.d.mts.map +1 -1
- package/dist/transactions/intents/CoinWithBalance.mjs +174 -97
- package/dist/transactions/intents/CoinWithBalance.mjs.map +1 -1
- package/dist/transactions/object.d.mts.map +1 -1
- package/dist/transactions/pure.d.mts.map +1 -1
- package/dist/transactions/pure.mjs +12 -12
- package/dist/transactions/pure.mjs.map +1 -1
- package/dist/transactions/resolve.d.mts.map +1 -1
- package/dist/transactions/resolve.mjs +3 -3
- package/dist/transactions/resolve.mjs.map +1 -1
- package/dist/transactions/serializer.d.mts.map +1 -1
- package/dist/transactions/serializer.mjs +15 -15
- package/dist/transactions/serializer.mjs.map +1 -1
- package/dist/transactions/utils.d.mts +0 -1
- package/dist/transactions/utils.d.mts.map +1 -1
- package/dist/utils/coin-reservation.mjs +67 -0
- package/dist/utils/coin-reservation.mjs.map +1 -0
- package/dist/utils/constants.d.mts +2 -1
- package/dist/utils/constants.d.mts.map +1 -1
- package/dist/utils/constants.mjs +2 -1
- package/dist/utils/constants.mjs.map +1 -1
- package/dist/utils/derived-objects.d.mts +0 -1
- package/dist/utils/derived-objects.d.mts.map +1 -1
- package/dist/utils/dynamic-fields.d.mts.map +1 -1
- package/dist/utils/dynamic-fields.mjs +4 -4
- package/dist/utils/dynamic-fields.mjs.map +1 -1
- package/dist/utils/format.d.mts.map +1 -1
- package/dist/utils/haneul-types.d.mts.map +1 -1
- package/dist/utils/haneul-types.mjs +8 -0
- package/dist/utils/haneul-types.mjs.map +1 -1
- package/dist/utils/haneulns.d.mts.map +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/move-registry.d.mts.map +1 -1
- package/dist/verify/index.d.mts +2 -2
- package/dist/verify/index.mjs +2 -2
- package/dist/verify/verify.d.mts +2 -2
- package/dist/verify/verify.d.mts.map +1 -1
- package/dist/verify/verify.mjs +2 -2
- package/dist/verify/verify.mjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/address.d.mts.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/dist/zklogin/bcs.d.mts.map +1 -1
- package/dist/zklogin/jwt-decode.d.mts +0 -1
- package/dist/zklogin/jwt-decode.d.mts.map +1 -1
- package/dist/zklogin/jwt-utils.d.mts +0 -1
- package/dist/zklogin/jwt-utils.d.mts.map +1 -1
- package/dist/zklogin/nonce.d.mts.map +1 -1
- package/dist/zklogin/nonce.mjs +1 -1
- package/dist/zklogin/nonce.mjs.map +1 -1
- package/dist/zklogin/poseidon.d.mts.map +1 -1
- package/dist/zklogin/publickey.d.mts +0 -1
- package/dist/zklogin/publickey.d.mts.map +1 -1
- package/dist/zklogin/signature.d.mts.map +1 -1
- package/dist/zklogin/utils.d.mts.map +1 -1
- package/dist/zklogin/utils.mjs +1 -1
- package/dist/zklogin/utils.mjs.map +1 -1
- package/docs/bcs.md +132 -0
- package/docs/clients/core.md +616 -0
- package/docs/clients/graphql.md +99 -0
- package/docs/clients/grpc.md +152 -0
- package/docs/clients/index.md +93 -0
- package/docs/clients/json-rpc.md +235 -0
- package/docs/cryptography/keypairs.md +259 -0
- package/docs/cryptography/multisig.md +192 -0
- package/docs/cryptography/passkey.md +111 -0
- package/docs/cryptography/webcrypto-signer.md +81 -0
- package/docs/executors.md +148 -0
- package/docs/faucet.md +26 -0
- package/docs/hello-haneul.md +115 -0
- package/docs/index.md +56 -0
- package/docs/install.md +61 -0
- package/docs/llm-docs.md +32 -0
- package/docs/llms-index.md +66 -0
- package/docs/migrations/0.38.md +57 -0
- package/docs/migrations/haneul-1.0.md +454 -0
- package/docs/migrations/haneul-2.0/agent-prompt.md +42 -0
- package/docs/migrations/haneul-2.0/dapp-kit.md +350 -0
- package/docs/migrations/haneul-2.0/deepbook-v3.md +33 -0
- package/docs/migrations/haneul-2.0/haneul.md +341 -0
- package/docs/migrations/haneul-2.0/haneulns.md +42 -0
- package/docs/migrations/haneul-2.0/index.md +161 -0
- package/docs/migrations/haneul-2.0/json-rpc-migration.md +399 -0
- package/docs/migrations/haneul-2.0/kiosk.md +120 -0
- package/docs/migrations/haneul-2.0/sdk-maintainers.md +91 -0
- package/docs/migrations/haneul-2.0/seal.md +14 -0
- package/docs/migrations/haneul-2.0/wallet-builders.md +66 -0
- package/docs/migrations/haneul-2.0/walrus.md +41 -0
- package/docs/migrations/haneul-2.0/zksend.md +94 -0
- package/docs/plugins.md +255 -0
- package/docs/sdk-building.md +341 -0
- package/docs/transaction-building/basics.md +297 -0
- package/docs/transaction-building/gas.md +62 -0
- package/docs/transaction-building/intents.md +61 -0
- package/docs/transaction-building/offline.md +71 -0
- package/docs/transaction-building/sponsored-transactions.md +22 -0
- package/docs/utils/derived_objects.md +80 -0
- package/docs/utils/index.md +53 -0
- package/docs/zklogin.md +78 -0
- package/package.json +199 -199
- package/src/bcs/bcs.ts +13 -13
- package/src/bcs/effects.ts +20 -20
- package/src/bcs/index.ts +2 -2
- package/src/client/core-resolver.ts +150 -100
- package/src/client/core.ts +62 -22
- package/src/client/types.ts +109 -24
- package/src/cryptography/index.ts +2 -2
- package/src/cryptography/keypair.ts +2 -2
- package/src/cryptography/mnemonics.ts +7 -7
- package/src/cryptography/publickey.ts +8 -8
- package/src/faucet/faucet.ts +1 -1
- package/src/faucet/index.ts +1 -1
- package/src/graphql/client.ts +100 -8
- package/src/graphql/core.ts +73 -80
- package/src/graphql/generated/queries.ts +301 -51
- package/src/graphql/generated/schema.graphql +407 -104
- package/src/graphql/generated/tada-env.ts +779 -58
- package/src/graphql/index.ts +1 -1
- package/src/graphql/queries/getAllBalances.graphql +1 -1
- package/src/graphql/queries/getBalance.graphql +1 -1
- package/src/graphql/queries/getCoins.graphql +2 -2
- package/src/graphql/queries/getDynamicFields.graphql +9 -1
- package/src/graphql/queries/getMoveFunction.graphql +1 -1
- package/src/graphql/queries/getProtocolConfig.graphql +18 -0
- package/src/graphql/queries/nameService.graphql +1 -1
- package/src/graphql/queries/objects.graphql +11 -1
- package/src/graphql/queries/transactions.graphql +1 -3
- package/src/graphql/queries/verifyZkLoginSignature.graphql +1 -2
- package/src/grpc/client.ts +66 -8
- package/src/grpc/core.ts +74 -35
- package/src/grpc/index.ts +1 -1
- package/src/grpc/proto/haneul/rpc/v2/bcs.ts +1 -1
- package/src/grpc/proto/haneul/rpc/v2/execution_status.ts +4 -4
- package/src/grpc/proto/haneul/rpc/v2/object.ts +44 -0
- package/src/grpc/proto/haneul/rpc/v2/signature.ts +1 -1
- package/src/grpc/proto/haneul/rpc/v2/signature_scheme.ts +1 -1
- package/src/grpc/proto/haneul/rpc/v2/system_state.ts +4 -4
- package/src/grpc/proto/haneul/rpc/v2/transaction_execution_service.ts +16 -0
- package/src/jsonRpc/client.ts +5 -23
- package/src/jsonRpc/core.ts +114 -41
- package/src/jsonRpc/http-transport.ts +0 -52
- package/src/jsonRpc/index.ts +0 -1
- package/src/jsonRpc/types/common.ts +0 -1
- package/src/jsonRpc/types/generated.ts +2 -2
- package/src/jsonRpc/types/params.ts +6 -6
- package/src/keypairs/ed25519/keypair.ts +14 -10
- package/src/keypairs/passkey/keypair.ts +22 -8
- package/src/keypairs/secp256k1/keypair.ts +6 -6
- package/src/keypairs/secp256r1/keypair.ts +6 -6
- package/src/multisig/publickey.ts +1 -1
- package/src/transactions/Commands.ts +1 -1
- package/src/transactions/Transaction.ts +38 -1
- package/src/transactions/TransactionData.ts +3 -3
- package/src/transactions/__tests__/bcs.test.ts +3 -3
- package/src/transactions/data/internal.ts +12 -12
- package/src/transactions/data/v2.ts +6 -6
- package/src/transactions/executor/caching.ts +2 -2
- package/src/transactions/executor/parallel.ts +1 -2
- package/src/transactions/executor/serial.ts +1 -1
- package/src/transactions/intents/CoinWithBalance.ts +247 -121
- package/src/utils/coin-reservation.ts +84 -0
- package/src/utils/constants.ts +2 -0
- package/src/utils/haneul-types.ts +16 -1
- package/src/utils/index.ts +1 -0
- package/src/verify/index.ts +1 -1
- package/src/verify/verify.ts +1 -1
- package/src/version.ts +1 -1
- package/src/zklogin/nonce.ts +1 -1
- package/src/zklogin/utils.ts +1 -1
- package/dist/jsonRpc/rpc-websocket-client.d.mts +0 -26
- package/dist/jsonRpc/rpc-websocket-client.d.mts.map +0 -1
- package/dist/jsonRpc/rpc-websocket-client.mjs +0 -135
- package/dist/jsonRpc/rpc-websocket-client.mjs.map +0 -1
- package/src/jsonRpc/rpc-websocket-client.ts +0 -241
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system_state.mjs","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/system_state.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"haneul/rpc/v2/system_state.proto\" (package \"haneul.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message haneul.rpc.v2.SystemState\n */\nexport interface SystemState {\n\t/**\n\t * The version of the system state data structure type.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 1;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The epoch id\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 2;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The protocol version\n\t *\n\t * @generated from protobuf field: optional uint64 protocol_version = 3;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * Information about the validators\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.ValidatorSet validators = 4;\n\t */\n\tvalidators?: ValidatorSet;\n\t/**\n\t * Storage Fund info\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.StorageFund storage_fund = 5;\n\t */\n\tstorageFund?: StorageFund;\n\t/**\n\t * Set of system config parameters\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.SystemParameters parameters = 6;\n\t */\n\tparameters?: SystemParameters;\n\t/**\n\t * The reference gas price for this epoch\n\t *\n\t * @generated from protobuf field: optional uint64 reference_gas_price = 7;\n\t */\n\treferenceGasPrice?: bigint;\n\t/**\n\t * A list of the records of validator reporting each other.\n\t *\n\t * There is an entry in this list for each validator that has been reported\n\t * at least once. Each record contains all the validators that reported\n\t * them. If a validator has never been reported they don't have a record in this list.\n\t * This lists persists across epoch: a peer continues being in a reported state until the\n\t * reporter doesn't explicitly remove their report.\n\t *\n\t * @generated from protobuf field: repeated haneul.rpc.v2.ValidatorReportRecord validator_report_records = 8;\n\t */\n\tvalidatorReportRecords: ValidatorReportRecord[];\n\t/**\n\t * Schedule of stake subsidies given out each epoch.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.StakeSubsidy stake_subsidy = 9;\n\t */\n\tstakeSubsidy?: StakeSubsidy;\n\t/**\n\t * Whether the system is running in a downgraded safe mode due to a non-recoverable bug.\n\t * This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode.\n\t * It can be reset once we are able to successfully execute advance_epoch.\n\t * The rest of the fields starting with `safe_mode_` are accumulated during safe mode\n\t * when advance_epoch_safe_mode is executed. They will eventually be processed once we\n\t * are out of safe mode.\n\t *\n\t * @generated from protobuf field: optional bool safe_mode = 10;\n\t */\n\tsafeMode?: boolean;\n\t/**\n\t * Storage rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rewards = 11;\n\t */\n\tsafeModeStorageRewards?: bigint;\n\t/**\n\t * Computation rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_computation_rewards = 12;\n\t */\n\tsafeModeComputationRewards?: bigint;\n\t/**\n\t * Storage rebates paid out during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rebates = 13;\n\t */\n\tsafeModeStorageRebates?: bigint;\n\t/**\n\t * Nonrefundable storage fees accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_non_refundable_storage_fee = 14;\n\t */\n\tsafeModeNonRefundableStorageFee?: bigint;\n\t/**\n\t * Unix timestamp of when this this epoch started\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_start_timestamp_ms = 15;\n\t */\n\tepochStartTimestampMs?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 16;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.ValidatorReportRecord\n */\nexport interface ValidatorReportRecord {\n\t/**\n\t * The address of the validator being reported\n\t *\n\t * @generated from protobuf field: optional string reported = 1;\n\t */\n\treported?: string;\n\t/**\n\t * The list of validator (addresses) that are reporting on the validator specified by `reported`\n\t *\n\t * @generated from protobuf field: repeated string reporters = 2;\n\t */\n\treporters: string[];\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.SystemParameters\n */\nexport interface SystemParameters {\n\t/**\n\t * The duration of an epoch, in milliseconds.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_duration_ms = 1;\n\t */\n\tepochDurationMs?: bigint;\n\t/**\n\t * The starting epoch in which stake subsidies start being paid out\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_start_epoch = 2;\n\t */\n\tstakeSubsidyStartEpoch?: bigint;\n\t/**\n\t * Minimum number of active validators at any moment.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_count = 3;\n\t */\n\tminValidatorCount?: bigint;\n\t/**\n\t * Maximum number of active validators at any moment.\n\t * We do not allow the number of validators in any epoch to go above this.\n\t *\n\t * @generated from protobuf field: optional uint64 max_validator_count = 4;\n\t */\n\tmaxValidatorCount?: bigint;\n\t/**\n\t * Deprecated.\n\t * Lower-bound on the amount of stake required to become a validator.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_joining_stake = 5;\n\t */\n\tminValidatorJoiningStake?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake amount below `validator_low_stake_threshold` are considered to\n\t * have low stake and will be escorted out of the validator set after being below this\n\t * threshold for more than `validator_low_stake_grace_period` number of epochs.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_threshold = 6;\n\t */\n\tvalidatorLowStakeThreshold?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake below `validator_very_low_stake_threshold` will be removed\n\t * immediately at epoch change, no grace period.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_very_low_stake_threshold = 7;\n\t */\n\tvalidatorVeryLowStakeThreshold?: bigint;\n\t/**\n\t * A validator can have stake below `validator_low_stake_threshold`\n\t * for this many epochs before being kicked out.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_grace_period = 8;\n\t */\n\tvalidatorLowStakeGracePeriod?: bigint;\n\t/**\n\t * Any extra fields that are not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A message that represents a Move `0x2::table::Table` or `0x2::bag::Bag`\n *\n * @generated from protobuf message haneul.rpc.v2.MoveTable\n */\nexport interface MoveTable {\n\t/**\n\t * The UID of the table or bag\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The size or number of key-value pairs in the table or bag\n\t *\n\t * @generated from protobuf field: optional uint64 size = 2;\n\t */\n\tsize?: bigint;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.StakeSubsidy\n */\nexport interface StakeSubsidy {\n\t/**\n\t * Balance of HANEUL set aside for stake subsidies that will be drawn down over time.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 1;\n\t */\n\tbalance?: bigint;\n\t/**\n\t * Count of the number of times stake subsidies have been distributed.\n\t *\n\t * @generated from protobuf field: optional uint64 distribution_counter = 2;\n\t */\n\tdistributionCounter?: bigint;\n\t/**\n\t * The amount of stake subsidy to be drawn down per distribution.\n\t * This amount decays and decreases over time.\n\t *\n\t * @generated from protobuf field: optional uint64 current_distribution_amount = 3;\n\t */\n\tcurrentDistributionAmount?: bigint;\n\t/**\n\t * Number of distributions to occur before the distribution amount decays.\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_period_length = 4;\n\t */\n\tstakeSubsidyPeriodLength?: bigint;\n\t/**\n\t * The rate at which the distribution amount decays at the end of each\n\t * period. Expressed in basis points.\n\t *\n\t * @generated from protobuf field: optional uint32 stake_subsidy_decrease_rate = 5;\n\t */\n\tstakeSubsidyDecreaseRate?: number;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 6;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Struct representing the onchain storage fund.\n *\n * @generated from protobuf message haneul.rpc.v2.StorageFund\n */\nexport interface StorageFund {\n\t/**\n\t * This is the sum of `storage_rebate` of\n\t * all objects currently stored on-chain. To maintain this invariant, the only inflow of this\n\t * balance is storage charges collected from transactions, and the only outflow is storage rebates\n\t * of transactions, including both the portion refunded to the transaction senders as well as\n\t * the non-refundable portion taken out and put into `non_refundable_balance`.\n\t *\n\t * @generated from protobuf field: optional uint64 total_object_storage_rebates = 1;\n\t */\n\ttotalObjectStorageRebates?: bigint;\n\t/**\n\t * Represents any remaining inflow of the storage fund that should not\n\t * be taken out of the fund.\n\t *\n\t * @generated from protobuf field: optional uint64 non_refundable_balance = 2;\n\t */\n\tnonRefundableBalance?: bigint;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.ValidatorSet\n */\nexport interface ValidatorSet {\n\t/**\n\t * Total amount of stake from all active validators at the beginning of the epoch.\n\t * Written only once per epoch, in `advance_epoch` function.\n\t *\n\t * @generated from protobuf field: optional uint64 total_stake = 1;\n\t */\n\ttotalStake?: bigint;\n\t/**\n\t * The current list of active validators.\n\t *\n\t * @generated from protobuf field: repeated haneul.rpc.v2.Validator active_validators = 2;\n\t */\n\tactiveValidators: Validator[];\n\t/**\n\t * List of new validator candidates added during the current epoch.\n\t * They will be processed at the end of the epoch.\n\t *\n\t * key: u64 (index), value: 0x3::validator::Validator\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable pending_active_validators = 3;\n\t */\n\tpendingActiveValidators?: MoveTable;\n\t/**\n\t * Removal requests from the validators. Each element is an index\n\t * pointing to `active_validators`.\n\t *\n\t * @generated from protobuf field: repeated uint64 pending_removals = 4;\n\t */\n\tpendingRemovals: bigint[];\n\t/**\n\t * Mappings from staking pool's ID to the haneul address of a validator.\n\t *\n\t * key: address (staking pool Id), value: address (haneul address of the validator)\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable staking_pool_mappings = 5;\n\t */\n\tstakingPoolMappings?: MoveTable;\n\t/**\n\t * Mapping from a staking pool ID to the inactive validator that has that pool as its staking pool.\n\t * When a validator is deactivated the validator is removed from `active_validators` it\n\t * is added to this table so that stakers can continue to withdraw their stake from it.\n\t *\n\t * key: address (staking pool Id), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable inactive_validators = 6;\n\t */\n\tinactiveValidators?: MoveTable;\n\t/**\n\t * Table storing preactive/candidate validators, mapping their addresses to their `Validator ` structs.\n\t * When an address calls `request_add_validator_candidate`, they get added to this table and become a preactive\n\t * validator.\n\t * When the candidate has met the min stake requirement, they can call `request_add_validator` to\n\t * officially add them to the active validator set `active_validators` next epoch.\n\t *\n\t * key: address (haneul address of the validator), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable validator_candidates = 7;\n\t */\n\tvalidatorCandidates?: MoveTable;\n\t/**\n\t * Table storing the number of epochs during which a validator's stake has been below the low stake threshold.\n\t *\n\t * @generated from protobuf field: map<string, uint64> at_risk_validators = 8;\n\t */\n\tatRiskValidators: {\n\t\t[key: string]: bigint;\n\t};\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Definition of a Validator in the system contracts\n *\n * Note: fields of ValidatorMetadata are flattened into this type\n *\n * @generated from protobuf message haneul.rpc.v2.Validator\n */\nexport interface Validator {\n\t/**\n\t * A unique human-readable name of this validator.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * The Haneul Address of the validator. This is the sender that created the Validator object,\n\t * and also the address to send validator/coins to during withdraws.\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string description = 3;\n\t */\n\tdescription?: string;\n\t/**\n\t * @generated from protobuf field: optional string image_url = 4;\n\t */\n\timageUrl?: string;\n\t/**\n\t * @generated from protobuf field: optional string project_url = 5;\n\t */\n\tprojectUrl?: string;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * holds to sign transactions. For now, this is the same as AuthorityName.\n\t *\n\t * @generated from protobuf field: optional bytes protocol_public_key = 7;\n\t */\n\tprotocolPublicKey?: Uint8Array;\n\t/**\n\t * This is a proof that the validator has ownership of the protocol private key\n\t *\n\t * @generated from protobuf field: optional bytes proof_of_possession = 8;\n\t */\n\tproofOfPossession?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * uses to establish TLS connections\n\t *\n\t * @generated from protobuf field: optional bytes network_public_key = 10;\n\t */\n\tnetworkPublicKey?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the Narwhal Worker\n\t *\n\t * @generated from protobuf field: optional bytes worker_public_key = 12;\n\t */\n\tworkerPublicKey?: Uint8Array;\n\t/**\n\t * The network address of the validator (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string network_address = 13;\n\t */\n\tnetworkAddress?: string;\n\t/**\n\t * The address of the validator used for p2p activities such as state sync (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string p2p_address = 14 [json_name = \"p2pAddress\"];\n\t */\n\tp2PAddress?: string;\n\t/**\n\t * The address of the narwhal primary\n\t *\n\t * @generated from protobuf field: optional string primary_address = 15;\n\t */\n\tprimaryAddress?: string;\n\t/**\n\t * The address of the narwhal worker\n\t *\n\t * @generated from protobuf field: optional string worker_address = 16;\n\t */\n\tworkerAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_protocol_public_key = 18;\n\t */\n\tnextEpochProtocolPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_proof_of_possession = 19;\n\t */\n\tnextEpochProofOfPossession?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_network_public_key = 21;\n\t */\n\tnextEpochNetworkPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_worker_public_key = 23;\n\t */\n\tnextEpochWorkerPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_network_address = 24;\n\t */\n\tnextEpochNetworkAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_p2p_address = 25 [json_name = \"nextEpochP2pAddress\"];\n\t */\n\tnextEpochP2PAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_primary_address = 26;\n\t */\n\tnextEpochPrimaryAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_worker_address = 27;\n\t */\n\tnextEpochWorkerAddress?: string;\n\t/**\n\t * Any extra fields that's not defined statically in the `ValidatorMetadata` struct\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable metadata_extra_fields = 28;\n\t */\n\tmetadataExtraFields?: MoveTable;\n\t/**\n\t * The voting power of this validator, which might be different from its\n\t * stake amount.\n\t *\n\t * @generated from protobuf field: optional uint64 voting_power = 29;\n\t */\n\tvotingPower?: bigint;\n\t/**\n\t * The ID of this validator's current valid `UnverifiedValidatorOperationCap`\n\t *\n\t * @generated from protobuf field: optional string operation_cap_id = 30;\n\t */\n\toperationCapId?: string;\n\t/**\n\t * Gas price quote, updated only at end of epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 gas_price = 31;\n\t */\n\tgasPrice?: bigint;\n\t/**\n\t * Staking pool for this validator.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.StakingPool staking_pool = 32;\n\t */\n\tstakingPool?: StakingPool;\n\t/**\n\t * Commission rate of the validator, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 commission_rate = 33;\n\t */\n\tcommissionRate?: bigint;\n\t/**\n\t * Total amount of stake that would be active in the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_stake = 34;\n\t */\n\tnextEpochStake?: bigint;\n\t/**\n\t * This validator's gas price quote for the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_gas_price = 35;\n\t */\n\tnextEpochGasPrice?: bigint;\n\t/**\n\t * The commission rate of the validator starting the next epoch, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_commission_rate = 36;\n\t */\n\tnextEpochCommissionRate?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 37;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A staking pool embedded in each validator struct in the system state object.\n *\n * @generated from protobuf message haneul.rpc.v2.StakingPool\n */\nexport interface StakingPool {\n\t/**\n\t * UID of the StakingPool object\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The epoch at which this pool became active.\n\t * The value is `None` if the pool is pre-active and `Some(<epoch_number>)` if active or inactive.\n\t *\n\t * @generated from protobuf field: optional uint64 activation_epoch = 2;\n\t */\n\tactivationEpoch?: bigint;\n\t/**\n\t * The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},\n\t * `Some(<epoch_number>)` if in-active, and it was de-activated at epoch `<epoch_number>`.\n\t *\n\t * @generated from protobuf field: optional uint64 deactivation_epoch = 3;\n\t */\n\tdeactivationEpoch?: bigint;\n\t/**\n\t * The total number of HANEUL tokens in this pool, including the HANEUL in the rewards_pool, as well as in all the principal\n\t * in the `StakedHaneul` object, updated at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 sui_balance = 4;\n\t */\n\tsuiBalance?: bigint;\n\t/**\n\t * The epoch stake rewards will be added here at the end of each epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 rewards_pool = 5;\n\t */\n\trewardsPool?: bigint;\n\t/**\n\t * Total number of pool tokens issued by the pool.\n\t *\n\t * @generated from protobuf field: optional uint64 pool_token_balance = 6;\n\t */\n\tpoolTokenBalance?: bigint;\n\t/**\n\t * Exchange rate history of previous epochs.\n\t *\n\t * The entries start from the `activation_epoch` of this pool and contains exchange rates at the beginning of each epoch,\n\t * i.e., right after the rewards for the previous epoch have been deposited into the pool.\n\t *\n\t * key: u64 (epoch number), value: PoolTokenExchangeRate\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable exchange_rates = 7;\n\t */\n\texchangeRates?: MoveTable;\n\t/**\n\t * Pending stake amount for this epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_stake = 8;\n\t */\n\tpendingStake?: bigint;\n\t/**\n\t * Pending stake withdrawn during the current epoch, emptied at epoch boundaries.\n\t * This includes both the principal and rewards HANEUL withdrawn.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_total_sui_withdraw = 9;\n\t */\n\tpendingTotalHaneulWithdraw?: bigint;\n\t/**\n\t * Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_pool_token_withdraw = 10;\n\t */\n\tpendingPoolTokenWithdraw?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 11;\n\t */\n\textraFields?: MoveTable;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemState$Type extends MessageType<SystemState> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SystemState', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'validators', kind: 'message', T: () => ValidatorSet },\n\t\t\t{ no: 5, name: 'storage_fund', kind: 'message', T: () => StorageFund },\n\t\t\t{ no: 6, name: 'parameters', kind: 'message', T: () => SystemParameters },\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'reference_gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'validator_report_records',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorReportRecord,\n\t\t\t},\n\t\t\t{ no: 9, name: 'stake_subsidy', kind: 'message', T: () => StakeSubsidy },\n\t\t\t{ no: 10, name: 'safe_mode', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'safe_mode_storage_rewards',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: 'safe_mode_computation_rewards',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 13,\n\t\t\t\tname: 'safe_mode_storage_rebates',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'safe_mode_non_refundable_storage_fee',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 15,\n\t\t\t\tname: 'epoch_start_timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 16, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SystemState\n */\nexport const SystemState = new SystemState$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorReportRecord$Type extends MessageType<ValidatorReportRecord> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ValidatorReportRecord', [\n\t\t\t{ no: 1, name: 'reported', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'reporters',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ValidatorReportRecord\n */\nexport const ValidatorReportRecord = new ValidatorReportRecord$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemParameters$Type extends MessageType<SystemParameters> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SystemParameters', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch_duration_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'stake_subsidy_start_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'min_validator_count',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'max_validator_count',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'min_validator_joining_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'validator_low_stake_threshold',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'validator_very_low_stake_threshold',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'validator_low_stake_grace_period',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SystemParameters\n */\nexport const SystemParameters = new SystemParameters$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MoveTable$Type extends MessageType<MoveTable> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.MoveTable', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'size',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.MoveTable\n */\nexport const MoveTable = new MoveTable$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakeSubsidy$Type extends MessageType<StakeSubsidy> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.StakeSubsidy', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'distribution_counter',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'current_distribution_amount',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'stake_subsidy_period_length',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'stake_subsidy_decrease_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 13 /*ScalarType.UINT32*/,\n\t\t\t},\n\t\t\t{ no: 6, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.StakeSubsidy\n */\nexport const StakeSubsidy = new StakeSubsidy$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StorageFund$Type extends MessageType<StorageFund> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.StorageFund', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_object_storage_rebates',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'non_refundable_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.StorageFund\n */\nexport const StorageFund = new StorageFund$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorSet$Type extends MessageType<ValidatorSet> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ValidatorSet', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'active_validators',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Validator,\n\t\t\t},\n\t\t\t{ no: 3, name: 'pending_active_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'pending_removals',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'staking_pool_mappings', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 6, name: 'inactive_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 7, name: 'validator_candidates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'at_risk_validators',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ValidatorSet\n */\nexport const ValidatorSet = new ValidatorSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Validator$Type extends MessageType<Validator> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.Validator', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'image_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'project_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'protocol_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 8, name: 'proof_of_possession', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 10, name: 'network_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 12, name: 'worker_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 13, name: 'network_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'p2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 15, name: 'primary_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 16, name: 'worker_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 18,\n\t\t\t\tname: 'next_epoch_protocol_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 19,\n\t\t\t\tname: 'next_epoch_proof_of_possession',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 21,\n\t\t\t\tname: 'next_epoch_network_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 23,\n\t\t\t\tname: 'next_epoch_worker_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 24,\n\t\t\t\tname: 'next_epoch_network_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 25,\n\t\t\t\tname: 'next_epoch_p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'nextEpochP2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 26,\n\t\t\t\tname: 'next_epoch_primary_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 27,\n\t\t\t\tname: 'next_epoch_worker_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 28, name: 'metadata_extra_fields', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 29,\n\t\t\t\tname: 'voting_power',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 30, name: 'operation_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 31,\n\t\t\t\tname: 'gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 32, name: 'staking_pool', kind: 'message', T: () => StakingPool },\n\t\t\t{\n\t\t\t\tno: 33,\n\t\t\t\tname: 'commission_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 34,\n\t\t\t\tname: 'next_epoch_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 35,\n\t\t\t\tname: 'next_epoch_gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 36,\n\t\t\t\tname: 'next_epoch_commission_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 37, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.Validator\n */\nexport const Validator = new Validator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakingPool$Type extends MessageType<StakingPool> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.StakingPool', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'activation_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'deactivation_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'haneul_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'rewards_pool',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'pool_token_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 7, name: 'exchange_rates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'pending_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: 'pending_total_sui_withdraw',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'pending_pool_token_withdraw',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 11, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.StakingPool\n */\nexport const StakingPool = new StakingPool$Type();\n"],"mappings":";;;AAwnBA,IAAM,mBAAN,cAA+B,YAAyB;CACvD,cAAc;AACb,QAAM,6BAA6B;GAClC;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAW,SAAS;IAAc;GACrE;IAAE,IAAI;IAAG,MAAM;IAAgB,MAAM;IAAW,SAAS;IAAa;GACtE;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAW,SAAS;IAAkB;GACzE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IAAE,IAAI;IAAG,MAAM;IAAiB,MAAM;IAAW,SAAS;IAAc;GACxE;IAAE,IAAI;IAAI,MAAM;IAAa,MAAM;IAAU,KAAK;IAAM,GAAG;IAAuB;GAClF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;I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AG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAI,MAAM;IAAgB,MAAM;IAAW,SAAS;IAAW;GACrE,CAAC;;;;;;AAMJ,MAAa,cAAc,IAAI,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"system_state.mjs","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/system_state.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"haneul/rpc/v2/system_state.proto\" (package \"haneul.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message haneul.rpc.v2.SystemState\n */\nexport interface SystemState {\n\t/**\n\t * The version of the system state data structure type.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 1;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The epoch id\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 2;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The protocol version\n\t *\n\t * @generated from protobuf field: optional uint64 protocol_version = 3;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * Information about the validators\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.ValidatorSet validators = 4;\n\t */\n\tvalidators?: ValidatorSet;\n\t/**\n\t * Storage Fund info\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.StorageFund storage_fund = 5;\n\t */\n\tstorageFund?: StorageFund;\n\t/**\n\t * Set of system config parameters\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.SystemParameters parameters = 6;\n\t */\n\tparameters?: SystemParameters;\n\t/**\n\t * The reference gas price for this epoch\n\t *\n\t * @generated from protobuf field: optional uint64 reference_gas_price = 7;\n\t */\n\treferenceGasPrice?: bigint;\n\t/**\n\t * A list of the records of validator reporting each other.\n\t *\n\t * There is an entry in this list for each validator that has been reported\n\t * at least once. Each record contains all the validators that reported\n\t * them. If a validator has never been reported they don't have a record in this list.\n\t * This lists persists across epoch: a peer continues being in a reported state until the\n\t * reporter doesn't explicitly remove their report.\n\t *\n\t * @generated from protobuf field: repeated haneul.rpc.v2.ValidatorReportRecord validator_report_records = 8;\n\t */\n\tvalidatorReportRecords: ValidatorReportRecord[];\n\t/**\n\t * Schedule of stake subsidies given out each epoch.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.StakeSubsidy stake_subsidy = 9;\n\t */\n\tstakeSubsidy?: StakeSubsidy;\n\t/**\n\t * Whether the system is running in a downgraded safe mode due to a non-recoverable bug.\n\t * This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode.\n\t * It can be reset once we are able to successfully execute advance_epoch.\n\t * The rest of the fields starting with `safe_mode_` are accumulated during safe mode\n\t * when advance_epoch_safe_mode is executed. They will eventually be processed once we\n\t * are out of safe mode.\n\t *\n\t * @generated from protobuf field: optional bool safe_mode = 10;\n\t */\n\tsafeMode?: boolean;\n\t/**\n\t * Storage rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rewards = 11;\n\t */\n\tsafeModeStorageRewards?: bigint;\n\t/**\n\t * Computation rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_computation_rewards = 12;\n\t */\n\tsafeModeComputationRewards?: bigint;\n\t/**\n\t * Storage rebates paid out during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rebates = 13;\n\t */\n\tsafeModeStorageRebates?: bigint;\n\t/**\n\t * Nonrefundable storage fees accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_non_refundable_storage_fee = 14;\n\t */\n\tsafeModeNonRefundableStorageFee?: bigint;\n\t/**\n\t * Unix timestamp of when this this epoch started\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_start_timestamp_ms = 15;\n\t */\n\tepochStartTimestampMs?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 16;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.ValidatorReportRecord\n */\nexport interface ValidatorReportRecord {\n\t/**\n\t * The address of the validator being reported\n\t *\n\t * @generated from protobuf field: optional string reported = 1;\n\t */\n\treported?: string;\n\t/**\n\t * The list of validator (addresses) that are reporting on the validator specified by `reported`\n\t *\n\t * @generated from protobuf field: repeated string reporters = 2;\n\t */\n\treporters: string[];\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.SystemParameters\n */\nexport interface SystemParameters {\n\t/**\n\t * The duration of an epoch, in milliseconds.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_duration_ms = 1;\n\t */\n\tepochDurationMs?: bigint;\n\t/**\n\t * The starting epoch in which stake subsidies start being paid out\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_start_epoch = 2;\n\t */\n\tstakeSubsidyStartEpoch?: bigint;\n\t/**\n\t * Minimum number of active validators at any moment.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_count = 3;\n\t */\n\tminValidatorCount?: bigint;\n\t/**\n\t * Maximum number of active validators at any moment.\n\t * We do not allow the number of validators in any epoch to go above this.\n\t *\n\t * @generated from protobuf field: optional uint64 max_validator_count = 4;\n\t */\n\tmaxValidatorCount?: bigint;\n\t/**\n\t * Deprecated.\n\t * Lower-bound on the amount of stake required to become a validator.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_joining_stake = 5;\n\t */\n\tminValidatorJoiningStake?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake amount below `validator_low_stake_threshold` are considered to\n\t * have low stake and will be escorted out of the validator set after being below this\n\t * threshold for more than `validator_low_stake_grace_period` number of epochs.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_threshold = 6;\n\t */\n\tvalidatorLowStakeThreshold?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake below `validator_very_low_stake_threshold` will be removed\n\t * immediately at epoch change, no grace period.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_very_low_stake_threshold = 7;\n\t */\n\tvalidatorVeryLowStakeThreshold?: bigint;\n\t/**\n\t * A validator can have stake below `validator_low_stake_threshold`\n\t * for this many epochs before being kicked out.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_grace_period = 8;\n\t */\n\tvalidatorLowStakeGracePeriod?: bigint;\n\t/**\n\t * Any extra fields that are not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A message that represents a Move `0x2::table::Table` or `0x2::bag::Bag`\n *\n * @generated from protobuf message haneul.rpc.v2.MoveTable\n */\nexport interface MoveTable {\n\t/**\n\t * The UID of the table or bag\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The size or number of key-value pairs in the table or bag\n\t *\n\t * @generated from protobuf field: optional uint64 size = 2;\n\t */\n\tsize?: bigint;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.StakeSubsidy\n */\nexport interface StakeSubsidy {\n\t/**\n\t * Balance of HANEUL set aside for stake subsidies that will be drawn down over time.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 1;\n\t */\n\tbalance?: bigint;\n\t/**\n\t * Count of the number of times stake subsidies have been distributed.\n\t *\n\t * @generated from protobuf field: optional uint64 distribution_counter = 2;\n\t */\n\tdistributionCounter?: bigint;\n\t/**\n\t * The amount of stake subsidy to be drawn down per distribution.\n\t * This amount decays and decreases over time.\n\t *\n\t * @generated from protobuf field: optional uint64 current_distribution_amount = 3;\n\t */\n\tcurrentDistributionAmount?: bigint;\n\t/**\n\t * Number of distributions to occur before the distribution amount decays.\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_period_length = 4;\n\t */\n\tstakeSubsidyPeriodLength?: bigint;\n\t/**\n\t * The rate at which the distribution amount decays at the end of each\n\t * period. Expressed in basis points.\n\t *\n\t * @generated from protobuf field: optional uint32 stake_subsidy_decrease_rate = 5;\n\t */\n\tstakeSubsidyDecreaseRate?: number;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 6;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Struct representing the onchain storage fund.\n *\n * @generated from protobuf message haneul.rpc.v2.StorageFund\n */\nexport interface StorageFund {\n\t/**\n\t * This is the sum of `storage_rebate` of\n\t * all objects currently stored on-chain. To maintain this invariant, the only inflow of this\n\t * balance is storage charges collected from transactions, and the only outflow is storage rebates\n\t * of transactions, including both the portion refunded to the transaction senders as well as\n\t * the non-refundable portion taken out and put into `non_refundable_balance`.\n\t *\n\t * @generated from protobuf field: optional uint64 total_object_storage_rebates = 1;\n\t */\n\ttotalObjectStorageRebates?: bigint;\n\t/**\n\t * Represents any remaining inflow of the storage fund that should not\n\t * be taken out of the fund.\n\t *\n\t * @generated from protobuf field: optional uint64 non_refundable_balance = 2;\n\t */\n\tnonRefundableBalance?: bigint;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.ValidatorSet\n */\nexport interface ValidatorSet {\n\t/**\n\t * Total amount of stake from all active validators at the beginning of the epoch.\n\t * Written only once per epoch, in `advance_epoch` function.\n\t *\n\t * @generated from protobuf field: optional uint64 total_stake = 1;\n\t */\n\ttotalStake?: bigint;\n\t/**\n\t * The current list of active validators.\n\t *\n\t * @generated from protobuf field: repeated haneul.rpc.v2.Validator active_validators = 2;\n\t */\n\tactiveValidators: Validator[];\n\t/**\n\t * List of new validator candidates added during the current epoch.\n\t * They will be processed at the end of the epoch.\n\t *\n\t * key: u64 (index), value: 0x3::validator::Validator\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable pending_active_validators = 3;\n\t */\n\tpendingActiveValidators?: MoveTable;\n\t/**\n\t * Removal requests from the validators. Each element is an index\n\t * pointing to `active_validators`.\n\t *\n\t * @generated from protobuf field: repeated uint64 pending_removals = 4;\n\t */\n\tpendingRemovals: bigint[];\n\t/**\n\t * Mappings from staking pool's ID to the haneul address of a validator.\n\t *\n\t * key: address (staking pool Id), value: address (haneul address of the validator)\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable staking_pool_mappings = 5;\n\t */\n\tstakingPoolMappings?: MoveTable;\n\t/**\n\t * Mapping from a staking pool ID to the inactive validator that has that pool as its staking pool.\n\t * When a validator is deactivated the validator is removed from `active_validators` it\n\t * is added to this table so that stakers can continue to withdraw their stake from it.\n\t *\n\t * key: address (staking pool Id), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable inactive_validators = 6;\n\t */\n\tinactiveValidators?: MoveTable;\n\t/**\n\t * Table storing preactive/candidate validators, mapping their addresses to their `Validator ` structs.\n\t * When an address calls `request_add_validator_candidate`, they get added to this table and become a preactive\n\t * validator.\n\t * When the candidate has met the min stake requirement, they can call `request_add_validator` to\n\t * officially add them to the active validator set `active_validators` next epoch.\n\t *\n\t * key: address (haneul address of the validator), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable validator_candidates = 7;\n\t */\n\tvalidatorCandidates?: MoveTable;\n\t/**\n\t * Table storing the number of epochs during which a validator's stake has been below the low stake threshold.\n\t *\n\t * @generated from protobuf field: map<string, uint64> at_risk_validators = 8;\n\t */\n\tatRiskValidators: {\n\t\t[key: string]: bigint;\n\t};\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Definition of a Validator in the system contracts\n *\n * Note: fields of ValidatorMetadata are flattened into this type\n *\n * @generated from protobuf message haneul.rpc.v2.Validator\n */\nexport interface Validator {\n\t/**\n\t * A unique human-readable name of this validator.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * The Haneul Address of the validator. This is the sender that created the Validator object,\n\t * and also the address to send validator/coins to during withdraws.\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string description = 3;\n\t */\n\tdescription?: string;\n\t/**\n\t * @generated from protobuf field: optional string image_url = 4;\n\t */\n\timageUrl?: string;\n\t/**\n\t * @generated from protobuf field: optional string project_url = 5;\n\t */\n\tprojectUrl?: string;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * holds to sign transactions. For now, this is the same as AuthorityName.\n\t *\n\t * @generated from protobuf field: optional bytes protocol_public_key = 7;\n\t */\n\tprotocolPublicKey?: Uint8Array;\n\t/**\n\t * This is a proof that the validator has ownership of the protocol private key\n\t *\n\t * @generated from protobuf field: optional bytes proof_of_possession = 8;\n\t */\n\tproofOfPossession?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * uses to establish TLS connections\n\t *\n\t * @generated from protobuf field: optional bytes network_public_key = 10;\n\t */\n\tnetworkPublicKey?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the Narwhal Worker\n\t *\n\t * @generated from protobuf field: optional bytes worker_public_key = 12;\n\t */\n\tworkerPublicKey?: Uint8Array;\n\t/**\n\t * The network address of the validator (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string network_address = 13;\n\t */\n\tnetworkAddress?: string;\n\t/**\n\t * The address of the validator used for p2p activities such as state sync (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string p2p_address = 14 [json_name = \"p2pAddress\"];\n\t */\n\tp2PAddress?: string;\n\t/**\n\t * The address of the narwhal primary\n\t *\n\t * @generated from protobuf field: optional string primary_address = 15;\n\t */\n\tprimaryAddress?: string;\n\t/**\n\t * The address of the narwhal worker\n\t *\n\t * @generated from protobuf field: optional string worker_address = 16;\n\t */\n\tworkerAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_protocol_public_key = 18;\n\t */\n\tnextEpochProtocolPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_proof_of_possession = 19;\n\t */\n\tnextEpochProofOfPossession?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_network_public_key = 21;\n\t */\n\tnextEpochNetworkPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_worker_public_key = 23;\n\t */\n\tnextEpochWorkerPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_network_address = 24;\n\t */\n\tnextEpochNetworkAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_p2p_address = 25 [json_name = \"nextEpochP2pAddress\"];\n\t */\n\tnextEpochP2PAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_primary_address = 26;\n\t */\n\tnextEpochPrimaryAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_worker_address = 27;\n\t */\n\tnextEpochWorkerAddress?: string;\n\t/**\n\t * Any extra fields that's not defined statically in the `ValidatorMetadata` struct\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable metadata_extra_fields = 28;\n\t */\n\tmetadataExtraFields?: MoveTable;\n\t/**\n\t * The voting power of this validator, which might be different from its\n\t * stake amount.\n\t *\n\t * @generated from protobuf field: optional uint64 voting_power = 29;\n\t */\n\tvotingPower?: bigint;\n\t/**\n\t * The ID of this validator's current valid `UnverifiedValidatorOperationCap`\n\t *\n\t * @generated from protobuf field: optional string operation_cap_id = 30;\n\t */\n\toperationCapId?: string;\n\t/**\n\t * Gas price quote, updated only at end of epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 gas_price = 31;\n\t */\n\tgasPrice?: bigint;\n\t/**\n\t * Staking pool for this validator.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.StakingPool staking_pool = 32;\n\t */\n\tstakingPool?: StakingPool;\n\t/**\n\t * Commission rate of the validator, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 commission_rate = 33;\n\t */\n\tcommissionRate?: bigint;\n\t/**\n\t * Total amount of stake that would be active in the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_stake = 34;\n\t */\n\tnextEpochStake?: bigint;\n\t/**\n\t * This validator's gas price quote for the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_gas_price = 35;\n\t */\n\tnextEpochGasPrice?: bigint;\n\t/**\n\t * The commission rate of the validator starting the next epoch, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_commission_rate = 36;\n\t */\n\tnextEpochCommissionRate?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 37;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A staking pool embedded in each validator struct in the system state object.\n *\n * @generated from protobuf message haneul.rpc.v2.StakingPool\n */\nexport interface StakingPool {\n\t/**\n\t * UID of the StakingPool object\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The epoch at which this pool became active.\n\t * The value is `None` if the pool is pre-active and `Some(<epoch_number>)` if active or inactive.\n\t *\n\t * @generated from protobuf field: optional uint64 activation_epoch = 2;\n\t */\n\tactivationEpoch?: bigint;\n\t/**\n\t * The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},\n\t * `Some(<epoch_number>)` if in-active, and it was de-activated at epoch `<epoch_number>`.\n\t *\n\t * @generated from protobuf field: optional uint64 deactivation_epoch = 3;\n\t */\n\tdeactivationEpoch?: bigint;\n\t/**\n\t * The total number of HANEUL tokens in this pool, including the HANEUL in the rewards_pool, as well as in all the principal\n\t * in the `StakedHaneul` object, updated at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 haneul_balance = 4;\n\t */\n\thaneulBalance?: bigint;\n\t/**\n\t * The epoch stake rewards will be added here at the end of each epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 rewards_pool = 5;\n\t */\n\trewardsPool?: bigint;\n\t/**\n\t * Total number of pool tokens issued by the pool.\n\t *\n\t * @generated from protobuf field: optional uint64 pool_token_balance = 6;\n\t */\n\tpoolTokenBalance?: bigint;\n\t/**\n\t * Exchange rate history of previous epochs.\n\t *\n\t * The entries start from the `activation_epoch` of this pool and contains exchange rates at the beginning of each epoch,\n\t * i.e., right after the rewards for the previous epoch have been deposited into the pool.\n\t *\n\t * key: u64 (epoch number), value: PoolTokenExchangeRate\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable exchange_rates = 7;\n\t */\n\texchangeRates?: MoveTable;\n\t/**\n\t * Pending stake amount for this epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_stake = 8;\n\t */\n\tpendingStake?: bigint;\n\t/**\n\t * Pending stake withdrawn during the current epoch, emptied at epoch boundaries.\n\t * This includes both the principal and rewards HANEUL withdrawn.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_total_haneul_withdraw = 9;\n\t */\n\tpendingTotalHaneulWithdraw?: bigint;\n\t/**\n\t * Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_pool_token_withdraw = 10;\n\t */\n\tpendingPoolTokenWithdraw?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.MoveTable extra_fields = 11;\n\t */\n\textraFields?: MoveTable;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemState$Type extends MessageType<SystemState> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SystemState', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'validators', kind: 'message', T: () => ValidatorSet },\n\t\t\t{ no: 5, name: 'storage_fund', kind: 'message', T: () => StorageFund },\n\t\t\t{ no: 6, name: 'parameters', kind: 'message', T: () => SystemParameters },\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'reference_gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'validator_report_records',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorReportRecord,\n\t\t\t},\n\t\t\t{ no: 9, name: 'stake_subsidy', kind: 'message', T: () => StakeSubsidy },\n\t\t\t{ no: 10, name: 'safe_mode', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'safe_mode_storage_rewards',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: 'safe_mode_computation_rewards',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 13,\n\t\t\t\tname: 'safe_mode_storage_rebates',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'safe_mode_non_refundable_storage_fee',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 15,\n\t\t\t\tname: 'epoch_start_timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 16, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SystemState\n */\nexport const SystemState = new SystemState$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorReportRecord$Type extends MessageType<ValidatorReportRecord> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ValidatorReportRecord', [\n\t\t\t{ no: 1, name: 'reported', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'reporters',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ValidatorReportRecord\n */\nexport const ValidatorReportRecord = new ValidatorReportRecord$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemParameters$Type extends MessageType<SystemParameters> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SystemParameters', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch_duration_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'stake_subsidy_start_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'min_validator_count',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'max_validator_count',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'min_validator_joining_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'validator_low_stake_threshold',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'validator_very_low_stake_threshold',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'validator_low_stake_grace_period',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SystemParameters\n */\nexport const SystemParameters = new SystemParameters$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MoveTable$Type extends MessageType<MoveTable> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.MoveTable', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'size',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.MoveTable\n */\nexport const MoveTable = new MoveTable$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakeSubsidy$Type extends MessageType<StakeSubsidy> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.StakeSubsidy', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'distribution_counter',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'current_distribution_amount',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'stake_subsidy_period_length',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'stake_subsidy_decrease_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 13 /*ScalarType.UINT32*/,\n\t\t\t},\n\t\t\t{ no: 6, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.StakeSubsidy\n */\nexport const StakeSubsidy = new StakeSubsidy$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StorageFund$Type extends MessageType<StorageFund> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.StorageFund', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_object_storage_rebates',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'non_refundable_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.StorageFund\n */\nexport const StorageFund = new StorageFund$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorSet$Type extends MessageType<ValidatorSet> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ValidatorSet', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'active_validators',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Validator,\n\t\t\t},\n\t\t\t{ no: 3, name: 'pending_active_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'pending_removals',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'staking_pool_mappings', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 6, name: 'inactive_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 7, name: 'validator_candidates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'at_risk_validators',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ValidatorSet\n */\nexport const ValidatorSet = new ValidatorSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Validator$Type extends MessageType<Validator> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.Validator', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'image_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'project_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'protocol_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 8, name: 'proof_of_possession', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 10, name: 'network_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 12, name: 'worker_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 13, name: 'network_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'p2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 15, name: 'primary_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 16, name: 'worker_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 18,\n\t\t\t\tname: 'next_epoch_protocol_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 19,\n\t\t\t\tname: 'next_epoch_proof_of_possession',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 21,\n\t\t\t\tname: 'next_epoch_network_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 23,\n\t\t\t\tname: 'next_epoch_worker_public_key',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 24,\n\t\t\t\tname: 'next_epoch_network_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 25,\n\t\t\t\tname: 'next_epoch_p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'nextEpochP2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 26,\n\t\t\t\tname: 'next_epoch_primary_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 27,\n\t\t\t\tname: 'next_epoch_worker_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 28, name: 'metadata_extra_fields', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 29,\n\t\t\t\tname: 'voting_power',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 30, name: 'operation_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 31,\n\t\t\t\tname: 'gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 32, name: 'staking_pool', kind: 'message', T: () => StakingPool },\n\t\t\t{\n\t\t\t\tno: 33,\n\t\t\t\tname: 'commission_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 34,\n\t\t\t\tname: 'next_epoch_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 35,\n\t\t\t\tname: 'next_epoch_gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 36,\n\t\t\t\tname: 'next_epoch_commission_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 37, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.Validator\n */\nexport const Validator = new Validator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakingPool$Type extends MessageType<StakingPool> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.StakingPool', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'activation_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'deactivation_epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'haneul_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'rewards_pool',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'pool_token_balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 7, name: 'exchange_rates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'pending_stake',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 9,\n\t\t\t\tname: 'pending_total_haneul_withdraw',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'pending_pool_token_withdraw',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 11, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.StakingPool\n */\nexport const StakingPool = new StakingPool$Type();\n"],"mappings":";;;AAwnBA,IAAM,mBAAN,cAA+B,YAAyB;CACvD,cAAc;AACb,QAAM,6BAA6B;GAClC;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAW,SAAS;IAAc;GACrE;IAAE,IAAI;IAAG,MAAM;IAAgB,MAAM;IA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I;IAAG,MAAM;IAAM,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC5E;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAkB,MAAM;IAAW,SAAS;IAAW;GACtE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAI,MAAM;IAAgB,MAAM;IAAW,SAAS;IAAW;GACrE,CAAC;;;;;;AAMJ,MAAa,cAAc,IAAI,kBAAkB"}
|
|
@@ -9,7 +9,6 @@ import { Input } from "./input.mjs";
|
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
|
|
11
11
|
//#region src/grpc/proto/haneul/rpc/v2/transaction.d.ts
|
|
12
|
-
|
|
13
12
|
/**
|
|
14
13
|
* A transaction.
|
|
15
14
|
*
|
|
@@ -171,7 +170,7 @@ declare enum TransactionExpiration_TransactionExpirationKind {
|
|
|
171
170
|
*
|
|
172
171
|
* @generated from protobuf enum value: VALID_DURING = 3;
|
|
173
172
|
*/
|
|
174
|
-
VALID_DURING = 3
|
|
173
|
+
VALID_DURING = 3
|
|
175
174
|
}
|
|
176
175
|
/**
|
|
177
176
|
* Transaction type.
|
|
@@ -333,7 +332,7 @@ declare enum TransactionKind_Kind {
|
|
|
333
332
|
*
|
|
334
333
|
* @generated from protobuf enum value: PROGRAMMABLE_SYSTEM_TRANSACTION = 11;
|
|
335
334
|
*/
|
|
336
|
-
PROGRAMMABLE_SYSTEM_TRANSACTION = 11
|
|
335
|
+
PROGRAMMABLE_SYSTEM_TRANSACTION = 11
|
|
337
336
|
}
|
|
338
337
|
/**
|
|
339
338
|
* A user transaction.
|
|
@@ -1088,7 +1087,7 @@ declare enum EndOfEpochTransactionKind_Kind {
|
|
|
1088
1087
|
*
|
|
1089
1088
|
* @generated from protobuf enum value: WRITE_ACCUMULATOR_STORAGE_COST = 13;
|
|
1090
1089
|
*/
|
|
1091
|
-
WRITE_ACCUMULATOR_STORAGE_COST = 13
|
|
1090
|
+
WRITE_ACCUMULATOR_STORAGE_COST = 13
|
|
1092
1091
|
}
|
|
1093
1092
|
/**
|
|
1094
1093
|
* Expire old JWKs.
|
|
@@ -1176,7 +1175,7 @@ declare enum ExecutionTimeObservation_ExecutionTimeObservationKind {
|
|
|
1176
1175
|
/**
|
|
1177
1176
|
* @generated from protobuf enum value: UPGRADE = 7;
|
|
1178
1177
|
*/
|
|
1179
|
-
UPGRADE = 7
|
|
1178
|
+
UPGRADE = 7
|
|
1180
1179
|
}
|
|
1181
1180
|
/**
|
|
1182
1181
|
* @generated from protobuf message haneul.rpc.v2.ValidatorExecutionTimeObservation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction.ts"],"
|
|
1
|
+
{"version":3,"file":"transaction.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction.ts"],"mappings":";;;;;;;;;;;;AA0BA;;;;UAAiB,WAAA;EA8BH;;;;;EAxBb,GAAA,GAAM,GAAA;EAMN;;;;;EAAA,M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SAA+B,WAAA,CAAY,iBAAA;;;;;;cA0BpC,iBAAA,EAAiB,sBAAA;AAAA,cAExB,wBAAA,SAAiC,WAAA,CAAY,mBAAA;;;;;;cAiBtC,mBAAA,EAAmB,wBAAA;AAAA,cAE1B,0CAAA,SAAmD,WAAA,CAAY,qCAAA;;;;;;cAiBxD,qCAAA,EAAqC,0CAAA;AAAA,cAG5C,6BAAA,SAAsC,WAAA,CAAY,wBAAA;;;;;;cAwC3C,wBAAA,EAAwB,6BAAA;AAAA,cAE/B,cAAA,SAAuB,WAAA,CAAY,SAAA;;;;;;cAmB5B,SAAA,EAAS,cAAA;AAAA,cAEhB,0BAAA,SAAmC,WAAA,CAAY,qBAAA;;;;;;cAgBxC,qBAAA,EAAqB,0BAAA;AAAA,cAE5B,8BAAA,SAAuC,WAAA,CAAY,yBAAA;;;;;;cAgD5C,yBAAA,EAAyB,8BAAA;AAAA,cAEhC,6BAAA,SAAsC,WAAA,CAAY,wBAAA;;;;;;cAyB3C,wBAAA,EAAwB,6BAAA;AAAA,cAE/B,8BAAA,SAAuC,WAAA,CAAY,yBAAA;;;;;;cAiB5C,yBAAA,EAAyB,8BAAA;AAAA,cAEhC,6BAAA,SAAsC,WAAA,CAAY,wBAAA;;;;;;cA2B3C,wBAAA,EAAwB,6BAAA;AAAA,cAE/B,sCAAA,SAA+C,WAAA,CAAY,iCAAA;;;;;;cAWpD,iCAAA,EAAiC,sCAAA"}
|
|
@@ -4,7 +4,6 @@ import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
|
4
4
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.d.ts
|
|
7
|
-
|
|
8
7
|
/**
|
|
9
8
|
* @generated from protobuf service haneul.rpc.v2.TransactionExecutionService
|
|
10
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_execution_service.client.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.ts"],"
|
|
1
|
+
{"version":3,"file":"transaction_execution_service.client.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.ts"],"mappings":";;;;;;;;;UAwBiB,kCAAA;EAOwB;;;EAHxC,kBAAA,CACC,KAAA,EAAO,yBAAA,EACP,OAAA,GAAU,UAAA,GACR,SAAA,CAAU,yBAAA,EAA2B,0BAAA;EAO3B;;;EAHb,mBAAA,CACC,KAAA,EAAO,0BAAA,EACP,OAAA,GAAU,UAAA,GACR,SAAA,CAAU,0BAAA,EAA4B,2BAAA;AAAA;;;;cAK7B,iCAAA,YACD,kCAAA,EAAoC,WAAA;EAAA,iBAKlB,UAAA;EAH7B,QAAA;EACA,OAAA,EAHA,yBAAA,CAGO,UAAA;EACP,OAAA;IAAA,yBADO,qBAAA,CAAA,SAAA;EAAA;cAEsB,UAAA,EAAY,YAAA;EAZ9B;;;EAgBX,kBAAA,CACC,KAAA,EAAO,yBAAA,EACP,OAAA,GAAU,UAAA,GACR,SAAA,CAAU,yBAAA,EAA2B,0BAAA;EAlBC;;;EAgCzC,mBAAA,CACC,KAAA,EAAO,0BAAA,EACP,OAAA,GAAU,UAAA,GACR,SAAA,CAAU,0BAAA,EAA4B,2BAAA;AAAA"}
|
|
@@ -9,7 +9,6 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
9
9
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
10
10
|
|
|
11
11
|
//#region src/grpc/proto/haneul/rpc/v2/transaction_execution_service.d.ts
|
|
12
|
-
|
|
13
12
|
/**
|
|
14
13
|
* @generated from protobuf message haneul.rpc.v2.ExecuteTransactionRequest
|
|
15
14
|
*/
|
|
@@ -89,7 +88,7 @@ declare enum SimulateTransactionRequest_TransactionChecks {
|
|
|
89
88
|
/**
|
|
90
89
|
* @generated from protobuf enum value: DISABLED = 1;
|
|
91
90
|
*/
|
|
92
|
-
DISABLED = 1
|
|
91
|
+
DISABLED = 1
|
|
93
92
|
}
|
|
94
93
|
/**
|
|
95
94
|
* @generated from protobuf message haneul.rpc.v2.SimulateTransactionResponse
|
|
@@ -103,6 +102,14 @@ interface SimulateTransactionResponse {
|
|
|
103
102
|
* @generated from protobuf field: repeated haneul.rpc.v2.CommandResult command_outputs = 2;
|
|
104
103
|
*/
|
|
105
104
|
commandOutputs: CommandResult[];
|
|
105
|
+
/**
|
|
106
|
+
* A suggested gas price to use, that is above RGP, in order to provide a
|
|
107
|
+
* better chance of the transaction being included in the presence of
|
|
108
|
+
* congested objects.
|
|
109
|
+
*
|
|
110
|
+
* @generated from protobuf field: optional uint64 suggested_gas_price = 3;
|
|
111
|
+
*/
|
|
112
|
+
suggestedGasPrice?: bigint;
|
|
106
113
|
}
|
|
107
114
|
/**
|
|
108
115
|
* An intermediate result/output from the execution of a single command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_execution_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction_execution_service.ts"],"
|
|
1
|
+
{"version":3,"file":"transaction_execution_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction_execution_service.ts"],"mappings":";;;;;;;;;;;;;AAuBA;UAAiB,yBAAA;;;;;;EAMhB,WAAA,GAAc,WAAA;EAAd;;;;;;EAOA,UAAA,EAAY,aAAA;EAOQ;AAOrB;;;;;EAPC,QAAA,GAAW,SAAA;AAAA;;;;;;UAOK,0BAAA;EAahB;;;EATA,WAAA,GAAc,mBAAA;AAAA;;;;UAKE,0BAAA;EAgCL;;;EA5BX,WAAA,GAAc,WAAA;EAoCN;AAKT;;;;EAnCC,QAAA,GAAW,SAAA;EAuCG;;;;;EAjCd,MAAA,GAAS,4CAAA;EAoDO;;;;;;;;EA3ChB,cAAA;AAAA;AAwDD;;;;;AAAA,aAjDY,4CAAA;EA+DC;;;EA3DZ,OAAA;EAqDA;;;EAjDA,QAAA;AAAA;;AAwDA;;UAnDgB,2BAAA;EAqDuC;;;EAjDvD,WAAA,GAAc,mBAAA;;;AAmEf;EA/DC,cAAA,EAAgB,aAAA;;;;AA+D6D;;;;EAvD7E,iBAAA;AAAA;;;;AAmED;;UA5DiB,aAAA;EA4DsB;;AAAyC;EAxD/E,YAAA,EAAc,aAAA;;;;EAId,YAAA,EAAc,aAAA;AAAA;;;AA4Ef;UAvEiB,aAAA;;;;EAIhB,QAAA,GAAW,QAAA;EAqE2B;;;EAjEtC,KAAA,GAAQ,GAAA;EAiEkD;;;;AAyB3D;EApFC,IAAA,GAAO,KAAA;AAAA;AAAA,cAGF,8BAAA,SAAuC,WAAA,CAAY,yBAAA;;;;;;cAkB5C,yBAAA,EAAyB,8BAAA;AAAA,cAEhC,+BAAA,SAAwC,WAAA,CAAY,0BAAA;;;;AAsF1D;;cA5Ea,0BAAA,EAA0B,+BAAA;AAAA,cAEjC,+BAAA,SAAwC,WAAA,CAAY,0BAAA;;;;;;cAsB7C,0BAAA,EAA0B,+BAAA;AAAA,cAEjC,gCAAA,SAAyC,WAAA,CAAY,2BAAA;;;;AAgE3D;;cAvCa,2BAAA,EAA2B,gCAAA;AAAA,cAElC,kBAAA,SAA2B,WAAA,CAAY,aAAA;;;;;;cAuBhC,aAAA,EAAa,kBAAA;AAAA,cAEpB,kBAAA,SAA2B,WAAA,CAAY,aAAA;;;;;;cAYhC,aAAA,EAAa,kBAAA;;;;cAIb,2BAAA,EAA2B,WAAA"}
|
|
@@ -106,18 +106,29 @@ var SimulateTransactionRequest$Type = class extends MessageType {
|
|
|
106
106
|
const SimulateTransactionRequest = new SimulateTransactionRequest$Type();
|
|
107
107
|
var SimulateTransactionResponse$Type = class extends MessageType {
|
|
108
108
|
constructor() {
|
|
109
|
-
super("haneul.rpc.v2.SimulateTransactionResponse", [
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
109
|
+
super("haneul.rpc.v2.SimulateTransactionResponse", [
|
|
110
|
+
{
|
|
111
|
+
no: 1,
|
|
112
|
+
name: "transaction",
|
|
113
|
+
kind: "message",
|
|
114
|
+
T: () => ExecutedTransaction
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
no: 2,
|
|
118
|
+
name: "command_outputs",
|
|
119
|
+
kind: "message",
|
|
120
|
+
repeat: 1,
|
|
121
|
+
T: () => CommandResult
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
no: 3,
|
|
125
|
+
name: "suggested_gas_price",
|
|
126
|
+
kind: "scalar",
|
|
127
|
+
opt: true,
|
|
128
|
+
T: 4,
|
|
129
|
+
L: 0
|
|
130
|
+
}
|
|
131
|
+
]);
|
|
121
132
|
}
|
|
122
133
|
};
|
|
123
134
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_execution_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction_execution_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"haneul/rpc/v2/transaction_execution_service.proto\" (package \"haneul.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Value } from '../../../google/protobuf/struct.js';\nimport { Bcs } from './bcs.js';\nimport { Argument } from './argument.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { UserSignature } from './signature.js';\nimport { Transaction } from './transaction.js';\n/**\n * @generated from protobuf message haneul.rpc.v2.ExecuteTransactionRequest\n */\nexport interface ExecuteTransactionRequest {\n\t/**\n\t * The transaction to execute.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Set of `UserSignature`s authorizing the execution of the provided\n\t * transaction.\n\t *\n\t * @generated from protobuf field: repeated haneul.rpc.v2.UserSignature signatures = 2;\n\t */\n\tsignatures: UserSignature[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `effects.status,checkpoint`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ExecuteTransaction`.\n *\n * @generated from protobuf message haneul.rpc.v2.ExecuteTransactionResponse\n */\nexport interface ExecuteTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.SimulateTransactionRequest\n */\nexport interface SimulateTransactionRequest {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Mask specifying which fields to read.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Specify whether checks should be ENABLED (default) or DISABLED while executing the transaction\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.SimulateTransactionRequest.TransactionChecks checks = 3;\n\t */\n\tchecks?: SimulateTransactionRequest_TransactionChecks;\n\t/**\n\t * Perform gas selection based on a budget estimation and include the\n\t * selected gas payment and budget in the response.\n\t *\n\t * This option will be ignored if `checks` is `DISABLED`.\n\t *\n\t * @generated from protobuf field: optional bool do_gas_selection = 4;\n\t */\n\tdoGasSelection?: boolean;\n}\n/**\n * buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX\n *\n * @generated from protobuf enum haneul.rpc.v2.SimulateTransactionRequest.TransactionChecks\n */\nexport enum SimulateTransactionRequest_TransactionChecks {\n\t/**\n\t * @generated from protobuf enum value: ENABLED = 0;\n\t */\n\tENABLED = 0,\n\t/**\n\t * @generated from protobuf enum value: DISABLED = 1;\n\t */\n\tDISABLED = 1,\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.SimulateTransactionResponse\n */\nexport interface SimulateTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * @generated from protobuf field: repeated haneul.rpc.v2.CommandResult command_outputs = 2;\n\t */\n\tcommandOutputs: CommandResult[];\n}\n/**\n * An intermediate result/output from the execution of a single command\n *\n * @generated from protobuf message haneul.rpc.v2.CommandResult\n */\nexport interface CommandResult {\n\t/**\n\t * @generated from protobuf field: repeated haneul.rpc.v2.CommandOutput return_values = 1;\n\t */\n\treturnValues: CommandOutput[];\n\t/**\n\t * @generated from protobuf field: repeated haneul.rpc.v2.CommandOutput mutated_by_ref = 2;\n\t */\n\tmutatedByRef: CommandOutput[];\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.CommandOutput\n */\nexport interface CommandOutput {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.Argument argument = 1;\n\t */\n\targument?: Argument;\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.Bcs value = 2;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * JSON rendering of the output.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 3;\n\t */\n\tjson?: Value;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionRequest$Type extends MessageType<ExecuteTransactionRequest> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ExecuteTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'signatures',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => UserSignature,\n\t\t\t},\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ExecuteTransactionRequest\n */\nexport const ExecuteTransactionRequest = new ExecuteTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionResponse$Type extends MessageType<ExecuteTransactionResponse> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ExecuteTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ExecuteTransactionResponse\n */\nexport const ExecuteTransactionResponse = new ExecuteTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionRequest$Type extends MessageType<SimulateTransactionRequest> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SimulateTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'checks',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'haneul.rpc.v2.SimulateTransactionRequest.TransactionChecks',\n\t\t\t\t\tSimulateTransactionRequest_TransactionChecks,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 4, name: 'do_gas_selection', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SimulateTransactionRequest\n */\nexport const SimulateTransactionRequest = new SimulateTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionResponse$Type extends MessageType<SimulateTransactionResponse> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SimulateTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'command_outputs',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SimulateTransactionResponse\n */\nexport const SimulateTransactionResponse = new SimulateTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandResult$Type extends MessageType<CommandResult> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.CommandResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'return_values',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'mutated_by_ref',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.CommandResult\n */\nexport const CommandResult = new CommandResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandOutput$Type extends MessageType<CommandOutput> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.CommandOutput', [\n\t\t\t{ no: 1, name: 'argument', kind: 'message', T: () => Argument },\n\t\t\t{ no: 2, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 3, name: 'json', kind: 'message', T: () => Value },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.CommandOutput\n */\nexport const CommandOutput = new CommandOutput$Type();\n/**\n * @generated ServiceType for protobuf service haneul.rpc.v2.TransactionExecutionService\n */\nexport const TransactionExecutionService = new ServiceType(\n\t'haneul.rpc.v2.TransactionExecutionService',\n\t[\n\t\t{\n\t\t\tname: 'ExecuteTransaction',\n\t\t\toptions: {},\n\t\t\tI: ExecuteTransactionRequest,\n\t\t\tO: ExecuteTransactionResponse,\n\t\t},\n\t\t{\n\t\t\tname: 'SimulateTransaction',\n\t\t\toptions: {},\n\t\t\tI: SimulateTransactionRequest,\n\t\t\tO: SimulateTransactionResponse,\n\t\t},\n\t],\n);\n"],"mappings":";;;;;;;;;;;;;;;;AA2FA,IAAY,wHAAL;;;;AAIN;;;;AAIA;;;AAkDD,IAAM,iCAAN,cAA6C,YAAuC;CACnF,cAAc;AACb,QAAM,2CAA2C;GAChD;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAW,SAAS;IAAa;GACrE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE,CAAC;;;;;;AAMJ,MAAa,4BAA4B,IAAI,gCAAgC;AAE7E,IAAM,kCAAN,cAA8C,YAAwC;CACrF,cAAc;AACb,QAAM,4CAA4C,CACjD;GAAE,IAAI;GAAG,MAAM;GAAe,MAAM;GAAW,SAAS;GAAqB,CAC7E,CAAC;;;;;;AAMJ,MAAa,6BAA6B,IAAI,iCAAiC;AAE/E,IAAM,kCAAN,cAA8C,YAAwC;CACrF,cAAc;AACb,QAAM,4CAA4C;GACjD;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAW,SAAS;IAAa;GACrE;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,SAAS,CACR,8DACA,6CACA;IACD;GACD;IAAE,IAAI;IAAG,MAAM;IAAoB,MAAM;IAAU,KAAK;IAAM,GAAG;IAAuB;GACxF,CAAC;;;;;;AAMJ,MAAa,6BAA6B,IAAI,iCAAiC;AAE/E,IAAM,mCAAN,cAA+C,YAAyC;CACvF,cAAc;AACb,QAAM,6CAA6C,CAClD;GAAE,IAAI;GAAG,MAAM;GAAe,MAAM;GAAW,SAAS;GAAqB,EAC7E;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,SAAS;GACT,CACD,CAAC;;;;;;AAMJ,MAAa,8BAA8B,IAAI,kCAAkC;AAEjF,IAAM,qBAAN,cAAiC,YAA2B;CAC3D,cAAc;AACb,QAAM,+BAA+B,CACpC;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,SAAS;GACT,EACD;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,SAAS;GACT,CACD,CAAC;;;;;;AAMJ,MAAa,gBAAgB,IAAI,oBAAoB;AAErD,IAAM,qBAAN,cAAiC,YAA2B;CAC3D,cAAc;AACb,QAAM,+BAA+B;GACpC;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAW,SAAS;IAAU;GAC/D;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAW,SAAS;IAAK;GACvD;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAW,SAAS;IAAO;GACxD,CAAC;;;;;;AAMJ,MAAa,gBAAgB,IAAI,oBAAoB;;;;AAIrD,MAAa,8BAA8B,IAAI,YAC9C,6CACA,CACC;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,EACD;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,CACD,CACD"}
|
|
1
|
+
{"version":3,"file":"transaction_execution_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/haneul/rpc/v2/transaction_execution_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"haneul/rpc/v2/transaction_execution_service.proto\" (package \"haneul.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Value } from '../../../google/protobuf/struct.js';\nimport { Bcs } from './bcs.js';\nimport { Argument } from './argument.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { UserSignature } from './signature.js';\nimport { Transaction } from './transaction.js';\n/**\n * @generated from protobuf message haneul.rpc.v2.ExecuteTransactionRequest\n */\nexport interface ExecuteTransactionRequest {\n\t/**\n\t * The transaction to execute.\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Set of `UserSignature`s authorizing the execution of the provided\n\t * transaction.\n\t *\n\t * @generated from protobuf field: repeated haneul.rpc.v2.UserSignature signatures = 2;\n\t */\n\tsignatures: UserSignature[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `effects.status,checkpoint`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ExecuteTransaction`.\n *\n * @generated from protobuf message haneul.rpc.v2.ExecuteTransactionResponse\n */\nexport interface ExecuteTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.SimulateTransactionRequest\n */\nexport interface SimulateTransactionRequest {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Mask specifying which fields to read.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Specify whether checks should be ENABLED (default) or DISABLED while executing the transaction\n\t *\n\t * @generated from protobuf field: optional haneul.rpc.v2.SimulateTransactionRequest.TransactionChecks checks = 3;\n\t */\n\tchecks?: SimulateTransactionRequest_TransactionChecks;\n\t/**\n\t * Perform gas selection based on a budget estimation and include the\n\t * selected gas payment and budget in the response.\n\t *\n\t * This option will be ignored if `checks` is `DISABLED`.\n\t *\n\t * @generated from protobuf field: optional bool do_gas_selection = 4;\n\t */\n\tdoGasSelection?: boolean;\n}\n/**\n * buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX\n *\n * @generated from protobuf enum haneul.rpc.v2.SimulateTransactionRequest.TransactionChecks\n */\nexport enum SimulateTransactionRequest_TransactionChecks {\n\t/**\n\t * @generated from protobuf enum value: ENABLED = 0;\n\t */\n\tENABLED = 0,\n\t/**\n\t * @generated from protobuf enum value: DISABLED = 1;\n\t */\n\tDISABLED = 1,\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.SimulateTransactionResponse\n */\nexport interface SimulateTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * @generated from protobuf field: repeated haneul.rpc.v2.CommandResult command_outputs = 2;\n\t */\n\tcommandOutputs: CommandResult[];\n\t/**\n\t * A suggested gas price to use, that is above RGP, in order to provide a\n\t * better chance of the transaction being included in the presence of\n\t * congested objects.\n\t *\n\t * @generated from protobuf field: optional uint64 suggested_gas_price = 3;\n\t */\n\tsuggestedGasPrice?: bigint;\n}\n/**\n * An intermediate result/output from the execution of a single command\n *\n * @generated from protobuf message haneul.rpc.v2.CommandResult\n */\nexport interface CommandResult {\n\t/**\n\t * @generated from protobuf field: repeated haneul.rpc.v2.CommandOutput return_values = 1;\n\t */\n\treturnValues: CommandOutput[];\n\t/**\n\t * @generated from protobuf field: repeated haneul.rpc.v2.CommandOutput mutated_by_ref = 2;\n\t */\n\tmutatedByRef: CommandOutput[];\n}\n/**\n * @generated from protobuf message haneul.rpc.v2.CommandOutput\n */\nexport interface CommandOutput {\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.Argument argument = 1;\n\t */\n\targument?: Argument;\n\t/**\n\t * @generated from protobuf field: optional haneul.rpc.v2.Bcs value = 2;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * JSON rendering of the output.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 3;\n\t */\n\tjson?: Value;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionRequest$Type extends MessageType<ExecuteTransactionRequest> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ExecuteTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'signatures',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => UserSignature,\n\t\t\t},\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ExecuteTransactionRequest\n */\nexport const ExecuteTransactionRequest = new ExecuteTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionResponse$Type extends MessageType<ExecuteTransactionResponse> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.ExecuteTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.ExecuteTransactionResponse\n */\nexport const ExecuteTransactionResponse = new ExecuteTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionRequest$Type extends MessageType<SimulateTransactionRequest> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SimulateTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'checks',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'haneul.rpc.v2.SimulateTransactionRequest.TransactionChecks',\n\t\t\t\t\tSimulateTransactionRequest_TransactionChecks,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 4, name: 'do_gas_selection', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SimulateTransactionRequest\n */\nexport const SimulateTransactionRequest = new SimulateTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionResponse$Type extends MessageType<SimulateTransactionResponse> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.SimulateTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'command_outputs',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandResult,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'suggested_gas_price',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.SimulateTransactionResponse\n */\nexport const SimulateTransactionResponse = new SimulateTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandResult$Type extends MessageType<CommandResult> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.CommandResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'return_values',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'mutated_by_ref',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.CommandResult\n */\nexport const CommandResult = new CommandResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandOutput$Type extends MessageType<CommandOutput> {\n\tconstructor() {\n\t\tsuper('haneul.rpc.v2.CommandOutput', [\n\t\t\t{ no: 1, name: 'argument', kind: 'message', T: () => Argument },\n\t\t\t{ no: 2, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 3, name: 'json', kind: 'message', T: () => Value },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message haneul.rpc.v2.CommandOutput\n */\nexport const CommandOutput = new CommandOutput$Type();\n/**\n * @generated ServiceType for protobuf service haneul.rpc.v2.TransactionExecutionService\n */\nexport const TransactionExecutionService = new ServiceType(\n\t'haneul.rpc.v2.TransactionExecutionService',\n\t[\n\t\t{\n\t\t\tname: 'ExecuteTransaction',\n\t\t\toptions: {},\n\t\t\tI: ExecuteTransactionRequest,\n\t\t\tO: ExecuteTransactionResponse,\n\t\t},\n\t\t{\n\t\t\tname: 'SimulateTransaction',\n\t\t\toptions: {},\n\t\t\tI: SimulateTransactionRequest,\n\t\t\tO: SimulateTrans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L,GAAG;IACH,GAAG;IACH;GACD,CAAC;;;;;;AAMJ,MAAa,8BAA8B,IAAI,kCAAkC;AAEjF,IAAM,qBAAN,cAAiC,YAA2B;CAC3D,cAAc;AACb,QAAM,+BAA+B,CACpC;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,SAAS;GACT,EACD;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,SAAS;GACT,CACD,CAAC;;;;;;AAMJ,MAAa,gBAAgB,IAAI,oBAAoB;AAErD,IAAM,qBAAN,cAAiC,YAA2B;CAC3D,cAAc;AACb,QAAM,+BAA+B;GACpC;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAW,SAAS;IAAU;GAC/D;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAW,SAAS;IAAK;GACvD;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAW,SAAS;IAAO;GACxD,CAAC;;;;;;AAMJ,MAAa,gBAAgB,IAAI,oBAAoB;;;;AAIrD,MAAa,8BAA8B,IAAI,YAC9C,6CACA,CACC;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,EACD;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,CACD,CACD"}
|
|
@@ -2,7 +2,7 @@ import { Bcs } from "./haneul/rpc/v2/bcs.mjs";
|
|
|
2
2
|
import { Argument, Argument_ArgumentKind } from "./haneul/rpc/v2/argument.mjs";
|
|
3
3
|
import { Ability, DatatypeDescriptor, DatatypeDescriptor_DatatypeKind, FieldDescriptor, FunctionDescriptor, FunctionDescriptor_Visibility, Linkage, Module, OpenSignature, OpenSignatureBody, OpenSignatureBody_Type, OpenSignature_Reference, Package, TypeOrigin, TypeParameter, VariantDescriptor } from "./haneul/rpc/v2/move_package.mjs";
|
|
4
4
|
import { Owner, Owner_OwnerKind } from "./haneul/rpc/v2/owner.mjs";
|
|
5
|
-
import { Object as Object$1, ObjectSet } from "./haneul/rpc/v2/object.mjs";
|
|
5
|
+
import { Display, Object as Object$1, ObjectSet } from "./haneul/rpc/v2/object.mjs";
|
|
6
6
|
import { BalanceChange } from "./haneul/rpc/v2/balance_change.mjs";
|
|
7
7
|
import { Event, TransactionEvents } from "./haneul/rpc/v2/event.mjs";
|
|
8
8
|
import { ObjectReference } from "./haneul/rpc/v2/object_reference.mjs";
|
|
@@ -32,7 +32,7 @@ import { ErrorReason } from "./haneul/rpc/v2/error_reason.mjs";
|
|
|
32
32
|
|
|
33
33
|
//#region src/grpc/proto/types.d.ts
|
|
34
34
|
declare namespace types_d_exports {
|
|
35
|
-
export { Ability, AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, ActiveJwk, AddressAliasesVersion, Argument, Argument_ArgumentKind, AuthenticatorStateExpire, AuthenticatorStateUpdate, Balance, BalanceChange, BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, Bcs, CanceledTransaction, ChangeEpoch, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, Checkpoint, CheckpointCommitment, CheckpointCommitment_CheckpointCommitmentKind, CheckpointContents, CheckpointSummary, CheckpointedTransactionInfo, CircomG1, CircomG2, CleverError, CoinDenyListError, CoinMetadata, CoinMetadata_MetadataCapState, CoinTreasury, CoinTreasury_SupplyState, Command, CommandArgumentError, CommandArgumentError_CommandArgumentErrorKind, CommandOutput, CommandResult, CongestedObjects, ConsensusCommitPrologue, ConsensusDeterminedVersionAssignments, DatatypeDescriptor, DatatypeDescriptor_DatatypeKind, DynamicField, DynamicField_DynamicFieldKind, EndOfEpochData, EndOfEpochTransaction, EndOfEpochTransactionKind, EndOfEpochTransactionKind_Kind, Epoch, ErrorReason, Event, ExecuteTransactionRequest, ExecuteTransactionResponse, ExecutedTransaction, ExecutionError, ExecutionError_ExecutionErrorKind, ExecutionStatus, ExecutionTimeObservation, ExecutionTimeObservation_ExecutionTimeObservationKind, ExecutionTimeObservations, FieldDescriptor, FunctionDescriptor, FunctionDescriptor_Visibility, FundsWithdrawal, FundsWithdrawal_Source, GasCostSummary, GasPayment, GenesisTransaction, GetBalanceRequest, GetBalanceResponse, GetCheckpointRequest, GetCheckpointResponse, GetCoinInfoRequest, GetCoinInfoResponse, GetDatatypeRequest, GetDatatypeResponse, GetEpochRequest, GetEpochResponse, GetFunctionRequest, GetFunctionResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetPackageRequest, GetPackageResponse, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, IndexError, Input, Input_InputKind, Input_Mutability, Jwk, JwkId, LedgerService, Linkage, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse, ListPackageVersionsRequest, ListPackageVersionsResponse, LookupNameRequest, LookupNameResponse, MakeMoveVector, MergeCoins, Module, MoveAbort, MoveCall, MoveLocation, MovePackageService, MoveTable, MultisigAggregatedSignature, MultisigCommittee, MultisigMember, MultisigMemberPublicKey, MultisigMemberSignature, NameRecord, NameService, Object$1 as Object, ObjectReference, ObjectSet, OpenSignature, OpenSignatureBody, OpenSignatureBody_Type, OpenSignature_Reference, Owner, Owner_OwnerKind, Package, PackageUpgradeError, PackageUpgradeError_PackageUpgradeErrorKind, PackageVersion, PasskeyAuthenticator, ProgrammableTransaction, ProtocolConfig, Publish, RandomnessStateUpdate, RegulatedCoinMetadata, RegulatedCoinMetadata_CoinRegulatedState, ReverseLookupNameRequest, ReverseLookupNameResponse, SignatureScheme, SignatureVerificationService, SimpleSignature, SimulateTransactionRequest, SimulateTransactionRequest_TransactionChecks, SimulateTransactionResponse, SizeError, SplitCoins, StakeSubsidy, StakingPool, StateService, StorageFund, SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscriptionService, SystemPackage, SystemParameters, SystemState, Transaction, TransactionEffects, TransactionEvents, TransactionExecutionService, TransactionExpiration, TransactionExpiration_TransactionExpirationKind, TransactionKind, TransactionKind_Kind, TransferObjects, TypeArgumentError, TypeArgumentError_TypeArgumentErrorKind, TypeOrigin, TypeParameter, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind, Upgrade, UserSignature, Validator, ValidatorAggregatedSignature, ValidatorCommittee, ValidatorCommitteeMember, ValidatorExecutionTimeObservation, ValidatorReportRecord, ValidatorSet, VariantDescriptor, VerifySignatureRequest, VerifySignatureResponse, VersionAssignment, ZkLoginAuthenticator, ZkLoginClaim, ZkLoginInputs, ZkLoginProof, ZkLoginPublicIdentifier };
|
|
35
|
+
export { Ability, AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, ActiveJwk, AddressAliasesVersion, Argument, Argument_ArgumentKind, AuthenticatorStateExpire, AuthenticatorStateUpdate, Balance, BalanceChange, BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, Bcs, CanceledTransaction, ChangeEpoch, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, Checkpoint, CheckpointCommitment, CheckpointCommitment_CheckpointCommitmentKind, CheckpointContents, CheckpointSummary, CheckpointedTransactionInfo, CircomG1, CircomG2, CleverError, CoinDenyListError, CoinMetadata, CoinMetadata_MetadataCapState, CoinTreasury, CoinTreasury_SupplyState, Command, CommandArgumentError, CommandArgumentError_CommandArgumentErrorKind, CommandOutput, CommandResult, CongestedObjects, ConsensusCommitPrologue, ConsensusDeterminedVersionAssignments, DatatypeDescriptor, DatatypeDescriptor_DatatypeKind, Display, DynamicField, DynamicField_DynamicFieldKind, EndOfEpochData, EndOfEpochTransaction, EndOfEpochTransactionKind, EndOfEpochTransactionKind_Kind, Epoch, ErrorReason, Event, ExecuteTransactionRequest, ExecuteTransactionResponse, ExecutedTransaction, ExecutionError, ExecutionError_ExecutionErrorKind, ExecutionStatus, ExecutionTimeObservation, ExecutionTimeObservation_ExecutionTimeObservationKind, ExecutionTimeObservations, FieldDescriptor, FunctionDescriptor, FunctionDescriptor_Visibility, FundsWithdrawal, FundsWithdrawal_Source, GasCostSummary, GasPayment, GenesisTransaction, GetBalanceRequest, GetBalanceResponse, GetCheckpointRequest, GetCheckpointResponse, GetCoinInfoRequest, GetCoinInfoResponse, GetDatatypeRequest, GetDatatypeResponse, GetEpochRequest, GetEpochResponse, GetFunctionRequest, GetFunctionResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetPackageRequest, GetPackageResponse, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, IndexError, Input, Input_InputKind, Input_Mutability, Jwk, JwkId, LedgerService, Linkage, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse, ListPackageVersionsRequest, ListPackageVersionsResponse, LookupNameRequest, LookupNameResponse, MakeMoveVector, MergeCoins, Module, MoveAbort, MoveCall, MoveLocation, MovePackageService, MoveTable, MultisigAggregatedSignature, MultisigCommittee, MultisigMember, MultisigMemberPublicKey, MultisigMemberSignature, NameRecord, NameService, Object$1 as Object, ObjectReference, ObjectSet, OpenSignature, OpenSignatureBody, OpenSignatureBody_Type, OpenSignature_Reference, Owner, Owner_OwnerKind, Package, PackageUpgradeError, PackageUpgradeError_PackageUpgradeErrorKind, PackageVersion, PasskeyAuthenticator, ProgrammableTransaction, ProtocolConfig, Publish, RandomnessStateUpdate, RegulatedCoinMetadata, RegulatedCoinMetadata_CoinRegulatedState, ReverseLookupNameRequest, ReverseLookupNameResponse, SignatureScheme, SignatureVerificationService, SimpleSignature, SimulateTransactionRequest, SimulateTransactionRequest_TransactionChecks, SimulateTransactionResponse, SizeError, SplitCoins, StakeSubsidy, StakingPool, StateService, StorageFund, SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscriptionService, SystemPackage, SystemParameters, SystemState, Transaction, TransactionEffects, TransactionEvents, TransactionExecutionService, TransactionExpiration, TransactionExpiration_TransactionExpirationKind, TransactionKind, TransactionKind_Kind, TransferObjects, TypeArgumentError, TypeArgumentError_TypeArgumentErrorKind, TypeOrigin, TypeParameter, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind, Upgrade, UserSignature, Validator, ValidatorAggregatedSignature, ValidatorCommittee, ValidatorCommitteeMember, ValidatorExecutionTimeObservation, ValidatorReportRecord, ValidatorSet, VariantDescriptor, VerifySignatureRequest, VerifySignatureResponse, VersionAssignment, ZkLoginAuthenticator, ZkLoginClaim, ZkLoginInputs, ZkLoginProof, ZkLoginPublicIdentifier };
|
|
36
36
|
}
|
|
37
37
|
//#endregion
|
|
38
38
|
export { types_d_exports };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","names":[],"sources":["../../../src/grpc/proto/types.ts"],"
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":[],"sources":["../../../src/grpc/proto/types.ts"],"mappings":""}
|
|
@@ -3,7 +3,7 @@ import { Jwk, JwkId } from "./haneul/rpc/v2/jwk.mjs";
|
|
|
3
3
|
import { Ability, DatatypeDescriptor, DatatypeDescriptor_DatatypeKind, FieldDescriptor, FunctionDescriptor, FunctionDescriptor_Visibility, Linkage, Module, OpenSignature, OpenSignatureBody, OpenSignatureBody_Type, OpenSignature_Reference, Package, TypeOrigin, TypeParameter, VariantDescriptor } from "./haneul/rpc/v2/move_package.mjs";
|
|
4
4
|
import { Owner, Owner_OwnerKind } from "./haneul/rpc/v2/owner.mjs";
|
|
5
5
|
import { Bcs } from "./haneul/rpc/v2/bcs.mjs";
|
|
6
|
-
import { Object as Object$1, ObjectSet } from "./haneul/rpc/v2/object.mjs";
|
|
6
|
+
import { Display, Object as Object$1, ObjectSet } from "./haneul/rpc/v2/object.mjs";
|
|
7
7
|
import { Argument, Argument_ArgumentKind } from "./haneul/rpc/v2/argument.mjs";
|
|
8
8
|
import { FundsWithdrawal, FundsWithdrawal_Source, Input, Input_InputKind, Input_Mutability } from "./haneul/rpc/v2/input.mjs";
|
|
9
9
|
import { ObjectReference } from "./haneul/rpc/v2/object_reference.mjs";
|
|
@@ -79,6 +79,7 @@ var types_exports = /* @__PURE__ */ __exportAll({
|
|
|
79
79
|
ConsensusDeterminedVersionAssignments: () => ConsensusDeterminedVersionAssignments,
|
|
80
80
|
DatatypeDescriptor: () => DatatypeDescriptor,
|
|
81
81
|
DatatypeDescriptor_DatatypeKind: () => DatatypeDescriptor_DatatypeKind,
|
|
82
|
+
Display: () => Display,
|
|
82
83
|
DynamicField: () => DynamicField,
|
|
83
84
|
DynamicField_DynamicFieldKind: () => DynamicField_DynamicFieldKind,
|
|
84
85
|
EndOfEpochData: () => EndOfEpochData,
|
|
@@ -37,10 +37,10 @@ type NetworkOrTransport = {
|
|
|
37
37
|
transport: JsonRpcTransport;
|
|
38
38
|
url?: never;
|
|
39
39
|
};
|
|
40
|
-
declare const
|
|
40
|
+
declare const HANEUL_CLIENT_BRAND: never;
|
|
41
41
|
declare function isHaneulJsonRpcClient(client: unknown): client is HaneulJsonRpcClient;
|
|
42
42
|
declare class HaneulJsonRpcClient extends BaseClient {
|
|
43
|
-
[
|
|
43
|
+
[HANEUL_CLIENT_BRAND]: boolean;
|
|
44
44
|
core: JSONRpcCoreClient;
|
|
45
45
|
jsonRpc: this;
|
|
46
46
|
protected transport: JsonRpcTransport;
|
|
@@ -337,11 +337,8 @@ declare class HaneulJsonRpcClient extends BaseClient {
|
|
|
337
337
|
pollInterval,
|
|
338
338
|
...input
|
|
339
339
|
}: {
|
|
340
|
-
/** An optional abort signal that can be used to cancel */
|
|
341
|
-
|
|
342
|
-
/** The amount of time to wait for a transaction block. Defaults to one minute. */
|
|
343
|
-
timeout?: number;
|
|
344
|
-
/** The amount of time to wait between checks for the transaction block. Defaults to 2 seconds. */
|
|
340
|
+
/** An optional abort signal that can be used to cancel */signal?: AbortSignal; /** The amount of time to wait for a transaction block. Defaults to one minute. */
|
|
341
|
+
timeout?: number; /** The amount of time to wait between checks for the transaction block. Defaults to 2 seconds. */
|
|
345
342
|
pollInterval?: number;
|
|
346
343
|
} & Parameters<HaneulJsonRpcClient['getTransactionBlock']>[0]): Promise<HaneulTransactionBlockResponse>;
|
|
347
344
|
}
|