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.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type AdminAccountAdded
- type AdminAccountRemoved
- func (*AdminAccountRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *AdminAccountRemoved) GetAccount() string
- func (*AdminAccountRemoved) ProtoMessage()
- func (x *AdminAccountRemoved) ProtoReflect() protoreflect.Message
- func (x *AdminAccountRemoved) Reset()
- func (x *AdminAccountRemoved) String() string
- type Ban
- type Decision
- func (*Decision) Descriptor() ([]byte, []int)deprecated
- func (x *Decision) GetAmount() string
- func (x *Decision) GetFrom() string
- func (x *Decision) GetTo() string
- func (x *Decision) GetValid() bool
- func (*Decision) ProtoMessage()
- func (x *Decision) ProtoReflect() protoreflect.Message
- func (x *Decision) Reset()
- func (x *Decision) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetAdmins() []string
- func (x *GenesisState) GetAdversaries() []string
- func (x *GenesisState) GetOwner() string
- func (x *GenesisState) GetPendingOwner() string
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgAcceptOwnership
- func (*MsgAcceptOwnership) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAcceptOwnership) GetSigner() string
- func (*MsgAcceptOwnership) ProtoMessage()
- func (x *MsgAcceptOwnership) ProtoReflect() protoreflect.Message
- func (x *MsgAcceptOwnership) Reset()
- func (x *MsgAcceptOwnership) String() string
- type MsgAcceptOwnershipResponse
- type MsgAddAdminAccount
- func (*MsgAddAdminAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAddAdminAccount) GetAccount() string
- func (x *MsgAddAdminAccount) GetSigner() string
- func (*MsgAddAdminAccount) ProtoMessage()
- func (x *MsgAddAdminAccount) ProtoReflect() protoreflect.Message
- func (x *MsgAddAdminAccount) Reset()
- func (x *MsgAddAdminAccount) String() string
- type MsgAddAdminAccountResponse
- type MsgBan
- type MsgBanResponse
- type MsgClient
- type MsgRemoveAdminAccount
- func (*MsgRemoveAdminAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRemoveAdminAccount) GetAccount() string
- func (x *MsgRemoveAdminAccount) GetSigner() string
- func (*MsgRemoveAdminAccount) ProtoMessage()
- func (x *MsgRemoveAdminAccount) ProtoReflect() protoreflect.Message
- func (x *MsgRemoveAdminAccount) Reset()
- func (x *MsgRemoveAdminAccount) String() string
- type MsgRemoveAdminAccountResponse
- func (*MsgRemoveAdminAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgRemoveAdminAccountResponse) ProtoMessage()
- func (x *MsgRemoveAdminAccountResponse) ProtoReflect() protoreflect.Message
- func (x *MsgRemoveAdminAccountResponse) Reset()
- func (x *MsgRemoveAdminAccountResponse) String() string
- type MsgServer
- type MsgTransferOwnership
- func (*MsgTransferOwnership) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTransferOwnership) GetNewOwner() string
- func (x *MsgTransferOwnership) GetSigner() string
- func (*MsgTransferOwnership) ProtoMessage()
- func (x *MsgTransferOwnership) ProtoReflect() protoreflect.Message
- func (x *MsgTransferOwnership) Reset()
- func (x *MsgTransferOwnership) String() string
- type MsgTransferOwnershipResponse
- func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgTransferOwnershipResponse) ProtoMessage()
- func (x *MsgTransferOwnershipResponse) ProtoReflect() protoreflect.Message
- func (x *MsgTransferOwnershipResponse) Reset()
- func (x *MsgTransferOwnershipResponse) String() string
- type MsgUnban
- type MsgUnbanResponse
- type OwnershipTransferStarted
- func (*OwnershipTransferStarted) Descriptor() ([]byte, []int)deprecated
- func (x *OwnershipTransferStarted) GetNewOwner() string
- func (x *OwnershipTransferStarted) GetPreviousOwner() string
- func (*OwnershipTransferStarted) ProtoMessage()
- func (x *OwnershipTransferStarted) ProtoReflect() protoreflect.Message
- func (x *OwnershipTransferStarted) Reset()
- func (x *OwnershipTransferStarted) String() string
- type OwnershipTransferred
- func (*OwnershipTransferred) Descriptor() ([]byte, []int)deprecated
- func (x *OwnershipTransferred) GetNewOwner() string
- func (x *OwnershipTransferred) GetPreviousOwner() string
- func (*OwnershipTransferred) ProtoMessage()
- func (x *OwnershipTransferred) ProtoReflect() protoreflect.Message
- func (x *OwnershipTransferred) Reset()
- func (x *OwnershipTransferred) String() string
- type QueryAdmins
- type QueryAdminsResponse
- func (*QueryAdminsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAdminsResponse) GetAdmins() []string
- func (*QueryAdminsResponse) ProtoMessage()
- func (x *QueryAdminsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAdminsResponse) Reset()
- func (x *QueryAdminsResponse) String() string
- type QueryAdversaries
- type QueryAdversariesResponse
- func (*QueryAdversariesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAdversariesResponse) GetAdversaries() []string
- func (*QueryAdversariesResponse) ProtoMessage()
- func (x *QueryAdversariesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAdversariesResponse) Reset()
- func (x *QueryAdversariesResponse) String() string
- type QueryClient
- type QueryOwner
- type QueryOwnerResponse
- func (*QueryOwnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOwnerResponse) GetOwner() string
- func (x *QueryOwnerResponse) GetPendingOwner() string
- func (*QueryOwnerResponse) ProtoMessage()
- func (x *QueryOwnerResponse) ProtoReflect() protoreflect.Message
- func (x *QueryOwnerResponse) Reset()
- func (x *QueryOwnerResponse) String() string
- type QueryServer
- type Unban
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) AcceptOwnership(context.Context, *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error)
- func (UnimplementedMsgServer) AddAdminAccount(context.Context, *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error)
- func (UnimplementedMsgServer) Ban(context.Context, *MsgBan) (*MsgBanResponse, error)
- func (UnimplementedMsgServer) RemoveAdminAccount(context.Context, *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error)
- func (UnimplementedMsgServer) TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error)
- func (UnimplementedMsgServer) Unban(context.Context, *MsgUnban) (*MsgUnbanResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Admins(context.Context, *QueryAdmins) (*QueryAdminsResponse, error)
- func (UnimplementedQueryServer) Adversaries(context.Context, *QueryAdversaries) (*QueryAdversariesResponse, error)
- func (UnimplementedQueryServer) Owner(context.Context, *QueryOwner) (*QueryOwnerResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Owner_FullMethodName = "/florin.blacklist.v1.Query/Owner" Query_Admins_FullMethodName = "/florin.blacklist.v1.Query/Admins" Query_Adversaries_FullMethodName = "/florin.blacklist.v1.Query/Adversaries" )
const ( Msg_AcceptOwnership_FullMethodName = "/florin.blacklist.v1.Msg/AcceptOwnership" Msg_AddAdminAccount_FullMethodName = "/florin.blacklist.v1.Msg/AddAdminAccount" Msg_Ban_FullMethodName = "/florin.blacklist.v1.Msg/Ban" Msg_RemoveAdminAccount_FullMethodName = "/florin.blacklist.v1.Msg/RemoveAdminAccount" Msg_TransferOwnership_FullMethodName = "/florin.blacklist.v1.Msg/TransferOwnership" Msg_Unban_FullMethodName = "/florin.blacklist.v1.Msg/Unban" )
Variables ¶
var File_florin_blacklist_v1_events_proto protoreflect.FileDescriptor
var File_florin_blacklist_v1_genesis_proto protoreflect.FileDescriptor
var File_florin_blacklist_v1_query_proto protoreflect.FileDescriptor
var File_florin_blacklist_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "florin.blacklist.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AcceptOwnership", Handler: _Msg_AcceptOwnership_Handler, }, { MethodName: "AddAdminAccount", Handler: _Msg_AddAdminAccount_Handler, }, { MethodName: "Ban", Handler: _Msg_Ban_Handler, }, { MethodName: "RemoveAdminAccount", Handler: _Msg_RemoveAdminAccount_Handler, }, { MethodName: "TransferOwnership", Handler: _Msg_TransferOwnership_Handler, }, { MethodName: "Unban", Handler: _Msg_Unban_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "florin/blacklist/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)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "florin.blacklist.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Owner", Handler: _Query_Owner_Handler, }, { MethodName: "Admins", Handler: _Query_Admins_Handler, }, { MethodName: "Adversaries", Handler: _Query_Adversaries_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "florin/blacklist/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 AdminAccountAdded ¶
type AdminAccountAdded struct { // account is the address that was added. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
Emitted when admin account is added.
func (*AdminAccountAdded) Descriptor
deprecated
func (*AdminAccountAdded) Descriptor() ([]byte, []int)
Deprecated: Use AdminAccountAdded.ProtoReflect.Descriptor instead.
func (*AdminAccountAdded) GetAccount ¶
func (x *AdminAccountAdded) GetAccount() string
func (*AdminAccountAdded) ProtoMessage ¶
func (*AdminAccountAdded) ProtoMessage()
func (*AdminAccountAdded) ProtoReflect ¶
func (x *AdminAccountAdded) ProtoReflect() protoreflect.Message
func (*AdminAccountAdded) Reset ¶
func (x *AdminAccountAdded) Reset()
func (*AdminAccountAdded) String ¶
func (x *AdminAccountAdded) String() string
type AdminAccountRemoved ¶
type AdminAccountRemoved struct { // account is the address that was removed. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
Emitted when admin account is removed.
func (*AdminAccountRemoved) Descriptor
deprecated
func (*AdminAccountRemoved) Descriptor() ([]byte, []int)
Deprecated: Use AdminAccountRemoved.ProtoReflect.Descriptor instead.
func (*AdminAccountRemoved) GetAccount ¶
func (x *AdminAccountRemoved) GetAccount() string
func (*AdminAccountRemoved) ProtoMessage ¶
func (*AdminAccountRemoved) ProtoMessage()
func (*AdminAccountRemoved) ProtoReflect ¶
func (x *AdminAccountRemoved) ProtoReflect() protoreflect.Message
func (*AdminAccountRemoved) Reset ¶
func (x *AdminAccountRemoved) Reset()
func (*AdminAccountRemoved) String ¶
func (x *AdminAccountRemoved) String() string
type Ban ¶
type Ban struct { // adversary is the address that was added. Adversary string `protobuf:"bytes,1,opt,name=adversary,proto3" json:"adversary,omitempty"` // contains filtered or unexported fields }
Emitted when an address is added to the blacklist.
func (*Ban) Descriptor
deprecated
func (*Ban) GetAdversary ¶
func (*Ban) ProtoMessage ¶
func (*Ban) ProtoMessage()
func (*Ban) ProtoReflect ¶
func (x *Ban) ProtoReflect() protoreflect.Message
type Decision ¶
type Decision struct { // from is the sender address. From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // to is the recipient address. To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // amount is the number of tokens. Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // valid is true if transfer approved, false if rejected. Valid bool `protobuf:"varint,4,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
Emitted when a validator makes a decision.
func (*Decision) Descriptor
deprecated
func (*Decision) ProtoMessage ¶
func (*Decision) ProtoMessage()
func (*Decision) ProtoReflect ¶
func (x *Decision) ProtoReflect() protoreflect.Message
type GenesisState ¶
type GenesisState struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` PendingOwner string `protobuf:"bytes,2,opt,name=pending_owner,json=pendingOwner,proto3" json:"pending_owner,omitempty"` Admins []string `protobuf:"bytes,3,rep,name=admins,proto3" json:"admins,omitempty"` Adversaries []string `protobuf:"bytes,4,rep,name=adversaries,proto3" json:"adversaries,omitempty"` // contains filtered or unexported fields }
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetAdmins ¶
func (x *GenesisState) GetAdmins() []string
func (*GenesisState) GetAdversaries ¶
func (x *GenesisState) GetAdversaries() []string
func (*GenesisState) GetOwner ¶
func (x *GenesisState) GetOwner() string
func (*GenesisState) GetPendingOwner ¶
func (x *GenesisState) GetPendingOwner() string
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 MsgAcceptOwnership ¶
type MsgAcceptOwnership struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
MsgAcceptOwnership implements the acceptOwnership (0x79ba5097) method.
func (*MsgAcceptOwnership) Descriptor
deprecated
func (*MsgAcceptOwnership) Descriptor() ([]byte, []int)
Deprecated: Use MsgAcceptOwnership.ProtoReflect.Descriptor instead.
func (*MsgAcceptOwnership) GetSigner ¶
func (x *MsgAcceptOwnership) GetSigner() string
func (*MsgAcceptOwnership) ProtoMessage ¶
func (*MsgAcceptOwnership) ProtoMessage()
func (*MsgAcceptOwnership) ProtoReflect ¶
func (x *MsgAcceptOwnership) ProtoReflect() protoreflect.Message
func (*MsgAcceptOwnership) Reset ¶
func (x *MsgAcceptOwnership) Reset()
func (*MsgAcceptOwnership) String ¶
func (x *MsgAcceptOwnership) String() string
type MsgAcceptOwnershipResponse ¶
type MsgAcceptOwnershipResponse struct {
// contains filtered or unexported fields
}
MsgAcceptOwnershipResponse is the response of the AcceptOwnership action.
func (*MsgAcceptOwnershipResponse) Descriptor
deprecated
func (*MsgAcceptOwnershipResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAcceptOwnershipResponse.ProtoReflect.Descriptor instead.
func (*MsgAcceptOwnershipResponse) ProtoMessage ¶
func (*MsgAcceptOwnershipResponse) ProtoMessage()
func (*MsgAcceptOwnershipResponse) ProtoReflect ¶
func (x *MsgAcceptOwnershipResponse) ProtoReflect() protoreflect.Message
func (*MsgAcceptOwnershipResponse) Reset ¶
func (x *MsgAcceptOwnershipResponse) Reset()
func (*MsgAcceptOwnershipResponse) String ¶
func (x *MsgAcceptOwnershipResponse) String() string
type MsgAddAdminAccount ¶
type MsgAddAdminAccount struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
MsgAddAdminAccount implements the addAdminAccount (0x4fe57e7a) method.
func (*MsgAddAdminAccount) Descriptor
deprecated
func (*MsgAddAdminAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddAdminAccount.ProtoReflect.Descriptor instead.
func (*MsgAddAdminAccount) GetAccount ¶
func (x *MsgAddAdminAccount) GetAccount() string
func (*MsgAddAdminAccount) GetSigner ¶
func (x *MsgAddAdminAccount) GetSigner() string
func (*MsgAddAdminAccount) ProtoMessage ¶
func (*MsgAddAdminAccount) ProtoMessage()
func (*MsgAddAdminAccount) ProtoReflect ¶
func (x *MsgAddAdminAccount) ProtoReflect() protoreflect.Message
func (*MsgAddAdminAccount) Reset ¶
func (x *MsgAddAdminAccount) Reset()
func (*MsgAddAdminAccount) String ¶
func (x *MsgAddAdminAccount) String() string
type MsgAddAdminAccountResponse ¶
type MsgAddAdminAccountResponse struct {
// contains filtered or unexported fields
}
MsgAddAdminAccountResponse is the response of the AddAminAccount action.
func (*MsgAddAdminAccountResponse) Descriptor
deprecated
func (*MsgAddAdminAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAddAdminAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgAddAdminAccountResponse) ProtoMessage ¶
func (*MsgAddAdminAccountResponse) ProtoMessage()
func (*MsgAddAdminAccountResponse) ProtoReflect ¶
func (x *MsgAddAdminAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgAddAdminAccountResponse) Reset ¶
func (x *MsgAddAdminAccountResponse) Reset()
func (*MsgAddAdminAccountResponse) String ¶
func (x *MsgAddAdminAccountResponse) String() string
type MsgBan ¶
type MsgBan struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Adversary string `protobuf:"bytes,2,opt,name=adversary,proto3" json:"adversary,omitempty"` // contains filtered or unexported fields }
MsgBan implements the ban (0x97c3ccd8) method.
func (*MsgBan) Descriptor
deprecated
func (*MsgBan) GetAdversary ¶
func (*MsgBan) ProtoMessage ¶
func (*MsgBan) ProtoMessage()
func (*MsgBan) ProtoReflect ¶
func (x *MsgBan) ProtoReflect() protoreflect.Message
type MsgBanResponse ¶
type MsgBanResponse struct {
// contains filtered or unexported fields
}
MsgBanResponse is the response of the Ban action.
func (*MsgBanResponse) Descriptor
deprecated
func (*MsgBanResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBanResponse.ProtoReflect.Descriptor instead.
func (*MsgBanResponse) ProtoMessage ¶
func (*MsgBanResponse) ProtoMessage()
func (*MsgBanResponse) ProtoReflect ¶
func (x *MsgBanResponse) ProtoReflect() protoreflect.Message
func (*MsgBanResponse) Reset ¶
func (x *MsgBanResponse) Reset()
func (*MsgBanResponse) String ¶
func (x *MsgBanResponse) String() string
type MsgClient ¶
type MsgClient interface { AcceptOwnership(ctx context.Context, in *MsgAcceptOwnership, opts ...grpc.CallOption) (*MsgAcceptOwnershipResponse, error) AddAdminAccount(ctx context.Context, in *MsgAddAdminAccount, opts ...grpc.CallOption) (*MsgAddAdminAccountResponse, error) Ban(ctx context.Context, in *MsgBan, opts ...grpc.CallOption) (*MsgBanResponse, error) RemoveAdminAccount(ctx context.Context, in *MsgRemoveAdminAccount, opts ...grpc.CallOption) (*MsgRemoveAdminAccountResponse, error) TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) Unban(ctx context.Context, in *MsgUnban, opts ...grpc.CallOption) (*MsgUnbanResponse, 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 MsgRemoveAdminAccount ¶
type MsgRemoveAdminAccount struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
MsgRemoveAdminAccount implements the removeAdminAccount (0x67a89a72) method.
func (*MsgRemoveAdminAccount) Descriptor
deprecated
func (*MsgRemoveAdminAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveAdminAccount.ProtoReflect.Descriptor instead.
func (*MsgRemoveAdminAccount) GetAccount ¶
func (x *MsgRemoveAdminAccount) GetAccount() string
func (*MsgRemoveAdminAccount) GetSigner ¶
func (x *MsgRemoveAdminAccount) GetSigner() string
func (*MsgRemoveAdminAccount) ProtoMessage ¶
func (*MsgRemoveAdminAccount) ProtoMessage()
func (*MsgRemoveAdminAccount) ProtoReflect ¶
func (x *MsgRemoveAdminAccount) ProtoReflect() protoreflect.Message
func (*MsgRemoveAdminAccount) Reset ¶
func (x *MsgRemoveAdminAccount) Reset()
func (*MsgRemoveAdminAccount) String ¶
func (x *MsgRemoveAdminAccount) String() string
type MsgRemoveAdminAccountResponse ¶
type MsgRemoveAdminAccountResponse struct {
// contains filtered or unexported fields
}
MsgRemoveAdminAccountResponse is the response of the RemoveAdminAccount action.
func (*MsgRemoveAdminAccountResponse) Descriptor
deprecated
func (*MsgRemoveAdminAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveAdminAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgRemoveAdminAccountResponse) ProtoMessage ¶
func (*MsgRemoveAdminAccountResponse) ProtoMessage()
func (*MsgRemoveAdminAccountResponse) ProtoReflect ¶
func (x *MsgRemoveAdminAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgRemoveAdminAccountResponse) Reset ¶
func (x *MsgRemoveAdminAccountResponse) Reset()
func (*MsgRemoveAdminAccountResponse) String ¶
func (x *MsgRemoveAdminAccountResponse) String() string
type MsgServer ¶
type MsgServer interface { AcceptOwnership(context.Context, *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error) AddAdminAccount(context.Context, *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error) Ban(context.Context, *MsgBan) (*MsgBanResponse, error) RemoveAdminAccount(context.Context, *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error) TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error) Unban(context.Context, *MsgUnban) (*MsgUnbanResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.
type MsgTransferOwnership ¶
type MsgTransferOwnership struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` NewOwner string `protobuf:"bytes,2,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` // contains filtered or unexported fields }
MsgTransferOwnership implements the transferOwnership (0xf2fde38b) method.
func (*MsgTransferOwnership) Descriptor
deprecated
func (*MsgTransferOwnership) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferOwnership.ProtoReflect.Descriptor instead.
func (*MsgTransferOwnership) GetNewOwner ¶
func (x *MsgTransferOwnership) GetNewOwner() string
func (*MsgTransferOwnership) GetSigner ¶
func (x *MsgTransferOwnership) GetSigner() string
func (*MsgTransferOwnership) ProtoMessage ¶
func (*MsgTransferOwnership) ProtoMessage()
func (*MsgTransferOwnership) ProtoReflect ¶
func (x *MsgTransferOwnership) ProtoReflect() protoreflect.Message
func (*MsgTransferOwnership) Reset ¶
func (x *MsgTransferOwnership) Reset()
func (*MsgTransferOwnership) String ¶
func (x *MsgTransferOwnership) String() string
type MsgTransferOwnershipResponse ¶
type MsgTransferOwnershipResponse struct {
// contains filtered or unexported fields
}
MsgTransferOwnershipResponse is the response of the TransferOwnership action.
func (*MsgTransferOwnershipResponse) Descriptor
deprecated
func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferOwnershipResponse.ProtoReflect.Descriptor instead.
func (*MsgTransferOwnershipResponse) ProtoMessage ¶
func (*MsgTransferOwnershipResponse) ProtoMessage()
func (*MsgTransferOwnershipResponse) ProtoReflect ¶
func (x *MsgTransferOwnershipResponse) ProtoReflect() protoreflect.Message
func (*MsgTransferOwnershipResponse) Reset ¶
func (x *MsgTransferOwnershipResponse) Reset()
func (*MsgTransferOwnershipResponse) String ¶
func (x *MsgTransferOwnershipResponse) String() string
type MsgUnban ¶
type MsgUnban struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Friend string `protobuf:"bytes,2,opt,name=friend,proto3" json:"friend,omitempty"` // contains filtered or unexported fields }
MsgUnban implements the unban (0xb9f14557) method.
func (*MsgUnban) Descriptor
deprecated
func (*MsgUnban) ProtoMessage ¶
func (*MsgUnban) ProtoMessage()
func (*MsgUnban) ProtoReflect ¶
func (x *MsgUnban) ProtoReflect() protoreflect.Message
type MsgUnbanResponse ¶
type MsgUnbanResponse struct {
// contains filtered or unexported fields
}
MsgUnbanResponse is the response of the Unban action.
func (*MsgUnbanResponse) Descriptor
deprecated
func (*MsgUnbanResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUnbanResponse.ProtoReflect.Descriptor instead.
func (*MsgUnbanResponse) ProtoMessage ¶
func (*MsgUnbanResponse) ProtoMessage()
func (*MsgUnbanResponse) ProtoReflect ¶
func (x *MsgUnbanResponse) ProtoReflect() protoreflect.Message
func (*MsgUnbanResponse) Reset ¶
func (x *MsgUnbanResponse) Reset()
func (*MsgUnbanResponse) String ¶
func (x *MsgUnbanResponse) String() string
type OwnershipTransferStarted ¶
type OwnershipTransferStarted struct { // previous_owner is the address of the previous owner. PreviousOwner string `protobuf:"bytes,1,opt,name=previous_owner,json=previousOwner,proto3" json:"previous_owner,omitempty"` // new_owner is the address of the new owner. NewOwner string `protobuf:"bytes,2,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` // contains filtered or unexported fields }
Emitted when an ownership transfer is started.
func (*OwnershipTransferStarted) Descriptor
deprecated
func (*OwnershipTransferStarted) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipTransferStarted.ProtoReflect.Descriptor instead.
func (*OwnershipTransferStarted) GetNewOwner ¶
func (x *OwnershipTransferStarted) GetNewOwner() string
func (*OwnershipTransferStarted) GetPreviousOwner ¶
func (x *OwnershipTransferStarted) GetPreviousOwner() string
func (*OwnershipTransferStarted) ProtoMessage ¶
func (*OwnershipTransferStarted) ProtoMessage()
func (*OwnershipTransferStarted) ProtoReflect ¶
func (x *OwnershipTransferStarted) ProtoReflect() protoreflect.Message
func (*OwnershipTransferStarted) Reset ¶
func (x *OwnershipTransferStarted) Reset()
func (*OwnershipTransferStarted) String ¶
func (x *OwnershipTransferStarted) String() string
type OwnershipTransferred ¶
type OwnershipTransferred struct { // previous_owner is the address of the previous owner. PreviousOwner string `protobuf:"bytes,1,opt,name=previous_owner,json=previousOwner,proto3" json:"previous_owner,omitempty"` // new_owner is the address of the new owner. NewOwner string `protobuf:"bytes,2,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` // contains filtered or unexported fields }
Emitted when an ownership transfer is finalized.
func (*OwnershipTransferred) Descriptor
deprecated
func (*OwnershipTransferred) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipTransferred.ProtoReflect.Descriptor instead.
func (*OwnershipTransferred) GetNewOwner ¶
func (x *OwnershipTransferred) GetNewOwner() string
func (*OwnershipTransferred) GetPreviousOwner ¶
func (x *OwnershipTransferred) GetPreviousOwner() string
func (*OwnershipTransferred) ProtoMessage ¶
func (*OwnershipTransferred) ProtoMessage()
func (*OwnershipTransferred) ProtoReflect ¶
func (x *OwnershipTransferred) ProtoReflect() protoreflect.Message
func (*OwnershipTransferred) Reset ¶
func (x *OwnershipTransferred) Reset()
func (*OwnershipTransferred) String ¶
func (x *OwnershipTransferred) String() string
type QueryAdmins ¶
type QueryAdmins struct {
// contains filtered or unexported fields
}
func (*QueryAdmins) Descriptor
deprecated
func (*QueryAdmins) Descriptor() ([]byte, []int)
Deprecated: Use QueryAdmins.ProtoReflect.Descriptor instead.
func (*QueryAdmins) ProtoMessage ¶
func (*QueryAdmins) ProtoMessage()
func (*QueryAdmins) ProtoReflect ¶
func (x *QueryAdmins) ProtoReflect() protoreflect.Message
func (*QueryAdmins) Reset ¶
func (x *QueryAdmins) Reset()
func (*QueryAdmins) String ¶
func (x *QueryAdmins) String() string
type QueryAdminsResponse ¶
type QueryAdminsResponse struct { Admins []string `protobuf:"bytes,1,rep,name=admins,proto3" json:"admins,omitempty"` // contains filtered or unexported fields }
func (*QueryAdminsResponse) Descriptor
deprecated
func (*QueryAdminsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAdminsResponse.ProtoReflect.Descriptor instead.
func (*QueryAdminsResponse) GetAdmins ¶
func (x *QueryAdminsResponse) GetAdmins() []string
func (*QueryAdminsResponse) ProtoMessage ¶
func (*QueryAdminsResponse) ProtoMessage()
func (*QueryAdminsResponse) ProtoReflect ¶
func (x *QueryAdminsResponse) ProtoReflect() protoreflect.Message
func (*QueryAdminsResponse) Reset ¶
func (x *QueryAdminsResponse) Reset()
func (*QueryAdminsResponse) String ¶
func (x *QueryAdminsResponse) String() string
type QueryAdversaries ¶
type QueryAdversaries struct {
// contains filtered or unexported fields
}
func (*QueryAdversaries) Descriptor
deprecated
func (*QueryAdversaries) Descriptor() ([]byte, []int)
Deprecated: Use QueryAdversaries.ProtoReflect.Descriptor instead.
func (*QueryAdversaries) ProtoMessage ¶
func (*QueryAdversaries) ProtoMessage()
func (*QueryAdversaries) ProtoReflect ¶
func (x *QueryAdversaries) ProtoReflect() protoreflect.Message
func (*QueryAdversaries) Reset ¶
func (x *QueryAdversaries) Reset()
func (*QueryAdversaries) String ¶
func (x *QueryAdversaries) String() string
type QueryAdversariesResponse ¶
type QueryAdversariesResponse struct { Adversaries []string `protobuf:"bytes,1,rep,name=adversaries,proto3" json:"adversaries,omitempty"` // contains filtered or unexported fields }
func (*QueryAdversariesResponse) Descriptor
deprecated
func (*QueryAdversariesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAdversariesResponse.ProtoReflect.Descriptor instead.
func (*QueryAdversariesResponse) GetAdversaries ¶
func (x *QueryAdversariesResponse) GetAdversaries() []string
func (*QueryAdversariesResponse) ProtoMessage ¶
func (*QueryAdversariesResponse) ProtoMessage()
func (*QueryAdversariesResponse) ProtoReflect ¶
func (x *QueryAdversariesResponse) ProtoReflect() protoreflect.Message
func (*QueryAdversariesResponse) Reset ¶
func (x *QueryAdversariesResponse) Reset()
func (*QueryAdversariesResponse) String ¶
func (x *QueryAdversariesResponse) String() string
type QueryClient ¶
type QueryClient interface { Owner(ctx context.Context, in *QueryOwner, opts ...grpc.CallOption) (*QueryOwnerResponse, error) Admins(ctx context.Context, in *QueryAdmins, opts ...grpc.CallOption) (*QueryAdminsResponse, error) Adversaries(ctx context.Context, in *QueryAdversaries, opts ...grpc.CallOption) (*QueryAdversariesResponse, 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 QueryOwner ¶
type QueryOwner struct {
// contains filtered or unexported fields
}
func (*QueryOwner) Descriptor
deprecated
func (*QueryOwner) Descriptor() ([]byte, []int)
Deprecated: Use QueryOwner.ProtoReflect.Descriptor instead.
func (*QueryOwner) ProtoMessage ¶
func (*QueryOwner) ProtoMessage()
func (*QueryOwner) ProtoReflect ¶
func (x *QueryOwner) ProtoReflect() protoreflect.Message
func (*QueryOwner) Reset ¶
func (x *QueryOwner) Reset()
func (*QueryOwner) String ¶
func (x *QueryOwner) String() string
type QueryOwnerResponse ¶
type QueryOwnerResponse struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` PendingOwner string `protobuf:"bytes,2,opt,name=pending_owner,json=pendingOwner,proto3" json:"pending_owner,omitempty"` // contains filtered or unexported fields }
func (*QueryOwnerResponse) Descriptor
deprecated
func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryOwnerResponse.ProtoReflect.Descriptor instead.
func (*QueryOwnerResponse) GetOwner ¶
func (x *QueryOwnerResponse) GetOwner() string
func (*QueryOwnerResponse) GetPendingOwner ¶
func (x *QueryOwnerResponse) GetPendingOwner() string
func (*QueryOwnerResponse) ProtoMessage ¶
func (*QueryOwnerResponse) ProtoMessage()
func (*QueryOwnerResponse) ProtoReflect ¶
func (x *QueryOwnerResponse) ProtoReflect() protoreflect.Message
func (*QueryOwnerResponse) Reset ¶
func (x *QueryOwnerResponse) Reset()
func (*QueryOwnerResponse) String ¶
func (x *QueryOwnerResponse) String() string
type QueryServer ¶
type QueryServer interface { Owner(context.Context, *QueryOwner) (*QueryOwnerResponse, error) Admins(context.Context, *QueryAdmins) (*QueryAdminsResponse, error) Adversaries(context.Context, *QueryAdversaries) (*QueryAdversariesResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.
type Unban ¶
type Unban struct { // friend is the address that was removed. Friend string `protobuf:"bytes,1,opt,name=friend,proto3" json:"friend,omitempty"` // contains filtered or unexported fields }
Emitted when an address is removed from the blacklist.
func (*Unban) Descriptor
deprecated
func (*Unban) ProtoMessage ¶
func (*Unban) ProtoMessage()
func (*Unban) ProtoReflect ¶
func (x *Unban) ProtoReflect() protoreflect.Message
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) AcceptOwnership ¶
func (UnimplementedMsgServer) AcceptOwnership(context.Context, *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error)
func (UnimplementedMsgServer) AddAdminAccount ¶
func (UnimplementedMsgServer) AddAdminAccount(context.Context, *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error)
func (UnimplementedMsgServer) Ban ¶
func (UnimplementedMsgServer) Ban(context.Context, *MsgBan) (*MsgBanResponse, error)
func (UnimplementedMsgServer) RemoveAdminAccount ¶
func (UnimplementedMsgServer) RemoveAdminAccount(context.Context, *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error)
func (UnimplementedMsgServer) TransferOwnership ¶
func (UnimplementedMsgServer) TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error)
func (UnimplementedMsgServer) Unban ¶
func (UnimplementedMsgServer) Unban(context.Context, *MsgUnban) (*MsgUnbanResponse, 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) Admins ¶
func (UnimplementedQueryServer) Admins(context.Context, *QueryAdmins) (*QueryAdminsResponse, error)
func (UnimplementedQueryServer) Adversaries ¶
func (UnimplementedQueryServer) Adversaries(context.Context, *QueryAdversaries) (*QueryAdversariesResponse, error)
func (UnimplementedQueryServer) Owner ¶
func (UnimplementedQueryServer) Owner(context.Context, *QueryOwner) (*QueryOwnerResponse, 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.