custom_bindings

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeNftMessage

func EncodeNftMessage() wasmKeeper.CustomEncoder

fromReflectRawMsg decodes msg.Data to an sdk.Msg using proto Any and json encoding. this needs to be registered on the Encoders

func PerformCustomNftQuery

func PerformCustomNftQuery(keeper nftKeeper.Keeper) wasmKeeper.CustomQuerier

Types

type ApproveAllRequest

type ApproveAllRequest struct {
	ApprovedOperator      string `json:"approved_operator"`
	Approved              bool   `json:"approved"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

type ApproveNftRequest

type ApproveNftRequest struct {
	TokenId               string `json:"token_id"`
	DenomId               string `json:"denom_id"`
	ApprovedAddress       string `json:"approved_address"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

type BurnNftRequest

type BurnNftRequest struct {
	DenomId               string `json:"denom_id"`
	TokenId               string `json:"token_id"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

type EditNftRequest

type EditNftRequest struct {
	DenomId               string `json:"denom_id"`
	TokenId               string `json:"token_id"`
	Name                  string `json:"name,omitempty"`
	URI                   string `json:"uri,omitempty"`
	Data                  string `json:"data,omitempty"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

type IssueDenomRequest

type IssueDenomRequest struct {
	Id                    string `json:"id"`
	Name                  string `json:"name"`
	Schema                string `json:"schema,omitempty"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
	Symbol                string `json:"symbol"`
	Traits                string `json:"traits"`
	Minter                string `json:"minter"`
	Description           string `json:"description"`
	Data                  string `json:"data"`
}

type MintNftRequest

type MintNftRequest struct {
	DenomId               string `json:"denom_id"`
	Name                  string `json:"name"`
	URI                   string `json:"uri,omitempty"`
	Data                  string `json:"data,omitempty"`
	Sender                string `json:"sender"`
	Recipient             string `json:"recipient"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

type QueryAllDenoms

type QueryAllDenoms struct {
	Pagination *query.PageRequest `json:"pagination,omitempty"`
}

type QueryApprovals

type QueryApprovals struct {
	DenomId string `json:"denom_id"`
	TokenId string `json:"token_id"`
}

type QueryApprovedForAll

type QueryApprovedForAll struct {
	OwnerAddress    string `json:"owner_address"`
	OperatorAddress string `json:"operator_address"`
}

type QueryCollection

type QueryCollection struct {
	DenomId    string             `json:"denom_id"`
	Pagination *query.PageRequest `json:"pagination,omitempty"`
}

type QueryDenomById

type QueryDenomById struct {
	DenomId string `json:"denom_id"`
}

type QueryDenomByName

type QueryDenomByName struct {
	DenomName string `json:"denom_name"`
}

type QueryDenomBySymbol

type QueryDenomBySymbol struct {
	Symbol string `json:"denom_symbol"`
}

type QueryOwner

type QueryOwner struct {
	Address    string             `json:"address"`
	DenomId    string             `json:"denom_id,omitempty"`
	Pagination *query.PageRequest `json:"pagination,omitempty"`
}

type QuerySupply

type QuerySupply struct {
	DenomId string `json:"denom_id"`
}

type QueryToken

type QueryToken struct {
	DenomId string `json:"denom_id"`
	TokenId string `json:"token_id"`
}

type RevokeApprovalRequest

type RevokeApprovalRequest struct {
	AddressToRevoke       string `json:"address_to_revoke"`
	DenomId               string `json:"denom_id"`
	TokenId               string `json:"token_id"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

type TransferDenomRequest added in v1.1.0

type TransferDenomRequest struct {
	To                    string `json:"to"`
	DenomId               string `json:"denom_id"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

type TransferNftRequest

type TransferNftRequest struct {
	TokenId               string `json:"token_id"`
	DenomId               string `json:"denom_id"`
	From                  string `json:"from"`
	To                    string `json:"to"`
	Sender                string `json:"sender"`
	ContractAddressSigner string `json:"contract_address_signer"`
}

Jump to

Keyboard shortcuts

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