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
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type DenomAuthorityMetadata
- func (*DenomAuthorityMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DenomAuthorityMetadata) GetAdmin() string
- func (*DenomAuthorityMetadata) ProtoMessage()
- func (x *DenomAuthorityMetadata) ProtoReflect() protoreflect.Message
- func (x *DenomAuthorityMetadata) Reset()
- func (x *DenomAuthorityMetadata) String() string
- type GenesisDenom
- func (*GenesisDenom) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisDenom) GetAuthorityMetadata() *DenomAuthorityMetadata
- func (x *GenesisDenom) GetDenom() string
- func (x *GenesisDenom) GetHookContractAddress() string
- func (*GenesisDenom) ProtoMessage()
- func (x *GenesisDenom) ProtoReflect() protoreflect.Message
- func (x *GenesisDenom) Reset()
- func (x *GenesisDenom) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetFactoryDenoms() []*GenesisDenom
- func (x *GenesisState) GetParams() *tokenfactory.Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgBurn
- func (*MsgBurn) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBurn) GetAmount() *v1beta1.Coin
- func (x *MsgBurn) GetBurnFromAddress() string
- func (x *MsgBurn) GetSender() string
- func (*MsgBurn) ProtoMessage()
- func (x *MsgBurn) ProtoReflect() protoreflect.Message
- func (x *MsgBurn) Reset()
- func (x *MsgBurn) String() string
- type MsgBurnResponse
- type MsgChangeAdmin
- func (*MsgChangeAdmin) Descriptor() ([]byte, []int)deprecated
- func (x *MsgChangeAdmin) GetDenom() string
- func (x *MsgChangeAdmin) GetNewAdmin() string
- func (x *MsgChangeAdmin) GetSender() string
- func (*MsgChangeAdmin) ProtoMessage()
- func (x *MsgChangeAdmin) ProtoReflect() protoreflect.Message
- func (x *MsgChangeAdmin) Reset()
- func (x *MsgChangeAdmin) String() string
- type MsgChangeAdminResponse
- type MsgClient
- type MsgCreateDenom
- func (*MsgCreateDenom) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateDenom) GetSender() string
- func (x *MsgCreateDenom) GetSubdenom() string
- func (*MsgCreateDenom) ProtoMessage()
- func (x *MsgCreateDenom) ProtoReflect() protoreflect.Message
- func (x *MsgCreateDenom) Reset()
- func (x *MsgCreateDenom) String() string
- type MsgCreateDenomResponse
- func (*MsgCreateDenomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateDenomResponse) GetNewTokenDenom() string
- func (*MsgCreateDenomResponse) ProtoMessage()
- func (x *MsgCreateDenomResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateDenomResponse) Reset()
- func (x *MsgCreateDenomResponse) String() string
- type MsgForceTransfer
- func (*MsgForceTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *MsgForceTransfer) GetAmount() *v1beta1.Coin
- func (x *MsgForceTransfer) GetSender() string
- func (x *MsgForceTransfer) GetTransferFromAddress() string
- func (x *MsgForceTransfer) GetTransferToAddress() string
- func (*MsgForceTransfer) ProtoMessage()
- func (x *MsgForceTransfer) ProtoReflect() protoreflect.Message
- func (x *MsgForceTransfer) Reset()
- func (x *MsgForceTransfer) String() string
- type MsgForceTransferResponse
- type MsgMint
- func (*MsgMint) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMint) GetAmount() *v1beta1.Coin
- func (x *MsgMint) GetMintToAddress() string
- func (x *MsgMint) GetSender() string
- func (*MsgMint) ProtoMessage()
- func (x *MsgMint) ProtoReflect() protoreflect.Message
- func (x *MsgMint) Reset()
- func (x *MsgMint) String() string
- type MsgMintResponse
- type MsgServer
- type MsgSetBeforeSendHook
- func (*MsgSetBeforeSendHook) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetBeforeSendHook) GetContractAddr() string
- func (x *MsgSetBeforeSendHook) GetDenom() string
- func (x *MsgSetBeforeSendHook) GetSender() string
- func (*MsgSetBeforeSendHook) ProtoMessage()
- func (x *MsgSetBeforeSendHook) ProtoReflect() protoreflect.Message
- func (x *MsgSetBeforeSendHook) Reset()
- func (x *MsgSetBeforeSendHook) String() string
- type MsgSetBeforeSendHookResponse
- func (*MsgSetBeforeSendHookResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgSetBeforeSendHookResponse) ProtoMessage()
- func (x *MsgSetBeforeSendHookResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSetBeforeSendHookResponse) Reset()
- func (x *MsgSetBeforeSendHookResponse) String() string
- type MsgSetDenomMetadata
- func (*MsgSetDenomMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetDenomMetadata) GetMetadata() *v1beta11.Metadata
- func (x *MsgSetDenomMetadata) GetSender() string
- func (*MsgSetDenomMetadata) ProtoMessage()
- func (x *MsgSetDenomMetadata) ProtoReflect() protoreflect.Message
- func (x *MsgSetDenomMetadata) Reset()
- func (x *MsgSetDenomMetadata) String() string
- type MsgSetDenomMetadataResponse
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *tokenfactory.Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetDenomCreationFee() []*v1beta1.Coin
- func (x *Params) GetDenomCreationGasConsume() uint64
- func (x *Params) GetFeeCollectorAddress() string
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryBeforeSendHookAddressRequest
- func (*QueryBeforeSendHookAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBeforeSendHookAddressRequest) GetCreator() string
- func (x *QueryBeforeSendHookAddressRequest) GetSubdenom() string
- func (*QueryBeforeSendHookAddressRequest) ProtoMessage()
- func (x *QueryBeforeSendHookAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBeforeSendHookAddressRequest) Reset()
- func (x *QueryBeforeSendHookAddressRequest) String() string
- type QueryBeforeSendHookAddressResponse
- func (*QueryBeforeSendHookAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBeforeSendHookAddressResponse) GetContractAddr() string
- func (*QueryBeforeSendHookAddressResponse) ProtoMessage()
- func (x *QueryBeforeSendHookAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBeforeSendHookAddressResponse) Reset()
- func (x *QueryBeforeSendHookAddressResponse) String() string
- type QueryClient
- type QueryDenomAuthorityMetadataRequest
- func (*QueryDenomAuthorityMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDenomAuthorityMetadataRequest) GetCreator() string
- func (x *QueryDenomAuthorityMetadataRequest) GetSubdenom() string
- func (*QueryDenomAuthorityMetadataRequest) ProtoMessage()
- func (x *QueryDenomAuthorityMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDenomAuthorityMetadataRequest) Reset()
- func (x *QueryDenomAuthorityMetadataRequest) String() string
- type QueryDenomAuthorityMetadataResponse
- func (*QueryDenomAuthorityMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDenomAuthorityMetadataResponse) GetAuthorityMetadata() *DenomAuthorityMetadata
- func (*QueryDenomAuthorityMetadataResponse) ProtoMessage()
- func (x *QueryDenomAuthorityMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDenomAuthorityMetadataResponse) Reset()
- func (x *QueryDenomAuthorityMetadataResponse) String() string
- type QueryDenomsFromCreatorRequest
- func (*QueryDenomsFromCreatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDenomsFromCreatorRequest) GetCreator() string
- func (*QueryDenomsFromCreatorRequest) ProtoMessage()
- func (x *QueryDenomsFromCreatorRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDenomsFromCreatorRequest) Reset()
- func (x *QueryDenomsFromCreatorRequest) String() string
- type QueryDenomsFromCreatorResponse
- func (*QueryDenomsFromCreatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDenomsFromCreatorResponse) GetDenoms() []string
- func (*QueryDenomsFromCreatorResponse) ProtoMessage()
- func (x *QueryDenomsFromCreatorResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDenomsFromCreatorResponse) Reset()
- func (x *QueryDenomsFromCreatorResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *tokenfactory.Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error)
- func (UnimplementedMsgServer) ChangeAdmin(context.Context, *MsgChangeAdmin) (*MsgChangeAdminResponse, error)
- func (UnimplementedMsgServer) CreateDenom(context.Context, *MsgCreateDenom) (*MsgCreateDenomResponse, error)
- func (UnimplementedMsgServer) ForceTransfer(context.Context, *MsgForceTransfer) (*MsgForceTransferResponse, error)
- func (UnimplementedMsgServer) Mint(context.Context, *MsgMint) (*MsgMintResponse, error)
- func (UnimplementedMsgServer) SetBeforeSendHook(context.Context, *MsgSetBeforeSendHook) (*MsgSetBeforeSendHookResponse, error)
- func (UnimplementedMsgServer) SetDenomMetadata(context.Context, *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) BeforeSendHookAddress(context.Context, *QueryBeforeSendHookAddressRequest) (*QueryBeforeSendHookAddressResponse, error)
- func (UnimplementedQueryServer) DenomAuthorityMetadata(context.Context, *QueryDenomAuthorityMetadataRequest) (*QueryDenomAuthorityMetadataResponse, error)
- func (UnimplementedQueryServer) DenomsFromCreator(context.Context, *QueryDenomsFromCreatorRequest) (*QueryDenomsFromCreatorResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
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" )
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 ¶
var File_osmosis_tokenfactory_v1beta1_genesis_proto protoreflect.FileDescriptor
var File_osmosis_tokenfactory_v1beta1_params_proto protoreflect.FileDescriptor
var File_osmosis_tokenfactory_v1beta1_query_proto protoreflect.FileDescriptor
var File_osmosis_tokenfactory_v1beta1_tx_proto protoreflect.FileDescriptor
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)
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) GetBurnFromAddress ¶
func (*MsgBurn) ProtoMessage ¶
func (*MsgBurn) ProtoMessage()
func (*MsgBurn) ProtoReflect ¶
func (x *MsgBurn) ProtoReflect() protoreflect.Message
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 ¶
type MsgClient interface { CreateDenom(ctx context.Context, in *MsgCreateDenom, opts ...grpc.CallOption) (*MsgCreateDenomResponse, error) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) ChangeAdmin(ctx context.Context, in *MsgChangeAdmin, opts ...grpc.CallOption) (*MsgChangeAdminResponse, error) SetDenomMetadata(ctx context.Context, in *MsgSetDenomMetadata, opts ...grpc.CallOption) (*MsgSetDenomMetadataResponse, error) SetBeforeSendHook(ctx context.Context, in *MsgSetBeforeSendHook, opts ...grpc.CallOption) (*MsgSetBeforeSendHookResponse, error) ForceTransfer(ctx context.Context, in *MsgForceTransfer, opts ...grpc.CallOption) (*MsgForceTransferResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
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) GetMintToAddress ¶
func (*MsgMint) ProtoMessage ¶
func (*MsgMint) ProtoMessage()
func (*MsgMint) ProtoReflect ¶
func (x *MsgMint) ProtoReflect() protoreflect.Message
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 ¶
type MsgServer interface { CreateDenom(context.Context, *MsgCreateDenom) (*MsgCreateDenomResponse, error) Mint(context.Context, *MsgMint) (*MsgMintResponse, error) Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) ChangeAdmin(context.Context, *MsgChangeAdmin) (*MsgChangeAdminResponse, error) SetDenomMetadata(context.Context, *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error) SetBeforeSendHook(context.Context, *MsgSetBeforeSendHook) (*MsgSetBeforeSendHookResponse, error) ForceTransfer(context.Context, *MsgForceTransfer) (*MsgForceTransferResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
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 (x *MsgSetBeforeSendHookResponse) ProtoReflect() protoreflect.Message
func (*MsgSetBeforeSendHookResponse) Reset ¶
func (x *MsgSetBeforeSendHookResponse) Reset()
func (*MsgSetBeforeSendHookResponse) String ¶
func (x *MsgSetBeforeSendHookResponse) String() 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 (x *MsgSetDenomMetadataResponse) ProtoReflect() protoreflect.Message
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) GetDenomCreationFee ¶
func (*Params) GetDenomCreationGasConsume ¶
func (*Params) GetFeeCollectorAddress ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
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 (x *QueryBeforeSendHookAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryBeforeSendHookAddressRequest) Reset ¶
func (x *QueryBeforeSendHookAddressRequest) Reset()
func (*QueryBeforeSendHookAddressRequest) String ¶
func (x *QueryBeforeSendHookAddressRequest) String() 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 (x *QueryBeforeSendHookAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryBeforeSendHookAddressResponse) Reset ¶
func (x *QueryBeforeSendHookAddressResponse) Reset()
func (*QueryBeforeSendHookAddressResponse) String ¶
func (x *QueryBeforeSendHookAddressResponse) String() 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 (x *QueryDenomAuthorityMetadataRequest) GetCreator() string
func (*QueryDenomAuthorityMetadataRequest) GetSubdenom ¶
func (x *QueryDenomAuthorityMetadataRequest) GetSubdenom() string
func (*QueryDenomAuthorityMetadataRequest) ProtoMessage ¶
func (*QueryDenomAuthorityMetadataRequest) ProtoMessage()
func (*QueryDenomAuthorityMetadataRequest) ProtoReflect ¶
func (x *QueryDenomAuthorityMetadataRequest) ProtoReflect() protoreflect.Message
func (*QueryDenomAuthorityMetadataRequest) Reset ¶
func (x *QueryDenomAuthorityMetadataRequest) Reset()
func (*QueryDenomAuthorityMetadataRequest) String ¶
func (x *QueryDenomAuthorityMetadataRequest) String() 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 (x *QueryDenomAuthorityMetadataResponse) GetAuthorityMetadata() *DenomAuthorityMetadata
func (*QueryDenomAuthorityMetadataResponse) ProtoMessage ¶
func (*QueryDenomAuthorityMetadataResponse) ProtoMessage()
func (*QueryDenomAuthorityMetadataResponse) ProtoReflect ¶
func (x *QueryDenomAuthorityMetadataResponse) ProtoReflect() protoreflect.Message
func (*QueryDenomAuthorityMetadataResponse) Reset ¶
func (x *QueryDenomAuthorityMetadataResponse) Reset()
func (*QueryDenomAuthorityMetadataResponse) String ¶
func (x *QueryDenomAuthorityMetadataResponse) String() 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 (x *QueryDenomsFromCreatorRequest) ProtoReflect() protoreflect.Message
func (*QueryDenomsFromCreatorRequest) Reset ¶
func (x *QueryDenomsFromCreatorRequest) Reset()
func (*QueryDenomsFromCreatorRequest) String ¶
func (x *QueryDenomsFromCreatorRequest) String() 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 (x *QueryDenomsFromCreatorResponse) ProtoReflect() protoreflect.Message
func (*QueryDenomsFromCreatorResponse) Reset ¶
func (x *QueryDenomsFromCreatorResponse) Reset()
func (*QueryDenomsFromCreatorResponse) String ¶
func (x *QueryDenomsFromCreatorResponse) String() 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) Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error)
func (UnimplementedMsgServer) ChangeAdmin ¶
func (UnimplementedMsgServer) ChangeAdmin(context.Context, *MsgChangeAdmin) (*MsgChangeAdminResponse, error)
func (UnimplementedMsgServer) CreateDenom ¶
func (UnimplementedMsgServer) CreateDenom(context.Context, *MsgCreateDenom) (*MsgCreateDenomResponse, error)
func (UnimplementedMsgServer) ForceTransfer ¶
func (UnimplementedMsgServer) ForceTransfer(context.Context, *MsgForceTransfer) (*MsgForceTransferResponse, error)
func (UnimplementedMsgServer) Mint ¶
func (UnimplementedMsgServer) Mint(context.Context, *MsgMint) (*MsgMintResponse, error)
func (UnimplementedMsgServer) SetBeforeSendHook ¶
func (UnimplementedMsgServer) SetBeforeSendHook(context.Context, *MsgSetBeforeSendHook) (*MsgSetBeforeSendHookResponse, error)
func (UnimplementedMsgServer) SetDenomMetadata ¶
func (UnimplementedMsgServer) SetDenomMetadata(context.Context, *MsgSetDenomMetadata) (*MsgSetDenomMetadataResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
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) BeforeSendHookAddress ¶
func (UnimplementedQueryServer) BeforeSendHookAddress(context.Context, *QueryBeforeSendHookAddressRequest) (*QueryBeforeSendHookAddressResponse, error)
func (UnimplementedQueryServer) DenomAuthorityMetadata ¶
func (UnimplementedQueryServer) DenomAuthorityMetadata(context.Context, *QueryDenomAuthorityMetadataRequest) (*QueryDenomAuthorityMetadataResponse, error)
func (UnimplementedQueryServer) DenomsFromCreator ¶
func (UnimplementedQueryServer) DenomsFromCreator(context.Context, *QueryDenomsFromCreatorRequest) (*QueryDenomsFromCreatorResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
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.