wasmbinding

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomQuerier

func CustomQuerier(zkpKeeper *zkpmodulekeeper.Keeper) func(ctx sdk.Context, caller sdk.AccAddress, request json.RawMessage) ([]byte, error)

func NewQueryHandler added in v1.0.0

func NewQueryHandler(
	old wasmkeeper.WasmVMQueryHandler,
	zkpKeeper *zkpmodulekeeper.Keeper,
	stargate func(ctx sdk.Context, request *wasmvmtypes.StargateQuery) ([]byte, error),
) wasmkeeper.WasmVMQueryHandler

Types

type TransferProofsQuery

type TransferProofsQuery struct {
	EqualityProofData        string `json:"equality_proof_data"`
	RangeProofData           string `json:"range_proof_data"`
	ValidityProofData        string `json:"validity_proof_data"`
	SenderPubkey             string `json:"sender_pubkey"`
	RecipientPubkey          string `json:"recipient_pubkey"`
	CurrentBalanceCommitment string `json:"current_balance_commitment"`
	CurrentBalanceHandle     string `json:"current_balance_handle"`
}

type WithdrawProofsQuery

type WithdrawProofsQuery struct {
	EqualityProofData    string `json:"equality_proof_data"`
	RangeProofData       string `json:"range_proof_data"`
	UserPubkey           string `json:"user_pubkey"`
	CiphertextCommitment string `json:"ciphertext_commitment"`
	CiphertextHandle     string `json:"ciphertext_handle"`
	ExpectedNonce        uint64 `json:"expected_nonce"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL