Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry cdctypes.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 AccountKeeper
- type BankKeeper
- type DIDDirectory
- func (*DIDDirectory) Descriptor() ([]byte, []int)
- func (m *DIDDirectory) GetController() string
- func (m *DIDDirectory) GetCreated() time.Time
- func (m *DIDDirectory) GetDeposit() int64
- func (m *DIDDirectory) GetDid() string
- func (m *DIDDirectory) GetExp() time.Time
- func (m *DIDDirectory) GetModified() time.Time
- func (m *DIDDirectory) Marshal() (dAtA []byte, err error)
- func (m *DIDDirectory) MarshalTo(dAtA []byte) (int, error)
- func (m *DIDDirectory) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DIDDirectory) ProtoMessage()
- func (m *DIDDirectory) Reset()
- func (m *DIDDirectory) Size() (n int)
- func (m *DIDDirectory) String() string
- func (m *DIDDirectory) Unmarshal(dAtA []byte) error
- func (m *DIDDirectory) XXX_DiscardUnknown()
- func (m *DIDDirectory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DIDDirectory) XXX_Merge(src proto.Message)
- func (m *DIDDirectory) XXX_Size() int
- func (m *DIDDirectory) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDidDirectories() []DIDDirectory
- func (m *GenesisState) GetParams() Params
- 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() 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 MsgAddDID
- func (*MsgAddDID) Descriptor() ([]byte, []int)
- func (m *MsgAddDID) GetCreator() string
- func (m *MsgAddDID) GetDid() string
- func (m *MsgAddDID) GetYears() uint32
- func (m *MsgAddDID) Marshal() (dAtA []byte, err error)
- func (m *MsgAddDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddDID) ProtoMessage()
- func (m *MsgAddDID) Reset()
- func (m *MsgAddDID) Size() (n int)
- func (m *MsgAddDID) String() string
- func (m *MsgAddDID) Unmarshal(dAtA []byte) error
- func (m *MsgAddDID) XXX_DiscardUnknown()
- func (m *MsgAddDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddDID) XXX_Merge(src proto.Message)
- func (m *MsgAddDID) XXX_Size() int
- func (m *MsgAddDID) XXX_Unmarshal(b []byte) error
- type MsgAddDIDResponse
- func (*MsgAddDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddDIDResponse) ProtoMessage()
- func (m *MsgAddDIDResponse) Reset()
- func (m *MsgAddDIDResponse) Size() (n int)
- func (m *MsgAddDIDResponse) String() string
- func (m *MsgAddDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddDIDResponse) XXX_DiscardUnknown()
- func (m *MsgAddDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddDIDResponse) XXX_Size() int
- func (m *MsgAddDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRemoveDID
- func (*MsgRemoveDID) Descriptor() ([]byte, []int)
- func (m *MsgRemoveDID) GetCreator() string
- func (m *MsgRemoveDID) GetDid() string
- func (m *MsgRemoveDID) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveDID) ProtoMessage()
- func (m *MsgRemoveDID) Reset()
- func (m *MsgRemoveDID) Size() (n int)
- func (m *MsgRemoveDID) String() string
- func (m *MsgRemoveDID) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveDID) XXX_DiscardUnknown()
- func (m *MsgRemoveDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveDID) XXX_Merge(src proto.Message)
- func (m *MsgRemoveDID) XXX_Size() int
- func (m *MsgRemoveDID) XXX_Unmarshal(b []byte) error
- type MsgRemoveDIDResponse
- func (*MsgRemoveDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveDIDResponse) ProtoMessage()
- func (m *MsgRemoveDIDResponse) Reset()
- func (m *MsgRemoveDIDResponse) Size() (n int)
- func (m *MsgRemoveDIDResponse) String() string
- func (m *MsgRemoveDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveDIDResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveDIDResponse) XXX_Size() int
- func (m *MsgRemoveDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgRenewDID
- func (*MsgRenewDID) Descriptor() ([]byte, []int)
- func (m *MsgRenewDID) GetCreator() string
- func (m *MsgRenewDID) GetDid() string
- func (m *MsgRenewDID) GetYears() uint32
- func (m *MsgRenewDID) Marshal() (dAtA []byte, err error)
- func (m *MsgRenewDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRenewDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRenewDID) ProtoMessage()
- func (m *MsgRenewDID) Reset()
- func (m *MsgRenewDID) Size() (n int)
- func (m *MsgRenewDID) String() string
- func (m *MsgRenewDID) Unmarshal(dAtA []byte) error
- func (m *MsgRenewDID) XXX_DiscardUnknown()
- func (m *MsgRenewDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRenewDID) XXX_Merge(src proto.Message)
- func (m *MsgRenewDID) XXX_Size() int
- func (m *MsgRenewDID) XXX_Unmarshal(b []byte) error
- type MsgRenewDIDResponse
- func (*MsgRenewDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgRenewDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRenewDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRenewDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRenewDIDResponse) ProtoMessage()
- func (m *MsgRenewDIDResponse) Reset()
- func (m *MsgRenewDIDResponse) Size() (n int)
- func (m *MsgRenewDIDResponse) String() string
- func (m *MsgRenewDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRenewDIDResponse) XXX_DiscardUnknown()
- func (m *MsgRenewDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRenewDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgRenewDIDResponse) XXX_Size() int
- func (m *MsgRenewDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTouchDID
- func (*MsgTouchDID) Descriptor() ([]byte, []int)
- func (m *MsgTouchDID) GetCreator() string
- func (m *MsgTouchDID) GetDid() string
- func (m *MsgTouchDID) Marshal() (dAtA []byte, err error)
- func (m *MsgTouchDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTouchDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTouchDID) ProtoMessage()
- func (m *MsgTouchDID) Reset()
- func (m *MsgTouchDID) Size() (n int)
- func (m *MsgTouchDID) String() string
- func (m *MsgTouchDID) Unmarshal(dAtA []byte) error
- func (m *MsgTouchDID) XXX_DiscardUnknown()
- func (m *MsgTouchDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTouchDID) XXX_Merge(src proto.Message)
- func (m *MsgTouchDID) XXX_Size() int
- func (m *MsgTouchDID) XXX_Unmarshal(b []byte) error
- type MsgTouchDIDResponse
- func (*MsgTouchDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgTouchDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTouchDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTouchDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTouchDIDResponse) ProtoMessage()
- func (m *MsgTouchDIDResponse) Reset()
- func (m *MsgTouchDIDResponse) Size() (n int)
- func (m *MsgTouchDIDResponse) String() string
- func (m *MsgTouchDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTouchDIDResponse) XXX_DiscardUnknown()
- func (m *MsgTouchDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTouchDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgTouchDIDResponse) XXX_Size() int
- func (m *MsgTouchDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type ParamSubspace
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetDidDirectoryGracePeriod() uint64
- func (m *Params) GetDidDirectoryTrustDeposit() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetDIDRequest
- func (*QueryGetDIDRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetDIDRequest) GetDid() string
- func (m *QueryGetDIDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDIDRequest) ProtoMessage()
- func (m *QueryGetDIDRequest) Reset()
- func (m *QueryGetDIDRequest) Size() (n int)
- func (m *QueryGetDIDRequest) String() string
- func (m *QueryGetDIDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetDIDRequest) XXX_DiscardUnknown()
- func (m *QueryGetDIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDIDRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetDIDRequest) XXX_Size() int
- func (m *QueryGetDIDRequest) XXX_Unmarshal(b []byte) error
- type QueryGetDIDResponse
- func (*QueryGetDIDResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetDIDResponse) GetDidEntry() DIDDirectory
- func (m *QueryGetDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDIDResponse) ProtoMessage()
- func (m *QueryGetDIDResponse) Reset()
- func (m *QueryGetDIDResponse) Size() (n int)
- func (m *QueryGetDIDResponse) String() string
- func (m *QueryGetDIDResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetDIDResponse) XXX_DiscardUnknown()
- func (m *QueryGetDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDIDResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetDIDResponse) XXX_Size() int
- func (m *QueryGetDIDResponse) XXX_Unmarshal(b []byte) error
- type QueryListDIDsRequest
- func (*QueryListDIDsRequest) Descriptor() ([]byte, []int)
- func (m *QueryListDIDsRequest) GetAccount() string
- func (m *QueryListDIDsRequest) GetChanged() *time.Time
- func (m *QueryListDIDsRequest) GetExpired() bool
- func (m *QueryListDIDsRequest) GetOverGrace() bool
- func (m *QueryListDIDsRequest) GetResponseMaxSize() uint32
- func (m *QueryListDIDsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListDIDsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListDIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListDIDsRequest) ProtoMessage()
- func (m *QueryListDIDsRequest) Reset()
- func (m *QueryListDIDsRequest) Size() (n int)
- func (m *QueryListDIDsRequest) String() string
- func (m *QueryListDIDsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListDIDsRequest) XXX_DiscardUnknown()
- func (m *QueryListDIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListDIDsRequest) XXX_Merge(src proto.Message)
- func (m *QueryListDIDsRequest) XXX_Size() int
- func (m *QueryListDIDsRequest) XXX_Unmarshal(b []byte) error
- type QueryListDIDsResponse
- func (*QueryListDIDsResponse) Descriptor() ([]byte, []int)
- func (m *QueryListDIDsResponse) GetDids() []DIDDirectory
- func (m *QueryListDIDsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryListDIDsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListDIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListDIDsResponse) ProtoMessage()
- func (m *QueryListDIDsResponse) Reset()
- func (m *QueryListDIDsResponse) Size() (n int)
- func (m *QueryListDIDsResponse) String() string
- func (m *QueryListDIDsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryListDIDsResponse) XXX_DiscardUnknown()
- func (m *QueryListDIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListDIDsResponse) XXX_Merge(src proto.Message)
- func (m *QueryListDIDsResponse) XXX_Size() int
- func (m *QueryListDIDsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type TrustDepositKeeper
- type TrustRegistryKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddDID(ctx context.Context, req *MsgAddDID) (*MsgAddDIDResponse, error)
- func (*UnimplementedMsgServer) RemoveDID(ctx context.Context, req *MsgRemoveDID) (*MsgRemoveDIDResponse, error)
- func (*UnimplementedMsgServer) RenewDID(ctx context.Context, req *MsgRenewDID) (*MsgRenewDIDResponse, error)
- func (*UnimplementedMsgServer) TouchDID(ctx context.Context, req *MsgTouchDID) (*MsgTouchDIDResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetDID(ctx context.Context, req *QueryGetDIDRequest) (*QueryGetDIDResponse, error)
- func (*UnimplementedQueryServer) ListDIDs(ctx context.Context, req *QueryListDIDsRequest) (*QueryListDIDsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( EventTypeAddDID = "add_did" EventTypeRenewDID = "renew_did" EventTypeRemoveDID = "remove_did" EventTouchDID = "touch_did" // Attribute keys AttributeKeyDID = "did" AttributeKeyController = "controller" AttributeKeyExpiration = "expiration" AttributeKeyDeposit = "deposit" AttributeKeyYears = "years" )
Event types and attribute keys for the DID Directory module
const ( // ModuleName defines the module name ModuleName = "dd" // StoreKey defines the primary module store key StoreKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_diddirectory" )
const ( DefaultDidDirectoryTrustDeposit = uint64(5) DefaultDidDirectoryGracePeriod = uint64(30) )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message") ErrSample = sdkerrors.Register(ModuleName, 1101, "sample error") )
x/dd module sentinel errors
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 ( ParamsKey = []byte("p_diddirectory") DIDDirectoryKey = collections.NewPrefix(1) )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.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 AccountKeeper ¶
type AccountKeeper interface {
GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation
}
AccountKeeper defines the expected interface for the Account module.
type BankKeeper ¶
BankKeeper defines the expected interface for the Bank module.
type DIDDirectory ¶
type DIDDirectory struct {
Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"`
Created time.Time `protobuf:"bytes,3,opt,name=created,proto3,stdtime" json:"created"`
Modified time.Time `protobuf:"bytes,4,opt,name=modified,proto3,stdtime" json:"modified"`
Exp time.Time `protobuf:"bytes,5,opt,name=exp,proto3,stdtime" json:"exp"`
Deposit int64 `protobuf:"varint,6,opt,name=deposit,proto3" json:"deposit,omitempty"`
}
Core DIDDirectory type
func (*DIDDirectory) Descriptor ¶
func (*DIDDirectory) Descriptor() ([]byte, []int)
func (*DIDDirectory) GetController ¶
func (m *DIDDirectory) GetController() string
func (*DIDDirectory) GetCreated ¶
func (m *DIDDirectory) GetCreated() time.Time
func (*DIDDirectory) GetDeposit ¶
func (m *DIDDirectory) GetDeposit() int64
func (*DIDDirectory) GetDid ¶
func (m *DIDDirectory) GetDid() string
func (*DIDDirectory) GetExp ¶
func (m *DIDDirectory) GetExp() time.Time
func (*DIDDirectory) GetModified ¶
func (m *DIDDirectory) GetModified() time.Time
func (*DIDDirectory) Marshal ¶
func (m *DIDDirectory) Marshal() (dAtA []byte, err error)
func (*DIDDirectory) MarshalToSizedBuffer ¶
func (m *DIDDirectory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DIDDirectory) ProtoMessage ¶
func (*DIDDirectory) ProtoMessage()
func (*DIDDirectory) Reset ¶
func (m *DIDDirectory) Reset()
func (*DIDDirectory) Size ¶
func (m *DIDDirectory) Size() (n int)
func (*DIDDirectory) String ¶
func (m *DIDDirectory) String() string
func (*DIDDirectory) Unmarshal ¶
func (m *DIDDirectory) Unmarshal(dAtA []byte) error
func (*DIDDirectory) XXX_DiscardUnknown ¶
func (m *DIDDirectory) XXX_DiscardUnknown()
func (*DIDDirectory) XXX_Marshal ¶
func (m *DIDDirectory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DIDDirectory) XXX_Merge ¶
func (m *DIDDirectory) XXX_Merge(src proto.Message)
func (*DIDDirectory) XXX_Size ¶
func (m *DIDDirectory) XXX_Size() int
func (*DIDDirectory) XXX_Unmarshal ¶
func (m *DIDDirectory) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
// params defines all the parameters of the module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
DidDirectories []DIDDirectory `protobuf:"bytes,2,rep,name=did_directories,json=didDirectories,proto3" json:"did_directories" yaml:"did_directories"`
}
GenesisState defines the diddirectory module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func SanitizeGenesisState ¶
func SanitizeGenesisState(genesisState *GenesisState) *GenesisState
SanitizeGenesisState sorts all DID entries to ensure deterministic ordering
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDidDirectories ¶
func (m *GenesisState) GetDidDirectories() []DIDDirectory
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 MsgAddDID ¶
type MsgAddDID struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
Years uint32 `protobuf:"varint,3,opt,name=years,proto3" json:"years,omitempty"`
}
MsgAddDID defines the Msg/AddDID request type
func (*MsgAddDID) Descriptor ¶
func (*MsgAddDID) GetCreator ¶
func (*MsgAddDID) MarshalToSizedBuffer ¶
func (*MsgAddDID) ProtoMessage ¶
func (*MsgAddDID) ProtoMessage()
func (*MsgAddDID) XXX_DiscardUnknown ¶
func (m *MsgAddDID) XXX_DiscardUnknown()
func (*MsgAddDID) XXX_Marshal ¶
func (*MsgAddDID) XXX_Unmarshal ¶
type MsgAddDIDResponse ¶
type MsgAddDIDResponse struct {
}
MsgAddDIDResponse defines the Msg/AddDID response type
func (*MsgAddDIDResponse) Descriptor ¶
func (*MsgAddDIDResponse) Descriptor() ([]byte, []int)
func (*MsgAddDIDResponse) Marshal ¶
func (m *MsgAddDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddDIDResponse) MarshalTo ¶
func (m *MsgAddDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgAddDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddDIDResponse) ProtoMessage ¶
func (*MsgAddDIDResponse) ProtoMessage()
func (*MsgAddDIDResponse) Reset ¶
func (m *MsgAddDIDResponse) Reset()
func (*MsgAddDIDResponse) Size ¶
func (m *MsgAddDIDResponse) Size() (n int)
func (*MsgAddDIDResponse) String ¶
func (m *MsgAddDIDResponse) String() string
func (*MsgAddDIDResponse) Unmarshal ¶
func (m *MsgAddDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgAddDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgAddDIDResponse) XXX_DiscardUnknown()
func (*MsgAddDIDResponse) XXX_Marshal ¶
func (m *MsgAddDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddDIDResponse) XXX_Merge ¶
func (m *MsgAddDIDResponse) XXX_Merge(src proto.Message)
func (*MsgAddDIDResponse) XXX_Size ¶
func (m *MsgAddDIDResponse) XXX_Size() int
func (*MsgAddDIDResponse) XXX_Unmarshal ¶
func (m *MsgAddDIDResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
AddDID(ctx context.Context, in *MsgAddDID, opts ...grpc.CallOption) (*MsgAddDIDResponse, error)
RenewDID(ctx context.Context, in *MsgRenewDID, opts ...grpc.CallOption) (*MsgRenewDIDResponse, error)
RemoveDID(ctx context.Context, in *MsgRemoveDID, opts ...grpc.CallOption) (*MsgRemoveDIDResponse, error)
TouchDID(ctx context.Context, in *MsgTouchDID, opts ...grpc.CallOption) (*MsgTouchDIDResponse, 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 MsgRemoveDID ¶
type MsgRemoveDID struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
}
MsgRemoveDID defines the Msg/RemoveDID request type
func (*MsgRemoveDID) Descriptor ¶
func (*MsgRemoveDID) Descriptor() ([]byte, []int)
func (*MsgRemoveDID) GetCreator ¶
func (m *MsgRemoveDID) GetCreator() string
func (*MsgRemoveDID) GetDid ¶
func (m *MsgRemoveDID) GetDid() string
func (*MsgRemoveDID) Marshal ¶
func (m *MsgRemoveDID) Marshal() (dAtA []byte, err error)
func (*MsgRemoveDID) MarshalToSizedBuffer ¶
func (m *MsgRemoveDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveDID) ProtoMessage ¶
func (*MsgRemoveDID) ProtoMessage()
func (*MsgRemoveDID) Reset ¶
func (m *MsgRemoveDID) Reset()
func (*MsgRemoveDID) Size ¶
func (m *MsgRemoveDID) Size() (n int)
func (*MsgRemoveDID) String ¶
func (m *MsgRemoveDID) String() string
func (*MsgRemoveDID) Unmarshal ¶
func (m *MsgRemoveDID) Unmarshal(dAtA []byte) error
func (*MsgRemoveDID) XXX_DiscardUnknown ¶
func (m *MsgRemoveDID) XXX_DiscardUnknown()
func (*MsgRemoveDID) XXX_Marshal ¶
func (m *MsgRemoveDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveDID) XXX_Merge ¶
func (m *MsgRemoveDID) XXX_Merge(src proto.Message)
func (*MsgRemoveDID) XXX_Size ¶
func (m *MsgRemoveDID) XXX_Size() int
func (*MsgRemoveDID) XXX_Unmarshal ¶
func (m *MsgRemoveDID) XXX_Unmarshal(b []byte) error
type MsgRemoveDIDResponse ¶
type MsgRemoveDIDResponse struct {
}
MsgRemoveDIDResponse defines the Msg/RemoveDID response type
func (*MsgRemoveDIDResponse) Descriptor ¶
func (*MsgRemoveDIDResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveDIDResponse) Marshal ¶
func (m *MsgRemoveDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveDIDResponse) MarshalTo ¶
func (m *MsgRemoveDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveDIDResponse) ProtoMessage ¶
func (*MsgRemoveDIDResponse) ProtoMessage()
func (*MsgRemoveDIDResponse) Reset ¶
func (m *MsgRemoveDIDResponse) Reset()
func (*MsgRemoveDIDResponse) Size ¶
func (m *MsgRemoveDIDResponse) Size() (n int)
func (*MsgRemoveDIDResponse) String ¶
func (m *MsgRemoveDIDResponse) String() string
func (*MsgRemoveDIDResponse) Unmarshal ¶
func (m *MsgRemoveDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveDIDResponse) XXX_DiscardUnknown()
func (*MsgRemoveDIDResponse) XXX_Marshal ¶
func (m *MsgRemoveDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveDIDResponse) XXX_Merge ¶
func (m *MsgRemoveDIDResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveDIDResponse) XXX_Size ¶
func (m *MsgRemoveDIDResponse) XXX_Size() int
func (*MsgRemoveDIDResponse) XXX_Unmarshal ¶
func (m *MsgRemoveDIDResponse) XXX_Unmarshal(b []byte) error
type MsgRenewDID ¶
type MsgRenewDID struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
Years uint32 `protobuf:"varint,3,opt,name=years,proto3" json:"years,omitempty"`
}
MsgRenewDID defines the Msg/RenewDID request type
func (*MsgRenewDID) Descriptor ¶
func (*MsgRenewDID) Descriptor() ([]byte, []int)
func (*MsgRenewDID) GetCreator ¶
func (m *MsgRenewDID) GetCreator() string
func (*MsgRenewDID) GetDid ¶
func (m *MsgRenewDID) GetDid() string
func (*MsgRenewDID) GetYears ¶
func (m *MsgRenewDID) GetYears() uint32
func (*MsgRenewDID) Marshal ¶
func (m *MsgRenewDID) Marshal() (dAtA []byte, err error)
func (*MsgRenewDID) MarshalToSizedBuffer ¶
func (m *MsgRenewDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRenewDID) ProtoMessage ¶
func (*MsgRenewDID) ProtoMessage()
func (*MsgRenewDID) Reset ¶
func (m *MsgRenewDID) Reset()
func (*MsgRenewDID) Size ¶
func (m *MsgRenewDID) Size() (n int)
func (*MsgRenewDID) String ¶
func (m *MsgRenewDID) String() string
func (*MsgRenewDID) Unmarshal ¶
func (m *MsgRenewDID) Unmarshal(dAtA []byte) error
func (*MsgRenewDID) XXX_DiscardUnknown ¶
func (m *MsgRenewDID) XXX_DiscardUnknown()
func (*MsgRenewDID) XXX_Marshal ¶
func (m *MsgRenewDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRenewDID) XXX_Merge ¶
func (m *MsgRenewDID) XXX_Merge(src proto.Message)
func (*MsgRenewDID) XXX_Size ¶
func (m *MsgRenewDID) XXX_Size() int
func (*MsgRenewDID) XXX_Unmarshal ¶
func (m *MsgRenewDID) XXX_Unmarshal(b []byte) error
type MsgRenewDIDResponse ¶
type MsgRenewDIDResponse struct {
}
MsgRenewDIDResponse defines the Msg/RenewDID response type
func (*MsgRenewDIDResponse) Descriptor ¶
func (*MsgRenewDIDResponse) Descriptor() ([]byte, []int)
func (*MsgRenewDIDResponse) Marshal ¶
func (m *MsgRenewDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgRenewDIDResponse) MarshalTo ¶
func (m *MsgRenewDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRenewDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgRenewDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRenewDIDResponse) ProtoMessage ¶
func (*MsgRenewDIDResponse) ProtoMessage()
func (*MsgRenewDIDResponse) Reset ¶
func (m *MsgRenewDIDResponse) Reset()
func (*MsgRenewDIDResponse) Size ¶
func (m *MsgRenewDIDResponse) Size() (n int)
func (*MsgRenewDIDResponse) String ¶
func (m *MsgRenewDIDResponse) String() string
func (*MsgRenewDIDResponse) Unmarshal ¶
func (m *MsgRenewDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgRenewDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgRenewDIDResponse) XXX_DiscardUnknown()
func (*MsgRenewDIDResponse) XXX_Marshal ¶
func (m *MsgRenewDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRenewDIDResponse) XXX_Merge ¶
func (m *MsgRenewDIDResponse) XXX_Merge(src proto.Message)
func (*MsgRenewDIDResponse) XXX_Size ¶
func (m *MsgRenewDIDResponse) XXX_Size() int
func (*MsgRenewDIDResponse) XXX_Unmarshal ¶
func (m *MsgRenewDIDResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
AddDID(context.Context, *MsgAddDID) (*MsgAddDIDResponse, error)
RenewDID(context.Context, *MsgRenewDID) (*MsgRenewDIDResponse, error)
RemoveDID(context.Context, *MsgRemoveDID) (*MsgRemoveDIDResponse, error)
TouchDID(context.Context, *MsgTouchDID) (*MsgTouchDIDResponse, error)
}
MsgServer is the server API for Msg service.
type MsgTouchDID ¶
type MsgTouchDID struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
}
MsgTouchDID defines the Msg/TouchDID request type
func (*MsgTouchDID) Descriptor ¶
func (*MsgTouchDID) Descriptor() ([]byte, []int)
func (*MsgTouchDID) GetCreator ¶
func (m *MsgTouchDID) GetCreator() string
func (*MsgTouchDID) GetDid ¶
func (m *MsgTouchDID) GetDid() string
func (*MsgTouchDID) Marshal ¶
func (m *MsgTouchDID) Marshal() (dAtA []byte, err error)
func (*MsgTouchDID) MarshalToSizedBuffer ¶
func (m *MsgTouchDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTouchDID) ProtoMessage ¶
func (*MsgTouchDID) ProtoMessage()
func (*MsgTouchDID) Reset ¶
func (m *MsgTouchDID) Reset()
func (*MsgTouchDID) Size ¶
func (m *MsgTouchDID) Size() (n int)
func (*MsgTouchDID) String ¶
func (m *MsgTouchDID) String() string
func (*MsgTouchDID) Unmarshal ¶
func (m *MsgTouchDID) Unmarshal(dAtA []byte) error
func (*MsgTouchDID) XXX_DiscardUnknown ¶
func (m *MsgTouchDID) XXX_DiscardUnknown()
func (*MsgTouchDID) XXX_Marshal ¶
func (m *MsgTouchDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTouchDID) XXX_Merge ¶
func (m *MsgTouchDID) XXX_Merge(src proto.Message)
func (*MsgTouchDID) XXX_Size ¶
func (m *MsgTouchDID) XXX_Size() int
func (*MsgTouchDID) XXX_Unmarshal ¶
func (m *MsgTouchDID) XXX_Unmarshal(b []byte) error
type MsgTouchDIDResponse ¶
type MsgTouchDIDResponse struct {
}
MsgTouchDIDResponse defines the Msg/TouchDID response type
func (*MsgTouchDIDResponse) Descriptor ¶
func (*MsgTouchDIDResponse) Descriptor() ([]byte, []int)
func (*MsgTouchDIDResponse) Marshal ¶
func (m *MsgTouchDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgTouchDIDResponse) MarshalTo ¶
func (m *MsgTouchDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTouchDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgTouchDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTouchDIDResponse) ProtoMessage ¶
func (*MsgTouchDIDResponse) ProtoMessage()
func (*MsgTouchDIDResponse) Reset ¶
func (m *MsgTouchDIDResponse) Reset()
func (*MsgTouchDIDResponse) Size ¶
func (m *MsgTouchDIDResponse) Size() (n int)
func (*MsgTouchDIDResponse) String ¶
func (m *MsgTouchDIDResponse) String() string
func (*MsgTouchDIDResponse) Unmarshal ¶
func (m *MsgTouchDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgTouchDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgTouchDIDResponse) XXX_DiscardUnknown()
func (*MsgTouchDIDResponse) XXX_Marshal ¶
func (m *MsgTouchDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTouchDIDResponse) XXX_Merge ¶
func (m *MsgTouchDIDResponse) XXX_Merge(src proto.Message)
func (*MsgTouchDIDResponse) XXX_Size ¶
func (m *MsgTouchDIDResponse) XXX_Size() int
func (*MsgTouchDIDResponse) XXX_Unmarshal ¶
func (m *MsgTouchDIDResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct {
// authority is the address that controls the module (defaults to x/gov unless overwritten).
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the module parameters to update.
//
// NOTE: All parameters must be supplied.
Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type ParamSubspace ¶
type ParamSubspace interface {
Get(context.Context, []byte, interface{})
Set(context.Context, []byte, interface{})
}
ParamSubspace defines the expected Subspace interface for parameters.
type Params ¶
type Params struct {
DidDirectoryTrustDeposit uint64 `` /* 173-byte string literal not displayed */
DidDirectoryGracePeriod uint64 `` /* 169-byte string literal not displayed */
}
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetDidDirectoryGracePeriod ¶
func (*Params) GetDidDirectoryTrustDeposit ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface {
// Parameters queries the parameters of the module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
ListDIDs(ctx context.Context, in *QueryListDIDsRequest, opts ...grpc.CallOption) (*QueryListDIDsResponse, error)
GetDID(ctx context.Context, in *QueryGetDIDRequest, opts ...grpc.CallOption) (*QueryGetDIDResponse, 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 QueryGetDIDRequest ¶
type QueryGetDIDRequest struct {
Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
}
func (*QueryGetDIDRequest) Descriptor ¶
func (*QueryGetDIDRequest) Descriptor() ([]byte, []int)
func (*QueryGetDIDRequest) GetDid ¶
func (m *QueryGetDIDRequest) GetDid() string
func (*QueryGetDIDRequest) Marshal ¶
func (m *QueryGetDIDRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetDIDRequest) MarshalTo ¶
func (m *QueryGetDIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDIDRequest) MarshalToSizedBuffer ¶
func (m *QueryGetDIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDIDRequest) ProtoMessage ¶
func (*QueryGetDIDRequest) ProtoMessage()
func (*QueryGetDIDRequest) Reset ¶
func (m *QueryGetDIDRequest) Reset()
func (*QueryGetDIDRequest) Size ¶
func (m *QueryGetDIDRequest) Size() (n int)
func (*QueryGetDIDRequest) String ¶
func (m *QueryGetDIDRequest) String() string
func (*QueryGetDIDRequest) Unmarshal ¶
func (m *QueryGetDIDRequest) Unmarshal(dAtA []byte) error
func (*QueryGetDIDRequest) XXX_DiscardUnknown ¶
func (m *QueryGetDIDRequest) XXX_DiscardUnknown()
func (*QueryGetDIDRequest) XXX_Marshal ¶
func (m *QueryGetDIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDIDRequest) XXX_Merge ¶
func (m *QueryGetDIDRequest) XXX_Merge(src proto.Message)
func (*QueryGetDIDRequest) XXX_Size ¶
func (m *QueryGetDIDRequest) XXX_Size() int
func (*QueryGetDIDRequest) XXX_Unmarshal ¶
func (m *QueryGetDIDRequest) XXX_Unmarshal(b []byte) error
type QueryGetDIDResponse ¶
type QueryGetDIDResponse struct {
DidEntry DIDDirectory `protobuf:"bytes,1,opt,name=did_entry,json=didEntry,proto3" json:"did_entry"`
}
func (*QueryGetDIDResponse) Descriptor ¶
func (*QueryGetDIDResponse) Descriptor() ([]byte, []int)
func (*QueryGetDIDResponse) GetDidEntry ¶
func (m *QueryGetDIDResponse) GetDidEntry() DIDDirectory
func (*QueryGetDIDResponse) Marshal ¶
func (m *QueryGetDIDResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetDIDResponse) MarshalTo ¶
func (m *QueryGetDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDIDResponse) MarshalToSizedBuffer ¶
func (m *QueryGetDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDIDResponse) ProtoMessage ¶
func (*QueryGetDIDResponse) ProtoMessage()
func (*QueryGetDIDResponse) Reset ¶
func (m *QueryGetDIDResponse) Reset()
func (*QueryGetDIDResponse) Size ¶
func (m *QueryGetDIDResponse) Size() (n int)
func (*QueryGetDIDResponse) String ¶
func (m *QueryGetDIDResponse) String() string
func (*QueryGetDIDResponse) Unmarshal ¶
func (m *QueryGetDIDResponse) Unmarshal(dAtA []byte) error
func (*QueryGetDIDResponse) XXX_DiscardUnknown ¶
func (m *QueryGetDIDResponse) XXX_DiscardUnknown()
func (*QueryGetDIDResponse) XXX_Marshal ¶
func (m *QueryGetDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDIDResponse) XXX_Merge ¶
func (m *QueryGetDIDResponse) XXX_Merge(src proto.Message)
func (*QueryGetDIDResponse) XXX_Size ¶
func (m *QueryGetDIDResponse) XXX_Size() int
func (*QueryGetDIDResponse) XXX_Unmarshal ¶
func (m *QueryGetDIDResponse) XXX_Unmarshal(b []byte) error
type QueryListDIDsRequest ¶
type QueryListDIDsRequest struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Changed *time.Time `protobuf:"bytes,2,opt,name=changed,proto3,stdtime" json:"changed,omitempty"`
Expired bool `protobuf:"varint,3,opt,name=expired,proto3" json:"expired,omitempty"`
OverGrace bool `protobuf:"varint,4,opt,name=over_grace,json=overGrace,proto3" json:"over_grace,omitempty"`
ResponseMaxSize uint32 `protobuf:"varint,5,opt,name=response_max_size,json=responseMaxSize,proto3" json:"response_max_size,omitempty"`
}
func (*QueryListDIDsRequest) Descriptor ¶
func (*QueryListDIDsRequest) Descriptor() ([]byte, []int)
func (*QueryListDIDsRequest) GetAccount ¶
func (m *QueryListDIDsRequest) GetAccount() string
func (*QueryListDIDsRequest) GetChanged ¶
func (m *QueryListDIDsRequest) GetChanged() *time.Time
func (*QueryListDIDsRequest) GetExpired ¶
func (m *QueryListDIDsRequest) GetExpired() bool
func (*QueryListDIDsRequest) GetOverGrace ¶
func (m *QueryListDIDsRequest) GetOverGrace() bool
func (*QueryListDIDsRequest) GetResponseMaxSize ¶
func (m *QueryListDIDsRequest) GetResponseMaxSize() uint32
func (*QueryListDIDsRequest) Marshal ¶
func (m *QueryListDIDsRequest) Marshal() (dAtA []byte, err error)
func (*QueryListDIDsRequest) MarshalTo ¶
func (m *QueryListDIDsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListDIDsRequest) MarshalToSizedBuffer ¶
func (m *QueryListDIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListDIDsRequest) ProtoMessage ¶
func (*QueryListDIDsRequest) ProtoMessage()
func (*QueryListDIDsRequest) Reset ¶
func (m *QueryListDIDsRequest) Reset()
func (*QueryListDIDsRequest) Size ¶
func (m *QueryListDIDsRequest) Size() (n int)
func (*QueryListDIDsRequest) String ¶
func (m *QueryListDIDsRequest) String() string
func (*QueryListDIDsRequest) Unmarshal ¶
func (m *QueryListDIDsRequest) Unmarshal(dAtA []byte) error
func (*QueryListDIDsRequest) XXX_DiscardUnknown ¶
func (m *QueryListDIDsRequest) XXX_DiscardUnknown()
func (*QueryListDIDsRequest) XXX_Marshal ¶
func (m *QueryListDIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListDIDsRequest) XXX_Merge ¶
func (m *QueryListDIDsRequest) XXX_Merge(src proto.Message)
func (*QueryListDIDsRequest) XXX_Size ¶
func (m *QueryListDIDsRequest) XXX_Size() int
func (*QueryListDIDsRequest) XXX_Unmarshal ¶
func (m *QueryListDIDsRequest) XXX_Unmarshal(b []byte) error
type QueryListDIDsResponse ¶
type QueryListDIDsResponse struct {
Dids []DIDDirectory `protobuf:"bytes,1,rep,name=dids,proto3" json:"dids"`
}
func (*QueryListDIDsResponse) Descriptor ¶
func (*QueryListDIDsResponse) Descriptor() ([]byte, []int)
func (*QueryListDIDsResponse) GetDids ¶
func (m *QueryListDIDsResponse) GetDids() []DIDDirectory
func (*QueryListDIDsResponse) Marshal ¶
func (m *QueryListDIDsResponse) Marshal() (dAtA []byte, err error)
func (*QueryListDIDsResponse) MarshalTo ¶
func (m *QueryListDIDsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryListDIDsResponse) MarshalToSizedBuffer ¶
func (m *QueryListDIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListDIDsResponse) ProtoMessage ¶
func (*QueryListDIDsResponse) ProtoMessage()
func (*QueryListDIDsResponse) Reset ¶
func (m *QueryListDIDsResponse) Reset()
func (*QueryListDIDsResponse) Size ¶
func (m *QueryListDIDsResponse) Size() (n int)
func (*QueryListDIDsResponse) String ¶
func (m *QueryListDIDsResponse) String() string
func (*QueryListDIDsResponse) Unmarshal ¶
func (m *QueryListDIDsResponse) Unmarshal(dAtA []byte) error
func (*QueryListDIDsResponse) XXX_DiscardUnknown ¶
func (m *QueryListDIDsResponse) XXX_DiscardUnknown()
func (*QueryListDIDsResponse) XXX_Marshal ¶
func (m *QueryListDIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListDIDsResponse) XXX_Merge ¶
func (m *QueryListDIDsResponse) XXX_Merge(src proto.Message)
func (*QueryListDIDsResponse) XXX_Size ¶
func (m *QueryListDIDsResponse) XXX_Size() int
func (*QueryListDIDsResponse) XXX_Unmarshal ¶
func (m *QueryListDIDsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct {
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params holds all the parameters of this module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// Parameters queries the parameters of the module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
ListDIDs(context.Context, *QueryListDIDsRequest) (*QueryListDIDsResponse, error)
GetDID(context.Context, *QueryGetDIDRequest) (*QueryGetDIDResponse, error)
}
QueryServer is the server API for Query service.
type TrustDepositKeeper ¶
type TrustDepositKeeper interface {
AdjustTrustDeposit(ctx sdk.Context, account string, augend int64) error
}
TrustDepositKeeper defines the expected interface for the Trust Deposit module.
type TrustRegistryKeeper ¶
TrustRegistryKeeper defines the expected trust registry keeper
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddDID ¶
func (*UnimplementedMsgServer) AddDID(ctx context.Context, req *MsgAddDID) (*MsgAddDIDResponse, error)
func (*UnimplementedMsgServer) RemoveDID ¶
func (*UnimplementedMsgServer) RemoveDID(ctx context.Context, req *MsgRemoveDID) (*MsgRemoveDIDResponse, error)
func (*UnimplementedMsgServer) RenewDID ¶
func (*UnimplementedMsgServer) RenewDID(ctx context.Context, req *MsgRenewDID) (*MsgRenewDIDResponse, error)
func (*UnimplementedMsgServer) TouchDID ¶
func (*UnimplementedMsgServer) TouchDID(ctx context.Context, req *MsgTouchDID) (*MsgTouchDIDResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetDID ¶
func (*UnimplementedQueryServer) GetDID(ctx context.Context, req *QueryGetDIDRequest) (*QueryGetDIDResponse, error)
func (*UnimplementedQueryServer) ListDIDs ¶
func (*UnimplementedQueryServer) ListDIDs(ctx context.Context, req *QueryListDIDsRequest) (*QueryListDIDsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)