florinv1

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 17 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.

Index

Constants

View Source
const (
	Msg_Burn_FullMethodName    = "/florin.v1.Msg/Burn"
	Msg_Mint_FullMethodName    = "/florin.v1.Msg/Mint"
	Msg_Recover_FullMethodName = "/florin.v1.Msg/Recover"
)
View Source
const (
	Query_MintAllowance_FullMethodName = "/florin.v1.Query/MintAllowance"
)

Variables

View Source
var File_florin_v1_query_proto protoreflect.FileDescriptor
View Source
var File_florin_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "florin.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Burn",
			Handler:    _Msg_Burn_Handler,
		},
		{
			MethodName: "Mint",
			Handler:    _Msg_Mint_Handler,
		},
		{
			MethodName: "Recover",
			Handler:    _Msg_Recover_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "florin/v1/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: "florin.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "MintAllowance",
			Handler:    _Query_MintAllowance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "florin/v1/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 MsgBurn

type MsgBurn struct {
	Denom     string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Signer    string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	From      string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	Amount    string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

MsgBurn implements the burn (0x8d1247ba) method.

func (*MsgBurn) Descriptor deprecated

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

Deprecated: Use MsgBurn.ProtoReflect.Descriptor instead.

func (*MsgBurn) GetAmount

func (x *MsgBurn) GetAmount() string

func (*MsgBurn) GetDenom

func (x *MsgBurn) GetDenom() string

func (*MsgBurn) GetFrom

func (x *MsgBurn) GetFrom() string

func (*MsgBurn) GetSignature

func (x *MsgBurn) GetSignature() []byte

func (*MsgBurn) GetSigner

func (x *MsgBurn) GetSigner() 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
}

MsgBurnResponse is the response of the Burn action.

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 MsgClient

type MsgClient interface {
	Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error)
	Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error)
	Recover(ctx context.Context, in *MsgRecover, opts ...grpc.CallOption) (*MsgRecoverResponse, 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.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgMint

type MsgMint struct {
	Denom  string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	To     string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgMint implements the mint (0x40c10f19) method.

func (*MsgMint) Descriptor deprecated

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

Deprecated: Use MsgMint.ProtoReflect.Descriptor instead.

func (*MsgMint) GetAmount

func (x *MsgMint) GetAmount() string

func (*MsgMint) GetDenom

func (x *MsgMint) GetDenom() string

func (*MsgMint) GetSigner

func (x *MsgMint) GetSigner() string

func (*MsgMint) GetTo

func (x *MsgMint) GetTo() 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
}

MsgMintResponse is the response of the Mint action.

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 MsgRecover

type MsgRecover struct {
	Denom     string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Signer    string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	From      string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To        string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

MsgRecover implements the recover (0x6eb4c609) method.

func (*MsgRecover) Descriptor deprecated

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

Deprecated: Use MsgRecover.ProtoReflect.Descriptor instead.

func (*MsgRecover) GetDenom

func (x *MsgRecover) GetDenom() string

func (*MsgRecover) GetFrom

func (x *MsgRecover) GetFrom() string

func (*MsgRecover) GetSignature

func (x *MsgRecover) GetSignature() []byte

func (*MsgRecover) GetSigner

func (x *MsgRecover) GetSigner() string

func (*MsgRecover) GetTo

func (x *MsgRecover) GetTo() string

func (*MsgRecover) ProtoMessage

func (*MsgRecover) ProtoMessage()

func (*MsgRecover) ProtoReflect

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

func (*MsgRecover) Reset

func (x *MsgRecover) Reset()

func (*MsgRecover) String

func (x *MsgRecover) String() string

type MsgRecoverResponse

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

MsgRecoverResponse is the response of the Recover action.

func (*MsgRecoverResponse) Descriptor deprecated

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

Deprecated: Use MsgRecoverResponse.ProtoReflect.Descriptor instead.

func (*MsgRecoverResponse) ProtoMessage

func (*MsgRecoverResponse) ProtoMessage()

func (*MsgRecoverResponse) ProtoReflect

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

func (*MsgRecoverResponse) Reset

func (x *MsgRecoverResponse) Reset()

func (*MsgRecoverResponse) String

func (x *MsgRecoverResponse) String() string

type MsgServer

type MsgServer interface {
	Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error)
	Mint(context.Context, *MsgMint) (*MsgMintResponse, error)
	Recover(context.Context, *MsgRecover) (*MsgRecoverResponse, error)
	// contains filtered or unexported methods
}

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

type QueryClient

type QueryClient interface {
	MintAllowance(ctx context.Context, in *QueryMintAllowance, opts ...grpc.CallOption) (*QueryMintAllowanceResponse, 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.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryMintAllowance

type QueryMintAllowance struct {
	Denom   string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMintAllowance) Descriptor deprecated

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

Deprecated: Use QueryMintAllowance.ProtoReflect.Descriptor instead.

func (*QueryMintAllowance) GetAccount

func (x *QueryMintAllowance) GetAccount() string

func (*QueryMintAllowance) GetDenom

func (x *QueryMintAllowance) GetDenom() string

func (*QueryMintAllowance) ProtoMessage

func (*QueryMintAllowance) ProtoMessage()

func (*QueryMintAllowance) ProtoReflect

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

func (*QueryMintAllowance) Reset

func (x *QueryMintAllowance) Reset()

func (*QueryMintAllowance) String

func (x *QueryMintAllowance) String() string

type QueryMintAllowanceResponse

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

func (*QueryMintAllowanceResponse) Descriptor deprecated

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

Deprecated: Use QueryMintAllowanceResponse.ProtoReflect.Descriptor instead.

func (*QueryMintAllowanceResponse) GetAllowance

func (x *QueryMintAllowanceResponse) GetAllowance() string

func (*QueryMintAllowanceResponse) ProtoMessage

func (*QueryMintAllowanceResponse) ProtoMessage()

func (*QueryMintAllowanceResponse) ProtoReflect

func (*QueryMintAllowanceResponse) Reset

func (x *QueryMintAllowanceResponse) Reset()

func (*QueryMintAllowanceResponse) String

func (x *QueryMintAllowanceResponse) String() string

type QueryServer

type QueryServer interface {
	MintAllowance(context.Context, *QueryMintAllowance) (*QueryMintAllowanceResponse, error)
	// contains filtered or unexported methods
}

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

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) Mint

func (UnimplementedMsgServer) Recover

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) MintAllowance

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