tokenfactoryv1beta1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Params_FullMethodName                 = "/osmosis.tokenfactory.v1beta1.Query/Params"
	Query_DenomAuthorityMetadata_FullMethodName = "/osmosis.tokenfactory.v1beta1.Query/DenomAuthorityMetadata"
	Query_DenomsFromCreator_FullMethodName      = "/osmosis.tokenfactory.v1beta1.Query/DenomsFromCreator"
	Query_BeforeSendHookAddress_FullMethodName  = "/osmosis.tokenfactory.v1beta1.Query/BeforeSendHookAddress"
)
View Source
const (
	Msg_CreateDenom_FullMethodName       = "/osmosis.tokenfactory.v1beta1.Msg/CreateDenom"
	Msg_Mint_FullMethodName              = "/osmosis.tokenfactory.v1beta1.Msg/Mint"
	Msg_Burn_FullMethodName              = "/osmosis.tokenfactory.v1beta1.Msg/Burn"
	Msg_ChangeAdmin_FullMethodName       = "/osmosis.tokenfactory.v1beta1.Msg/ChangeAdmin"
	Msg_SetDenomMetadata_FullMethodName  = "/osmosis.tokenfactory.v1beta1.Msg/SetDenomMetadata"
	Msg_SetBeforeSendHook_FullMethodName = "/osmosis.tokenfactory.v1beta1.Msg/SetBeforeSendHook"
	Msg_ForceTransfer_FullMethodName     = "/osmosis.tokenfactory.v1beta1.Msg/ForceTransfer"
	Msg_UpdateParams_FullMethodName      = "/osmosis.tokenfactory.v1beta1.Msg/UpdateParams"
)

Variables

