Documentation ¶
Overview ¶
Package blacklist is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AdminKey(address string) []byte
- func AdversaryKey(address string) []byte
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AdminAccountAdded
- func (*AdminAccountAdded) Descriptor() ([]byte, []int)
- func (m *AdminAccountAdded) GetAccount() string
- func (m *AdminAccountAdded) Marshal() (dAtA []byte, err error)
- func (m *AdminAccountAdded) MarshalTo(dAtA []byte) (int, error)
- func (m *AdminAccountAdded) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AdminAccountAdded) ProtoMessage()
- func (m *AdminAccountAdded) Reset()
- func (m *AdminAccountAdded) Size() (n int)
- func (m *AdminAccountAdded) String() string
- func (m *AdminAccountAdded) Unmarshal(dAtA []byte) error
- func (m *AdminAccountAdded) XXX_DiscardUnknown()
- func (m *AdminAccountAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdminAccountAdded) XXX_Merge(src proto.Message)
- func (m *AdminAccountAdded) XXX_Size() int
- func (m *AdminAccountAdded) XXX_Unmarshal(b []byte) error
- type AdminAccountRemoved
- func (*AdminAccountRemoved) Descriptor() ([]byte, []int)
- func (m *AdminAccountRemoved) GetAccount() string
- func (m *AdminAccountRemoved) Marshal() (dAtA []byte, err error)
- func (m *AdminAccountRemoved) MarshalTo(dAtA []byte) (int, error)
- func (m *AdminAccountRemoved) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AdminAccountRemoved) ProtoMessage()
- func (m *AdminAccountRemoved) Reset()
- func (m *AdminAccountRemoved) Size() (n int)
- func (m *AdminAccountRemoved) String() string
- func (m *AdminAccountRemoved) Unmarshal(dAtA []byte) error
- func (m *AdminAccountRemoved) XXX_DiscardUnknown()
- func (m *AdminAccountRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdminAccountRemoved) XXX_Merge(src proto.Message)
- func (m *AdminAccountRemoved) XXX_Size() int
- func (m *AdminAccountRemoved) XXX_Unmarshal(b []byte) error
- type Ban
- func (*Ban) Descriptor() ([]byte, []int)
- func (m *Ban) GetAdversary() string
- func (m *Ban) Marshal() (dAtA []byte, err error)
- func (m *Ban) MarshalTo(dAtA []byte) (int, error)
- func (m *Ban) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ban) ProtoMessage()
- func (m *Ban) Reset()
- func (m *Ban) Size() (n int)
- func (m *Ban) String() string
- func (m *Ban) Unmarshal(dAtA []byte) error
- func (m *Ban) XXX_DiscardUnknown()
- func (m *Ban) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ban) XXX_Merge(src proto.Message)
- func (m *Ban) XXX_Size() int
- func (m *Ban) XXX_Unmarshal(b []byte) error
- type Decision
- func (*Decision) Descriptor() ([]byte, []int)
- func (m *Decision) GetFrom() string
- func (m *Decision) GetTo() string
- func (m *Decision) GetValid() bool
- func (m *Decision) Marshal() (dAtA []byte, err error)
- func (m *Decision) MarshalTo(dAtA []byte) (int, error)
- func (m *Decision) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Decision) ProtoMessage()
- func (m *Decision) Reset()
- func (m *Decision) Size() (n int)
- func (m *Decision) String() string
- func (m *Decision) Unmarshal(dAtA []byte) error
- func (m *Decision) XXX_DiscardUnknown()
- func (m *Decision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Decision) XXX_Merge(src proto.Message)
- func (m *Decision) XXX_Size() int
- func (m *Decision) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAdmins() []string
- func (m *GenesisState) GetAdversaries() []string
- func (m *GenesisState) GetOwner() string
- func (m *GenesisState) GetPendingOwner() string
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs *GenesisState) Validate(cdc address.Codec) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgAcceptOwnership
- func (*MsgAcceptOwnership) Descriptor() ([]byte, []int)
- func (m *MsgAcceptOwnership) Marshal() (dAtA []byte, err error)
- func (m *MsgAcceptOwnership) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcceptOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcceptOwnership) ProtoMessage()
- func (m *MsgAcceptOwnership) Reset()
- func (m *MsgAcceptOwnership) Size() (n int)
- func (m *MsgAcceptOwnership) String() string
- func (m *MsgAcceptOwnership) Unmarshal(dAtA []byte) error
- func (m *MsgAcceptOwnership) XXX_DiscardUnknown()
- func (m *MsgAcceptOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcceptOwnership) XXX_Merge(src proto.Message)
- func (m *MsgAcceptOwnership) XXX_Size() int
- func (m *MsgAcceptOwnership) XXX_Unmarshal(b []byte) error
- type MsgAcceptOwnershipResponse
- func (*MsgAcceptOwnershipResponse) Descriptor() ([]byte, []int)
- func (m *MsgAcceptOwnershipResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAcceptOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcceptOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcceptOwnershipResponse) ProtoMessage()
- func (m *MsgAcceptOwnershipResponse) Reset()
- func (m *MsgAcceptOwnershipResponse) Size() (n int)
- func (m *MsgAcceptOwnershipResponse) String() string
- func (m *MsgAcceptOwnershipResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAcceptOwnershipResponse) XXX_DiscardUnknown()
- func (m *MsgAcceptOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcceptOwnershipResponse) XXX_Merge(src proto.Message)
- func (m *MsgAcceptOwnershipResponse) XXX_Size() int
- func (m *MsgAcceptOwnershipResponse) XXX_Unmarshal(b []byte) error
- type MsgAddAdminAccount
- func (*MsgAddAdminAccount) Descriptor() ([]byte, []int)
- func (m *MsgAddAdminAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAdminAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAdminAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAdminAccount) ProtoMessage()
- func (m *MsgAddAdminAccount) Reset()
- func (m *MsgAddAdminAccount) Size() (n int)
- func (m *MsgAddAdminAccount) String() string
- func (m *MsgAddAdminAccount) Unmarshal(dAtA []byte) error
- func (m *MsgAddAdminAccount) XXX_DiscardUnknown()
- func (m *MsgAddAdminAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAdminAccount) XXX_Merge(src proto.Message)
- func (m *MsgAddAdminAccount) XXX_Size() int
- func (m *MsgAddAdminAccount) XXX_Unmarshal(b []byte) error
- type MsgAddAdminAccountResponse
- func (*MsgAddAdminAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddAdminAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAdminAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAdminAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAdminAccountResponse) ProtoMessage()
- func (m *MsgAddAdminAccountResponse) Reset()
- func (m *MsgAddAdminAccountResponse) Size() (n int)
- func (m *MsgAddAdminAccountResponse) String() string
- func (m *MsgAddAdminAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddAdminAccountResponse) XXX_DiscardUnknown()
- func (m *MsgAddAdminAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAdminAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddAdminAccountResponse) XXX_Size() int
- func (m *MsgAddAdminAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgBan
- func (*MsgBan) Descriptor() ([]byte, []int)
- func (m *MsgBan) Marshal() (dAtA []byte, err error)
- func (m *MsgBan) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBan) ProtoMessage()
- func (m *MsgBan) Reset()
- func (m *MsgBan) Size() (n int)
- func (m *MsgBan) String() string
- func (m *MsgBan) Unmarshal(dAtA []byte) error
- func (m *MsgBan) XXX_DiscardUnknown()
- func (m *MsgBan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBan) XXX_Merge(src proto.Message)
- func (m *MsgBan) XXX_Size() int
- func (m *MsgBan) XXX_Unmarshal(b []byte) error
- type MsgBanResponse
- func (*MsgBanResponse) Descriptor() ([]byte, []int)
- func (m *MsgBanResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBanResponse) ProtoMessage()
- func (m *MsgBanResponse) Reset()
- func (m *MsgBanResponse) Size() (n int)
- func (m *MsgBanResponse) String() string
- func (m *MsgBanResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBanResponse) XXX_DiscardUnknown()
- func (m *MsgBanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBanResponse) XXX_Merge(src proto.Message)
- func (m *MsgBanResponse) XXX_Size() int
- func (m *MsgBanResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRemoveAdminAccount
- func (*MsgRemoveAdminAccount) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAdminAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAdminAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAdminAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveAdminAccount) ProtoMessage()
- func (m *MsgRemoveAdminAccount) Reset()
- func (m *MsgRemoveAdminAccount) Size() (n int)
- func (m *MsgRemoveAdminAccount) String() string
- func (m *MsgRemoveAdminAccount) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveAdminAccount) XXX_DiscardUnknown()
- func (m *MsgRemoveAdminAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAdminAccount) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAdminAccount) XXX_Size() int
- func (m *MsgRemoveAdminAccount) XXX_Unmarshal(b []byte) error
- type MsgRemoveAdminAccountResponse
- func (*MsgRemoveAdminAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAdminAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAdminAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAdminAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveAdminAccountResponse) ProtoMessage()
- func (m *MsgRemoveAdminAccountResponse) Reset()
- func (m *MsgRemoveAdminAccountResponse) Size() (n int)
- func (m *MsgRemoveAdminAccountResponse) String() string
- func (m *MsgRemoveAdminAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveAdminAccountResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveAdminAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAdminAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAdminAccountResponse) XXX_Size() int
- func (m *MsgRemoveAdminAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTransferOwnership
- func (*MsgTransferOwnership) Descriptor() ([]byte, []int)
- func (m *MsgTransferOwnership) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferOwnership) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferOwnership) ProtoMessage()
- func (m *MsgTransferOwnership) Reset()
- func (m *MsgTransferOwnership) Size() (n int)
- func (m *MsgTransferOwnership) String() string
- func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error
- func (m *MsgTransferOwnership) XXX_DiscardUnknown()
- func (m *MsgTransferOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferOwnership) XXX_Merge(src proto.Message)
- func (m *MsgTransferOwnership) XXX_Size() int
- func (m *MsgTransferOwnership) XXX_Unmarshal(b []byte) error
- type MsgTransferOwnershipResponse
- func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferOwnershipResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferOwnershipResponse) ProtoMessage()
- func (m *MsgTransferOwnershipResponse) Reset()
- func (m *MsgTransferOwnershipResponse) Size() (n int)
- func (m *MsgTransferOwnershipResponse) String() string
- func (m *MsgTransferOwnershipResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferOwnershipResponse) XXX_DiscardUnknown()
- func (m *MsgTransferOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferOwnershipResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferOwnershipResponse) XXX_Size() int
- func (m *MsgTransferOwnershipResponse) XXX_Unmarshal(b []byte) error
- type MsgUnban
- func (*MsgUnban) Descriptor() ([]byte, []int)
- func (m *MsgUnban) Marshal() (dAtA []byte, err error)
- func (m *MsgUnban) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnban) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnban) ProtoMessage()
- func (m *MsgUnban) Reset()
- func (m *MsgUnban) Size() (n int)
- func (m *MsgUnban) String() string
- func (m *MsgUnban) Unmarshal(dAtA []byte) error
- func (m *MsgUnban) XXX_DiscardUnknown()
- func (m *MsgUnban) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnban) XXX_Merge(src proto.Message)
- func (m *MsgUnban) XXX_Size() int
- func (m *MsgUnban) XXX_Unmarshal(b []byte) error
- type MsgUnbanResponse
- func (*MsgUnbanResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnbanResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnbanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnbanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnbanResponse) ProtoMessage()
- func (m *MsgUnbanResponse) Reset()
- func (m *MsgUnbanResponse) Size() (n int)
- func (m *MsgUnbanResponse) String() string
- func (m *MsgUnbanResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnbanResponse) XXX_DiscardUnknown()
- func (m *MsgUnbanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnbanResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnbanResponse) XXX_Size() int
- func (m *MsgUnbanResponse) XXX_Unmarshal(b []byte) error
- type OwnershipTransferStarted
- func (*OwnershipTransferStarted) Descriptor() ([]byte, []int)
- func (m *OwnershipTransferStarted) GetNewOwner() string
- func (m *OwnershipTransferStarted) GetPreviousOwner() string
- func (m *OwnershipTransferStarted) Marshal() (dAtA []byte, err error)
- func (m *OwnershipTransferStarted) MarshalTo(dAtA []byte) (int, error)
- func (m *OwnershipTransferStarted) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OwnershipTransferStarted) ProtoMessage()
- func (m *OwnershipTransferStarted) Reset()
- func (m *OwnershipTransferStarted) Size() (n int)
- func (m *OwnershipTransferStarted) String() string
- func (m *OwnershipTransferStarted) Unmarshal(dAtA []byte) error
- func (m *OwnershipTransferStarted) XXX_DiscardUnknown()
- func (m *OwnershipTransferStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OwnershipTransferStarted) XXX_Merge(src proto.Message)
- func (m *OwnershipTransferStarted) XXX_Size() int
- func (m *OwnershipTransferStarted) XXX_Unmarshal(b []byte) error
- type OwnershipTransferred
- func (*OwnershipTransferred) Descriptor() ([]byte, []int)
- func (m *OwnershipTransferred) GetNewOwner() string
- func (m *OwnershipTransferred) GetPreviousOwner() string
- func (m *OwnershipTransferred) Marshal() (dAtA []byte, err error)
- func (m *OwnershipTransferred) MarshalTo(dAtA []byte) (int, error)
- func (m *OwnershipTransferred) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OwnershipTransferred) ProtoMessage()
- func (m *OwnershipTransferred) Reset()
- func (m *OwnershipTransferred) Size() (n int)
- func (m *OwnershipTransferred) String() string
- func (m *OwnershipTransferred) Unmarshal(dAtA []byte) error
- func (m *OwnershipTransferred) XXX_DiscardUnknown()
- func (m *OwnershipTransferred) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OwnershipTransferred) XXX_Merge(src proto.Message)
- func (m *OwnershipTransferred) XXX_Size() int
- func (m *OwnershipTransferred) XXX_Unmarshal(b []byte) error
- type QueryAdmins
- func (*QueryAdmins) Descriptor() ([]byte, []int)
- func (m *QueryAdmins) Marshal() (dAtA []byte, err error)
- func (m *QueryAdmins) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAdmins) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAdmins) ProtoMessage()
- func (m *QueryAdmins) Reset()
- func (m *QueryAdmins) Size() (n int)
- func (m *QueryAdmins) String() string
- func (m *QueryAdmins) Unmarshal(dAtA []byte) error
- func (m *QueryAdmins) XXX_DiscardUnknown()
- func (m *QueryAdmins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAdmins) XXX_Merge(src proto.Message)
- func (m *QueryAdmins) XXX_Size() int
- func (m *QueryAdmins) XXX_Unmarshal(b []byte) error
- type QueryAdminsResponse
- func (*QueryAdminsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAdminsResponse) GetAdmins() []string
- func (m *QueryAdminsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAdminsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAdminsResponse) ProtoMessage()
- func (m *QueryAdminsResponse) Reset()
- func (m *QueryAdminsResponse) Size() (n int)
- func (m *QueryAdminsResponse) String() string
- func (m *QueryAdminsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAdminsResponse) XXX_DiscardUnknown()
- func (m *QueryAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAdminsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAdminsResponse) XXX_Size() int
- func (m *QueryAdminsResponse) XXX_Unmarshal(b []byte) error
- type QueryAdversaries
- func (*QueryAdversaries) Descriptor() ([]byte, []int)
- func (m *QueryAdversaries) Marshal() (dAtA []byte, err error)
- func (m *QueryAdversaries) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAdversaries) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAdversaries) ProtoMessage()
- func (m *QueryAdversaries) Reset()
- func (m *QueryAdversaries) Size() (n int)
- func (m *QueryAdversaries) String() string
- func (m *QueryAdversaries) Unmarshal(dAtA []byte) error
- func (m *QueryAdversaries) XXX_DiscardUnknown()
- func (m *QueryAdversaries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAdversaries) XXX_Merge(src proto.Message)
- func (m *QueryAdversaries) XXX_Size() int
- func (m *QueryAdversaries) XXX_Unmarshal(b []byte) error
- type QueryAdversariesResponse
- func (*QueryAdversariesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAdversariesResponse) GetAdversaries() []string
- func (m *QueryAdversariesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAdversariesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAdversariesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAdversariesResponse) ProtoMessage()
- func (m *QueryAdversariesResponse) Reset()
- func (m *QueryAdversariesResponse) Size() (n int)
- func (m *QueryAdversariesResponse) String() string
- func (m *QueryAdversariesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAdversariesResponse) XXX_DiscardUnknown()
- func (m *QueryAdversariesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAdversariesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAdversariesResponse) XXX_Size() int
- func (m *QueryAdversariesResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryOwner
- func (*QueryOwner) Descriptor() ([]byte, []int)
- func (m *QueryOwner) Marshal() (dAtA []byte, err error)
- func (m *QueryOwner) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOwner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOwner) ProtoMessage()
- func (m *QueryOwner) Reset()
- func (m *QueryOwner) Size() (n int)
- func (m *QueryOwner) String() string
- func (m *QueryOwner) Unmarshal(dAtA []byte) error
- func (m *QueryOwner) XXX_DiscardUnknown()
- func (m *QueryOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOwner) XXX_Merge(src proto.Message)
- func (m *QueryOwner) XXX_Size() int
- func (m *QueryOwner) XXX_Unmarshal(b []byte) error
- type QueryOwnerResponse
- func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
- func (m *QueryOwnerResponse) GetOwner() string
- func (m *QueryOwnerResponse) GetPendingOwner() string
- func (m *QueryOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOwnerResponse) ProtoMessage()
- func (m *QueryOwnerResponse) Reset()
- func (m *QueryOwnerResponse) Size() (n int)
- func (m *QueryOwnerResponse) String() string
- func (m *QueryOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOwnerResponse) XXX_DiscardUnknown()
- func (m *QueryOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOwnerResponse) XXX_Merge(src proto.Message)
- func (m *QueryOwnerResponse) XXX_Size() int
- func (m *QueryOwnerResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type Unban
- func (*Unban) Descriptor() ([]byte, []int)
- func (m *Unban) GetFriend() string
- func (m *Unban) Marshal() (dAtA []byte, err error)
- func (m *Unban) MarshalTo(dAtA []byte) (int, error)
- func (m *Unban) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Unban) ProtoMessage()
- func (m *Unban) Reset()
- func (m *Unban) Size() (n int)
- func (m *Unban) String() string
- func (m *Unban) Unmarshal(dAtA []byte) error
- func (m *Unban) XXX_DiscardUnknown()
- func (m *Unban) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Unban) XXX_Merge(src proto.Message)
- func (m *Unban) XXX_Size() int
- func (m *Unban) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AcceptOwnership(ctx context.Context, req *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error)
- func (*UnimplementedMsgServer) AddAdminAccount(ctx context.Context, req *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error)
- func (*UnimplementedMsgServer) Ban(ctx context.Context, req *MsgBan) (*MsgBanResponse, error)
- func (*UnimplementedMsgServer) RemoveAdminAccount(ctx context.Context, req *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error)
- func (*UnimplementedMsgServer) TransferOwnership(ctx context.Context, req *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error)
- func (*UnimplementedMsgServer) Unban(ctx context.Context, req *MsgUnban) (*MsgUnbanResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Admins(ctx context.Context, req *QueryAdmins) (*QueryAdminsResponse, error)
- func (*UnimplementedQueryServer) Adversaries(ctx context.Context, req *QueryAdversaries) (*QueryAdversariesResponse, error)
- func (*UnimplementedQueryServer) Owner(ctx context.Context, req *QueryOwner) (*QueryOwnerResponse, error)
Constants ¶
const SubmoduleName = "florin-blacklist"
Variables ¶
var ( Codespace = "florin/blacklist" ErrNoOwner = errors.Register(Codespace, 1, "there is no blacklist owner") ErrSameOwner = errors.Register(Codespace, 2, "provided owner is the current owner") ErrInvalidOwner = errors.Register(Codespace, 3, "signer is not blacklist owner") ErrNoPendingOwner = errors.Register(Codespace, 4, "there is no blacklist pending owner") ErrInvalidPendingOwner = errors.Register(Codespace, 5, "signer is not blacklist pending owner") ErrInvalidAdmin = errors.Register(Codespace, 6, "signer is not a blacklist admin") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( OwnerKey = []byte("blacklist/owner") PendingOwnerKey = []byte("blacklist/pending_owner") AdminPrefix = []byte("blacklist/admin/") AdversaryPrefix = []byte("blacklist/adversary/") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func AdversaryKey ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, 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"` }
Emitted when admin account is added.
func (*AdminAccountAdded) Descriptor ¶
func (*AdminAccountAdded) Descriptor() ([]byte, []int)
func (*AdminAccountAdded) GetAccount ¶
func (m *AdminAccountAdded) GetAccount() string
func (*AdminAccountAdded) Marshal ¶
func (m *AdminAccountAdded) Marshal() (dAtA []byte, err error)
func (*AdminAccountAdded) MarshalTo ¶
func (m *AdminAccountAdded) MarshalTo(dAtA []byte) (int, error)
func (*AdminAccountAdded) MarshalToSizedBuffer ¶
func (m *AdminAccountAdded) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AdminAccountAdded) ProtoMessage ¶
func (*AdminAccountAdded) ProtoMessage()
func (*AdminAccountAdded) Reset ¶
func (m *AdminAccountAdded) Reset()
func (*AdminAccountAdded) Size ¶
func (m *AdminAccountAdded) Size() (n int)
func (*AdminAccountAdded) String ¶
func (m *AdminAccountAdded) String() string
func (*AdminAccountAdded) Unmarshal ¶
func (m *AdminAccountAdded) Unmarshal(dAtA []byte) error
func (*AdminAccountAdded) XXX_DiscardUnknown ¶
func (m *AdminAccountAdded) XXX_DiscardUnknown()
func (*AdminAccountAdded) XXX_Marshal ¶
func (m *AdminAccountAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AdminAccountAdded) XXX_Merge ¶
func (m *AdminAccountAdded) XXX_Merge(src proto.Message)
func (*AdminAccountAdded) XXX_Size ¶
func (m *AdminAccountAdded) XXX_Size() int
func (*AdminAccountAdded) XXX_Unmarshal ¶
func (m *AdminAccountAdded) XXX_Unmarshal(b []byte) error
type AdminAccountRemoved ¶
type AdminAccountRemoved struct { // account is the address that was removed. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` }
Emitted when admin account is removed.
func (*AdminAccountRemoved) Descriptor ¶
func (*AdminAccountRemoved) Descriptor() ([]byte, []int)
func (*AdminAccountRemoved) GetAccount ¶
func (m *AdminAccountRemoved) GetAccount() string
func (*AdminAccountRemoved) Marshal ¶
func (m *AdminAccountRemoved) Marshal() (dAtA []byte, err error)
func (*AdminAccountRemoved) MarshalTo ¶
func (m *AdminAccountRemoved) MarshalTo(dAtA []byte) (int, error)
func (*AdminAccountRemoved) MarshalToSizedBuffer ¶
func (m *AdminAccountRemoved) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AdminAccountRemoved) ProtoMessage ¶
func (*AdminAccountRemoved) ProtoMessage()
func (*AdminAccountRemoved) Reset ¶
func (m *AdminAccountRemoved) Reset()
func (*AdminAccountRemoved) Size ¶
func (m *AdminAccountRemoved) Size() (n int)
func (*AdminAccountRemoved) String ¶
func (m *AdminAccountRemoved) String() string
func (*AdminAccountRemoved) Unmarshal ¶
func (m *AdminAccountRemoved) Unmarshal(dAtA []byte) error
func (*AdminAccountRemoved) XXX_DiscardUnknown ¶
func (m *AdminAccountRemoved) XXX_DiscardUnknown()
func (*AdminAccountRemoved) XXX_Marshal ¶
func (m *AdminAccountRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AdminAccountRemoved) XXX_Merge ¶
func (m *AdminAccountRemoved) XXX_Merge(src proto.Message)
func (*AdminAccountRemoved) XXX_Size ¶
func (m *AdminAccountRemoved) XXX_Size() int
func (*AdminAccountRemoved) XXX_Unmarshal ¶
func (m *AdminAccountRemoved) XXX_Unmarshal(b []byte) error
type Ban ¶
type Ban struct { // adversary is the address that was added. Adversary string `protobuf:"bytes,1,opt,name=adversary,proto3" json:"adversary,omitempty"` }
Emitted when an address is added to the blacklist.
func (*Ban) Descriptor ¶
func (*Ban) GetAdversary ¶
func (*Ban) ProtoMessage ¶
func (*Ban) ProtoMessage()
func (*Ban) XXX_DiscardUnknown ¶
func (m *Ban) XXX_DiscardUnknown()
func (*Ban) XXX_Unmarshal ¶
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 cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` // valid is true if transfer approved, false if rejected. Valid bool `protobuf:"varint,4,opt,name=valid,proto3" json:"valid,omitempty"` }
Emitted when a validator makes a decision.
func (*Decision) Descriptor ¶
func (*Decision) MarshalToSizedBuffer ¶
func (*Decision) ProtoMessage ¶
func (*Decision) ProtoMessage()
func (*Decision) XXX_DiscardUnknown ¶
func (m *Decision) XXX_DiscardUnknown()
func (*Decision) XXX_Marshal ¶
func (*Decision) XXX_Unmarshal ¶
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"` }
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAdmins ¶
func (m *GenesisState) GetAdmins() []string
func (*GenesisState) GetAdversaries ¶
func (m *GenesisState) GetAdversaries() []string
func (*GenesisState) GetOwner ¶
func (m *GenesisState) GetOwner() string
func (*GenesisState) GetPendingOwner ¶
func (m *GenesisState) GetPendingOwner() string
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgAcceptOwnership ¶
type MsgAcceptOwnership struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
}
MsgAcceptOwnership implements the acceptOwnership (0x79ba5097) method.
func (*MsgAcceptOwnership) Descriptor ¶
func (*MsgAcceptOwnership) Descriptor() ([]byte, []int)
func (*MsgAcceptOwnership) Marshal ¶
func (m *MsgAcceptOwnership) Marshal() (dAtA []byte, err error)
func (*MsgAcceptOwnership) MarshalTo ¶
func (m *MsgAcceptOwnership) MarshalTo(dAtA []byte) (int, error)
func (*MsgAcceptOwnership) MarshalToSizedBuffer ¶
func (m *MsgAcceptOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcceptOwnership) ProtoMessage ¶
func (*MsgAcceptOwnership) ProtoMessage()
func (*MsgAcceptOwnership) Reset ¶
func (m *MsgAcceptOwnership) Reset()
func (*MsgAcceptOwnership) Size ¶
func (m *MsgAcceptOwnership) Size() (n int)
func (*MsgAcceptOwnership) String ¶
func (m *MsgAcceptOwnership) String() string
func (*MsgAcceptOwnership) Unmarshal ¶
func (m *MsgAcceptOwnership) Unmarshal(dAtA []byte) error
func (*MsgAcceptOwnership) XXX_DiscardUnknown ¶
func (m *MsgAcceptOwnership) XXX_DiscardUnknown()
func (*MsgAcceptOwnership) XXX_Marshal ¶
func (m *MsgAcceptOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcceptOwnership) XXX_Merge ¶
func (m *MsgAcceptOwnership) XXX_Merge(src proto.Message)
func (*MsgAcceptOwnership) XXX_Size ¶
func (m *MsgAcceptOwnership) XXX_Size() int
func (*MsgAcceptOwnership) XXX_Unmarshal ¶
func (m *MsgAcceptOwnership) XXX_Unmarshal(b []byte) error
type MsgAcceptOwnershipResponse ¶
type MsgAcceptOwnershipResponse struct { }
MsgAcceptOwnershipResponse is the response of the AcceptOwnership action.
func (*MsgAcceptOwnershipResponse) Descriptor ¶
func (*MsgAcceptOwnershipResponse) Descriptor() ([]byte, []int)
func (*MsgAcceptOwnershipResponse) Marshal ¶
func (m *MsgAcceptOwnershipResponse) Marshal() (dAtA []byte, err error)
func (*MsgAcceptOwnershipResponse) MarshalTo ¶
func (m *MsgAcceptOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAcceptOwnershipResponse) MarshalToSizedBuffer ¶
func (m *MsgAcceptOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcceptOwnershipResponse) ProtoMessage ¶
func (*MsgAcceptOwnershipResponse) ProtoMessage()
func (*MsgAcceptOwnershipResponse) Reset ¶
func (m *MsgAcceptOwnershipResponse) Reset()
func (*MsgAcceptOwnershipResponse) Size ¶
func (m *MsgAcceptOwnershipResponse) Size() (n int)
func (*MsgAcceptOwnershipResponse) String ¶
func (m *MsgAcceptOwnershipResponse) String() string
func (*MsgAcceptOwnershipResponse) Unmarshal ¶
func (m *MsgAcceptOwnershipResponse) Unmarshal(dAtA []byte) error
func (*MsgAcceptOwnershipResponse) XXX_DiscardUnknown ¶
func (m *MsgAcceptOwnershipResponse) XXX_DiscardUnknown()
func (*MsgAcceptOwnershipResponse) XXX_Marshal ¶
func (m *MsgAcceptOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcceptOwnershipResponse) XXX_Merge ¶
func (m *MsgAcceptOwnershipResponse) XXX_Merge(src proto.Message)
func (*MsgAcceptOwnershipResponse) XXX_Size ¶
func (m *MsgAcceptOwnershipResponse) XXX_Size() int
func (*MsgAcceptOwnershipResponse) XXX_Unmarshal ¶
func (m *MsgAcceptOwnershipResponse) XXX_Unmarshal(b []byte) error
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"` }
MsgAddAdminAccount implements the addAdminAccount (0x4fe57e7a) method.
func (*MsgAddAdminAccount) Descriptor ¶
func (*MsgAddAdminAccount) Descriptor() ([]byte, []int)
func (*MsgAddAdminAccount) Marshal ¶
func (m *MsgAddAdminAccount) Marshal() (dAtA []byte, err error)
func (*MsgAddAdminAccount) MarshalTo ¶
func (m *MsgAddAdminAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAdminAccount) MarshalToSizedBuffer ¶
func (m *MsgAddAdminAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAdminAccount) ProtoMessage ¶
func (*MsgAddAdminAccount) ProtoMessage()
func (*MsgAddAdminAccount) Reset ¶
func (m *MsgAddAdminAccount) Reset()
func (*MsgAddAdminAccount) Size ¶
func (m *MsgAddAdminAccount) Size() (n int)
func (*MsgAddAdminAccount) String ¶
func (m *MsgAddAdminAccount) String() string
func (*MsgAddAdminAccount) Unmarshal ¶
func (m *MsgAddAdminAccount) Unmarshal(dAtA []byte) error
func (*MsgAddAdminAccount) XXX_DiscardUnknown ¶
func (m *MsgAddAdminAccount) XXX_DiscardUnknown()
func (*MsgAddAdminAccount) XXX_Marshal ¶
func (m *MsgAddAdminAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAdminAccount) XXX_Merge ¶
func (m *MsgAddAdminAccount) XXX_Merge(src proto.Message)
func (*MsgAddAdminAccount) XXX_Size ¶
func (m *MsgAddAdminAccount) XXX_Size() int
func (*MsgAddAdminAccount) XXX_Unmarshal ¶
func (m *MsgAddAdminAccount) XXX_Unmarshal(b []byte) error
type MsgAddAdminAccountResponse ¶
type MsgAddAdminAccountResponse struct { }
MsgAddAdminAccountResponse is the response of the AddAminAccount action.
func (*MsgAddAdminAccountResponse) Descriptor ¶
func (*MsgAddAdminAccountResponse) Descriptor() ([]byte, []int)
func (*MsgAddAdminAccountResponse) Marshal ¶
func (m *MsgAddAdminAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddAdminAccountResponse) MarshalTo ¶
func (m *MsgAddAdminAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAdminAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgAddAdminAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAdminAccountResponse) ProtoMessage ¶
func (*MsgAddAdminAccountResponse) ProtoMessage()
func (*MsgAddAdminAccountResponse) Reset ¶
func (m *MsgAddAdminAccountResponse) Reset()
func (*MsgAddAdminAccountResponse) Size ¶
func (m *MsgAddAdminAccountResponse) Size() (n int)
func (*MsgAddAdminAccountResponse) String ¶
func (m *MsgAddAdminAccountResponse) String() string
func (*MsgAddAdminAccountResponse) Unmarshal ¶
func (m *MsgAddAdminAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgAddAdminAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgAddAdminAccountResponse) XXX_DiscardUnknown()
func (*MsgAddAdminAccountResponse) XXX_Marshal ¶
func (m *MsgAddAdminAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAdminAccountResponse) XXX_Merge ¶
func (m *MsgAddAdminAccountResponse) XXX_Merge(src proto.Message)
func (*MsgAddAdminAccountResponse) XXX_Size ¶
func (m *MsgAddAdminAccountResponse) XXX_Size() int
func (*MsgAddAdminAccountResponse) XXX_Unmarshal ¶
func (m *MsgAddAdminAccountResponse) XXX_Unmarshal(b []byte) error
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"` }
MsgBan implements the ban (0x97c3ccd8) method.
func (*MsgBan) Descriptor ¶
func (*MsgBan) MarshalToSizedBuffer ¶
func (*MsgBan) ProtoMessage ¶
func (*MsgBan) ProtoMessage()
func (*MsgBan) XXX_DiscardUnknown ¶
func (m *MsgBan) XXX_DiscardUnknown()
func (*MsgBan) XXX_Marshal ¶
func (*MsgBan) XXX_Unmarshal ¶
type MsgBanResponse ¶
type MsgBanResponse struct { }
MsgBanResponse is the response of the Ban action.
func (*MsgBanResponse) Descriptor ¶
func (*MsgBanResponse) Descriptor() ([]byte, []int)
func (*MsgBanResponse) Marshal ¶
func (m *MsgBanResponse) Marshal() (dAtA []byte, err error)
func (*MsgBanResponse) MarshalToSizedBuffer ¶
func (m *MsgBanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBanResponse) ProtoMessage ¶
func (*MsgBanResponse) ProtoMessage()
func (*MsgBanResponse) Reset ¶
func (m *MsgBanResponse) Reset()
func (*MsgBanResponse) Size ¶
func (m *MsgBanResponse) Size() (n int)
func (*MsgBanResponse) String ¶
func (m *MsgBanResponse) String() string
func (*MsgBanResponse) Unmarshal ¶
func (m *MsgBanResponse) Unmarshal(dAtA []byte) error
func (*MsgBanResponse) XXX_DiscardUnknown ¶
func (m *MsgBanResponse) XXX_DiscardUnknown()
func (*MsgBanResponse) XXX_Marshal ¶
func (m *MsgBanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBanResponse) XXX_Merge ¶
func (m *MsgBanResponse) XXX_Merge(src proto.Message)
func (*MsgBanResponse) XXX_Size ¶
func (m *MsgBanResponse) XXX_Size() int
func (*MsgBanResponse) XXX_Unmarshal ¶
func (m *MsgBanResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) 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"` }
MsgRemoveAdminAccount implements the removeAdminAccount (0x67a89a72) method.
func (*MsgRemoveAdminAccount) Descriptor ¶
func (*MsgRemoveAdminAccount) Descriptor() ([]byte, []int)
func (*MsgRemoveAdminAccount) Marshal ¶
func (m *MsgRemoveAdminAccount) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAdminAccount) MarshalTo ¶
func (m *MsgRemoveAdminAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAdminAccount) MarshalToSizedBuffer ¶
func (m *MsgRemoveAdminAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAdminAccount) ProtoMessage ¶
func (*MsgRemoveAdminAccount) ProtoMessage()
func (*MsgRemoveAdminAccount) Reset ¶
func (m *MsgRemoveAdminAccount) Reset()
func (*MsgRemoveAdminAccount) Size ¶
func (m *MsgRemoveAdminAccount) Size() (n int)
func (*MsgRemoveAdminAccount) String ¶
func (m *MsgRemoveAdminAccount) String() string
func (*MsgRemoveAdminAccount) Unmarshal ¶
func (m *MsgRemoveAdminAccount) Unmarshal(dAtA []byte) error
func (*MsgRemoveAdminAccount) XXX_DiscardUnknown ¶
func (m *MsgRemoveAdminAccount) XXX_DiscardUnknown()
func (*MsgRemoveAdminAccount) XXX_Marshal ¶
func (m *MsgRemoveAdminAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAdminAccount) XXX_Merge ¶
func (m *MsgRemoveAdminAccount) XXX_Merge(src proto.Message)
func (*MsgRemoveAdminAccount) XXX_Size ¶
func (m *MsgRemoveAdminAccount) XXX_Size() int
func (*MsgRemoveAdminAccount) XXX_Unmarshal ¶
func (m *MsgRemoveAdminAccount) XXX_Unmarshal(b []byte) error
type MsgRemoveAdminAccountResponse ¶
type MsgRemoveAdminAccountResponse struct { }
MsgRemoveAdminAccountResponse is the response of the RemoveAdminAccount action.
func (*MsgRemoveAdminAccountResponse) Descriptor ¶
func (*MsgRemoveAdminAccountResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveAdminAccountResponse) Marshal ¶
func (m *MsgRemoveAdminAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAdminAccountResponse) MarshalTo ¶
func (m *MsgRemoveAdminAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAdminAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveAdminAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAdminAccountResponse) ProtoMessage ¶
func (*MsgRemoveAdminAccountResponse) ProtoMessage()
func (*MsgRemoveAdminAccountResponse) Reset ¶
func (m *MsgRemoveAdminAccountResponse) Reset()
func (*MsgRemoveAdminAccountResponse) Size ¶
func (m *MsgRemoveAdminAccountResponse) Size() (n int)
func (*MsgRemoveAdminAccountResponse) String ¶
func (m *MsgRemoveAdminAccountResponse) String() string
func (*MsgRemoveAdminAccountResponse) Unmarshal ¶
func (m *MsgRemoveAdminAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveAdminAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveAdminAccountResponse) XXX_DiscardUnknown()
func (*MsgRemoveAdminAccountResponse) XXX_Marshal ¶
func (m *MsgRemoveAdminAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAdminAccountResponse) XXX_Merge ¶
func (m *MsgRemoveAdminAccountResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveAdminAccountResponse) XXX_Size ¶
func (m *MsgRemoveAdminAccountResponse) XXX_Size() int
func (*MsgRemoveAdminAccountResponse) XXX_Unmarshal ¶
func (m *MsgRemoveAdminAccountResponse) XXX_Unmarshal(b []byte) error
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) }
MsgServer is the server API for Msg service.
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"` }
MsgTransferOwnership implements the transferOwnership (0xf2fde38b) method.
func (*MsgTransferOwnership) Descriptor ¶
func (*MsgTransferOwnership) Descriptor() ([]byte, []int)
func (*MsgTransferOwnership) Marshal ¶
func (m *MsgTransferOwnership) Marshal() (dAtA []byte, err error)
func (*MsgTransferOwnership) MarshalTo ¶
func (m *MsgTransferOwnership) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferOwnership) MarshalToSizedBuffer ¶
func (m *MsgTransferOwnership) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferOwnership) ProtoMessage ¶
func (*MsgTransferOwnership) ProtoMessage()
func (*MsgTransferOwnership) Reset ¶
func (m *MsgTransferOwnership) Reset()
func (*MsgTransferOwnership) Size ¶
func (m *MsgTransferOwnership) Size() (n int)
func (*MsgTransferOwnership) String ¶
func (m *MsgTransferOwnership) String() string
func (*MsgTransferOwnership) Unmarshal ¶
func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error
func (*MsgTransferOwnership) XXX_DiscardUnknown ¶
func (m *MsgTransferOwnership) XXX_DiscardUnknown()
func (*MsgTransferOwnership) XXX_Marshal ¶
func (m *MsgTransferOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferOwnership) XXX_Merge ¶
func (m *MsgTransferOwnership) XXX_Merge(src proto.Message)
func (*MsgTransferOwnership) XXX_Size ¶
func (m *MsgTransferOwnership) XXX_Size() int
func (*MsgTransferOwnership) XXX_Unmarshal ¶
func (m *MsgTransferOwnership) XXX_Unmarshal(b []byte) error
type MsgTransferOwnershipResponse ¶
type MsgTransferOwnershipResponse struct { }
MsgTransferOwnershipResponse is the response of the TransferOwnership action.
func (*MsgTransferOwnershipResponse) Descriptor ¶
func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int)
func (*MsgTransferOwnershipResponse) Marshal ¶
func (m *MsgTransferOwnershipResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferOwnershipResponse) MarshalTo ¶
func (m *MsgTransferOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferOwnershipResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferOwnershipResponse) ProtoMessage ¶
func (*MsgTransferOwnershipResponse) ProtoMessage()
func (*MsgTransferOwnershipResponse) Reset ¶
func (m *MsgTransferOwnershipResponse) Reset()
func (*MsgTransferOwnershipResponse) Size ¶
func (m *MsgTransferOwnershipResponse) Size() (n int)
func (*MsgTransferOwnershipResponse) String ¶
func (m *MsgTransferOwnershipResponse) String() string
func (*MsgTransferOwnershipResponse) Unmarshal ¶
func (m *MsgTransferOwnershipResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferOwnershipResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferOwnershipResponse) XXX_DiscardUnknown()
func (*MsgTransferOwnershipResponse) XXX_Marshal ¶
func (m *MsgTransferOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferOwnershipResponse) XXX_Merge ¶
func (m *MsgTransferOwnershipResponse) XXX_Merge(src proto.Message)
func (*MsgTransferOwnershipResponse) XXX_Size ¶
func (m *MsgTransferOwnershipResponse) XXX_Size() int
func (*MsgTransferOwnershipResponse) XXX_Unmarshal ¶
func (m *MsgTransferOwnershipResponse) XXX_Unmarshal(b []byte) error
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"` }
MsgUnban implements the unban (0xb9f14557) method.
func (*MsgUnban) Descriptor ¶
func (*MsgUnban) MarshalToSizedBuffer ¶
func (*MsgUnban) ProtoMessage ¶
func (*MsgUnban) ProtoMessage()
func (*MsgUnban) XXX_DiscardUnknown ¶
func (m *MsgUnban) XXX_DiscardUnknown()
func (*MsgUnban) XXX_Marshal ¶
func (*MsgUnban) XXX_Unmarshal ¶
type MsgUnbanResponse ¶
type MsgUnbanResponse struct { }
MsgUnbanResponse is the response of the Unban action.
func (*MsgUnbanResponse) Descriptor ¶
func (*MsgUnbanResponse) Descriptor() ([]byte, []int)
func (*MsgUnbanResponse) Marshal ¶
func (m *MsgUnbanResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnbanResponse) MarshalToSizedBuffer ¶
func (m *MsgUnbanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnbanResponse) ProtoMessage ¶
func (*MsgUnbanResponse) ProtoMessage()
func (*MsgUnbanResponse) Reset ¶
func (m *MsgUnbanResponse) Reset()
func (*MsgUnbanResponse) Size ¶
func (m *MsgUnbanResponse) Size() (n int)
func (*MsgUnbanResponse) String ¶
func (m *MsgUnbanResponse) String() string
func (*MsgUnbanResponse) Unmarshal ¶
func (m *MsgUnbanResponse) Unmarshal(dAtA []byte) error
func (*MsgUnbanResponse) XXX_DiscardUnknown ¶
func (m *MsgUnbanResponse) XXX_DiscardUnknown()
func (*MsgUnbanResponse) XXX_Marshal ¶
func (m *MsgUnbanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnbanResponse) XXX_Merge ¶
func (m *MsgUnbanResponse) XXX_Merge(src proto.Message)
func (*MsgUnbanResponse) XXX_Size ¶
func (m *MsgUnbanResponse) XXX_Size() int
func (*MsgUnbanResponse) XXX_Unmarshal ¶
func (m *MsgUnbanResponse) XXX_Unmarshal(b []byte) error
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"` }
Emitted when an ownership transfer is started.
func (*OwnershipTransferStarted) Descriptor ¶
func (*OwnershipTransferStarted) Descriptor() ([]byte, []int)
func (*OwnershipTransferStarted) GetNewOwner ¶
func (m *OwnershipTransferStarted) GetNewOwner() string
func (*OwnershipTransferStarted) GetPreviousOwner ¶
func (m *OwnershipTransferStarted) GetPreviousOwner() string
func (*OwnershipTransferStarted) Marshal ¶
func (m *OwnershipTransferStarted) Marshal() (dAtA []byte, err error)
func (*OwnershipTransferStarted) MarshalTo ¶
func (m *OwnershipTransferStarted) MarshalTo(dAtA []byte) (int, error)
func (*OwnershipTransferStarted) MarshalToSizedBuffer ¶
func (m *OwnershipTransferStarted) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OwnershipTransferStarted) ProtoMessage ¶
func (*OwnershipTransferStarted) ProtoMessage()
func (*OwnershipTransferStarted) Reset ¶
func (m *OwnershipTransferStarted) Reset()
func (*OwnershipTransferStarted) Size ¶
func (m *OwnershipTransferStarted) Size() (n int)
func (*OwnershipTransferStarted) String ¶
func (m *OwnershipTransferStarted) String() string
func (*OwnershipTransferStarted) Unmarshal ¶
func (m *OwnershipTransferStarted) Unmarshal(dAtA []byte) error
func (*OwnershipTransferStarted) XXX_DiscardUnknown ¶
func (m *OwnershipTransferStarted) XXX_DiscardUnknown()
func (*OwnershipTransferStarted) XXX_Marshal ¶
func (m *OwnershipTransferStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OwnershipTransferStarted) XXX_Merge ¶
func (m *OwnershipTransferStarted) XXX_Merge(src proto.Message)
func (*OwnershipTransferStarted) XXX_Size ¶
func (m *OwnershipTransferStarted) XXX_Size() int
func (*OwnershipTransferStarted) XXX_Unmarshal ¶
func (m *OwnershipTransferStarted) XXX_Unmarshal(b []byte) error
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"` }
Emitted when an ownership transfer is finalized.
func (*OwnershipTransferred) Descriptor ¶
func (*OwnershipTransferred) Descriptor() ([]byte, []int)
func (*OwnershipTransferred) GetNewOwner ¶
func (m *OwnershipTransferred) GetNewOwner() string
func (*OwnershipTransferred) GetPreviousOwner ¶
func (m *OwnershipTransferred) GetPreviousOwner() string
func (*OwnershipTransferred) Marshal ¶
func (m *OwnershipTransferred) Marshal() (dAtA []byte, err error)
func (*OwnershipTransferred) MarshalTo ¶
func (m *OwnershipTransferred) MarshalTo(dAtA []byte) (int, error)
func (*OwnershipTransferred) MarshalToSizedBuffer ¶
func (m *OwnershipTransferred) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OwnershipTransferred) ProtoMessage ¶
func (*OwnershipTransferred) ProtoMessage()
func (*OwnershipTransferred) Reset ¶
func (m *OwnershipTransferred) Reset()
func (*OwnershipTransferred) Size ¶
func (m *OwnershipTransferred) Size() (n int)
func (*OwnershipTransferred) String ¶
func (m *OwnershipTransferred) String() string
func (*OwnershipTransferred) Unmarshal ¶
func (m *OwnershipTransferred) Unmarshal(dAtA []byte) error
func (*OwnershipTransferred) XXX_DiscardUnknown ¶
func (m *OwnershipTransferred) XXX_DiscardUnknown()
func (*OwnershipTransferred) XXX_Marshal ¶
func (m *OwnershipTransferred) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OwnershipTransferred) XXX_Merge ¶
func (m *OwnershipTransferred) XXX_Merge(src proto.Message)
func (*OwnershipTransferred) XXX_Size ¶
func (m *OwnershipTransferred) XXX_Size() int
func (*OwnershipTransferred) XXX_Unmarshal ¶
func (m *OwnershipTransferred) XXX_Unmarshal(b []byte) error
type QueryAdmins ¶
type QueryAdmins struct { }
func (*QueryAdmins) Descriptor ¶
func (*QueryAdmins) Descriptor() ([]byte, []int)
func (*QueryAdmins) Marshal ¶
func (m *QueryAdmins) Marshal() (dAtA []byte, err error)
func (*QueryAdmins) MarshalToSizedBuffer ¶
func (m *QueryAdmins) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAdmins) ProtoMessage ¶
func (*QueryAdmins) ProtoMessage()
func (*QueryAdmins) Reset ¶
func (m *QueryAdmins) Reset()
func (*QueryAdmins) Size ¶
func (m *QueryAdmins) Size() (n int)
func (*QueryAdmins) String ¶
func (m *QueryAdmins) String() string
func (*QueryAdmins) Unmarshal ¶
func (m *QueryAdmins) Unmarshal(dAtA []byte) error
func (*QueryAdmins) XXX_DiscardUnknown ¶
func (m *QueryAdmins) XXX_DiscardUnknown()
func (*QueryAdmins) XXX_Marshal ¶
func (m *QueryAdmins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAdmins) XXX_Merge ¶
func (m *QueryAdmins) XXX_Merge(src proto.Message)
func (*QueryAdmins) XXX_Size ¶
func (m *QueryAdmins) XXX_Size() int
func (*QueryAdmins) XXX_Unmarshal ¶
func (m *QueryAdmins) XXX_Unmarshal(b []byte) error
type QueryAdminsResponse ¶
type QueryAdminsResponse struct {
Admins []string `protobuf:"bytes,1,rep,name=admins,proto3" json:"admins,omitempty"`
}
func (*QueryAdminsResponse) Descriptor ¶
func (*QueryAdminsResponse) Descriptor() ([]byte, []int)
func (*QueryAdminsResponse) GetAdmins ¶
func (m *QueryAdminsResponse) GetAdmins() []string
func (*QueryAdminsResponse) Marshal ¶
func (m *QueryAdminsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAdminsResponse) MarshalTo ¶
func (m *QueryAdminsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAdminsResponse) MarshalToSizedBuffer ¶
func (m *QueryAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAdminsResponse) ProtoMessage ¶
func (*QueryAdminsResponse) ProtoMessage()
func (*QueryAdminsResponse) Reset ¶
func (m *QueryAdminsResponse) Reset()
func (*QueryAdminsResponse) Size ¶
func (m *QueryAdminsResponse) Size() (n int)
func (*QueryAdminsResponse) String ¶
func (m *QueryAdminsResponse) String() string
func (*QueryAdminsResponse) Unmarshal ¶
func (m *QueryAdminsResponse) Unmarshal(dAtA []byte) error
func (*QueryAdminsResponse) XXX_DiscardUnknown ¶
func (m *QueryAdminsResponse) XXX_DiscardUnknown()
func (*QueryAdminsResponse) XXX_Marshal ¶
func (m *QueryAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAdminsResponse) XXX_Merge ¶
func (m *QueryAdminsResponse) XXX_Merge(src proto.Message)
func (*QueryAdminsResponse) XXX_Size ¶
func (m *QueryAdminsResponse) XXX_Size() int
func (*QueryAdminsResponse) XXX_Unmarshal ¶
func (m *QueryAdminsResponse) XXX_Unmarshal(b []byte) error
type QueryAdversaries ¶
type QueryAdversaries struct { }
func (*QueryAdversaries) Descriptor ¶
func (*QueryAdversaries) Descriptor() ([]byte, []int)
func (*QueryAdversaries) Marshal ¶
func (m *QueryAdversaries) Marshal() (dAtA []byte, err error)
func (*QueryAdversaries) MarshalToSizedBuffer ¶
func (m *QueryAdversaries) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAdversaries) ProtoMessage ¶
func (*QueryAdversaries) ProtoMessage()
func (*QueryAdversaries) Reset ¶
func (m *QueryAdversaries) Reset()
func (*QueryAdversaries) Size ¶
func (m *QueryAdversaries) Size() (n int)
func (*QueryAdversaries) String ¶
func (m *QueryAdversaries) String() string
func (*QueryAdversaries) Unmarshal ¶
func (m *QueryAdversaries) Unmarshal(dAtA []byte) error
func (*QueryAdversaries) XXX_DiscardUnknown ¶
func (m *QueryAdversaries) XXX_DiscardUnknown()
func (*QueryAdversaries) XXX_Marshal ¶
func (m *QueryAdversaries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAdversaries) XXX_Merge ¶
func (m *QueryAdversaries) XXX_Merge(src proto.Message)
func (*QueryAdversaries) XXX_Size ¶
func (m *QueryAdversaries) XXX_Size() int
func (*QueryAdversaries) XXX_Unmarshal ¶
func (m *QueryAdversaries) XXX_Unmarshal(b []byte) error
type QueryAdversariesResponse ¶
type QueryAdversariesResponse struct {
Adversaries []string `protobuf:"bytes,1,rep,name=adversaries,proto3" json:"adversaries,omitempty"`
}
func (*QueryAdversariesResponse) Descriptor ¶
func (*QueryAdversariesResponse) Descriptor() ([]byte, []int)
func (*QueryAdversariesResponse) GetAdversaries ¶
func (m *QueryAdversariesResponse) GetAdversaries() []string
func (*QueryAdversariesResponse) Marshal ¶
func (m *QueryAdversariesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAdversariesResponse) MarshalTo ¶
func (m *QueryAdversariesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAdversariesResponse) MarshalToSizedBuffer ¶
func (m *QueryAdversariesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAdversariesResponse) ProtoMessage ¶
func (*QueryAdversariesResponse) ProtoMessage()
func (*QueryAdversariesResponse) Reset ¶
func (m *QueryAdversariesResponse) Reset()
func (*QueryAdversariesResponse) Size ¶
func (m *QueryAdversariesResponse) Size() (n int)
func (*QueryAdversariesResponse) String ¶
func (m *QueryAdversariesResponse) String() string
func (*QueryAdversariesResponse) Unmarshal ¶
func (m *QueryAdversariesResponse) Unmarshal(dAtA []byte) error
func (*QueryAdversariesResponse) XXX_DiscardUnknown ¶
func (m *QueryAdversariesResponse) XXX_DiscardUnknown()
func (*QueryAdversariesResponse) XXX_Marshal ¶
func (m *QueryAdversariesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAdversariesResponse) XXX_Merge ¶
func (m *QueryAdversariesResponse) XXX_Merge(src proto.Message)
func (*QueryAdversariesResponse) XXX_Size ¶
func (m *QueryAdversariesResponse) XXX_Size() int
func (*QueryAdversariesResponse) XXX_Unmarshal ¶
func (m *QueryAdversariesResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryOwner ¶
type QueryOwner struct { }
func (*QueryOwner) Descriptor ¶
func (*QueryOwner) Descriptor() ([]byte, []int)
func (*QueryOwner) Marshal ¶
func (m *QueryOwner) Marshal() (dAtA []byte, err error)
func (*QueryOwner) MarshalToSizedBuffer ¶
func (m *QueryOwner) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOwner) ProtoMessage ¶
func (*QueryOwner) ProtoMessage()
func (*QueryOwner) Reset ¶
func (m *QueryOwner) Reset()
func (*QueryOwner) Size ¶
func (m *QueryOwner) Size() (n int)
func (*QueryOwner) String ¶
func (m *QueryOwner) String() string
func (*QueryOwner) Unmarshal ¶
func (m *QueryOwner) Unmarshal(dAtA []byte) error
func (*QueryOwner) XXX_DiscardUnknown ¶
func (m *QueryOwner) XXX_DiscardUnknown()
func (*QueryOwner) XXX_Marshal ¶
func (m *QueryOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOwner) XXX_Merge ¶
func (m *QueryOwner) XXX_Merge(src proto.Message)
func (*QueryOwner) XXX_Size ¶
func (m *QueryOwner) XXX_Size() int
func (*QueryOwner) XXX_Unmarshal ¶
func (m *QueryOwner) XXX_Unmarshal(b []byte) error
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"` }
func (*QueryOwnerResponse) Descriptor ¶
func (*QueryOwnerResponse) Descriptor() ([]byte, []int)
func (*QueryOwnerResponse) GetOwner ¶
func (m *QueryOwnerResponse) GetOwner() string
func (*QueryOwnerResponse) GetPendingOwner ¶
func (m *QueryOwnerResponse) GetPendingOwner() string
func (*QueryOwnerResponse) Marshal ¶
func (m *QueryOwnerResponse) Marshal() (dAtA []byte, err error)
func (*QueryOwnerResponse) MarshalTo ¶
func (m *QueryOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOwnerResponse) MarshalToSizedBuffer ¶
func (m *QueryOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOwnerResponse) ProtoMessage ¶
func (*QueryOwnerResponse) ProtoMessage()
func (*QueryOwnerResponse) Reset ¶
func (m *QueryOwnerResponse) Reset()
func (*QueryOwnerResponse) Size ¶
func (m *QueryOwnerResponse) Size() (n int)
func (*QueryOwnerResponse) String ¶
func (m *QueryOwnerResponse) String() string
func (*QueryOwnerResponse) Unmarshal ¶
func (m *QueryOwnerResponse) Unmarshal(dAtA []byte) error
func (*QueryOwnerResponse) XXX_DiscardUnknown ¶
func (m *QueryOwnerResponse) XXX_DiscardUnknown()
func (*QueryOwnerResponse) XXX_Marshal ¶
func (m *QueryOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOwnerResponse) XXX_Merge ¶
func (m *QueryOwnerResponse) XXX_Merge(src proto.Message)
func (*QueryOwnerResponse) XXX_Size ¶
func (m *QueryOwnerResponse) XXX_Size() int
func (*QueryOwnerResponse) XXX_Unmarshal ¶
func (m *QueryOwnerResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { Owner(context.Context, *QueryOwner) (*QueryOwnerResponse, error) Admins(context.Context, *QueryAdmins) (*QueryAdminsResponse, error) Adversaries(context.Context, *QueryAdversaries) (*QueryAdversariesResponse, error) }
QueryServer is the server API for Query service.
type Unban ¶
type Unban struct { // friend is the address that was removed. Friend string `protobuf:"bytes,1,opt,name=friend,proto3" json:"friend,omitempty"` }
Emitted when an address is removed from the blacklist.
func (*Unban) Descriptor ¶
func (*Unban) ProtoMessage ¶
func (*Unban) ProtoMessage()
func (*Unban) XXX_DiscardUnknown ¶
func (m *Unban) XXX_DiscardUnknown()
func (*Unban) XXX_Marshal ¶
func (*Unban) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AcceptOwnership ¶
func (*UnimplementedMsgServer) AcceptOwnership(ctx context.Context, req *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error)
func (*UnimplementedMsgServer) AddAdminAccount ¶
func (*UnimplementedMsgServer) AddAdminAccount(ctx context.Context, req *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error)
func (*UnimplementedMsgServer) Ban ¶
func (*UnimplementedMsgServer) Ban(ctx context.Context, req *MsgBan) (*MsgBanResponse, error)
func (*UnimplementedMsgServer) RemoveAdminAccount ¶
func (*UnimplementedMsgServer) RemoveAdminAccount(ctx context.Context, req *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error)
func (*UnimplementedMsgServer) TransferOwnership ¶
func (*UnimplementedMsgServer) TransferOwnership(ctx context.Context, req *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error)
func (*UnimplementedMsgServer) Unban ¶
func (*UnimplementedMsgServer) Unban(ctx context.Context, req *MsgUnban) (*MsgUnbanResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Admins ¶
func (*UnimplementedQueryServer) Admins(ctx context.Context, req *QueryAdmins) (*QueryAdminsResponse, error)
func (*UnimplementedQueryServer) Adversaries ¶
func (*UnimplementedQueryServer) Adversaries(ctx context.Context, req *QueryAdversaries) (*QueryAdversariesResponse, error)
func (*UnimplementedQueryServer) Owner ¶
func (*UnimplementedQueryServer) Owner(ctx context.Context, req *QueryOwner) (*QueryOwnerResponse, error)