Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func NftModuleAddress() string
- func ParamKeyTable() paramstypes.KeyTable
- func RegisterInterfaces(registry types.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 EntityConfigKey
- type EntityDoc
- func (*EntityDoc) Descriptor() ([]byte, []int)
- func (m *EntityDoc) Marshal() (dAtA []byte, err error)
- func (m *EntityDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *EntityDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EntityDoc) ProtoMessage()
- func (m *EntityDoc) Reset()
- func (m *EntityDoc) Size() (n int)
- func (m *EntityDoc) String() string
- func (m *EntityDoc) Unmarshal(dAtA []byte) error
- func (m *EntityDoc) XXX_DiscardUnknown()
- func (m *EntityDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityDoc) XXX_Merge(src proto.Message)
- func (m *EntityDoc) XXX_Size() int
- func (m *EntityDoc) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetEntityDocs() []EntityDoc
- 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 (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 InitializeNftContract
- func (*InitializeNftContract) Descriptor() ([]byte, []int)
- func (p *InitializeNftContract) GetDescription() string
- func (m *InitializeNftContract) GetNftContractCodeId() uint64
- func (m *InitializeNftContract) GetNftMinterAddress() string
- func (p *InitializeNftContract) GetTitle() string
- func (m *InitializeNftContract) Marshal() (dAtA []byte, err error)
- func (m *InitializeNftContract) MarshalTo(dAtA []byte) (int, error)
- func (m *InitializeNftContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *InitializeNftContract) ProposalRoute() string
- func (sup *InitializeNftContract) ProposalType() string
- func (*InitializeNftContract) ProtoMessage()
- func (m *InitializeNftContract) Reset()
- func (m *InitializeNftContract) Size() (n int)
- func (m *InitializeNftContract) String() string
- func (m *InitializeNftContract) Unmarshal(dAtA []byte) error
- func (sup *InitializeNftContract) ValidateBasic() error
- func (m *InitializeNftContract) XXX_DiscardUnknown()
- func (m *InitializeNftContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitializeNftContract) XXX_Merge(src proto.Message)
- func (m *InitializeNftContract) XXX_Size() int
- func (m *InitializeNftContract) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateEntity
- func (*MsgCreateEntity) Descriptor() ([]byte, []int)
- func (msg MsgCreateEntity) GetIidController() iidtypes.DIDFragment
- func (msg MsgCreateEntity) GetSignBytes() []byte
- func (msg MsgCreateEntity) GetSigners() []sdk.AccAddress
- func (m *MsgCreateEntity) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateEntity) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateEntity) ProtoMessage()
- func (m *MsgCreateEntity) Reset()
- func (msg MsgCreateEntity) Route() string
- func (m *MsgCreateEntity) Size() (n int)
- func (m *MsgCreateEntity) String() string
- func (m *MsgCreateEntity) Unmarshal(dAtA []byte) error
- func (msg MsgCreateEntity) ValidateBasic() error
- func (m *MsgCreateEntity) XXX_DiscardUnknown()
- func (m *MsgCreateEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateEntity) XXX_Merge(src proto.Message)
- func (m *MsgCreateEntity) XXX_Size() int
- func (m *MsgCreateEntity) XXX_Unmarshal(b []byte) error
- type MsgCreateEntityResponse
- func (*MsgCreateEntityResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateEntityResponse) GetEntityId() string
- func (m *MsgCreateEntityResponse) GetEntityStatus() int32
- func (m *MsgCreateEntityResponse) GetEntityType() string
- func (m *MsgCreateEntityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateEntityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateEntityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateEntityResponse) ProtoMessage()
- func (m *MsgCreateEntityResponse) Reset()
- func (m *MsgCreateEntityResponse) Size() (n int)
- func (m *MsgCreateEntityResponse) String() string
- func (m *MsgCreateEntityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateEntityResponse) XXX_DiscardUnknown()
- func (m *MsgCreateEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateEntityResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateEntityResponse) XXX_Size() int
- func (m *MsgCreateEntityResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTransferEntity
- func (*MsgTransferEntity) Descriptor() ([]byte, []int)
- func (msg MsgTransferEntity) GetIidController() iidtypes.DIDFragment
- func (msg MsgTransferEntity) GetSignBytes() []byte
- func (msg MsgTransferEntity) GetSigners() []sdk.AccAddress
- func (m *MsgTransferEntity) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferEntity) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferEntity) ProtoMessage()
- func (m *MsgTransferEntity) Reset()
- func (msg MsgTransferEntity) Route() string
- func (m *MsgTransferEntity) Size() (n int)
- func (m *MsgTransferEntity) String() string
- func (m *MsgTransferEntity) Unmarshal(dAtA []byte) error
- func (msg MsgTransferEntity) ValidateBasic() error
- func (m *MsgTransferEntity) XXX_DiscardUnknown()
- func (m *MsgTransferEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferEntity) XXX_Merge(src proto.Message)
- func (m *MsgTransferEntity) XXX_Size() int
- func (m *MsgTransferEntity) XXX_Unmarshal(b []byte) error
- type MsgTransferEntityResponse
- func (*MsgTransferEntityResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferEntityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferEntityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferEntityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferEntityResponse) ProtoMessage()
- func (m *MsgTransferEntityResponse) Reset()
- func (m *MsgTransferEntityResponse) Size() (n int)
- func (m *MsgTransferEntityResponse) String() string
- func (m *MsgTransferEntityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferEntityResponse) XXX_DiscardUnknown()
- func (m *MsgTransferEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferEntityResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferEntityResponse) XXX_Size() int
- func (m *MsgTransferEntityResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateEntity
- func (*MsgUpdateEntity) Descriptor() ([]byte, []int)
- func (msg MsgUpdateEntity) GetIidController() iidtypes.DIDFragment
- func (msg MsgUpdateEntity) GetSignBytes() []byte
- func (msg MsgUpdateEntity) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateEntity) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEntity) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEntity) ProtoMessage()
- func (m *MsgUpdateEntity) Reset()
- func (msg MsgUpdateEntity) Route() string
- func (m *MsgUpdateEntity) Size() (n int)
- func (m *MsgUpdateEntity) String() string
- func (m *MsgUpdateEntity) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateEntity) ValidateBasic() error
- func (m *MsgUpdateEntity) XXX_DiscardUnknown()
- func (m *MsgUpdateEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEntity) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEntity) XXX_Size() int
- func (m *MsgUpdateEntity) XXX_Unmarshal(b []byte) error
- type MsgUpdateEntityResponse
- func (*MsgUpdateEntityResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateEntityResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEntityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEntityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEntityResponse) ProtoMessage()
- func (m *MsgUpdateEntityResponse) Reset()
- func (m *MsgUpdateEntityResponse) Size() (n int)
- func (m *MsgUpdateEntityResponse) String() string
- func (m *MsgUpdateEntityResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateEntityResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEntityResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEntityResponse) XXX_Size() int
- func (m *MsgUpdateEntityResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetNftContractAddress() string
- func (m *Params) GetNftContractMinter() string
- 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() paramstypes.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 (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 QueryEntityConfigRequest
- func (*QueryEntityConfigRequest) Descriptor() ([]byte, []int)
- func (m *QueryEntityConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEntityConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntityConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntityConfigRequest) ProtoMessage()
- func (m *QueryEntityConfigRequest) Reset()
- func (m *QueryEntityConfigRequest) Size() (n int)
- func (m *QueryEntityConfigRequest) String() string
- func (m *QueryEntityConfigRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEntityConfigRequest) XXX_DiscardUnknown()
- func (m *QueryEntityConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntityConfigRequest) XXX_Merge(src proto.Message)
- func (m *QueryEntityConfigRequest) XXX_Size() int
- func (m *QueryEntityConfigRequest) XXX_Unmarshal(b []byte) error
- type QueryEntityConfigResponse
- func (*QueryEntityConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryEntityConfigResponse) GetMap() map[string]string
- func (m *QueryEntityConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEntityConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntityConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntityConfigResponse) ProtoMessage()
- func (m *QueryEntityConfigResponse) Reset()
- func (m *QueryEntityConfigResponse) Size() (n int)
- func (m *QueryEntityConfigResponse) String() string
- func (m *QueryEntityConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEntityConfigResponse) XXX_DiscardUnknown()
- func (m *QueryEntityConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntityConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryEntityConfigResponse) XXX_Size() int
- func (m *QueryEntityConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryEntityDocRequest
- func (*QueryEntityDocRequest) Descriptor() ([]byte, []int)
- func (m *QueryEntityDocRequest) GetEntityDid() string
- func (m *QueryEntityDocRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEntityDocRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntityDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntityDocRequest) ProtoMessage()
- func (m *QueryEntityDocRequest) Reset()
- func (m *QueryEntityDocRequest) Size() (n int)
- func (m *QueryEntityDocRequest) String() string
- func (m *QueryEntityDocRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEntityDocRequest) XXX_DiscardUnknown()
- func (m *QueryEntityDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntityDocRequest) XXX_Merge(src proto.Message)
- func (m *QueryEntityDocRequest) XXX_Size() int
- func (m *QueryEntityDocRequest) XXX_Unmarshal(b []byte) error
- type QueryEntityDocResponse
- func (*QueryEntityDocResponse) Descriptor() ([]byte, []int)
- func (m *QueryEntityDocResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEntityDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntityDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntityDocResponse) ProtoMessage()
- func (m *QueryEntityDocResponse) Reset()
- func (m *QueryEntityDocResponse) Size() (n int)
- func (m *QueryEntityDocResponse) String() string
- func (m *QueryEntityDocResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEntityDocResponse) XXX_DiscardUnknown()
- func (m *QueryEntityDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntityDocResponse) XXX_Merge(src proto.Message)
- func (m *QueryEntityDocResponse) XXX_Size() int
- func (m *QueryEntityDocResponse) XXX_Unmarshal(b []byte) error
- type QueryEntityListRequest
- func (*QueryEntityListRequest) Descriptor() ([]byte, []int)
- func (m *QueryEntityListRequest) GetEntityStatus() string
- func (m *QueryEntityListRequest) GetEntityType() string
- func (m *QueryEntityListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEntityListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntityListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntityListRequest) ProtoMessage()
- func (m *QueryEntityListRequest) Reset()
- func (m *QueryEntityListRequest) Size() (n int)
- func (m *QueryEntityListRequest) String() string
- func (m *QueryEntityListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEntityListRequest) XXX_DiscardUnknown()
- func (m *QueryEntityListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntityListRequest) XXX_Merge(src proto.Message)
- func (m *QueryEntityListRequest) XXX_Size() int
- func (m *QueryEntityListRequest) XXX_Unmarshal(b []byte) error
- type QueryEntityListResponse
- func (*QueryEntityListResponse) Descriptor() ([]byte, []int)
- func (m *QueryEntityListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEntityListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntityListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntityListResponse) ProtoMessage()
- func (m *QueryEntityListResponse) Reset()
- func (m *QueryEntityListResponse) Size() (n int)
- func (m *QueryEntityListResponse) String() string
- func (m *QueryEntityListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEntityListResponse) XXX_DiscardUnknown()
- func (m *QueryEntityListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntityListResponse) XXX_Merge(src proto.Message)
- func (m *QueryEntityListResponse) XXX_Size() int
- func (m *QueryEntityListResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateEntity(ctx context.Context, req *MsgCreateEntity) (*MsgCreateEntityResponse, error)
- func (*UnimplementedMsgServer) TransferEntity(ctx context.Context, req *MsgTransferEntity) (*MsgTransferEntityResponse, error)
- func (*UnimplementedMsgServer) UpdateEntity(ctx context.Context, req *MsgUpdateEntity) (*MsgUpdateEntityResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) EntityConfig(ctx context.Context, req *QueryEntityConfigRequest) (*QueryEntityConfigResponse, error)
- func (*UnimplementedQueryServer) EntityDoc(ctx context.Context, req *QueryEntityDocRequest) (*QueryEntityDocResponse, error)
- func (*UnimplementedQueryServer) EntityList(ctx context.Context, req *QueryEntityListRequest) (*QueryEntityListResponse, error)
Constants ¶
const ( ModuleName = "entity" DefaultParamspace = ModuleName StoreKey = ModuleName RouterKey = ModuleName QuerierRoute = ModuleName MemStoreKey = "mem_entity" )
Variables ¶
var ( KeyNftContractAddress = []byte("NftContractAddress") KeyNftContractMinter = []byte("NftContractMinter") )
var ( ErrInvalidLengthEntity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEntity = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEntity = 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 ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = 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 (
EntityKey = []byte{0x01}
)
var ( // ModuleCdc references the global x/gov module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/gov and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
var (
ProposalTypeInitializeNftContract = "InitializeNftContract"
)
Functions ¶
func NftModuleAddress ¶
func NftModuleAddress() string
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type EntityConfigKey ¶
type EntityConfigKey string
const (
ConfigNftContractAddress EntityConfigKey = "nft_address"
)
type EntityDoc ¶
type EntityDoc struct { }
// ProjectDoc defines a project (or entity) type with all of its parameters.
func (*EntityDoc) Descriptor ¶
func (*EntityDoc) MarshalToSizedBuffer ¶
func (*EntityDoc) ProtoMessage ¶
func (*EntityDoc) ProtoMessage()
func (*EntityDoc) XXX_DiscardUnknown ¶
func (m *EntityDoc) XXX_DiscardUnknown()
func (*EntityDoc) XXX_Marshal ¶
func (*EntityDoc) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { EntityDocs []EntityDoc `protobuf:"bytes,1,rep,name=entity_docs,json=entityDocs,proto3" json:"entity_docs" yaml:"entity_docs"` // repeated GenesisAccountMap account_maps = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"account_maps\""]; Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params" yaml:"params"` }
GenesisState defines the project module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetEntityDocs ¶
func (m *GenesisState) GetEntityDocs() []EntityDoc
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) 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 InitializeNftContract ¶
type InitializeNftContract struct { NftContractCodeId uint64 `protobuf:"varint,1,opt,name=NftContractCodeId,proto3" json:"NftCotractCodeId" yaml:"NftCotractCodeId"` NftMinterAddress string `protobuf:"bytes,2,opt,name=NftMinterAddress,proto3" json:"NftMinterAddress" yaml:"NftMinterAddress"` }
func NewInitializeNftContract ¶
func NewInitializeNftContract(nftContractCodeId uint64, nftminteraddress string) InitializeNftContract
func (*InitializeNftContract) Descriptor ¶
func (*InitializeNftContract) Descriptor() ([]byte, []int)
func (*InitializeNftContract) GetDescription ¶
func (p *InitializeNftContract) GetDescription() string
func (*InitializeNftContract) GetNftContractCodeId ¶
func (m *InitializeNftContract) GetNftContractCodeId() uint64
func (*InitializeNftContract) GetNftMinterAddress ¶
func (m *InitializeNftContract) GetNftMinterAddress() string
func (*InitializeNftContract) GetTitle ¶
func (p *InitializeNftContract) GetTitle() string
func (*InitializeNftContract) Marshal ¶
func (m *InitializeNftContract) Marshal() (dAtA []byte, err error)
func (*InitializeNftContract) MarshalTo ¶
func (m *InitializeNftContract) MarshalTo(dAtA []byte) (int, error)
func (*InitializeNftContract) MarshalToSizedBuffer ¶
func (m *InitializeNftContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InitializeNftContract) ProposalRoute ¶
func (sup *InitializeNftContract) ProposalRoute() string
func (*InitializeNftContract) ProposalType ¶
func (sup *InitializeNftContract) ProposalType() string
func (*InitializeNftContract) ProtoMessage ¶
func (*InitializeNftContract) ProtoMessage()
func (*InitializeNftContract) Reset ¶
func (m *InitializeNftContract) Reset()
func (*InitializeNftContract) Size ¶
func (m *InitializeNftContract) Size() (n int)
func (*InitializeNftContract) String ¶
func (m *InitializeNftContract) String() string
func (*InitializeNftContract) Unmarshal ¶
func (m *InitializeNftContract) Unmarshal(dAtA []byte) error
func (*InitializeNftContract) ValidateBasic ¶
func (sup *InitializeNftContract) ValidateBasic() error
func (*InitializeNftContract) XXX_DiscardUnknown ¶
func (m *InitializeNftContract) XXX_DiscardUnknown()
func (*InitializeNftContract) XXX_Marshal ¶
func (m *InitializeNftContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitializeNftContract) XXX_Merge ¶
func (m *InitializeNftContract) XXX_Merge(src proto.Message)
func (*InitializeNftContract) XXX_Size ¶
func (m *InitializeNftContract) XXX_Size() int
func (*InitializeNftContract) XXX_Unmarshal ¶
func (m *InitializeNftContract) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateProject defines a method for creating a project. CreateEntity(ctx context.Context, in *MsgCreateEntity, opts ...grpc.CallOption) (*MsgCreateEntityResponse, error) // UpdateEntityStatus defines a method for updating a entity's current status. UpdateEntity(ctx context.Context, in *MsgUpdateEntity, opts ...grpc.CallOption) (*MsgUpdateEntityResponse, error) // Transfers an entity and its nft to the recipient TransferEntity(ctx context.Context, in *MsgTransferEntity, opts ...grpc.CallOption) (*MsgTransferEntityResponse, 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 MsgCreateEntity ¶
type MsgCreateEntity struct { // An Entity Type as defined by the implementer EntityType string `protobuf:"bytes,1,opt,name=entityType,proto3" json:"entity_type" yaml:"entity_type"` // Status of the Entity as defined by the implementer and interpreted by Client applications EntityStatus int32 `protobuf:"varint,2,opt,name=entityStatus,proto3" json:"entity_status" yaml:"entity_status"` // the list of controller DIDs Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller" yaml:"controller"` Context []*types.Context `protobuf:"bytes,4,rep,name=context,proto3" json:"context" yaml:"context"` Verification []*types.Verification `protobuf:"bytes,5,rep,name=verification,proto3" json:"verification" yaml:"verification"` Service []*types.Service `protobuf:"bytes,6,rep,name=service,proto3" json:"service" yaml:"service"` AccordedRight []*types.AccordedRight `protobuf:"bytes,7,rep,name=accordedRight,proto3" json:"accorded_right" yaml:"accorded_right"` LinkedResource []*types.LinkedResource `protobuf:"bytes,8,rep,name=linkedResource,proto3" json:"linked_resource" yaml:"linked_resource"` LinkedEntity []*types.LinkedEntity `protobuf:"bytes,9,rep,name=linkedEntity,proto3" json:"linked_entity" yaml:"linked_entity"` Deactivated bool `protobuf:"varint,10,opt,name=deactivated,proto3" json:"deactivated" yaml:"deactivated"` // Start Date of the Entity as defined by the implementer and interpreted by Client applications StartDate *time.Time `protobuf:"bytes,11,opt,name=startDate,proto3,stdtime" json:"start_date" yaml:"start_date"` // End Date of the Entity as defined by the implementer and interpreted by Client applications EndDate *time.Time `protobuf:"bytes,12,opt,name=endDate,proto3,stdtime" json:"end_date" yaml:"end_date"` Stage string `protobuf:"bytes,13,opt,name=stage,proto3" json:"stage,omitempty"` // DID of the operator through which the Entity was created RelayerNode string `protobuf:"bytes,14,opt,name=relayerNode,proto3" json:"relayer_node" yaml:"relayer_node"` // Public proof that the Entity is verified VerificationStatus string `protobuf:"bytes,15,opt,name=verificationStatus,proto3" json:"verification_status" yaml:"verification_status"` // Content ID or Hash of public Verifiable Credentials associated with the subject VerifiableCredential []string `protobuf:"bytes,16,rep,name=verifiableCredential,proto3" json:"verifiable_credential" yaml:"verifiable_credential"` OwnerDid github_com_furylockerroom_xco_blockchain_x_iid_types.DIDFragment `` /* 152-byte string literal not displayed */ OwnerAddress string `protobuf:"bytes,18,opt,name=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` Data encoding_json.RawMessage `protobuf:"bytes,19,opt,name=data,proto3,casttype=encoding/json.RawMessage" json:"data,omitempty" yaml:"data"` }
MsgCreateEntity defines a message for creating a project.
func (*MsgCreateEntity) Descriptor ¶
func (*MsgCreateEntity) Descriptor() ([]byte, []int)
func (MsgCreateEntity) GetIidController ¶
func (msg MsgCreateEntity) GetIidController() iidtypes.DIDFragment
func (MsgCreateEntity) GetSignBytes ¶
func (msg MsgCreateEntity) GetSignBytes() []byte
func (MsgCreateEntity) GetSigners ¶
func (msg MsgCreateEntity) GetSigners() []sdk.AccAddress
func (*MsgCreateEntity) Marshal ¶
func (m *MsgCreateEntity) Marshal() (dAtA []byte, err error)
func (*MsgCreateEntity) MarshalToSizedBuffer ¶
func (m *MsgCreateEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateEntity) ProtoMessage ¶
func (*MsgCreateEntity) ProtoMessage()
func (*MsgCreateEntity) Reset ¶
func (m *MsgCreateEntity) Reset()
func (MsgCreateEntity) Route ¶
func (msg MsgCreateEntity) Route() string
func (msg MsgCreateEntity) Type() string { return TypeMsgCreateEntity }
func (*MsgCreateEntity) Size ¶
func (m *MsgCreateEntity) Size() (n int)
func (*MsgCreateEntity) String ¶
func (m *MsgCreateEntity) String() string
func (*MsgCreateEntity) Unmarshal ¶
func (m *MsgCreateEntity) Unmarshal(dAtA []byte) error
func (MsgCreateEntity) ValidateBasic ¶
func (msg MsgCreateEntity) ValidateBasic() error
func (*MsgCreateEntity) XXX_DiscardUnknown ¶
func (m *MsgCreateEntity) XXX_DiscardUnknown()
func (*MsgCreateEntity) XXX_Marshal ¶
func (m *MsgCreateEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateEntity) XXX_Merge ¶
func (m *MsgCreateEntity) XXX_Merge(src proto.Message)
func (*MsgCreateEntity) XXX_Size ¶
func (m *MsgCreateEntity) XXX_Size() int
func (*MsgCreateEntity) XXX_Unmarshal ¶
func (m *MsgCreateEntity) XXX_Unmarshal(b []byte) error
type MsgCreateEntityResponse ¶
type MsgCreateEntityResponse struct { EntityId string `protobuf:"bytes,1,opt,name=entityId,proto3" json:"entity_id" yaml:"entity_id"` EntityType string `protobuf:"bytes,2,opt,name=entityType,proto3" json:"entity_type" yaml:"entity_type"` EntityStatus int32 `protobuf:"varint,3,opt,name=entityStatus,proto3" json:"entity_status" yaml:"entity_status"` }
MsgCreateProjectResponse defines the Msg/CreateProject response type.
func (*MsgCreateEntityResponse) Descriptor ¶
func (*MsgCreateEntityResponse) Descriptor() ([]byte, []int)
func (*MsgCreateEntityResponse) GetEntityId ¶
func (m *MsgCreateEntityResponse) GetEntityId() string
func (*MsgCreateEntityResponse) GetEntityStatus ¶
func (m *MsgCreateEntityResponse) GetEntityStatus() int32
func (*MsgCreateEntityResponse) GetEntityType ¶
func (m *MsgCreateEntityResponse) GetEntityType() string
func (*MsgCreateEntityResponse) Marshal ¶
func (m *MsgCreateEntityResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateEntityResponse) MarshalTo ¶
func (m *MsgCreateEntityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateEntityResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateEntityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateEntityResponse) ProtoMessage ¶
func (*MsgCreateEntityResponse) ProtoMessage()
func (*MsgCreateEntityResponse) Reset ¶
func (m *MsgCreateEntityResponse) Reset()
func (*MsgCreateEntityResponse) Size ¶
func (m *MsgCreateEntityResponse) Size() (n int)
func (*MsgCreateEntityResponse) String ¶
func (m *MsgCreateEntityResponse) String() string
func (*MsgCreateEntityResponse) Unmarshal ¶
func (m *MsgCreateEntityResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateEntityResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateEntityResponse) XXX_DiscardUnknown()
func (*MsgCreateEntityResponse) XXX_Marshal ¶
func (m *MsgCreateEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateEntityResponse) XXX_Merge ¶
func (m *MsgCreateEntityResponse) XXX_Merge(src proto.Message)
func (*MsgCreateEntityResponse) XXX_Size ¶
func (m *MsgCreateEntityResponse) XXX_Size() int
func (*MsgCreateEntityResponse) XXX_Unmarshal ¶
func (m *MsgCreateEntityResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateProject defines a method for creating a project. CreateEntity(context.Context, *MsgCreateEntity) (*MsgCreateEntityResponse, error) // UpdateEntityStatus defines a method for updating a entity's current status. UpdateEntity(context.Context, *MsgUpdateEntity) (*MsgUpdateEntityResponse, error) // Transfers an entity and its nft to the recipient TransferEntity(context.Context, *MsgTransferEntity) (*MsgTransferEntityResponse, error) }
MsgServer is the server API for Msg service.
type MsgTransferEntity ¶
type MsgTransferEntity struct { EntityDid string `protobuf:"bytes,1,opt,name=entityDid,proto3" json:"entity_did" yaml:"entity_did"` OwnerDid github_com_furylockerroom_xco_blockchain_x_iid_types.DIDFragment `` /* 151-byte string literal not displayed */ OwnerAddress string `protobuf:"bytes,3,opt,name=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"` RecipientDid github_com_furylockerroom_xco_blockchain_x_iid_types.DIDFragment `` /* 163-byte string literal not displayed */ }
func (*MsgTransferEntity) Descriptor ¶
func (*MsgTransferEntity) Descriptor() ([]byte, []int)
func (MsgTransferEntity) GetIidController ¶
func (msg MsgTransferEntity) GetIidController() iidtypes.DIDFragment
func (MsgTransferEntity) GetSignBytes ¶
func (msg MsgTransferEntity) GetSignBytes() []byte
func (MsgTransferEntity) GetSigners ¶
func (msg MsgTransferEntity) GetSigners() []sdk.AccAddress
func (*MsgTransferEntity) Marshal ¶
func (m *MsgTransferEntity) Marshal() (dAtA []byte, err error)
func (*MsgTransferEntity) MarshalTo ¶
func (m *MsgTransferEntity) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferEntity) MarshalToSizedBuffer ¶
func (m *MsgTransferEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferEntity) ProtoMessage ¶
func (*MsgTransferEntity) ProtoMessage()
func (*MsgTransferEntity) Reset ¶
func (m *MsgTransferEntity) Reset()
func (MsgTransferEntity) Route ¶
func (msg MsgTransferEntity) Route() string
func (msg MsgCreateEntity) Type() string { return TypeMsgCreateEntity }
func (*MsgTransferEntity) Size ¶
func (m *MsgTransferEntity) Size() (n int)
func (*MsgTransferEntity) String ¶
func (m *MsgTransferEntity) String() string
func (*MsgTransferEntity) Unmarshal ¶
func (m *MsgTransferEntity) Unmarshal(dAtA []byte) error
func (MsgTransferEntity) ValidateBasic ¶
func (msg MsgTransferEntity) ValidateBasic() error
func (*MsgTransferEntity) XXX_DiscardUnknown ¶
func (m *MsgTransferEntity) XXX_DiscardUnknown()
func (*MsgTransferEntity) XXX_Marshal ¶
func (m *MsgTransferEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferEntity) XXX_Merge ¶
func (m *MsgTransferEntity) XXX_Merge(src proto.Message)
func (*MsgTransferEntity) XXX_Size ¶
func (m *MsgTransferEntity) XXX_Size() int
func (*MsgTransferEntity) XXX_Unmarshal ¶
func (m *MsgTransferEntity) XXX_Unmarshal(b []byte) error
type MsgTransferEntityResponse ¶
type MsgTransferEntityResponse struct { }
MsgUpdateProjectStatusResponse defines the Msg/UpdateEntityStatus response type.
func (*MsgTransferEntityResponse) Descriptor ¶
func (*MsgTransferEntityResponse) Descriptor() ([]byte, []int)
func (*MsgTransferEntityResponse) Marshal ¶
func (m *MsgTransferEntityResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferEntityResponse) MarshalTo ¶
func (m *MsgTransferEntityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferEntityResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferEntityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferEntityResponse) ProtoMessage ¶
func (*MsgTransferEntityResponse) ProtoMessage()
func (*MsgTransferEntityResponse) Reset ¶
func (m *MsgTransferEntityResponse) Reset()
func (*MsgTransferEntityResponse) Size ¶
func (m *MsgTransferEntityResponse) Size() (n int)
func (*MsgTransferEntityResponse) String ¶
func (m *MsgTransferEntityResponse) String() string
func (*MsgTransferEntityResponse) Unmarshal ¶
func (m *MsgTransferEntityResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferEntityResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferEntityResponse) XXX_DiscardUnknown()
func (*MsgTransferEntityResponse) XXX_Marshal ¶
func (m *MsgTransferEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferEntityResponse) XXX_Merge ¶
func (m *MsgTransferEntityResponse) XXX_Merge(src proto.Message)
func (*MsgTransferEntityResponse) XXX_Size ¶
func (m *MsgTransferEntityResponse) XXX_Size() int
func (*MsgTransferEntityResponse) XXX_Unmarshal ¶
func (m *MsgTransferEntityResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateEntity ¶
type MsgUpdateEntity struct { // The status of the entity. Should represent an enum in the client. Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Deactivated bool `protobuf:"varint,2,opt,name=deactivated,proto3" json:"deactivated" yaml:"deactivated"` // refer to iid module for more information StartDate *time.Time `protobuf:"bytes,3,opt,name=startDate,proto3,stdtime" json:"start_date" yaml:"start_date"` // refer to iid module for more information EndDate *time.Time `protobuf:"bytes,4,opt,name=endDate,proto3,stdtime" json:"end_date" yaml:"end_date"` Stage string `protobuf:"bytes,5,opt,name=stage,proto3" json:"stage,omitempty"` // refer to iid module for more information RelayerNode string `protobuf:"bytes,6,opt,name=relayerNode,proto3" json:"relayer_node" yaml:"relayer_node"` // refer to iid module for more information VerifiableCredential string `protobuf:"bytes,7,opt,name=verifiableCredential,proto3" json:"verifiable_credential" yaml:"verifiable_credential"` ControllerDid github_com_furylockerroom_xco_blockchain_x_iid_types.DIDFragment `` /* 166-byte string literal not displayed */ ControllerAddress string `protobuf:"bytes,9,opt,name=controllerAddress,proto3" json:"controller_address" yaml:"controller_address"` }
MsgUpdateEntityStatus defines a message for updating a entity's current status.
func (*MsgUpdateEntity) Descriptor ¶
func (*MsgUpdateEntity) Descriptor() ([]byte, []int)
func (MsgUpdateEntity) GetIidController ¶
func (msg MsgUpdateEntity) GetIidController() iidtypes.DIDFragment
func (MsgUpdateEntity) GetSignBytes ¶
func (msg MsgUpdateEntity) GetSignBytes() []byte
func (MsgUpdateEntity) GetSigners ¶
func (msg MsgUpdateEntity) GetSigners() []sdk.AccAddress
func (*MsgUpdateEntity) Marshal ¶
func (m *MsgUpdateEntity) Marshal() (dAtA []byte, err error)
func (*MsgUpdateEntity) MarshalToSizedBuffer ¶
func (m *MsgUpdateEntity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateEntity) ProtoMessage ¶
func (*MsgUpdateEntity) ProtoMessage()
func (*MsgUpdateEntity) Reset ¶
func (m *MsgUpdateEntity) Reset()
func (MsgUpdateEntity) Route ¶
func (msg MsgUpdateEntity) Route() string
func (msg MsgCreateEntity) Type() string { return TypeMsgCreateEntity }
func (*MsgUpdateEntity) Size ¶
func (m *MsgUpdateEntity) Size() (n int)
func (*MsgUpdateEntity) String ¶
func (m *MsgUpdateEntity) String() string
func (*MsgUpdateEntity) Unmarshal ¶
func (m *MsgUpdateEntity) Unmarshal(dAtA []byte) error
func (MsgUpdateEntity) ValidateBasic ¶
func (msg MsgUpdateEntity) ValidateBasic() error
func (*MsgUpdateEntity) XXX_DiscardUnknown ¶
func (m *MsgUpdateEntity) XXX_DiscardUnknown()
func (*MsgUpdateEntity) XXX_Marshal ¶
func (m *MsgUpdateEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateEntity) XXX_Merge ¶
func (m *MsgUpdateEntity) XXX_Merge(src proto.Message)
func (*MsgUpdateEntity) XXX_Size ¶
func (m *MsgUpdateEntity) XXX_Size() int
func (*MsgUpdateEntity) XXX_Unmarshal ¶
func (m *MsgUpdateEntity) XXX_Unmarshal(b []byte) error
type MsgUpdateEntityResponse ¶
type MsgUpdateEntityResponse struct { }
MsgUpdateProjectStatusResponse defines the Msg/UpdateEntityStatus response type.
func (*MsgUpdateEntityResponse) Descriptor ¶
func (*MsgUpdateEntityResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateEntityResponse) Marshal ¶
func (m *MsgUpdateEntityResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateEntityResponse) MarshalTo ¶
func (m *MsgUpdateEntityResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateEntityResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateEntityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateEntityResponse) ProtoMessage ¶
func (*MsgUpdateEntityResponse) ProtoMessage()
func (*MsgUpdateEntityResponse) Reset ¶
func (m *MsgUpdateEntityResponse) Reset()
func (*MsgUpdateEntityResponse) Size ¶
func (m *MsgUpdateEntityResponse) Size() (n int)
func (*MsgUpdateEntityResponse) String ¶
func (m *MsgUpdateEntityResponse) String() string
func (*MsgUpdateEntityResponse) Unmarshal ¶
func (m *MsgUpdateEntityResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateEntityResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateEntityResponse) XXX_DiscardUnknown()
func (*MsgUpdateEntityResponse) XXX_Marshal ¶
func (m *MsgUpdateEntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateEntityResponse) XXX_Merge ¶
func (m *MsgUpdateEntityResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateEntityResponse) XXX_Size ¶
func (m *MsgUpdateEntityResponse) XXX_Size() int
func (*MsgUpdateEntityResponse) XXX_Unmarshal ¶
func (m *MsgUpdateEntityResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { NftContractAddress string `protobuf:"bytes,1,opt,name=NftContractAddress,proto3" json:"NftContractAddress" yaml:"NftContractAddress"` NftContractMinter string `protobuf:"bytes,2,opt,name=NftContractMinter,proto3" json:"NftContractMinter" yaml:"NftContractMinter"` }
func (*Params) Descriptor ¶
func (*Params) GetNftContractAddress ¶
func (*Params) GetNftContractMinter ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
Implements 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 { EntityList(ctx context.Context, in *QueryEntityListRequest, opts ...grpc.CallOption) (*QueryEntityListResponse, error) EntityDoc(ctx context.Context, in *QueryEntityDocRequest, opts ...grpc.CallOption) (*QueryEntityDocResponse, error) EntityConfig(ctx context.Context, in *QueryEntityConfigRequest, opts ...grpc.CallOption) (*QueryEntityConfigResponse, 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 QueryEntityConfigRequest ¶
type QueryEntityConfigRequest struct { }
func (*QueryEntityConfigRequest) Descriptor ¶
func (*QueryEntityConfigRequest) Descriptor() ([]byte, []int)
func (*QueryEntityConfigRequest) Marshal ¶
func (m *QueryEntityConfigRequest) Marshal() (dAtA []byte, err error)
func (*QueryEntityConfigRequest) MarshalTo ¶
func (m *QueryEntityConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntityConfigRequest) MarshalToSizedBuffer ¶
func (m *QueryEntityConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntityConfigRequest) ProtoMessage ¶
func (*QueryEntityConfigRequest) ProtoMessage()
func (*QueryEntityConfigRequest) Reset ¶
func (m *QueryEntityConfigRequest) Reset()
func (*QueryEntityConfigRequest) Size ¶
func (m *QueryEntityConfigRequest) Size() (n int)
func (*QueryEntityConfigRequest) String ¶
func (m *QueryEntityConfigRequest) String() string
func (*QueryEntityConfigRequest) Unmarshal ¶
func (m *QueryEntityConfigRequest) Unmarshal(dAtA []byte) error
func (*QueryEntityConfigRequest) XXX_DiscardUnknown ¶
func (m *QueryEntityConfigRequest) XXX_DiscardUnknown()
func (*QueryEntityConfigRequest) XXX_Marshal ¶
func (m *QueryEntityConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntityConfigRequest) XXX_Merge ¶
func (m *QueryEntityConfigRequest) XXX_Merge(src proto.Message)
func (*QueryEntityConfigRequest) XXX_Size ¶
func (m *QueryEntityConfigRequest) XXX_Size() int
func (*QueryEntityConfigRequest) XXX_Unmarshal ¶
func (m *QueryEntityConfigRequest) XXX_Unmarshal(b []byte) error
type QueryEntityConfigResponse ¶
type QueryEntityConfigResponse struct {
Map map[string]string `` /* 161-byte string literal not displayed */
}
// QueryProjectDocResponse is the response type for the Query/ProjectDoc RPC method.
func (*QueryEntityConfigResponse) Descriptor ¶
func (*QueryEntityConfigResponse) Descriptor() ([]byte, []int)
func (*QueryEntityConfigResponse) GetMap ¶
func (m *QueryEntityConfigResponse) GetMap() map[string]string
func (*QueryEntityConfigResponse) Marshal ¶
func (m *QueryEntityConfigResponse) Marshal() (dAtA []byte, err error)
func (*QueryEntityConfigResponse) MarshalTo ¶
func (m *QueryEntityConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntityConfigResponse) MarshalToSizedBuffer ¶
func (m *QueryEntityConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntityConfigResponse) ProtoMessage ¶
func (*QueryEntityConfigResponse) ProtoMessage()
func (*QueryEntityConfigResponse) Reset ¶
func (m *QueryEntityConfigResponse) Reset()
func (*QueryEntityConfigResponse) Size ¶
func (m *QueryEntityConfigResponse) Size() (n int)
func (*QueryEntityConfigResponse) String ¶
func (m *QueryEntityConfigResponse) String() string
func (*QueryEntityConfigResponse) Unmarshal ¶
func (m *QueryEntityConfigResponse) Unmarshal(dAtA []byte) error
func (*QueryEntityConfigResponse) XXX_DiscardUnknown ¶
func (m *QueryEntityConfigResponse) XXX_DiscardUnknown()
func (*QueryEntityConfigResponse) XXX_Marshal ¶
func (m *QueryEntityConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntityConfigResponse) XXX_Merge ¶
func (m *QueryEntityConfigResponse) XXX_Merge(src proto.Message)
func (*QueryEntityConfigResponse) XXX_Size ¶
func (m *QueryEntityConfigResponse) XXX_Size() int
func (*QueryEntityConfigResponse) XXX_Unmarshal ¶
func (m *QueryEntityConfigResponse) XXX_Unmarshal(b []byte) error
type QueryEntityDocRequest ¶
type QueryEntityDocRequest struct {
EntityDid string `protobuf:"bytes,1,opt,name=entity_did,json=entityDid,proto3" json:"entity_did,omitempty" yaml:"entity_did"`
}
QueryProjectDocRequest is the request type for the Query/ProjectDoc RPC method.
func (*QueryEntityDocRequest) Descriptor ¶
func (*QueryEntityDocRequest) Descriptor() ([]byte, []int)
func (*QueryEntityDocRequest) GetEntityDid ¶
func (m *QueryEntityDocRequest) GetEntityDid() string
func (*QueryEntityDocRequest) Marshal ¶
func (m *QueryEntityDocRequest) Marshal() (dAtA []byte, err error)
func (*QueryEntityDocRequest) MarshalTo ¶
func (m *QueryEntityDocRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntityDocRequest) MarshalToSizedBuffer ¶
func (m *QueryEntityDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntityDocRequest) ProtoMessage ¶
func (*QueryEntityDocRequest) ProtoMessage()
func (*QueryEntityDocRequest) Reset ¶
func (m *QueryEntityDocRequest) Reset()
func (*QueryEntityDocRequest) Size ¶
func (m *QueryEntityDocRequest) Size() (n int)
func (*QueryEntityDocRequest) String ¶
func (m *QueryEntityDocRequest) String() string
func (*QueryEntityDocRequest) Unmarshal ¶
func (m *QueryEntityDocRequest) Unmarshal(dAtA []byte) error
func (*QueryEntityDocRequest) XXX_DiscardUnknown ¶
func (m *QueryEntityDocRequest) XXX_DiscardUnknown()
func (*QueryEntityDocRequest) XXX_Marshal ¶
func (m *QueryEntityDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntityDocRequest) XXX_Merge ¶
func (m *QueryEntityDocRequest) XXX_Merge(src proto.Message)
func (*QueryEntityDocRequest) XXX_Size ¶
func (m *QueryEntityDocRequest) XXX_Size() int
func (*QueryEntityDocRequest) XXX_Unmarshal ¶
func (m *QueryEntityDocRequest) XXX_Unmarshal(b []byte) error
type QueryEntityDocResponse ¶
type QueryEntityDocResponse struct { }
// QueryProjectDocResponse is the response type for the Query/ProjectDoc RPC method.
func (*QueryEntityDocResponse) Descriptor ¶
func (*QueryEntityDocResponse) Descriptor() ([]byte, []int)
func (*QueryEntityDocResponse) Marshal ¶
func (m *QueryEntityDocResponse) Marshal() (dAtA []byte, err error)
func (*QueryEntityDocResponse) MarshalTo ¶
func (m *QueryEntityDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntityDocResponse) MarshalToSizedBuffer ¶
func (m *QueryEntityDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntityDocResponse) ProtoMessage ¶
func (*QueryEntityDocResponse) ProtoMessage()
func (*QueryEntityDocResponse) Reset ¶
func (m *QueryEntityDocResponse) Reset()
func (*QueryEntityDocResponse) Size ¶
func (m *QueryEntityDocResponse) Size() (n int)
func (*QueryEntityDocResponse) String ¶
func (m *QueryEntityDocResponse) String() string
func (*QueryEntityDocResponse) Unmarshal ¶
func (m *QueryEntityDocResponse) Unmarshal(dAtA []byte) error
func (*QueryEntityDocResponse) XXX_DiscardUnknown ¶
func (m *QueryEntityDocResponse) XXX_DiscardUnknown()
func (*QueryEntityDocResponse) XXX_Marshal ¶
func (m *QueryEntityDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntityDocResponse) XXX_Merge ¶
func (m *QueryEntityDocResponse) XXX_Merge(src proto.Message)
func (*QueryEntityDocResponse) XXX_Size ¶
func (m *QueryEntityDocResponse) XXX_Size() int
func (*QueryEntityDocResponse) XXX_Unmarshal ¶
func (m *QueryEntityDocResponse) XXX_Unmarshal(b []byte) error
type QueryEntityListRequest ¶
type QueryEntityListRequest struct { EntityType string `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty" yaml:"entity_type"` EntityStatus string `protobuf:"bytes,2,opt,name=entity_status,json=entityStatus,proto3" json:"entity_status,omitempty" yaml:"entity_status"` }
func (*QueryEntityListRequest) Descriptor ¶
func (*QueryEntityListRequest) Descriptor() ([]byte, []int)
func (*QueryEntityListRequest) GetEntityStatus ¶
func (m *QueryEntityListRequest) GetEntityStatus() string
func (*QueryEntityListRequest) GetEntityType ¶
func (m *QueryEntityListRequest) GetEntityType() string
func (*QueryEntityListRequest) Marshal ¶
func (m *QueryEntityListRequest) Marshal() (dAtA []byte, err error)
func (*QueryEntityListRequest) MarshalTo ¶
func (m *QueryEntityListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntityListRequest) MarshalToSizedBuffer ¶
func (m *QueryEntityListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntityListRequest) ProtoMessage ¶
func (*QueryEntityListRequest) ProtoMessage()
func (*QueryEntityListRequest) Reset ¶
func (m *QueryEntityListRequest) Reset()
func (*QueryEntityListRequest) Size ¶
func (m *QueryEntityListRequest) Size() (n int)
func (*QueryEntityListRequest) String ¶
func (m *QueryEntityListRequest) String() string
func (*QueryEntityListRequest) Unmarshal ¶
func (m *QueryEntityListRequest) Unmarshal(dAtA []byte) error
func (*QueryEntityListRequest) XXX_DiscardUnknown ¶
func (m *QueryEntityListRequest) XXX_DiscardUnknown()
func (*QueryEntityListRequest) XXX_Marshal ¶
func (m *QueryEntityListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntityListRequest) XXX_Merge ¶
func (m *QueryEntityListRequest) XXX_Merge(src proto.Message)
func (*QueryEntityListRequest) XXX_Size ¶
func (m *QueryEntityListRequest) XXX_Size() int
func (*QueryEntityListRequest) XXX_Unmarshal ¶
func (m *QueryEntityListRequest) XXX_Unmarshal(b []byte) error
type QueryEntityListResponse ¶
type QueryEntityListResponse struct { }
// QueryProjectDocResponse is the response type for the Query/ProjectDoc RPC method.
func (*QueryEntityListResponse) Descriptor ¶
func (*QueryEntityListResponse) Descriptor() ([]byte, []int)
func (*QueryEntityListResponse) Marshal ¶
func (m *QueryEntityListResponse) Marshal() (dAtA []byte, err error)
func (*QueryEntityListResponse) MarshalTo ¶
func (m *QueryEntityListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntityListResponse) MarshalToSizedBuffer ¶
func (m *QueryEntityListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntityListResponse) ProtoMessage ¶
func (*QueryEntityListResponse) ProtoMessage()
func (*QueryEntityListResponse) Reset ¶
func (m *QueryEntityListResponse) Reset()
func (*QueryEntityListResponse) Size ¶
func (m *QueryEntityListResponse) Size() (n int)
func (*QueryEntityListResponse) String ¶
func (m *QueryEntityListResponse) String() string
func (*QueryEntityListResponse) Unmarshal ¶
func (m *QueryEntityListResponse) Unmarshal(dAtA []byte) error
func (*QueryEntityListResponse) XXX_DiscardUnknown ¶
func (m *QueryEntityListResponse) XXX_DiscardUnknown()
func (*QueryEntityListResponse) XXX_Marshal ¶
func (m *QueryEntityListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntityListResponse) XXX_Merge ¶
func (m *QueryEntityListResponse) XXX_Merge(src proto.Message)
func (*QueryEntityListResponse) XXX_Size ¶
func (m *QueryEntityListResponse) XXX_Size() int
func (*QueryEntityListResponse) XXX_Unmarshal ¶
func (m *QueryEntityListResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { EntityList(context.Context, *QueryEntityListRequest) (*QueryEntityListResponse, error) EntityDoc(context.Context, *QueryEntityDocRequest) (*QueryEntityDocResponse, error) EntityConfig(context.Context, *QueryEntityConfigRequest) (*QueryEntityConfigResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateEntity ¶
func (*UnimplementedMsgServer) CreateEntity(ctx context.Context, req *MsgCreateEntity) (*MsgCreateEntityResponse, error)
func (*UnimplementedMsgServer) TransferEntity ¶
func (*UnimplementedMsgServer) TransferEntity(ctx context.Context, req *MsgTransferEntity) (*MsgTransferEntityResponse, error)
func (*UnimplementedMsgServer) UpdateEntity ¶
func (*UnimplementedMsgServer) UpdateEntity(ctx context.Context, req *MsgUpdateEntity) (*MsgUpdateEntityResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) EntityConfig ¶
func (*UnimplementedQueryServer) EntityConfig(ctx context.Context, req *QueryEntityConfigRequest) (*QueryEntityConfigResponse, error)
func (*UnimplementedQueryServer) EntityDoc ¶
func (*UnimplementedQueryServer) EntityDoc(ctx context.Context, req *QueryEntityDocRequest) (*QueryEntityDocResponse, error)
func (*UnimplementedQueryServer) EntityList ¶
func (*UnimplementedQueryServer) EntityList(ctx context.Context, req *QueryEntityListRequest) (*QueryEntityListResponse, error)