View Source
var File_osmosis_tokenfactory_v1beta1_authorityMetadata_proto protoreflect.FileDescriptor
View Source
var File_osmosis_tokenfactory_v1beta1_genesis_proto protoreflect.FileDescriptor
View Source
var File_osmosis_tokenfactory_v1beta1_params_proto protoreflect.FileDescriptor
View Source
var File_osmosis_tokenfactory_v1beta1_query_proto protoreflect.FileDescriptor
View Source
var File_osmosis_tokenfactory_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "osmosis.tokenfactory.v1beta1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDenom",
			Handler:    _Msg_CreateDenom_Handler,
		},
		{
			MethodName: "Mint",
			Handler:    _Msg_Mint_Handler,
		},
		{
			MethodName: "Burn",
			Handler:    _Msg_Burn_Handler,
		},
		{
			MethodName: "ChangeAdmin",
			Handler:    _Msg_ChangeAdmin_Handler,
		},
		{
			MethodName: "SetDenomMetadata",
			Handler:    _Msg_SetDenomMetadata_Handler,
		},
		{
			MethodName: "SetBeforeSendHook",
			Handler:    _Msg_SetBeforeSendHook_Handler,
		},
		{
			MethodName: "ForceTransfer",
			Handler:    _Msg_ForceTransfer_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "osmosis/tokenfactory/v1beta1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "osmosis.tokenfactory.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "DenomAuthorityMetadata",
			Handler:    _Query_DenomAuthorityMetadata_Handler,
		},
		{
			MethodName: "DenomsFromCreator",
			Handler:    _Query_DenomsFromCreator_Handler,
		},
		{
			MethodName: "BeforeSendHookAddress",
			Handler:    _Query_BeforeSendHookAddress_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "osmosis/tokenfactory/v1beta1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type DenomAuthorityMetadata

type DenomAuthorityMetadata struct {

	// Can be empty for no admin, or a valid osmosis address
	Admin string `protobuf:"bytes,1,opt,name=Admin,proto3" json:"Admin,omitempty"`
	// contains filtered or unexported fields
}

DenomAuthorityMetadata specifies metadata for addresses that have specific capabilities over a token factory denom. Right now there is only one Admin permission, but is planned to be extended to the future.

func (*DenomAuthorityMetadata) Descriptor deprecated

func (*DenomAuthorityMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DenomAuthorityMetadata.ProtoReflect.Descriptor instead.

func (*DenomAuthorityMetadata) GetAdmin

func (x *DenomAuthorityMetadata) GetAdmin() string

func (*DenomAuthorityMetadata) ProtoMessage

func (*DenomAuthorityMetadata) ProtoMessage()

func (*DenomAuthorityMetadata) ProtoReflect

func (x *DenomAuthorityMetadata) ProtoReflect() protoreflect.Message

func (*DenomAuthorityMetadata) Reset

func (x *DenomAuthorityMetadata) Reset()

func (*DenomAuthorityMetadata) String

func (x *DenomAuthorityMetadata) String() string

type GenesisDenom

type GenesisDenom struct {
	Denom               string                  `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	AuthorityMetadata   *DenomAuthorityMetadata `protobuf:"bytes,2,opt,name=authority_metadata,json=authorityMetadata,proto3" json:"authority_metadata,omitempty"`
	HookContractAddress string                  `protobuf:"bytes,3,opt,name=hook_contract_address,json=hookContractAddress,proto3" json:"hook_contract_address,omitempty"`
	// contains filtered or unexported fields
}

GenesisDenom defines a tokenfactory denom that is defined within genesis state. The structure contains DenomAuthorityMetadata which defines the denom's admin.

func (*GenesisDenom) Descriptor deprecated

func (*GenesisDenom) Descriptor() ([]byte, []int)

Deprecated: Use GenesisDenom.ProtoReflect.Descriptor instead.

func (*GenesisDenom) GetAuthorityMetadata

func (x *GenesisDenom) GetAuthorityMetadata() *DenomAuthorityMetadata

func (*GenesisDenom) GetDenom

func (x *GenesisDenom) GetDenom() string

func (*GenesisDenom) GetHookContractAddress

func (x *GenesisDenom) GetHookContractAddress() string

func (*GenesisDenom) ProtoMessage

func (*GenesisDenom) ProtoMessage()

func (*GenesisDenom) ProtoReflect

func (x *GenesisDenom) ProtoReflect() protoreflect.Message

func (*GenesisDenom) Reset

func (x *GenesisDenom) Reset()

func (*GenesisDenom) String

func (x *GenesisDenom) String() string

type GenesisState

type GenesisState struct {

	// params defines the parameters of the module.
	Params        *tokenfactory.Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	FactoryDenoms []*GenesisDenom      `protobuf:"bytes,2,rep,name=factory_denoms,json=factoryDenoms,proto3" json:"factory_denoms,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the tokenfactory module's genesis state.

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetFactoryDenoms

func (x *GenesisState) GetFactoryDenoms() []*GenesisDenom

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *tokenfactory.Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgBurn

type MsgBurn struct {
	Sender          string        `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Amount          *v1beta1.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	BurnFromAddress string        `protobuf:"bytes,3,opt,name=burnFromAddress,proto3" json:"burnFromAddress,omitempty"`
	// contains filtered or unexported fields
}

MsgBurn is the sdk.Msg type for allowing an admin account to burn a token. For now, we only support burning from the sender account.

func (*MsgBurn) Descriptor deprecated

func (*MsgBurn) Descriptor() ([]byte, []int)

Deprecated: Use MsgBurn.ProtoReflect.Descriptor instead.

func (*MsgBurn) GetAmount

func (x *MsgBurn) GetAmount() *v1beta1.Coin

func (*MsgBurn) GetBurnFromAddress

func (x *MsgBurn) GetBurnFromAddress() string

func (*MsgBurn) GetSender

func (x *MsgBurn) GetSender() string

func (*MsgBurn) ProtoMessage

func (*MsgBurn) ProtoMessage()

func (*MsgBurn) ProtoReflect

func (x *MsgBurn) ProtoReflect() protoreflect.Message

func (*MsgBurn) Reset

func (x *MsgBurn) Reset()

func (*MsgBurn) String

func (x *MsgBurn) String() string

type MsgBurnResponse

type MsgBurnResponse struct {
	// contains filtered or unexported fields
}

func (*MsgBurnResponse) Descriptor deprecated

func (*MsgBurnResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgBurnResponse.ProtoReflect.Descriptor instead.

func (*MsgBurnResponse) ProtoMessage

func (*MsgBurnResponse) ProtoMessage()

func (*MsgBurnResponse) ProtoReflect

func (x *MsgBurnResponse) ProtoReflect() protoreflect.Message

func (*MsgBurnResponse) Reset

func (x *MsgBurnResponse) Reset()

func (*MsgBurnResponse) String

func (x *MsgBurnResponse) String() string

type MsgChangeAdmin

type MsgChangeAdmin struct {
	Sender   string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Denom    string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"`
	// contains filtered or unexported fields
}

MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign adminship of a denom to a new account

func (*MsgChangeAdmin) Descriptor deprecated

func (*MsgChangeAdmin) Descriptor() ([]byte, []int)

Deprecated: Use MsgChangeAdmin.ProtoReflect.Descriptor instead.

func (*MsgChangeAdmin) GetDenom

func (x *MsgChangeAdmin) GetDenom() string

func (*MsgChangeAdmin) GetNewAdmin

func (x *MsgChangeAdmin) GetNewAdmin() string

func (*MsgChangeAdmin) GetSender

func (x *MsgChangeAdmin) GetSender() string

func (*MsgChangeAdmin) ProtoMessage

func (*MsgChangeAdmin) ProtoMessage()

func (*MsgChangeAdmin) ProtoReflect

func (x *MsgChangeAdmin) ProtoReflect() protoreflect.Message

func (*MsgChangeAdmin) Reset

func (x *MsgChangeAdmin) Reset()

func (*MsgChangeAdmin) String

func (x *MsgChangeAdmin) String() string

type MsgChangeAdminResponse

type MsgChangeAdminResponse struct {
	// contains filtered or unexported fields
}

MsgChangeAdminResponse defines the response structure for an executed MsgChangeAdmin message.

func (*MsgChangeAdminResponse) Descriptor deprecated

func (*MsgChangeAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgChangeAdminResponse.ProtoReflect.Descriptor instead.

func (*MsgChangeAdminResponse) ProtoMessage

func (*MsgChangeAdminResponse) ProtoMessage()

func (*MsgChangeAdminResponse) ProtoReflect

func (x *MsgChangeAdminResponse) ProtoReflect() protoreflect.Message

func (*MsgChangeAdminResponse) Reset

func (x *MsgChangeAdminResponse) Reset()

func (*MsgChangeAdminResponse) String

func (x *MsgChangeAdminResponse) String() string

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Msg defines the tokefactory module's gRPC message service.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreateDenom

type MsgCreateDenom struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// subdenom can be up to 44 "alphanumeric" characters long.
	Subdenom string `protobuf:"bytes,2,opt,name=subdenom,proto3" json:"subdenom,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateDenom defines the message structure for the CreateDenom gRPC service method. It allows an account to create a new denom. It requires a sender address and a sub denomination. The (sender_address, sub_denomination) tuple must be unique and cannot be re-used.

The resulting denom created is defined as <factory/{creatorAddress}/{subdenom}>. The resulting denom's admin is originally set to be the creator, but this can be changed later. The token denom does not indicate the current admin.

func (*MsgCreateDenom) Descriptor deprecated

func (*MsgCreateDenom) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateDenom.ProtoReflect.Descriptor instead.

func (*MsgCreateDenom) GetSender

func (x *MsgCreateDenom) GetSender() string

func (*MsgCreateDenom) GetSubdenom

func (x *MsgCreateDenom) GetSubdenom() string

func (*MsgCreateDenom) ProtoMessage

func (*MsgCreateDenom) ProtoMessage()

func (*MsgCreateDenom) ProtoReflect

func (x *MsgCreateDenom) ProtoReflect() protoreflect.Message

func (*MsgCreateDenom) Reset

func (x *MsgCreateDenom) Reset()

func (*MsgCreateDenom) String

func (x *MsgCreateDenom) String() string

type MsgCreateDenomResponse

type MsgCreateDenomResponse struct {
	NewTokenDenom string `protobuf:"bytes,1,opt,name=new_token_denom,json=newTokenDenom,proto3" json:"new_token_denom,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateDenomResponse is the return value of MsgCreateDenom It returns the full string of the newly created denom

func (*MsgCreateDenomResponse) Descriptor deprecated

func (*MsgCreateDenomResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateDenomResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateDenomResponse) GetNewTokenDenom

func (x *MsgCreateDenomResponse) GetNewTokenDenom() string

func (*MsgCreateDenomResponse) ProtoMessage

func (*MsgCreateDenomResponse) ProtoMessage()

func (*MsgCreateDenomResponse) ProtoReflect

func (x *MsgCreateDenomResponse) ProtoReflect() protoreflect.Message

func (*MsgCreateDenomResponse) Reset

func (x *MsgCreateDenomResponse) Reset()

func (*MsgCreateDenomResponse) String

func (x *MsgCreateDenomResponse) String() string

type MsgForceTransfer

type MsgForceTransfer struct {
	Sender              string        `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Amount              *v1beta1.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	TransferFromAddress string        `protobuf:"bytes,3,opt,name=transferFromAddress,proto3" json:"transferFromAddress,omitempty"`
	TransferToAddress   string        `protobuf:"bytes,4,opt,name=transferToAddress,proto3" json:"transferToAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgForceTransfer) Descriptor deprecated

func (*MsgForceTransfer) Descriptor() ([]byte, []int)

Deprecated: Use MsgForceTransfer.ProtoReflect.Descriptor instead.

func (*MsgForceTransfer) GetAmount

func (x *MsgForceTransfer) GetAmount() *v1beta1.Coin

func (*MsgForceTransfer) GetSender

func (x *MsgForceTransfer) GetSender() string

func (*MsgForceTransfer) GetTransferFromAddress

func (x *MsgForceTransfer) GetTransferFromAddress() string

func (*MsgForceTransfer) GetTransferToAddress

func (x *MsgForceTransfer) GetTransferToAddress() string

func (*MsgForceTransfer) ProtoMessage

func (*MsgForceTransfer) ProtoMessage()

func (*MsgForceTransfer) ProtoReflect

func (x *MsgForceTransfer) ProtoReflect() protoreflect.Message

func (*MsgForceTransfer) Reset

func (x *MsgForceTransfer) Reset()

func (*MsgForceTransfer) String

func (x *MsgForceTransfer) String() string

type MsgForceTransferResponse

type MsgForceTransferResponse struct {
	// contains filtered or unexported fields
}

func (*MsgForceTransferResponse) Descriptor deprecated

func (*MsgForceTransferResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgForceTransferResponse.ProtoReflect.Descriptor instead.

func (*MsgForceTransferResponse) ProtoMessage

func (*MsgForceTransferResponse) ProtoMessage()

func (*MsgForceTransferResponse) ProtoReflect

func (x *MsgForceTransferResponse) ProtoReflect() protoreflect.Message

func (*MsgForceTransferResponse) Reset

func (x *MsgForceTransferResponse) Reset()

func (*MsgForceTransferResponse) String

func (x *MsgForceTransferResponse) String() string

type MsgMint

type MsgMint struct {
	Sender        string        `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Amount        *v1beta1.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	MintToAddress string        `protobuf:"bytes,3,opt,name=mintToAddress,proto3" json:"mintToAddress,omitempty"`
	// contains filtered or unexported fields
}

MsgMint is the sdk.Msg type for allowing an admin account to mint more of a token. For now, we only support minting to the sender account

func (*MsgMint) Descriptor deprecated

func (*MsgMint) Descriptor() ([]byte, []int)

Deprecated: Use MsgMint.ProtoReflect.Descriptor instead.

func (*MsgMint) GetAmount

func (x *MsgMint) GetAmount() *v1beta1.Coin

func (*MsgMint) GetMintToAddress

func (x *MsgMint) GetMintToAddress() string

func (*MsgMint) GetSender

func (x *MsgMint) GetSender() string

func (*MsgMint) ProtoMessage

func (*MsgMint) ProtoMessage()

func (*MsgMint) ProtoReflect

func (x *MsgMint) ProtoReflect() protoreflect.Message

func (*MsgMint) Reset

func (x *MsgMint) Reset()

func (*MsgMint) String

func (x *MsgMint) String() string

type MsgMintResponse

type MsgMintResponse struct {
	// contains filtered or unexported fields
}

func (*MsgMintResponse) Descriptor deprecated

func (*MsgMintResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgMintResponse.ProtoReflect.Descriptor instead.

func (*MsgMintResponse) ProtoMessage

func (*MsgMintResponse) ProtoMessage()

func (*MsgMintResponse) ProtoReflect

func (x *MsgMintResponse) ProtoReflect() protoreflect.Message

func (*MsgMintResponse) Reset

func (x *MsgMintResponse) Reset()

func (*MsgMintResponse) String

func (x *MsgMintResponse) String() string

type MsgServer

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.

Msg defines the tokefactory module's gRPC message service.

type MsgSetBeforeSendHook

type MsgSetBeforeSendHook struct {
	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Denom        string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	ContractAddr string `protobuf:"bytes,3,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"`
	// contains filtered or unexported fields
}

MsgSetBeforeSendHook is the sdk.Msg type for allowing an admin account to assign a CosmWasm contract to call with a BeforeSend hook

func (*MsgSetBeforeSendHook) Descriptor deprecated

func (*MsgSetBeforeSendHook) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetBeforeSendHook.ProtoReflect.Descriptor instead.

func (*MsgSetBeforeSendHook) GetContractAddr

func (x *MsgSetBeforeSendHook) GetContractAddr() string

func (*MsgSetBeforeSendHook) GetDenom

func (x *MsgSetBeforeSendHook) GetDenom() string

func (*MsgSetBeforeSendHook) GetSender

func (x *MsgSetBeforeSendHook) GetSender() string

func (*MsgSetBeforeSendHook) ProtoMessage

func (*MsgSetBeforeSendHook) ProtoMessage()

func (*MsgSetBeforeSendHook) ProtoReflect

func (x *MsgSetBeforeSendHook) ProtoReflect() protoreflect.Message

func (*MsgSetBeforeSendHook) Reset

func (x *MsgSetBeforeSendHook) Reset()

func (*MsgSetBeforeSendHook) String

func (x *MsgSetBeforeSendHook) String() string

type MsgSetBeforeSendHookResponse

type MsgSetBeforeSendHookResponse struct {
	// contains filtered or unexported fields
}

MsgSetBeforeSendHookResponse defines the response structure for an executed MsgSetBeforeSendHook message.

func (*MsgSetBeforeSendHookResponse) Descriptor deprecated

func (*MsgSetBeforeSendHookResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetBeforeSendHookResponse.ProtoReflect.Descriptor instead.

func (*MsgSetBeforeSendHookResponse) ProtoMessage

func (*MsgSetBeforeSendHookResponse) ProtoMessage()

func (*MsgSetBeforeSendHookResponse) ProtoReflect

func (*MsgSetBeforeSendHookResponse) Reset

func (x *MsgSetBeforeSendHookResponse) Reset()

func (*MsgSetBeforeSendHookResponse) String

type MsgSetDenomMetadata

type MsgSetDenomMetadata struct {
	Sender   string             `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Metadata *v1beta11.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set the denom's bank metadata

func (*MsgSetDenomMetadata) Descriptor deprecated

func (*MsgSetDenomMetadata) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetDenomMetadata.ProtoReflect.Descriptor instead.

func (*MsgSetDenomMetadata) GetMetadata

func (x *MsgSetDenomMetadata) GetMetadata() *v1beta11.Metadata

func (*MsgSetDenomMetadata) GetSender

func (x *MsgSetDenomMetadata) GetSender() string

func (*MsgSetDenomMetadata) ProtoMessage

func (*MsgSetDenomMetadata) ProtoMessage()

func (*MsgSetDenomMetadata) ProtoReflect

func (x *MsgSetDenomMetadata) ProtoReflect() protoreflect.Message

func (*MsgSetDenomMetadata) Reset

func (x *MsgSetDenomMetadata) Reset()

func (*MsgSetDenomMetadata) String

func (x *MsgSetDenomMetadata) String() string

type MsgSetDenomMetadataResponse

type MsgSetDenomMetadataResponse struct {
	// contains filtered or unexported fields
}

MsgSetDenomMetadataResponse defines the response structure for an executed MsgSetDenomMetadata message.

func (*MsgSetDenomMetadataResponse) Descriptor deprecated

func (*MsgSetDenomMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetDenomMetadataResponse.ProtoReflect.Descriptor instead.

func (*MsgSetDenomMetadataResponse) ProtoMessage

func (*MsgSetDenomMetadataResponse) ProtoMessage()

func (*MsgSetDenomMetadataResponse) ProtoReflect

func (*MsgSetDenomMetadataResponse) Reset

func (x *MsgSetDenomMetadataResponse) Reset()

func (*MsgSetDenomMetadataResponse) String

func (x *MsgSetDenomMetadataResponse) String() string

type MsgUpdateParams

type MsgUpdateParams struct {

	// Authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/tokenfactory parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params *tokenfactory.Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the MsgUpdateParams request type.

Since: 0.47

func (*MsgUpdateParams) Descriptor deprecated

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *tokenfactory.Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: 0.47

func (*MsgUpdateParamsResponse) Descriptor deprecated

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {

	// DenomCreationFee defines the fee to be charged on the creation of a new
	// denom. The fee is drawn from the MsgCreateDenom's sender account, and
	// transferred to the community pool.
	DenomCreationFee []*v1beta1.Coin `protobuf:"bytes,1,rep,name=denom_creation_fee,json=denomCreationFee,proto3" json:"denom_creation_fee,omitempty"`
	// DenomCreationGasConsume defines the gas cost for creating a new denom.
	// This is intended as a spam deterrence mechanism.
	//
	// See: https://github.com/CosmWasm/token-factory/issues/11
	DenomCreationGasConsume uint64 `` /* 135-byte string literal not displayed */
	// FeeCollectorAddress is the address where fees collected from denom creation
	// are sent to
	FeeCollectorAddress string `protobuf:"bytes,3,opt,name=fee_collector_address,json=feeCollectorAddress,proto3" json:"fee_collector_address,omitempty"`
	// contains filtered or unexported fields
}

Params defines the parameters for the tokenfactory module.

func (*Params) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetDenomCreationFee

func (x *Params) GetDenomCreationFee() []*v1beta1.Coin

func (*Params) GetDenomCreationGasConsume

func (x *Params) GetDenomCreationGasConsume() uint64

func (*Params) GetFeeCollectorAddress

func (x *Params) GetFeeCollectorAddress() string

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryBeforeSendHookAddressRequest

type QueryBeforeSendHookAddressRequest struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Subdenom string `protobuf:"bytes,2,opt,name=subdenom,proto3" json:"subdenom,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBeforeSendHookAddressRequest) Descriptor deprecated

func (*QueryBeforeSendHookAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBeforeSendHookAddressRequest.ProtoReflect.Descriptor instead.

func (*QueryBeforeSendHookAddressRequest) GetCreator

func (x *QueryBeforeSendHookAddressRequest) GetCreator() string

func (*QueryBeforeSendHookAddressRequest) GetSubdenom

func (x *QueryBeforeSendHookAddressRequest) GetSubdenom() string

func (*QueryBeforeSendHookAddressRequest) ProtoMessage

func (*QueryBeforeSendHookAddressRequest) ProtoMessage()

func (*QueryBeforeSendHookAddressRequest) ProtoReflect

func (*QueryBeforeSendHookAddressRequest) Reset

func (*QueryBeforeSendHookAddressRequest) String

type QueryBeforeSendHookAddressResponse

type QueryBeforeSendHookAddressResponse struct {
	ContractAddr string `protobuf:"bytes,1,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"`
	// contains filtered or unexported fields
}

QueryBeforeSendHookAddressResponse defines the response structure for the DenomBeforeSendHook gRPC query.

func (*QueryBeforeSendHookAddressResponse) Descriptor deprecated

func (*QueryBeforeSendHookAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBeforeSendHookAddressResponse.ProtoReflect.Descriptor instead.

func (*QueryBeforeSendHookAddressResponse) GetContractAddr

func (x *QueryBeforeSendHookAddressResponse) GetContractAddr() string

func (*QueryBeforeSendHookAddressResponse) ProtoMessage

func (*QueryBeforeSendHookAddressResponse) ProtoMessage()

func (*QueryBeforeSendHookAddressResponse) ProtoReflect

func (*QueryBeforeSendHookAddressResponse) Reset

func (*QueryBeforeSendHookAddressResponse) String

type QueryClient

type QueryClient interface {
	// Params defines a gRPC query method that returns the tokenfactory module's
	// parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// DenomAuthorityMetadata defines a gRPC query method for fetching
	// DenomAuthorityMetadata for a particular denom.
	DenomAuthorityMetadata(ctx context.Context, in *QueryDenomAuthorityMetadataRequest, opts ...grpc.CallOption) (*QueryDenomAuthorityMetadataResponse, error)
	// DenomsFromCreator defines a gRPC query method for fetching all
	// denominations created by a specific admin/creator.
	DenomsFromCreator(ctx context.Context, in *QueryDenomsFromCreatorRequest, opts ...grpc.CallOption) (*QueryDenomsFromCreatorResponse, error)
	// BeforeSendHookAddress defines a gRPC query method for
	// getting the address registered for the before send hook.
	BeforeSendHookAddress(ctx context.Context, in *QueryBeforeSendHookAddressRequest, opts ...grpc.CallOption) (*QueryBeforeSendHookAddressResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Query defines the gRPC querier service.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryDenomAuthorityMetadataRequest

type QueryDenomAuthorityMetadataRequest struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Subdenom string `protobuf:"bytes,2,opt,name=subdenom,proto3" json:"subdenom,omitempty"`
	// contains filtered or unexported fields
}

QueryDenomAuthorityMetadataRequest defines the request structure for the DenomAuthorityMetadata gRPC query.

func (*QueryDenomAuthorityMetadataRequest) Descriptor deprecated

func (*QueryDenomAuthorityMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryDenomAuthorityMetadataRequest.ProtoReflect.Descriptor instead.

func (*QueryDenomAuthorityMetadataRequest) GetCreator

func (*QueryDenomAuthorityMetadataRequest) GetSubdenom

func (x *QueryDenomAuthorityMetadataRequest) GetSubdenom() string

func (*QueryDenomAuthorityMetadataRequest) ProtoMessage

func (*QueryDenomAuthorityMetadataRequest) ProtoMessage()

func (*QueryDenomAuthorityMetadataRequest) ProtoReflect

func (*QueryDenomAuthorityMetadataRequest) Reset

func (*QueryDenomAuthorityMetadataRequest) String

type QueryDenomAuthorityMetadataResponse

type QueryDenomAuthorityMetadataResponse struct {
	AuthorityMetadata *DenomAuthorityMetadata `protobuf:"bytes,1,opt,name=authority_metadata,json=authorityMetadata,proto3" json:"authority_metadata,omitempty"`
	// contains filtered or unexported fields
}

QueryDenomAuthorityMetadataResponse defines the response structure for the DenomAuthorityMetadata gRPC query.

func (*QueryDenomAuthorityMetadataResponse) Descriptor deprecated

func (*QueryDenomAuthorityMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryDenomAuthorityMetadataResponse.ProtoReflect.Descriptor instead.

func (*QueryDenomAuthorityMetadataResponse) GetAuthorityMetadata

func (*QueryDenomAuthorityMetadataResponse) ProtoMessage

func (*QueryDenomAuthorityMetadataResponse) ProtoMessage()

func (*QueryDenomAuthorityMetadataResponse) ProtoReflect

func (*QueryDenomAuthorityMetadataResponse) Reset

func (*QueryDenomAuthorityMetadataResponse) String

type QueryDenomsFromCreatorRequest

type QueryDenomsFromCreatorRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

QueryDenomsFromCreatorRequest defines the request structure for the DenomsFromCreator gRPC query.

func (*QueryDenomsFromCreatorRequest) Descriptor deprecated

func (*QueryDenomsFromCreatorRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryDenomsFromCreatorRequest.ProtoReflect.Descriptor instead.

func (*QueryDenomsFromCreatorRequest) GetCreator

func (x *QueryDenomsFromCreatorRequest) GetCreator() string

func (*QueryDenomsFromCreatorRequest) ProtoMessage

func (*QueryDenomsFromCreatorRequest) ProtoMessage()

func (*QueryDenomsFromCreatorRequest) ProtoReflect

func (*QueryDenomsFromCreatorRequest) Reset

func (x *QueryDenomsFromCreatorRequest) Reset()

func (*QueryDenomsFromCreatorRequest) String

type QueryDenomsFromCreatorResponse

type QueryDenomsFromCreatorResponse struct {
	Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"`
	// contains filtered or unexported fields
}

QueryDenomsFromCreatorRequest defines the response structure for the DenomsFromCreator gRPC query.

func (*QueryDenomsFromCreatorResponse) Descriptor deprecated

func (*QueryDenomsFromCreatorResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryDenomsFromCreatorResponse.ProtoReflect.Descriptor instead.

func (*QueryDenomsFromCreatorResponse) GetDenoms

func (x *QueryDenomsFromCreatorResponse) GetDenoms() []string

func (*QueryDenomsFromCreatorResponse) ProtoMessage

func (*QueryDenomsFromCreatorResponse) ProtoMessage()

func (*QueryDenomsFromCreatorResponse) ProtoReflect

func (*QueryDenomsFromCreatorResponse) Reset

func (x *QueryDenomsFromCreatorResponse) Reset()

func (*QueryDenomsFromCreatorResponse) String

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params defines the parameters of the module.
	Params *tokenfactory.Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *tokenfactory.Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Params defines a gRPC query method that returns the tokenfactory module's
	// parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// DenomAuthorityMetadata defines a gRPC query method for fetching
	// DenomAuthorityMetadata for a particular denom.
	DenomAuthorityMetadata(context.Context, *QueryDenomAuthorityMetadataRequest) (*QueryDenomAuthorityMetadataResponse, error)
	// DenomsFromCreator defines a gRPC query method for fetching all
	// denominations created by a specific admin/creator.
	DenomsFromCreator(context.Context, *QueryDenomsFromCreatorRequest) (*QueryDenomsFromCreatorResponse, error)
	// BeforeSendHookAddress defines a gRPC query method for
	// getting the address registered for the before send hook.
	BeforeSendHookAddress(context.Context, *QueryBeforeSendHookAddressRequest) (*QueryBeforeSendHookAddressResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.

Query defines the gRPC querier service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMsgServer) Burn

func (UnimplementedMsgServer) ChangeAdmin

func (UnimplementedMsgServer) CreateDenom

func (UnimplementedMsgServer) ForceTransfer

func (UnimplementedMsgServer) Mint

func (UnimplementedMsgServer) SetDenomMetadata

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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