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"`
}
Click to show internal directories.
Click to hide internal directories.