@haneullabs/haneul 2.5.2 → 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 +1 -2
- package/dist/cryptography/publickey.d.mts.map +1 -1
- package/dist/cryptography/publickey.mjs +7 -7
- 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 +0 -1
- 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 +7 -7
- 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 +26 -0
- 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.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/verify.d.mts.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/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 +5 -5
- 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/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/version.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
|
@@ -22,7 +22,7 @@ type ActiveJwk {
|
|
|
22
22
|
"""
|
|
23
23
|
epoch: Epoch
|
|
24
24
|
"""
|
|
25
|
-
The string (
|
|
25
|
+
The string (Ishaneulng Authority) that identifies the OIDC provider.
|
|
26
26
|
"""
|
|
27
27
|
iss: String
|
|
28
28
|
"""
|
|
@@ -72,7 +72,7 @@ type Address implements Node & IAddressable {
|
|
|
72
72
|
"""
|
|
73
73
|
The Address' identifier, a 32-byte number represented as a 64-character hex string, with a lead "0x".
|
|
74
74
|
"""
|
|
75
|
-
address:
|
|
75
|
+
address: HaneulAddress!
|
|
76
76
|
"""
|
|
77
77
|
Fetch the address as it was at a different root version, or checkpoint.
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ type Address implements Node & IAddressable {
|
|
|
84
84
|
"""
|
|
85
85
|
asObject: Object
|
|
86
86
|
"""
|
|
87
|
-
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::
|
|
87
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
88
88
|
|
|
89
89
|
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
90
90
|
If the address does not own any coins of that type, a balance of zero is returned.
|
|
@@ -121,7 +121,7 @@ type Address implements Node & IAddressable {
|
|
|
121
121
|
"""
|
|
122
122
|
id: ID!
|
|
123
123
|
"""
|
|
124
|
-
Fetch the total balances keyed by coin types (e.g. `0x2::
|
|
124
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
125
125
|
|
|
126
126
|
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
127
127
|
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
@@ -172,13 +172,13 @@ input AddressKey {
|
|
|
172
172
|
"""
|
|
173
173
|
The address.
|
|
174
174
|
"""
|
|
175
|
-
address:
|
|
175
|
+
address: HaneulAddress
|
|
176
176
|
"""
|
|
177
177
|
If specified, sets a checkpoint bound for this address.
|
|
178
178
|
"""
|
|
179
179
|
atCheckpoint: UInt53
|
|
180
180
|
"""
|
|
181
|
-
A
|
|
181
|
+
A HaneulNS name to resolve to an address.
|
|
182
182
|
"""
|
|
183
183
|
name: String
|
|
184
184
|
"""
|
|
@@ -281,7 +281,7 @@ type Balance {
|
|
|
281
281
|
"""
|
|
282
282
|
coinBalance: BigInt
|
|
283
283
|
"""
|
|
284
|
-
Coin type for the balance, such as `0x2::
|
|
284
|
+
Coin type for the balance, such as `0x2::haneul::HANEUL`.
|
|
285
285
|
"""
|
|
286
286
|
coinType: MoveType
|
|
287
287
|
"""
|
|
@@ -299,7 +299,7 @@ type BalanceChange {
|
|
|
299
299
|
"""
|
|
300
300
|
amount: BigInt
|
|
301
301
|
"""
|
|
302
|
-
The inner type of the coin whose balance has changed (e.g. `0x2::
|
|
302
|
+
The inner type of the coin whose balance has changed (e.g. `0x2::haneul::HANEUL`).
|
|
303
303
|
"""
|
|
304
304
|
coinType: MoveType
|
|
305
305
|
"""
|
|
@@ -375,7 +375,7 @@ type BalanceWithdraw {
|
|
|
375
375
|
"""
|
|
376
376
|
reservation: WithdrawalReservation
|
|
377
377
|
"""
|
|
378
|
-
The type of the funds accumulator to withdraw from (e.g. `0x2::balance::Balance<0x2::
|
|
378
|
+
The type of the funds accumulator to withdraw from (e.g. `0x2::balance::Balance<0x2::haneul::HANEUL>`).
|
|
379
379
|
"""
|
|
380
380
|
type: MoveType
|
|
381
381
|
"""
|
|
@@ -567,6 +567,27 @@ input CheckpointFilter {
|
|
|
567
567
|
beforeCheckpoint: UInt53
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
+
"""
|
|
571
|
+
A G1 elliptic curve point with 3 base10-encoded Bn254 field elements.
|
|
572
|
+
"""
|
|
573
|
+
type CircomG1 {
|
|
574
|
+
e0: String
|
|
575
|
+
e1: String
|
|
576
|
+
e2: String
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
"""
|
|
580
|
+
A G2 elliptic curve point with 6 base10-encoded Bn254 field elements.
|
|
581
|
+
"""
|
|
582
|
+
type CircomG2 {
|
|
583
|
+
e00: String
|
|
584
|
+
e01: String
|
|
585
|
+
e10: String
|
|
586
|
+
e11: String
|
|
587
|
+
e20: String
|
|
588
|
+
e21: String
|
|
589
|
+
}
|
|
590
|
+
|
|
570
591
|
"""
|
|
571
592
|
System transaction for creating the coin deny list state.
|
|
572
593
|
"""
|
|
@@ -584,7 +605,7 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
|
584
605
|
"""
|
|
585
606
|
The CoinMetadata's ID.
|
|
586
607
|
"""
|
|
587
|
-
address:
|
|
608
|
+
address: HaneulAddress!
|
|
588
609
|
"""
|
|
589
610
|
Fetch the address as it was at a different root version, or checkpoint.
|
|
590
611
|
|
|
@@ -596,7 +617,7 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
|
596
617
|
"""
|
|
597
618
|
allowGlobalPause: Boolean
|
|
598
619
|
"""
|
|
599
|
-
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::
|
|
620
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
600
621
|
|
|
601
622
|
If the address does not own any coins of that type, a balance of zero is returned.
|
|
602
623
|
"""
|
|
@@ -648,7 +669,7 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
|
648
669
|
"""
|
|
649
670
|
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
650
671
|
"""
|
|
651
|
-
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `
|
|
672
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `haneul::transfer::public_transfer`.
|
|
652
673
|
|
|
653
674
|
Both these operations require the object to have both the `key` and `store` abilities.
|
|
654
675
|
"""
|
|
@@ -662,7 +683,7 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
|
662
683
|
"""
|
|
663
684
|
moveObjectBcs: Base64
|
|
664
685
|
"""
|
|
665
|
-
Fetch the total balances keyed by coin types (e.g. `0x2::
|
|
686
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
666
687
|
|
|
667
688
|
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
668
689
|
"""
|
|
@@ -720,7 +741,7 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
|
720
741
|
"""
|
|
721
742
|
regulatedState: RegulatedState
|
|
722
743
|
"""
|
|
723
|
-
The
|
|
744
|
+
The HANEUL returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
724
745
|
"""
|
|
725
746
|
storageRebate: BigInt
|
|
726
747
|
"""
|
|
@@ -902,7 +923,7 @@ type ConsensusObjectCancelled {
|
|
|
902
923
|
"""
|
|
903
924
|
The ID of the consensus-managed object that the transaction intended to access.
|
|
904
925
|
"""
|
|
905
|
-
address:
|
|
926
|
+
address: HaneulAddress
|
|
906
927
|
"""
|
|
907
928
|
Reason why the transaction was cancelled.
|
|
908
929
|
"""
|
|
@@ -957,7 +978,7 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
|
957
978
|
"""
|
|
958
979
|
The DynamicField's ID.
|
|
959
980
|
"""
|
|
960
|
-
address:
|
|
981
|
+
address: HaneulAddress!
|
|
961
982
|
"""
|
|
962
983
|
Fetch the address as it was at a different root version, or checkpoint.
|
|
963
984
|
|
|
@@ -965,7 +986,7 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
|
965
986
|
"""
|
|
966
987
|
addressAt(rootVersion: UInt53, checkpoint: UInt53): Address
|
|
967
988
|
"""
|
|
968
|
-
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::
|
|
989
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
969
990
|
|
|
970
991
|
If the address does not own any coins of that type, a balance of zero is returned.
|
|
971
992
|
"""
|
|
@@ -1005,7 +1026,7 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
|
1005
1026
|
"""
|
|
1006
1027
|
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
1007
1028
|
"""
|
|
1008
|
-
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `
|
|
1029
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `haneul::transfer::public_transfer`.
|
|
1009
1030
|
|
|
1010
1031
|
Both these operations require the object to have both the `key` and `store` abilities.
|
|
1011
1032
|
"""
|
|
@@ -1019,7 +1040,7 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
|
1019
1040
|
"""
|
|
1020
1041
|
moveObjectBcs: Base64
|
|
1021
1042
|
"""
|
|
1022
|
-
Fetch the total balances keyed by coin types (e.g. `0x2::
|
|
1043
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
1023
1044
|
|
|
1024
1045
|
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
1025
1046
|
"""
|
|
@@ -1073,7 +1094,7 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
|
1073
1094
|
"""
|
|
1074
1095
|
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
1075
1096
|
"""
|
|
1076
|
-
The
|
|
1097
|
+
The HANEUL returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
1077
1098
|
"""
|
|
1078
1099
|
storageRebate: BigInt
|
|
1079
1100
|
"""
|
|
@@ -1140,6 +1161,30 @@ The value of a dynamic field (`MoveValue`) or dynamic object field (`MoveObject`
|
|
|
1140
1161
|
"""
|
|
1141
1162
|
union DynamicFieldValue = MoveObject | MoveValue
|
|
1142
1163
|
|
|
1164
|
+
"""
|
|
1165
|
+
An Ed25519 public key.
|
|
1166
|
+
"""
|
|
1167
|
+
type Ed25519PublicKey {
|
|
1168
|
+
"""
|
|
1169
|
+
The raw public key bytes.
|
|
1170
|
+
"""
|
|
1171
|
+
bytes: Base64
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
"""
|
|
1175
|
+
An Ed25519 signature.
|
|
1176
|
+
"""
|
|
1177
|
+
type Ed25519Signature {
|
|
1178
|
+
"""
|
|
1179
|
+
The public key bytes.
|
|
1180
|
+
"""
|
|
1181
|
+
publicKey: Base64
|
|
1182
|
+
"""
|
|
1183
|
+
The raw signature bytes.
|
|
1184
|
+
"""
|
|
1185
|
+
signature: Base64
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1143
1188
|
"""
|
|
1144
1189
|
System transaction that supersedes `ChangeEpochTransaction` as the new way to run transactions at the end of an epoch. Behaves similarly to `ChangeEpochTransaction` but can accommodate other optional transactions to run at the end of the epoch.
|
|
1145
1190
|
"""
|
|
@@ -1182,7 +1227,7 @@ type EndOfEpochTransactionKindEdge {
|
|
|
1182
1227
|
}
|
|
1183
1228
|
|
|
1184
1229
|
"""
|
|
1185
|
-
Activity on
|
|
1230
|
+
Activity on Haneul is partitioned in time, into epochs.
|
|
1186
1231
|
|
|
1187
1232
|
Epoch changes are opportunities for the network to reconfigure itself (perform protocol or system package upgrades, or change the committee) and distribute staking rewards. The network aims to keep epochs roughly the same duration as each other.
|
|
1188
1233
|
|
|
@@ -1265,11 +1310,11 @@ type Epoch implements Node {
|
|
|
1265
1310
|
"""
|
|
1266
1311
|
totalCheckpoints: UInt53
|
|
1267
1312
|
"""
|
|
1268
|
-
The total amount of gas fees (in
|
|
1313
|
+
The total amount of gas fees (in GEUNHWA) that were paid in this epoch (or `null` if the epoch has not finished yet).
|
|
1269
1314
|
"""
|
|
1270
1315
|
totalGasFees: BigInt
|
|
1271
1316
|
"""
|
|
1272
|
-
The total
|
|
1317
|
+
The total GEUNHWA rewarded as stake (or `null` if the epoch has not finished yet).
|
|
1273
1318
|
"""
|
|
1274
1319
|
totalStakeRewards: BigInt
|
|
1275
1320
|
"""
|
|
@@ -1329,7 +1374,7 @@ type Event {
|
|
|
1329
1374
|
"""
|
|
1330
1375
|
contents: MoveValue
|
|
1331
1376
|
"""
|
|
1332
|
-
The Base64 encoded BCS serialized bytes of the entire Event structure from
|
|
1377
|
+
The Base64 encoded BCS serialized bytes of the entire Event structure from haneul-types.
|
|
1333
1378
|
This includes: package_id, transaction_module, sender, type, and contents (which itself contains the BCS-serialized Move struct data).
|
|
1334
1379
|
"""
|
|
1335
1380
|
eventBcs: Base64
|
|
@@ -1409,13 +1454,13 @@ input EventFilter {
|
|
|
1409
1454
|
"""
|
|
1410
1455
|
Filter on events by transaction sender address.
|
|
1411
1456
|
"""
|
|
1412
|
-
sender:
|
|
1457
|
+
sender: HaneulAddress
|
|
1413
1458
|
"""
|
|
1414
1459
|
This field is used to specify the type of event emitted.
|
|
1415
1460
|
|
|
1416
1461
|
Events can be filtered by their type's package, package::module, or their fully qualified type name.
|
|
1417
1462
|
|
|
1418
|
-
Generic types can be queried by either the generic type name, e.g. `0x2::coin::Coin`, or by the full type name, such as `0x2::coin::Coin<0x2::
|
|
1463
|
+
Generic types can be queried by either the generic type name, e.g. `0x2::coin::Coin`, or by the full type name, such as `0x2::coin::Coin<0x2::haneul::HANEUL>`.
|
|
1419
1464
|
"""
|
|
1420
1465
|
type: String
|
|
1421
1466
|
}
|
|
@@ -1465,18 +1510,13 @@ type ExecutionError {
|
|
|
1465
1510
|
}
|
|
1466
1511
|
|
|
1467
1512
|
"""
|
|
1468
|
-
The execution result of a transaction, including the transaction effects
|
|
1513
|
+
The execution result of a transaction, including the transaction effects.
|
|
1469
1514
|
"""
|
|
1470
1515
|
type ExecutionResult {
|
|
1471
1516
|
"""
|
|
1472
|
-
The effects of the transaction execution
|
|
1517
|
+
The effects of the transaction execution.
|
|
1473
1518
|
"""
|
|
1474
1519
|
effects: TransactionEffects
|
|
1475
|
-
"""
|
|
1476
|
-
Errors that occurred during execution (e.g., network errors, validation failures).
|
|
1477
|
-
These are distinct from execution failures within the transaction itself.
|
|
1478
|
-
"""
|
|
1479
|
-
errors: [String!]
|
|
1480
1520
|
}
|
|
1481
1521
|
|
|
1482
1522
|
"""
|
|
@@ -1560,7 +1600,7 @@ type GasEffects {
|
|
|
1560
1600
|
|
|
1561
1601
|
type GasInput {
|
|
1562
1602
|
"""
|
|
1563
|
-
The maximum
|
|
1603
|
+
The maximum HANEUL that can be expended by executing this transaction
|
|
1564
1604
|
"""
|
|
1565
1605
|
gasBudget: BigInt
|
|
1566
1606
|
"""
|
|
@@ -1568,7 +1608,7 @@ type GasInput {
|
|
|
1568
1608
|
"""
|
|
1569
1609
|
gasPayment(first: Int, after: String, last: Int, before: String): ObjectConnection
|
|
1570
1610
|
"""
|
|
1571
|
-
An unsigned integer specifying the number of native tokens per gas unit this transaction will pay (in
|
|
1611
|
+
An unsigned integer specifying the number of native tokens per gas unit this transaction will pay (in GEUNHWA).
|
|
1572
1612
|
"""
|
|
1573
1613
|
gasPrice: BigInt
|
|
1574
1614
|
"""
|
|
@@ -1593,7 +1633,7 @@ Interface implemented by GraphQL types representing entities that are identified
|
|
|
1593
1633
|
An address uniquely represents either the public key of an account, or an object's ID, but never both. It is not possible to determine which type an address represents up-front. If an object is wrapped, its contents will not be accessible via its address, but it will still be possible to access other objects it owns.
|
|
1594
1634
|
"""
|
|
1595
1635
|
interface IAddressable {
|
|
1596
|
-
address:
|
|
1636
|
+
address: HaneulAddress!
|
|
1597
1637
|
"""
|
|
1598
1638
|
Fetch the address as it was at a different root version, or checkpoint.
|
|
1599
1639
|
|
|
@@ -1601,7 +1641,7 @@ interface IAddressable {
|
|
|
1601
1641
|
"""
|
|
1602
1642
|
addressAt(rootVersion: UInt53, checkpoint: UInt53): Address
|
|
1603
1643
|
"""
|
|
1604
|
-
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::
|
|
1644
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
1605
1645
|
|
|
1606
1646
|
If the address does not own any coins of that type, a balance of zero is returned.
|
|
1607
1647
|
"""
|
|
@@ -1615,7 +1655,7 @@ interface IAddressable {
|
|
|
1615
1655
|
"""
|
|
1616
1656
|
defaultNameRecord: NameRecord
|
|
1617
1657
|
"""
|
|
1618
|
-
Fetch the total balances keyed by coin types (e.g. `0x2::
|
|
1658
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
1619
1659
|
|
|
1620
1660
|
Returns `null` when no checkpoint is set in scope (e.g. execution scope). If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
1621
1661
|
"""
|
|
@@ -1684,7 +1724,7 @@ interface IMoveObject {
|
|
|
1684
1724
|
"""
|
|
1685
1725
|
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
1686
1726
|
"""
|
|
1687
|
-
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `
|
|
1727
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `haneul::transfer::public_transfer`.
|
|
1688
1728
|
|
|
1689
1729
|
Both these operations require the object to have both the `key` and `store` abilities.
|
|
1690
1730
|
"""
|
|
@@ -1744,7 +1784,7 @@ interface IObject {
|
|
|
1744
1784
|
"""
|
|
1745
1785
|
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
1746
1786
|
"""
|
|
1747
|
-
The
|
|
1787
|
+
The HANEUL returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
1748
1788
|
"""
|
|
1749
1789
|
storageRebate: BigInt
|
|
1750
1790
|
"""
|
|
@@ -1780,11 +1820,11 @@ type Linkage {
|
|
|
1780
1820
|
"""
|
|
1781
1821
|
The ID on-chain of the first version of the dependency.
|
|
1782
1822
|
"""
|
|
1783
|
-
originalId:
|
|
1823
|
+
originalId: HaneulAddress
|
|
1784
1824
|
"""
|
|
1785
1825
|
The ID on-chain of the version of the dependency that this package depends on.
|
|
1786
1826
|
"""
|
|
1787
|
-
upgradedId:
|
|
1827
|
+
upgradedId: HaneulAddress
|
|
1788
1828
|
"""
|
|
1789
1829
|
The version of the dependency that this package depends on.
|
|
1790
1830
|
"""
|
|
@@ -1820,7 +1860,7 @@ type MergeCoinsCommand {
|
|
|
1820
1860
|
}
|
|
1821
1861
|
|
|
1822
1862
|
"""
|
|
1823
|
-
Abilities are keywords in
|
|
1863
|
+
Abilities are keywords in Haneul Move that define how types behave at the compiler level.
|
|
1824
1864
|
"""
|
|
1825
1865
|
enum MoveAbility {
|
|
1826
1866
|
"""
|
|
@@ -2205,7 +2245,7 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
|
|
|
2205
2245
|
"""
|
|
2206
2246
|
The MoveObject's ID.
|
|
2207
2247
|
"""
|
|
2208
|
-
address:
|
|
2248
|
+
address: HaneulAddress!
|
|
2209
2249
|
"""
|
|
2210
2250
|
Fetch the address as it was at a different root version, or checkpoint.
|
|
2211
2251
|
|
|
@@ -2221,7 +2261,7 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
|
|
|
2221
2261
|
"""
|
|
2222
2262
|
asDynamicField: DynamicField
|
|
2223
2263
|
"""
|
|
2224
|
-
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::
|
|
2264
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
2225
2265
|
|
|
2226
2266
|
If the address does not own any coins of that type, a balance of zero is returned.
|
|
2227
2267
|
"""
|
|
@@ -2261,7 +2301,7 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
|
|
|
2261
2301
|
"""
|
|
2262
2302
|
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
2263
2303
|
"""
|
|
2264
|
-
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `
|
|
2304
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `haneul::transfer::public_transfer`.
|
|
2265
2305
|
|
|
2266
2306
|
Both these operations require the object to have both the `key` and `store` abilities.
|
|
2267
2307
|
"""
|
|
@@ -2275,7 +2315,7 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
|
|
|
2275
2315
|
"""
|
|
2276
2316
|
moveObjectBcs: Base64
|
|
2277
2317
|
"""
|
|
2278
|
-
Fetch the total balances keyed by coin types (e.g. `0x2::
|
|
2318
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
2279
2319
|
|
|
2280
2320
|
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
2281
2321
|
"""
|
|
@@ -2327,7 +2367,7 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
|
|
|
2327
2367
|
"""
|
|
2328
2368
|
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
2329
2369
|
"""
|
|
2330
|
-
The
|
|
2370
|
+
The HANEUL returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
2331
2371
|
"""
|
|
2332
2372
|
storageRebate: BigInt
|
|
2333
2373
|
"""
|
|
@@ -2372,7 +2412,7 @@ type MovePackage implements Node & IAddressable & IObject {
|
|
|
2372
2412
|
"""
|
|
2373
2413
|
The MovePackage's ID.
|
|
2374
2414
|
"""
|
|
2375
|
-
address:
|
|
2415
|
+
address: HaneulAddress!
|
|
2376
2416
|
"""
|
|
2377
2417
|
Fetch the address as it was at a different root version, or checkpoint.
|
|
2378
2418
|
|
|
@@ -2380,7 +2420,7 @@ type MovePackage implements Node & IAddressable & IObject {
|
|
|
2380
2420
|
"""
|
|
2381
2421
|
addressAt(rootVersion: UInt53, checkpoint: UInt53): Address
|
|
2382
2422
|
"""
|
|
2383
|
-
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::
|
|
2423
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
2384
2424
|
|
|
2385
2425
|
If the address does not own any coins of that type, a balance of zero is returned.
|
|
2386
2426
|
"""
|
|
@@ -2418,7 +2458,7 @@ type MovePackage implements Node & IAddressable & IObject {
|
|
|
2418
2458
|
"""
|
|
2419
2459
|
modules(first: Int, after: String, last: Int, before: String): MoveModuleConnection
|
|
2420
2460
|
"""
|
|
2421
|
-
Fetch the total balances keyed by coin types (e.g. `0x2::
|
|
2461
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
2422
2462
|
|
|
2423
2463
|
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
2424
2464
|
"""
|
|
@@ -2476,7 +2516,7 @@ type MovePackage implements Node & IAddressable & IObject {
|
|
|
2476
2516
|
"""
|
|
2477
2517
|
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
2478
2518
|
"""
|
|
2479
|
-
The
|
|
2519
|
+
The HANEUL returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
2480
2520
|
"""
|
|
2481
2521
|
storageRebate: BigInt
|
|
2482
2522
|
"""
|
|
@@ -2660,6 +2700,12 @@ type MoveValue {
|
|
|
2660
2700
|
"""
|
|
2661
2701
|
asAddress: Address
|
|
2662
2702
|
"""
|
|
2703
|
+
Attempts to treat this value as a `vector<T>` and paginate over its elements.
|
|
2704
|
+
|
|
2705
|
+
Values of other types cannot be interpreted as vectors, and `null` is returned.
|
|
2706
|
+
"""
|
|
2707
|
+
asVector(first: Int, after: String, last: Int, before: String): MoveValueConnection
|
|
2708
|
+
"""
|
|
2663
2709
|
The BCS representation of this value, Base64-encoded.
|
|
2664
2710
|
"""
|
|
2665
2711
|
bcs: Base64
|
|
@@ -2701,6 +2747,35 @@ type MoveValue {
|
|
|
2701
2747
|
type: MoveType
|
|
2702
2748
|
}
|
|
2703
2749
|
|
|
2750
|
+
type MoveValueConnection {
|
|
2751
|
+
"""
|
|
2752
|
+
A list of edges.
|
|
2753
|
+
"""
|
|
2754
|
+
edges: [MoveValueEdge!]!
|
|
2755
|
+
"""
|
|
2756
|
+
A list of nodes.
|
|
2757
|
+
"""
|
|
2758
|
+
nodes: [MoveValue!]!
|
|
2759
|
+
"""
|
|
2760
|
+
Information to aid in pagination.
|
|
2761
|
+
"""
|
|
2762
|
+
pageInfo: PageInfo!
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
"""
|
|
2766
|
+
An edge in a connection.
|
|
2767
|
+
"""
|
|
2768
|
+
type MoveValueEdge {
|
|
2769
|
+
"""
|
|
2770
|
+
A cursor for use in pagination
|
|
2771
|
+
"""
|
|
2772
|
+
cursor: String!
|
|
2773
|
+
"""
|
|
2774
|
+
The item at the end of the edge
|
|
2775
|
+
"""
|
|
2776
|
+
node: MoveValue!
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2704
2779
|
"""
|
|
2705
2780
|
The visibility modifier describes which modules can access this module member.
|
|
2706
2781
|
|
|
@@ -2721,6 +2796,59 @@ enum MoveVisibility {
|
|
|
2721
2796
|
FRIEND
|
|
2722
2797
|
}
|
|
2723
2798
|
|
|
2799
|
+
"""
|
|
2800
|
+
The multisig committee definition.
|
|
2801
|
+
"""
|
|
2802
|
+
type MultisigCommittee {
|
|
2803
|
+
"""
|
|
2804
|
+
The committee members (public key + weight).
|
|
2805
|
+
"""
|
|
2806
|
+
members: [MultisigMember!]
|
|
2807
|
+
"""
|
|
2808
|
+
The threshold number of weight needed for a valid multisig.
|
|
2809
|
+
"""
|
|
2810
|
+
threshold: Int
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
"""
|
|
2814
|
+
A single member of a multisig committee.
|
|
2815
|
+
"""
|
|
2816
|
+
type MultisigMember {
|
|
2817
|
+
"""
|
|
2818
|
+
The member's public key.
|
|
2819
|
+
"""
|
|
2820
|
+
publicKey: MultisigMemberPublicKey
|
|
2821
|
+
"""
|
|
2822
|
+
The member's weight in the committee.
|
|
2823
|
+
"""
|
|
2824
|
+
weight: Int
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
"""
|
|
2828
|
+
A multisig member's public key, varying by scheme.
|
|
2829
|
+
"""
|
|
2830
|
+
union MultisigMemberPublicKey = Ed25519PublicKey | Secp256K1PublicKey | Secp256R1PublicKey | PasskeyPublicKey | ZkLoginPublicIdentifier
|
|
2831
|
+
|
|
2832
|
+
"""
|
|
2833
|
+
An aggregated multisig signature.
|
|
2834
|
+
"""
|
|
2835
|
+
type MultisigSignature {
|
|
2836
|
+
"""
|
|
2837
|
+
A bitmap indicating which members of the committee signed.
|
|
2838
|
+
"""
|
|
2839
|
+
bitmap: Int
|
|
2840
|
+
"""
|
|
2841
|
+
The multisig committee (public keys + weights + threshold).
|
|
2842
|
+
"""
|
|
2843
|
+
committee: MultisigCommittee
|
|
2844
|
+
"""
|
|
2845
|
+
The individual member signatures, one per signer who participated.
|
|
2846
|
+
Compressed signatures within a multisig do not include the signer's public key,
|
|
2847
|
+
so `publicKey` will be `null` for simple signature schemes (Ed25519, Secp256k1, Secp256r1).
|
|
2848
|
+
"""
|
|
2849
|
+
signatures: [SignatureScheme!]
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2724
2852
|
"""
|
|
2725
2853
|
A transaction that wanted to mutate a consensus-managed object but couldn't because it became not-consensus-managed before the transaction executed (for example, it was deleted, turned into an owned object, or wrapped).
|
|
2726
2854
|
"""
|
|
@@ -2728,7 +2856,7 @@ type MutateConsensusStreamEnded {
|
|
|
2728
2856
|
"""
|
|
2729
2857
|
The ID of the consensus-managed object.
|
|
2730
2858
|
"""
|
|
2731
|
-
address:
|
|
2859
|
+
address: HaneulAddress
|
|
2732
2860
|
"""
|
|
2733
2861
|
The sequence number associated with the consensus stream ending.
|
|
2734
2862
|
"""
|
|
@@ -2736,7 +2864,7 @@ type MutateConsensusStreamEnded {
|
|
|
2736
2864
|
}
|
|
2737
2865
|
|
|
2738
2866
|
"""
|
|
2739
|
-
Mutations are used to write to the
|
|
2867
|
+
Mutations are used to write to the Haneul network.
|
|
2740
2868
|
"""
|
|
2741
2869
|
type Mutation {
|
|
2742
2870
|
"""
|
|
@@ -2789,15 +2917,15 @@ interface Node {
|
|
|
2789
2917
|
}
|
|
2790
2918
|
|
|
2791
2919
|
"""
|
|
2792
|
-
An Object on
|
|
2920
|
+
An Object on Haneul is either a typed value (a Move Object) or a Package (modules containing functions and types).
|
|
2793
2921
|
|
|
2794
|
-
Every object on
|
|
2922
|
+
Every object on Haneul is identified by a unique address, and has a version number that increases with every modification. Objects also hold metadata detailing their current owner (who can sign for access to the object and whether that access can modify and/or delete the object), and the digest of the last transaction that modified the object.
|
|
2795
2923
|
"""
|
|
2796
2924
|
type Object implements Node & IAddressable & IObject {
|
|
2797
2925
|
"""
|
|
2798
2926
|
The Object's ID.
|
|
2799
2927
|
"""
|
|
2800
|
-
address:
|
|
2928
|
+
address: HaneulAddress!
|
|
2801
2929
|
"""
|
|
2802
2930
|
Fetch the address as it was at a different root version, or checkpoint.
|
|
2803
2931
|
|
|
@@ -2813,7 +2941,7 @@ type Object implements Node & IAddressable & IObject {
|
|
|
2813
2941
|
"""
|
|
2814
2942
|
asMovePackage: MovePackage
|
|
2815
2943
|
"""
|
|
2816
|
-
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::
|
|
2944
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
2817
2945
|
|
|
2818
2946
|
If the address does not own any coins of that type, a balance of zero is returned.
|
|
2819
2947
|
"""
|
|
@@ -2851,7 +2979,7 @@ type Object implements Node & IAddressable & IObject {
|
|
|
2851
2979
|
"""
|
|
2852
2980
|
id: ID!
|
|
2853
2981
|
"""
|
|
2854
|
-
Fetch the total balances keyed by coin types (e.g. `0x2::
|
|
2982
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
2855
2983
|
|
|
2856
2984
|
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
2857
2985
|
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
@@ -2904,7 +3032,7 @@ type Object implements Node & IAddressable & IObject {
|
|
|
2904
3032
|
"""
|
|
2905
3033
|
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
2906
3034
|
"""
|
|
2907
|
-
The
|
|
3035
|
+
The HANEUL returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
2908
3036
|
"""
|
|
2909
3037
|
storageRebate: BigInt
|
|
2910
3038
|
"""
|
|
@@ -2917,7 +3045,7 @@ type ObjectChange {
|
|
|
2917
3045
|
"""
|
|
2918
3046
|
The address of the object that has changed.
|
|
2919
3047
|
"""
|
|
2920
|
-
address:
|
|
3048
|
+
address: HaneulAddress!
|
|
2921
3049
|
"""
|
|
2922
3050
|
Whether the ID was created in this transaction.
|
|
2923
3051
|
"""
|
|
@@ -3007,7 +3135,7 @@ input ObjectFilter {
|
|
|
3007
3135
|
|
|
3008
3136
|
This field is required if `ownerKind` is "ADDRESS" or "OBJECT". If provided without `ownerKind`, `ownerKind` defaults to "ADDRESS".
|
|
3009
3137
|
"""
|
|
3010
|
-
owner:
|
|
3138
|
+
owner: HaneulAddress
|
|
3011
3139
|
"""
|
|
3012
3140
|
Filter on whether the object is address-owned, object-owned, shared, or immutable.
|
|
3013
3141
|
|
|
@@ -3023,7 +3151,7 @@ input ObjectFilter {
|
|
|
3023
3151
|
- A package address: `0x2`,
|
|
3024
3152
|
- A module: `0x2::coin`,
|
|
3025
3153
|
- A fully-qualified name: `0x2::coin::Coin`,
|
|
3026
|
-
- A type instantiation: `0x2::coin::Coin<0x2::
|
|
3154
|
+
- A type instantiation: `0x2::coin::Coin<0x2::haneul::HANEUL>`.
|
|
3027
3155
|
"""
|
|
3028
3156
|
type: String
|
|
3029
3157
|
}
|
|
@@ -3041,7 +3169,7 @@ input ObjectKey {
|
|
|
3041
3169
|
"""
|
|
3042
3170
|
The object's ID.
|
|
3043
3171
|
"""
|
|
3044
|
-
address:
|
|
3172
|
+
address: HaneulAddress!
|
|
3045
3173
|
"""
|
|
3046
3174
|
If specified, tries to fetch the latest version as of this checkpoint. Fails if the checkpoint is later than the RPC's latest checkpoint.
|
|
3047
3175
|
"""
|
|
@@ -3181,7 +3309,7 @@ input PackageKey {
|
|
|
3181
3309
|
"""
|
|
3182
3310
|
The object's ID.
|
|
3183
3311
|
"""
|
|
3184
|
-
address:
|
|
3312
|
+
address: HaneulAddress!
|
|
3185
3313
|
"""
|
|
3186
3314
|
If specified, tries to fetch the latest version as of this checkpoint.
|
|
3187
3315
|
"""
|
|
@@ -3214,6 +3342,31 @@ type PageInfo {
|
|
|
3214
3342
|
startCursor: String
|
|
3215
3343
|
}
|
|
3216
3344
|
|
|
3345
|
+
"""
|
|
3346
|
+
A Passkey public key.
|
|
3347
|
+
"""
|
|
3348
|
+
type PasskeyPublicKey {
|
|
3349
|
+
"""
|
|
3350
|
+
The raw public key bytes.
|
|
3351
|
+
"""
|
|
3352
|
+
bytes: Base64
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
type PasskeySignature {
|
|
3356
|
+
"""
|
|
3357
|
+
The authenticator data returned by the passkey device.
|
|
3358
|
+
"""
|
|
3359
|
+
authenticatorData: Base64
|
|
3360
|
+
"""
|
|
3361
|
+
The client data JSON string passed to the authenticator.
|
|
3362
|
+
"""
|
|
3363
|
+
clientDataJson: String
|
|
3364
|
+
"""
|
|
3365
|
+
The inner user signature (secp256r1).
|
|
3366
|
+
"""
|
|
3367
|
+
signature: SignatureScheme
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3217
3370
|
type PerEpochConfig {
|
|
3218
3371
|
"""
|
|
3219
3372
|
The per-epoch configuration object as of when the transaction was executed.
|
|
@@ -3292,7 +3445,7 @@ type PublishCommand {
|
|
|
3292
3445
|
"""
|
|
3293
3446
|
IDs of the transitive dependencies of the package to be published.
|
|
3294
3447
|
"""
|
|
3295
|
-
dependencies: [
|
|
3448
|
+
dependencies: [HaneulAddress!]
|
|
3296
3449
|
"""
|
|
3297
3450
|
Bytecode for the modules to be published, BCS serialized and Base64 encoded.
|
|
3298
3451
|
"""
|
|
@@ -3311,7 +3464,7 @@ type Pure {
|
|
|
3311
3464
|
|
|
3312
3465
|
type Query {
|
|
3313
3466
|
"""
|
|
3314
|
-
Look-up an account by its
|
|
3467
|
+
Look-up an account by its HaneulAddress.
|
|
3315
3468
|
|
|
3316
3469
|
If `rootVersion` is specified, nested dynamic field accesses will be fetched at or before this version. This can be used to fetch a child or descendant object bounded by its root object's version, when its immediate parent is wrapped, or a value in a dynamic object field. For any wrapped or child (object-owned) object, its root object can be defined recursively as:
|
|
3317
3470
|
|
|
@@ -3327,9 +3480,9 @@ type Query {
|
|
|
3327
3480
|
|
|
3328
3481
|
If the address is fetched by name and the name does not resolve to an address (e.g. the name does not exist or has expired), `null` is returned.
|
|
3329
3482
|
"""
|
|
3330
|
-
address(address:
|
|
3483
|
+
address(address: HaneulAddress, name: String, rootVersion: UInt53, atCheckpoint: UInt53): Address
|
|
3331
3484
|
"""
|
|
3332
|
-
|
|
3485
|
+
The network's genesis checkpoint digest (uniquely identifies the network), Base58-encoded.
|
|
3333
3486
|
"""
|
|
3334
3487
|
chainIdentifier: String!
|
|
3335
3488
|
"""
|
|
@@ -3443,11 +3596,11 @@ type Query {
|
|
|
3443
3596
|
|
|
3444
3597
|
Returns `null` if an object cannot be found that meets this criteria.
|
|
3445
3598
|
"""
|
|
3446
|
-
object(address:
|
|
3599
|
+
object(address: HaneulAddress!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): Object
|
|
3447
3600
|
"""
|
|
3448
3601
|
Paginate all versions of an object at `address`, optionally bounding the versions exclusively from below with `filter.afterVersion` or from above with `filter.beforeVersion`.
|
|
3449
3602
|
"""
|
|
3450
|
-
objectVersions(first: Int, after: String, last: Int, before: String, address:
|
|
3603
|
+
objectVersions(first: Int, after: String, last: Int, before: String, address: HaneulAddress!, filter: VersionFilter): ObjectConnection
|
|
3451
3604
|
"""
|
|
3452
3605
|
Paginate objects in the live object set, optionally filtered by owner and/or type. `filter` can be one of:
|
|
3453
3606
|
|
|
@@ -3469,13 +3622,13 @@ type Query {
|
|
|
3469
3622
|
|
|
3470
3623
|
Note that this interpretation of `version` and "latest" differs from the one used by `Query.object`, because non-system package upgrades generate objects with different IDs. To fetch a package using the versioning semantics of objects, use `Object.asMovePackage` nested under `Query.object`.
|
|
3471
3624
|
"""
|
|
3472
|
-
package(address:
|
|
3625
|
+
package(address: HaneulAddress!, version: UInt53, atCheckpoint: UInt53): MovePackage
|
|
3473
3626
|
"""
|
|
3474
3627
|
Paginate all versions of a package at `address`, optionally bounding the versions exclusively from below with `filter.afterVersion` or from above with `filter.beforeVersion`.
|
|
3475
3628
|
|
|
3476
3629
|
Different versions of a package will have different object IDs, unless they are system packages, but will share the same original ID.
|
|
3477
3630
|
"""
|
|
3478
|
-
packageVersions(first: Int, after: String, last: Int, before: String, address:
|
|
3631
|
+
packageVersions(first: Int, after: String, last: Int, before: String, address: HaneulAddress!, filter: VersionFilter): MovePackageConnection
|
|
3479
3632
|
"""
|
|
3480
3633
|
Paginate all packages published on-chain, optionally bounded to packages published strictly after `filter.afterCheckpoint` and/or strictly before `filter.beforeCheckpoint`.
|
|
3481
3634
|
"""
|
|
@@ -3491,7 +3644,7 @@ type Query {
|
|
|
3491
3644
|
"""
|
|
3492
3645
|
Simulate a transaction to preview its effects without executing it on chain.
|
|
3493
3646
|
|
|
3494
|
-
Accepts a JSON transaction matching the [
|
|
3647
|
+
Accepts a JSON transaction matching the [Haneul gRPC API schema](https://docs.haneul.io/references/fullnode-protocol#haneul-rpc-v2-Transaction).
|
|
3495
3648
|
The JSON format allows for partial transaction specification where certain fields can be automatically resolved by the server.
|
|
3496
3649
|
|
|
3497
3650
|
Alternatively, for already serialized transactions, you can pass BCS-encoded data:
|
|
@@ -3528,16 +3681,16 @@ type Query {
|
|
|
3528
3681
|
"""
|
|
3529
3682
|
type(type: String!): MoveType
|
|
3530
3683
|
"""
|
|
3531
|
-
Verify a zkLogin signature
|
|
3684
|
+
Verify a zkLogin signature is from the given `author`.
|
|
3532
3685
|
|
|
3533
|
-
Returns
|
|
3686
|
+
Returns successfully if the signature is valid. If the signature is invalid, returns an error with the reason for the failure.
|
|
3534
3687
|
|
|
3535
3688
|
- `bytes` are either the bytes of a serialized personal message, or `TransactionData`, Base64-encoded.
|
|
3536
3689
|
- `signature` is a serialized zkLogin signature, also Base64-encoded.
|
|
3537
3690
|
- `intentScope` indicates whether `bytes` are to be parsed as a personal message or `TransactionData`.
|
|
3538
3691
|
- `author` is the signer's address.
|
|
3539
3692
|
"""
|
|
3540
|
-
verifyZkLoginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author:
|
|
3693
|
+
verifyZkLoginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: HaneulAddress!): ZkLoginVerifyResult
|
|
3541
3694
|
}
|
|
3542
3695
|
|
|
3543
3696
|
"""
|
|
@@ -3579,7 +3732,7 @@ type ReadConsensusStreamEnded {
|
|
|
3579
3732
|
"""
|
|
3580
3733
|
The ID of the consensus-managed object.
|
|
3581
3734
|
"""
|
|
3582
|
-
address:
|
|
3735
|
+
address: HaneulAddress
|
|
3583
3736
|
"""
|
|
3584
3737
|
The sequence number associated with the consensus stream ending.
|
|
3585
3738
|
"""
|
|
@@ -3607,6 +3760,54 @@ enum RegulatedState {
|
|
|
3607
3760
|
UNREGULATED
|
|
3608
3761
|
}
|
|
3609
3762
|
|
|
3763
|
+
"""
|
|
3764
|
+
A Secp256k1 public key.
|
|
3765
|
+
"""
|
|
3766
|
+
type Secp256K1PublicKey {
|
|
3767
|
+
"""
|
|
3768
|
+
The raw public key bytes.
|
|
3769
|
+
"""
|
|
3770
|
+
bytes: Base64
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3773
|
+
"""
|
|
3774
|
+
A Secp256k1 signature.
|
|
3775
|
+
"""
|
|
3776
|
+
type Secp256K1Signature {
|
|
3777
|
+
"""
|
|
3778
|
+
The public key bytes.
|
|
3779
|
+
"""
|
|
3780
|
+
publicKey: Base64
|
|
3781
|
+
"""
|
|
3782
|
+
The raw signature bytes.
|
|
3783
|
+
"""
|
|
3784
|
+
signature: Base64
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
"""
|
|
3788
|
+
A Secp256r1 public key.
|
|
3789
|
+
"""
|
|
3790
|
+
type Secp256R1PublicKey {
|
|
3791
|
+
"""
|
|
3792
|
+
The raw public key bytes.
|
|
3793
|
+
"""
|
|
3794
|
+
bytes: Base64
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
"""
|
|
3798
|
+
A Secp256r1 signature.
|
|
3799
|
+
"""
|
|
3800
|
+
type Secp256R1Signature {
|
|
3801
|
+
"""
|
|
3802
|
+
The public key bytes.
|
|
3803
|
+
"""
|
|
3804
|
+
publicKey: Base64
|
|
3805
|
+
"""
|
|
3806
|
+
The raw signature bytes.
|
|
3807
|
+
"""
|
|
3808
|
+
signature: Base64
|
|
3809
|
+
}
|
|
3810
|
+
|
|
3610
3811
|
type ServiceConfig {
|
|
3611
3812
|
"""
|
|
3612
3813
|
Range of checkpoints for which data is available for a query type, field and optional filter. If filter is not provided, the strictest retention range for the query and type is returned.
|
|
@@ -3731,7 +3932,7 @@ type ServiceConfig {
|
|
|
3731
3932
|
"""
|
|
3732
3933
|
maxTypeNodes: Int
|
|
3733
3934
|
"""
|
|
3734
|
-
Maximum time in milliseconds spent waiting for a response from fullnode after
|
|
3935
|
+
Maximum time in milliseconds spent waiting for a response from fullnode after ishaneulng a transaction to execute. Note that the transaction may still succeed even in the case of a timeout. Transactions are idempotent, so a transaction that times out should be re-submitted until the network returns a definite response (success or failure, not timeout).
|
|
3735
3936
|
"""
|
|
3736
3937
|
mutationTimeoutMs: Int
|
|
3737
3938
|
"""
|
|
@@ -3757,7 +3958,7 @@ type SharedInput {
|
|
|
3757
3958
|
"""
|
|
3758
3959
|
The address of the shared object.
|
|
3759
3960
|
"""
|
|
3760
|
-
address:
|
|
3961
|
+
address: HaneulAddress
|
|
3761
3962
|
"""
|
|
3762
3963
|
The version that this object was shared at.
|
|
3763
3964
|
"""
|
|
@@ -3771,22 +3972,19 @@ type SharedInput {
|
|
|
3771
3972
|
}
|
|
3772
3973
|
|
|
3773
3974
|
"""
|
|
3774
|
-
The
|
|
3975
|
+
The structured details of a signature, varying by scheme.
|
|
3976
|
+
"""
|
|
3977
|
+
union SignatureScheme = Ed25519Signature | Secp256K1Signature | Secp256R1Signature | MultisigSignature | ZkLoginSignature | PasskeySignature
|
|
3978
|
+
|
|
3979
|
+
"""
|
|
3980
|
+
The result of simulating a transaction, including the predicted effects.
|
|
3775
3981
|
"""
|
|
3776
3982
|
type SimulationResult {
|
|
3777
3983
|
"""
|
|
3778
3984
|
The predicted effects of the transaction if it were executed.
|
|
3779
|
-
|
|
3780
|
-
`None` if the simulation failed due to an error.
|
|
3781
3985
|
"""
|
|
3782
3986
|
effects: TransactionEffects
|
|
3783
3987
|
"""
|
|
3784
|
-
Error message if the simulation failed.
|
|
3785
|
-
|
|
3786
|
-
`None` if the simulation was successful.
|
|
3787
|
-
"""
|
|
3788
|
-
error: String
|
|
3789
|
-
"""
|
|
3790
3988
|
The intermediate outputs for each command of the transaction simulation, including contents of mutated references and return values.
|
|
3791
3989
|
"""
|
|
3792
3990
|
outputs: [CommandResult!]
|
|
@@ -3818,9 +4016,9 @@ type StoreExecutionTimeObservationsTransaction {
|
|
|
3818
4016
|
|
|
3819
4017
|
|
|
3820
4018
|
"""
|
|
3821
|
-
String containing 32 byte hex-encoded address, with a leading '0x'. Leading zeroes can be omitted on input but will always appear in outputs (
|
|
4019
|
+
String containing 32 byte hex-encoded address, with a leading '0x'. Leading zeroes can be omitted on input but will always appear in outputs (HaneulAddress in output is guaranteed to be 66 characters long).
|
|
3822
4020
|
"""
|
|
3823
|
-
scalar
|
|
4021
|
+
scalar HaneulAddress
|
|
3824
4022
|
|
|
3825
4023
|
"""
|
|
3826
4024
|
Future behavior of a currency's supply.
|
|
@@ -3837,7 +4035,7 @@ enum SupplyState {
|
|
|
3837
4035
|
}
|
|
3838
4036
|
|
|
3839
4037
|
"""
|
|
3840
|
-
Description of a transaction, the unit of activity on
|
|
4038
|
+
Description of a transaction, the unit of activity on Haneul.
|
|
3841
4039
|
"""
|
|
3842
4040
|
type Transaction implements Node {
|
|
3843
4041
|
"""
|
|
@@ -4003,13 +4201,13 @@ input TransactionFilter {
|
|
|
4003
4201
|
Limit to transactions that interacted with the given address.
|
|
4004
4202
|
The address could be a sender, sponsor, or recipient of the transaction.
|
|
4005
4203
|
"""
|
|
4006
|
-
affectedAddress:
|
|
4204
|
+
affectedAddress: HaneulAddress
|
|
4007
4205
|
"""
|
|
4008
4206
|
Limit to transactions that interacted with the given object.
|
|
4009
4207
|
The object could have been created, read, modified, deleted, wrapped, or unwrapped by the transaction.
|
|
4010
4208
|
Objects that were passed as a `Receiving` input are not considered to have been affected by a transaction unless they were actually received.
|
|
4011
4209
|
"""
|
|
4012
|
-
affectedObject:
|
|
4210
|
+
affectedObject: HaneulAddress
|
|
4013
4211
|
"""
|
|
4014
4212
|
Filter to transactions that occurred strictly after the given checkpoint.
|
|
4015
4213
|
"""
|
|
@@ -4033,7 +4231,7 @@ input TransactionFilter {
|
|
|
4033
4231
|
"""
|
|
4034
4232
|
Limit to transactions that were sent by the given address.
|
|
4035
4233
|
"""
|
|
4036
|
-
sentAddress:
|
|
4234
|
+
sentAddress: HaneulAddress
|
|
4037
4235
|
}
|
|
4038
4236
|
|
|
4039
4237
|
"""
|
|
@@ -4071,7 +4269,7 @@ type TransactionInputEdge {
|
|
|
4071
4269
|
}
|
|
4072
4270
|
|
|
4073
4271
|
"""
|
|
4074
|
-
Different types of transactions that can be executed on the
|
|
4272
|
+
Different types of transactions that can be executed on the Haneul network.
|
|
4075
4273
|
"""
|
|
4076
4274
|
union TransactionKind = GenesisTransaction | ConsensusCommitPrologueTransaction | ChangeEpochTransaction | RandomnessStateUpdateTransaction | AuthenticatorStateUpdateTransaction | EndOfEpochTransaction | ProgrammableTransaction | ProgrammableSystemTransaction
|
|
4077
4275
|
|
|
@@ -4125,7 +4323,7 @@ type TypeOrigin {
|
|
|
4125
4323
|
"""
|
|
4126
4324
|
The storage ID of the package that first defined this type.
|
|
4127
4325
|
"""
|
|
4128
|
-
definingId:
|
|
4326
|
+
definingId: HaneulAddress
|
|
4129
4327
|
"""
|
|
4130
4328
|
Module defining the type.
|
|
4131
4329
|
"""
|
|
@@ -4182,11 +4380,11 @@ type UpgradeCommand {
|
|
|
4182
4380
|
"""
|
|
4183
4381
|
ID of the package being upgraded.
|
|
4184
4382
|
"""
|
|
4185
|
-
currentPackage:
|
|
4383
|
+
currentPackage: HaneulAddress
|
|
4186
4384
|
"""
|
|
4187
4385
|
IDs of the transitive dependencies of the package to be published.
|
|
4188
4386
|
"""
|
|
4189
|
-
dependencies: [
|
|
4387
|
+
dependencies: [HaneulAddress!]
|
|
4190
4388
|
"""
|
|
4191
4389
|
Bytecode for the modules to be published, BCS serialized and Base64 encoded.
|
|
4192
4390
|
"""
|
|
@@ -4198,6 +4396,10 @@ type UpgradeCommand {
|
|
|
4198
4396
|
}
|
|
4199
4397
|
|
|
4200
4398
|
type UserSignature {
|
|
4399
|
+
"""
|
|
4400
|
+
The structured signature details, parsed by scheme.
|
|
4401
|
+
"""
|
|
4402
|
+
scheme: SignatureScheme
|
|
4201
4403
|
"""
|
|
4202
4404
|
The signature bytes, Base64-encoded.
|
|
4203
4405
|
For simple signatures: flag || signature || pubkey
|
|
@@ -4326,6 +4528,42 @@ type WriteAccumulatorStorageCostTransaction {
|
|
|
4326
4528
|
_: Boolean
|
|
4327
4529
|
}
|
|
4328
4530
|
|
|
4531
|
+
"""
|
|
4532
|
+
A Base64-encoded claim from the JWT used in zkLogin.
|
|
4533
|
+
"""
|
|
4534
|
+
type ZkLoginClaim {
|
|
4535
|
+
"""
|
|
4536
|
+
The index mod 4 used for Base64 decoding alignment.
|
|
4537
|
+
"""
|
|
4538
|
+
indexMod4: Int
|
|
4539
|
+
"""
|
|
4540
|
+
The Base64url-unpadded encoded claim value.
|
|
4541
|
+
"""
|
|
4542
|
+
value: String
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4545
|
+
"""
|
|
4546
|
+
The zkLogin inputs including proof, claim details, and JWT header.
|
|
4547
|
+
"""
|
|
4548
|
+
type ZkLoginInputs {
|
|
4549
|
+
"""
|
|
4550
|
+
The address seed as a base10-encoded string.
|
|
4551
|
+
"""
|
|
4552
|
+
addressSeed: String
|
|
4553
|
+
"""
|
|
4554
|
+
The Base64-encoded JWT header.
|
|
4555
|
+
"""
|
|
4556
|
+
headerBase64: String
|
|
4557
|
+
"""
|
|
4558
|
+
The Base64-encoded issuer claim details.
|
|
4559
|
+
"""
|
|
4560
|
+
issBase64Details: ZkLoginClaim
|
|
4561
|
+
"""
|
|
4562
|
+
The zero-knowledge proof points.
|
|
4563
|
+
"""
|
|
4564
|
+
proofPoints: ZkLoginProof
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4329
4567
|
"""
|
|
4330
4568
|
An enum that specifies the intent scope to be used to parse the bytes for signature verification.
|
|
4331
4569
|
"""
|
|
@@ -4341,15 +4579,80 @@ enum ZkLoginIntentScope {
|
|
|
4341
4579
|
}
|
|
4342
4580
|
|
|
4343
4581
|
"""
|
|
4344
|
-
|
|
4582
|
+
A JWK (JSON Web Key) identifier.
|
|
4345
4583
|
"""
|
|
4346
|
-
type
|
|
4584
|
+
type ZkLoginJwkId {
|
|
4585
|
+
"""
|
|
4586
|
+
The OIDC provider issuer string.
|
|
4587
|
+
"""
|
|
4588
|
+
iss: String
|
|
4589
|
+
"""
|
|
4590
|
+
The key ID that identifies the JWK.
|
|
4591
|
+
"""
|
|
4592
|
+
kid: String
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
"""
|
|
4596
|
+
The zero-knowledge proof consisting of three elliptic curve points.
|
|
4597
|
+
"""
|
|
4598
|
+
type ZkLoginProof {
|
|
4599
|
+
"""
|
|
4600
|
+
G1 point 'a'.
|
|
4601
|
+
"""
|
|
4602
|
+
a: CircomG1
|
|
4603
|
+
"""
|
|
4604
|
+
G2 point 'b'.
|
|
4605
|
+
"""
|
|
4606
|
+
b: CircomG2
|
|
4607
|
+
"""
|
|
4608
|
+
G1 point 'c'.
|
|
4609
|
+
"""
|
|
4610
|
+
c: CircomG1
|
|
4611
|
+
}
|
|
4612
|
+
|
|
4613
|
+
"""
|
|
4614
|
+
A zkLogin public identifier, containing the OAuth issuer and address seed.
|
|
4615
|
+
"""
|
|
4616
|
+
type ZkLoginPublicIdentifier {
|
|
4617
|
+
"""
|
|
4618
|
+
The address seed as a decimal string.
|
|
4619
|
+
"""
|
|
4620
|
+
addressSeed: String
|
|
4621
|
+
"""
|
|
4622
|
+
The OAuth provider issuer string (e.g. "https://accounts.google.com").
|
|
4623
|
+
"""
|
|
4624
|
+
iss: String
|
|
4625
|
+
}
|
|
4626
|
+
|
|
4627
|
+
type ZkLoginSignature {
|
|
4628
|
+
"""
|
|
4629
|
+
The zkLogin inputs including proof, claim details, and JWT header.
|
|
4630
|
+
"""
|
|
4631
|
+
inputs: ZkLoginInputs
|
|
4347
4632
|
"""
|
|
4348
|
-
The
|
|
4633
|
+
The JWK identifier used to verify the zkLogin proof.
|
|
4349
4634
|
"""
|
|
4350
|
-
|
|
4635
|
+
jwkId: ZkLoginJwkId
|
|
4636
|
+
"""
|
|
4637
|
+
The maximum epoch for which this signature is valid.
|
|
4638
|
+
"""
|
|
4639
|
+
maxEpoch: UInt53
|
|
4640
|
+
"""
|
|
4641
|
+
The public identifier (issuer + address seed) for this zkLogin authenticator.
|
|
4642
|
+
"""
|
|
4643
|
+
publicIdentifier: ZkLoginPublicIdentifier
|
|
4644
|
+
"""
|
|
4645
|
+
The inner user signature (ed25519/secp256k1/secp256r1).
|
|
4646
|
+
"""
|
|
4647
|
+
signature: SignatureScheme
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
"""
|
|
4651
|
+
The result of the zkLogin signature verification.
|
|
4652
|
+
"""
|
|
4653
|
+
type ZkLoginVerifyResult {
|
|
4351
4654
|
"""
|
|
4352
|
-
|
|
4655
|
+
Whether the signature was verified successfully.
|
|
4353
4656
|
"""
|
|
4354
4657
|
success: Boolean
|
|
4355
4658
|
}
|