Documentation ¶
Index ¶
- Variables
- func RegisterProverServer(s *grpc.Server, srv ProverServer)
- type Command
- func (*Command) Descriptor() ([]byte, []int)
- func (m *Command) GetHeader() *Header
- func (m *Command) GetIssueRequest() *IssueRequest
- func (m *Command) GetListRequest() *ListRequest
- func (m *Command) GetPayload() isCommand_Payload
- func (m *Command) GetRedeemRequest() *RedeemRequest
- func (m *Command) GetTokenOperationRequest() *TokenOperationRequest
- func (m *Command) GetTransferRequest() *TransferRequest
- func (*Command) ProtoMessage()
- func (m *Command) Reset()
- func (m *Command) String() string
- func (m *Command) XXX_DiscardUnknown()
- func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Command) XXX_Merge(src proto.Message)
- func (*Command) XXX_OneofWrappers() []interface{}
- func (m *Command) XXX_Size() int
- func (m *Command) XXX_Unmarshal(b []byte) error
- type CommandResponse
- func (*CommandResponse) Descriptor() ([]byte, []int)
- func (m *CommandResponse) GetErr() *Error
- func (m *CommandResponse) GetHeader() *CommandResponseHeader
- func (m *CommandResponse) GetPayload() isCommandResponse_Payload
- func (m *CommandResponse) GetTokenTransaction() *TokenTransaction
- func (m *CommandResponse) GetTokenTransactions() *TokenTransactions
- func (m *CommandResponse) GetUnspentTokens() *UnspentTokens
- func (*CommandResponse) ProtoMessage()
- func (m *CommandResponse) Reset()
- func (m *CommandResponse) String() string
- func (m *CommandResponse) XXX_DiscardUnknown()
- func (m *CommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommandResponse) XXX_Merge(src proto.Message)
- func (*CommandResponse) XXX_OneofWrappers() []interface{}
- func (m *CommandResponse) XXX_Size() int
- func (m *CommandResponse) XXX_Unmarshal(b []byte) error
- type CommandResponseHeader
- func (*CommandResponseHeader) Descriptor() ([]byte, []int)
- func (m *CommandResponseHeader) GetCommandHash() []byte
- func (m *CommandResponseHeader) GetCreator() []byte
- func (m *CommandResponseHeader) GetTimestamp() *timestamp.Timestamp
- func (*CommandResponseHeader) ProtoMessage()
- func (m *CommandResponseHeader) Reset()
- func (m *CommandResponseHeader) String() string
- func (m *CommandResponseHeader) XXX_DiscardUnknown()
- func (m *CommandResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommandResponseHeader) XXX_Merge(src proto.Message)
- func (m *CommandResponseHeader) XXX_Size() int
- func (m *CommandResponseHeader) XXX_Unmarshal(b []byte) error
- type CommandResponse_Err
- type CommandResponse_TokenTransaction
- type CommandResponse_TokenTransactions
- type CommandResponse_UnspentTokens
- type Command_IssueRequest
- type Command_ListRequest
- type Command_RedeemRequest
- type Command_TokenOperationRequest
- type Command_TransferRequest
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetMessage() string
- func (m *Error) GetPayload() []byte
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetChannelId() string
- func (m *Header) GetCreator() []byte
- func (m *Header) GetNonce() []byte
- func (m *Header) GetTimestamp() *timestamp.Timestamp
- func (m *Header) GetTlsCertHash() []byte
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type Issue
- func (*Issue) Descriptor() ([]byte, []int)
- func (m *Issue) GetOutputs() []*Token
- func (*Issue) ProtoMessage()
- func (m *Issue) Reset()
- func (m *Issue) String() string
- func (m *Issue) XXX_DiscardUnknown()
- func (m *Issue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Issue) XXX_Merge(src proto.Message)
- func (m *Issue) XXX_Size() int
- func (m *Issue) XXX_Unmarshal(b []byte) error
- type IssueRequest
- func (*IssueRequest) Descriptor() ([]byte, []int)
- func (m *IssueRequest) GetCredential() []byte
- func (m *IssueRequest) GetTokensToIssue() []*Token
- func (*IssueRequest) ProtoMessage()
- func (m *IssueRequest) Reset()
- func (m *IssueRequest) String() string
- func (m *IssueRequest) XXX_DiscardUnknown()
- func (m *IssueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IssueRequest) XXX_Merge(src proto.Message)
- func (m *IssueRequest) XXX_Size() int
- func (m *IssueRequest) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (m *ListRequest) GetCredential() []byte
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) String() string
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type PlainExpectation
- func (*PlainExpectation) Descriptor() ([]byte, []int)
- func (m *PlainExpectation) GetImportExpectation() *PlainTokenExpectation
- func (m *PlainExpectation) GetPayload() isPlainExpectation_Payload
- func (m *PlainExpectation) GetTransferExpectation() *PlainTokenExpectation
- func (*PlainExpectation) ProtoMessage()
- func (m *PlainExpectation) Reset()
- func (m *PlainExpectation) String() string
- func (m *PlainExpectation) XXX_DiscardUnknown()
- func (m *PlainExpectation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlainExpectation) XXX_Merge(src proto.Message)
- func (*PlainExpectation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *PlainExpectation) XXX_Size() int
- func (m *PlainExpectation) XXX_Unmarshal(b []byte) error
- type PlainExpectation_ImportExpectation
- type PlainExpectation_TransferExpectation
- type PlainTokenExpectation
- func (*PlainTokenExpectation) Descriptor() ([]byte, []int)
- func (m *PlainTokenExpectation) GetOutputs() []*PlainOutput
- func (*PlainTokenExpectation) ProtoMessage()
- func (m *PlainTokenExpectation) Reset()
- func (m *PlainTokenExpectation) String() string
- func (m *PlainTokenExpectation) XXX_DiscardUnknown()
- func (m *PlainTokenExpectation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlainTokenExpectation) XXX_Merge(src proto.Message)
- func (m *PlainTokenExpectation) XXX_Size() int
- func (m *PlainTokenExpectation) XXX_Unmarshal(b []byte) error
- type ProverClient
- type ProverServer
- type RecipientShare
- func (*RecipientShare) Descriptor() ([]byte, []int)
- func (m *RecipientShare) GetQuantity() string
- func (m *RecipientShare) GetRecipient() *TokenOwner
- func (*RecipientShare) ProtoMessage()
- func (m *RecipientShare) Reset()
- func (m *RecipientShare) String() string
- func (m *RecipientShare) XXX_DiscardUnknown()
- func (m *RecipientShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecipientShare) XXX_Merge(src proto.Message)
- func (m *RecipientShare) XXX_Size() int
- func (m *RecipientShare) XXX_Unmarshal(b []byte) error
- type RedeemRequest
- func (*RedeemRequest) Descriptor() ([]byte, []int)
- func (m *RedeemRequest) GetCredential() []byte
- func (m *RedeemRequest) GetQuantity() string
- func (m *RedeemRequest) GetTokenIds() []*TokenId
- func (*RedeemRequest) ProtoMessage()
- func (m *RedeemRequest) Reset()
- func (m *RedeemRequest) String() string
- func (m *RedeemRequest) XXX_DiscardUnknown()
- func (m *RedeemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedeemRequest) XXX_Merge(src proto.Message)
- func (m *RedeemRequest) XXX_Size() int
- func (m *RedeemRequest) XXX_Unmarshal(b []byte) error
- type SignedCommand
- func (*SignedCommand) Descriptor() ([]byte, []int)
- func (m *SignedCommand) GetCommand() []byte
- func (m *SignedCommand) GetSignature() []byte
- func (*SignedCommand) ProtoMessage()
- func (m *SignedCommand) Reset()
- func (m *SignedCommand) String() string
- func (m *SignedCommand) XXX_DiscardUnknown()
- func (m *SignedCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedCommand) XXX_Merge(src proto.Message)
- func (m *SignedCommand) XXX_Size() int
- func (m *SignedCommand) XXX_Unmarshal(b []byte) error
- type SignedCommandResponse
- func (*SignedCommandResponse) Descriptor() ([]byte, []int)
- func (m *SignedCommandResponse) GetResponse() []byte
- func (m *SignedCommandResponse) GetSignature() []byte
- func (*SignedCommandResponse) ProtoMessage()
- func (m *SignedCommandResponse) Reset()
- func (m *SignedCommandResponse) String() string
- func (m *SignedCommandResponse) XXX_DiscardUnknown()
- func (m *SignedCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedCommandResponse) XXX_Merge(src proto.Message)
- func (m *SignedCommandResponse) XXX_Size() int
- func (m *SignedCommandResponse) XXX_Unmarshal(b []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetOwner() *TokenOwner
- func (m *Token) GetQuantity() string
- func (m *Token) GetType() string
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) String() string
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type TokenAction
- func (*TokenAction) Descriptor() ([]byte, []int)
- func (m *TokenAction) GetData() isTokenAction_Data
- func (m *TokenAction) GetIssue() *Issue
- func (m *TokenAction) GetRedeem() *Transfer
- func (m *TokenAction) GetTransfer() *Transfer
- func (*TokenAction) ProtoMessage()
- func (m *TokenAction) Reset()
- func (m *TokenAction) String() string
- func (m *TokenAction) XXX_DiscardUnknown()
- func (m *TokenAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenAction) XXX_Merge(src proto.Message)
- func (*TokenAction) XXX_OneofWrappers() []interface{}
- func (m *TokenAction) XXX_Size() int
- func (m *TokenAction) XXX_Unmarshal(b []byte) error
- type TokenActionTerms
- func (*TokenActionTerms) Descriptor() ([]byte, []int)
- func (m *TokenActionTerms) GetOutputs() []*Token
- func (m *TokenActionTerms) GetSender() *TokenOwner
- func (*TokenActionTerms) ProtoMessage()
- func (m *TokenActionTerms) Reset()
- func (m *TokenActionTerms) String() string
- func (m *TokenActionTerms) XXX_DiscardUnknown()
- func (m *TokenActionTerms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenActionTerms) XXX_Merge(src proto.Message)
- func (m *TokenActionTerms) XXX_Size() int
- func (m *TokenActionTerms) XXX_Unmarshal(b []byte) error
- type TokenAction_Issue
- type TokenAction_Redeem
- type TokenAction_Transfer
- type TokenExpectation
- func (*TokenExpectation) Descriptor() ([]byte, []int)
- func (m *TokenExpectation) GetExpectation() isTokenExpectation_Expectation
- func (m *TokenExpectation) GetPlainExpectation() *PlainExpectation
- func (*TokenExpectation) ProtoMessage()
- func (m *TokenExpectation) Reset()
- func (m *TokenExpectation) String() string
- func (m *TokenExpectation) XXX_DiscardUnknown()
- func (m *TokenExpectation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TokenExpectation) XXX_Merge(src proto.Message)
- func (*TokenExpectation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *TokenExpectation) XXX_Size() int
- func (m *TokenExpectation) XXX_Unmarshal(b []byte) error
- type TokenExpectation_PlainExpectation
- type TokenId
- func (*TokenId) Descriptor() ([]byte, []int)
- func (m *TokenId) GetIndex() uint32
- func (m *TokenId) GetTxId() string
- func (*TokenId) ProtoMessage()
- func (m *TokenId) Reset()
- func (m *TokenId) String() string
- func (m *TokenId) XXX_DiscardUnknown()
- func (m *TokenId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenId) XXX_Merge(src proto.Message)
- func (m *TokenId) XXX_Size() int
- func (m *TokenId) XXX_Unmarshal(b []byte) error
- type TokenOperation
- func (*TokenOperation) Descriptor() ([]byte, []int)
- func (m *TokenOperation) GetAction() *TokenOperationAction
- func (m *TokenOperation) GetOperation() isTokenOperation_Operation
- func (*TokenOperation) ProtoMessage()
- func (m *TokenOperation) Reset()
- func (m *TokenOperation) String() string
- func (m *TokenOperation) XXX_DiscardUnknown()
- func (m *TokenOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenOperation) XXX_Merge(src proto.Message)
- func (*TokenOperation) XXX_OneofWrappers() []interface{}
- func (m *TokenOperation) XXX_Size() int
- func (m *TokenOperation) XXX_Unmarshal(b []byte) error
- type TokenOperationAction
- func (*TokenOperationAction) Descriptor() ([]byte, []int)
- func (m *TokenOperationAction) GetIssue() *TokenActionTerms
- func (m *TokenOperationAction) GetPayload() isTokenOperationAction_Payload
- func (m *TokenOperationAction) GetTransfer() *TokenActionTerms
- func (*TokenOperationAction) ProtoMessage()
- func (m *TokenOperationAction) Reset()
- func (m *TokenOperationAction) String() string
- func (m *TokenOperationAction) XXX_DiscardUnknown()
- func (m *TokenOperationAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenOperationAction) XXX_Merge(src proto.Message)
- func (*TokenOperationAction) XXX_OneofWrappers() []interface{}
- func (m *TokenOperationAction) XXX_Size() int
- func (m *TokenOperationAction) XXX_Unmarshal(b []byte) error
- type TokenOperationAction_Issue
- type TokenOperationAction_Transfer
- type TokenOperationRequest
- func (*TokenOperationRequest) Descriptor() ([]byte, []int)
- func (m *TokenOperationRequest) GetCredential() []byte
- func (m *TokenOperationRequest) GetOperations() []*TokenOperation
- func (m *TokenOperationRequest) GetTokenIds() []*TokenId
- func (*TokenOperationRequest) ProtoMessage()
- func (m *TokenOperationRequest) Reset()
- func (m *TokenOperationRequest) String() string
- func (m *TokenOperationRequest) XXX_DiscardUnknown()
- func (m *TokenOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenOperationRequest) XXX_Merge(src proto.Message)
- func (m *TokenOperationRequest) XXX_Size() int
- func (m *TokenOperationRequest) XXX_Unmarshal(b []byte) error
- type TokenOperation_Action
- type TokenOwner
- func (*TokenOwner) Descriptor() ([]byte, []int)
- func (m *TokenOwner) GetRaw() []byte
- func (m *TokenOwner) GetType() TokenOwner_Type
- func (*TokenOwner) ProtoMessage()
- func (m *TokenOwner) Reset()
- func (m *TokenOwner) String() string
- func (m *TokenOwner) XXX_DiscardUnknown()
- func (m *TokenOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenOwner) XXX_Merge(src proto.Message)
- func (m *TokenOwner) XXX_Size() int
- func (m *TokenOwner) XXX_Unmarshal(b []byte) error
- type TokenOwner_Type
- type TokenTransaction
- func (*TokenTransaction) Descriptor() ([]byte, []int)
- func (m *TokenTransaction) GetAction() isTokenTransaction_Action
- func (m *TokenTransaction) GetTokenAction() *TokenAction
- func (*TokenTransaction) ProtoMessage()
- func (m *TokenTransaction) Reset()
- func (m *TokenTransaction) String() string
- func (m *TokenTransaction) XXX_DiscardUnknown()
- func (m *TokenTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenTransaction) XXX_Merge(src proto.Message)
- func (*TokenTransaction) XXX_OneofWrappers() []interface{}
- func (m *TokenTransaction) XXX_Size() int
- func (m *TokenTransaction) XXX_Unmarshal(b []byte) error
- type TokenTransaction_TokenAction
- type TokenTransactions
- func (*TokenTransactions) Descriptor() ([]byte, []int)
- func (m *TokenTransactions) GetTxs() []*TokenTransaction
- func (*TokenTransactions) ProtoMessage()
- func (m *TokenTransactions) Reset()
- func (m *TokenTransactions) String() string
- func (m *TokenTransactions) XXX_DiscardUnknown()
- func (m *TokenTransactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenTransactions) XXX_Merge(src proto.Message)
- func (m *TokenTransactions) XXX_Size() int
- func (m *TokenTransactions) XXX_Unmarshal(b []byte) error
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)
- func (m *Transfer) GetInputs() []*TokenId
- func (m *Transfer) GetOutputs() []*Token
- func (*Transfer) ProtoMessage()
- func (m *Transfer) Reset()
- func (m *Transfer) String() string
- func (m *Transfer) XXX_DiscardUnknown()
- func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transfer) XXX_Merge(src proto.Message)
- func (m *Transfer) XXX_Size() int
- func (m *Transfer) XXX_Unmarshal(b []byte) error
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)
- func (m *TransferRequest) GetCredential() []byte
- func (m *TransferRequest) GetShares() []*RecipientShare
- func (m *TransferRequest) GetTokenIds() []*TokenId
- func (*TransferRequest) ProtoMessage()
- func (m *TransferRequest) Reset()
- func (m *TransferRequest) String() string
- func (m *TransferRequest) XXX_DiscardUnknown()
- func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferRequest) XXX_Merge(src proto.Message)
- func (m *TransferRequest) XXX_Size() int
- func (m *TransferRequest) XXX_Unmarshal(b []byte) error
- type UnspentToken
- func (*UnspentToken) Descriptor() ([]byte, []int)
- func (m *UnspentToken) GetId() *TokenId
- func (m *UnspentToken) GetQuantity() string
- func (m *UnspentToken) GetType() string
- func (*UnspentToken) ProtoMessage()
- func (m *UnspentToken) Reset()
- func (m *UnspentToken) String() string
- func (m *UnspentToken) XXX_DiscardUnknown()
- func (m *UnspentToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnspentToken) XXX_Merge(src proto.Message)
- func (m *UnspentToken) XXX_Size() int
- func (m *UnspentToken) XXX_Unmarshal(b []byte) error
- type UnspentTokens
- func (*UnspentTokens) Descriptor() ([]byte, []int)
- func (m *UnspentTokens) GetTokens() []*UnspentToken
- func (*UnspentTokens) ProtoMessage()
- func (m *UnspentTokens) Reset()
- func (m *UnspentTokens) String() string
- func (m *UnspentTokens) XXX_DiscardUnknown()
- func (m *UnspentTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnspentTokens) XXX_Merge(src proto.Message)
- func (m *UnspentTokens) XXX_Size() int
- func (m *UnspentTokens) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var TokenOwner_Type_name = map[int32]string{
0: "MSP_IDENTIFIER",
}
View Source
var TokenOwner_Type_value = map[string]int32{
"MSP_IDENTIFIER": 0,
}
Functions ¶
func RegisterProverServer ¶
func RegisterProverServer(s *grpc.Server, srv ProverServer)
Types ¶
type Command ¶
type Command struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Payload isCommand_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Command) Descriptor ¶
func (*Command) GetIssueRequest ¶
func (m *Command) GetIssueRequest() *IssueRequest
func (*Command) GetListRequest ¶
func (m *Command) GetListRequest() *ListRequest
func (*Command) GetPayload ¶
func (m *Command) GetPayload() isCommand_Payload
func (*Command) GetRedeemRequest ¶
func (m *Command) GetRedeemRequest() *RedeemRequest
func (*Command) GetTokenOperationRequest ¶
func (m *Command) GetTokenOperationRequest() *TokenOperationRequest
func (*Command) GetTransferRequest ¶
func (m *Command) GetTransferRequest() *TransferRequest
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) XXX_DiscardUnknown ¶
func (m *Command) XXX_DiscardUnknown()
func (*Command) XXX_Marshal ¶
func (*Command) XXX_OneofWrappers ¶
func (*Command) XXX_OneofWrappers() []interface{}
func (*Command) XXX_Unmarshal ¶
type CommandResponse ¶
type CommandResponse struct { Header *CommandResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Payload isCommandResponse_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommandResponse) Descriptor ¶
func (*CommandResponse) Descriptor() ([]byte, []int)
func (*CommandResponse) GetErr ¶
func (m *CommandResponse) GetErr() *Error
func (*CommandResponse) GetHeader ¶
func (m *CommandResponse) GetHeader() *CommandResponseHeader
func (*CommandResponse) GetPayload ¶
func (m *CommandResponse) GetPayload() isCommandResponse_Payload
func (*CommandResponse) GetTokenTransaction ¶
func (m *CommandResponse) GetTokenTransaction() *TokenTransaction
func (*CommandResponse) GetTokenTransactions ¶
func (m *CommandResponse) GetTokenTransactions() *TokenTransactions
func (*CommandResponse) GetUnspentTokens ¶
func (m *CommandResponse) GetUnspentTokens() *UnspentTokens
func (*CommandResponse) ProtoMessage ¶
func (*CommandResponse) ProtoMessage()
func (*CommandResponse) Reset ¶
func (m *CommandResponse) Reset()
func (*CommandResponse) String ¶
func (m *CommandResponse) String() string
func (*CommandResponse) XXX_DiscardUnknown ¶
func (m *CommandResponse) XXX_DiscardUnknown()
func (*CommandResponse) XXX_Marshal ¶
func (m *CommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommandResponse) XXX_Merge ¶
func (m *CommandResponse) XXX_Merge(src proto.Message)
func (*CommandResponse) XXX_OneofWrappers ¶
func (*CommandResponse) XXX_OneofWrappers() []interface{}
func (*CommandResponse) XXX_Size ¶
func (m *CommandResponse) XXX_Size() int
func (*CommandResponse) XXX_Unmarshal ¶
func (m *CommandResponse) XXX_Unmarshal(b []byte) error
type CommandResponseHeader ¶
type CommandResponseHeader struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` CommandHash []byte `protobuf:"bytes,2,opt,name=command_hash,json=commandHash,proto3" json:"command_hash,omitempty"` Creator []byte `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommandResponseHeader) Descriptor ¶
func (*CommandResponseHeader) Descriptor() ([]byte, []int)
func (*CommandResponseHeader) GetCommandHash ¶
func (m *CommandResponseHeader) GetCommandHash() []byte
func (*CommandResponseHeader) GetCreator ¶
func (m *CommandResponseHeader) GetCreator() []byte
func (*CommandResponseHeader) GetTimestamp ¶
func (m *CommandResponseHeader) GetTimestamp() *timestamp.Timestamp
func (*CommandResponseHeader) ProtoMessage ¶
func (*CommandResponseHeader) ProtoMessage()
func (*CommandResponseHeader) Reset ¶
func (m *CommandResponseHeader) Reset()
func (*CommandResponseHeader) String ¶
func (m *CommandResponseHeader) String() string
func (*CommandResponseHeader) XXX_DiscardUnknown ¶
func (m *CommandResponseHeader) XXX_DiscardUnknown()
func (*CommandResponseHeader) XXX_Marshal ¶
func (m *CommandResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommandResponseHeader) XXX_Merge ¶
func (m *CommandResponseHeader) XXX_Merge(src proto.Message)
func (*CommandResponseHeader) XXX_Size ¶
func (m *CommandResponseHeader) XXX_Size() int
func (*CommandResponseHeader) XXX_Unmarshal ¶
func (m *CommandResponseHeader) XXX_Unmarshal(b []byte) error
type CommandResponse_Err ¶
type CommandResponse_Err struct {
Err *Error `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type CommandResponse_TokenTransaction ¶
type CommandResponse_TokenTransaction struct {
TokenTransaction *TokenTransaction `protobuf:"bytes,3,opt,name=token_transaction,json=tokenTransaction,proto3,oneof"`
}
type CommandResponse_TokenTransactions ¶
type CommandResponse_TokenTransactions struct {
TokenTransactions *TokenTransactions `protobuf:"bytes,5,opt,name=token_transactions,json=tokenTransactions,proto3,oneof"`
}
type CommandResponse_UnspentTokens ¶
type CommandResponse_UnspentTokens struct {
UnspentTokens *UnspentTokens `protobuf:"bytes,4,opt,name=unspent_tokens,json=unspentTokens,proto3,oneof"`
}
type Command_IssueRequest ¶
type Command_IssueRequest struct {
IssueRequest *IssueRequest `protobuf:"bytes,2,opt,name=issue_request,json=issueRequest,proto3,oneof"`
}
type Command_ListRequest ¶
type Command_ListRequest struct {
ListRequest *ListRequest `protobuf:"bytes,4,opt,name=list_request,json=listRequest,proto3,oneof"`
}
type Command_RedeemRequest ¶
type Command_RedeemRequest struct {
RedeemRequest *RedeemRequest `protobuf:"bytes,5,opt,name=redeem_request,json=redeemRequest,proto3,oneof"`
}
type Command_TokenOperationRequest ¶
type Command_TokenOperationRequest struct {
TokenOperationRequest *TokenOperationRequest `protobuf:"bytes,6,opt,name=token_operation_request,json=tokenOperationRequest,proto3,oneof"`
}
type Command_TransferRequest ¶
type Command_TransferRequest struct {
TransferRequest *TransferRequest `protobuf:"bytes,3,opt,name=transfer_request,json=transferRequest,proto3,oneof"`
}
type Error ¶
type Error struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) GetPayload ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type Header ¶
type Header struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` Creator []byte `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` TlsCertHash []byte `protobuf:"bytes,5,opt,name=tls_cert_hash,json=tlsCertHash,proto3" json:"tls_cert_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Header) Descriptor ¶
func (*Header) GetChannelId ¶
func (*Header) GetCreator ¶
func (*Header) GetTimestamp ¶
func (*Header) GetTlsCertHash ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type Issue ¶
type Issue struct { Outputs []*Token `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Issue) Descriptor ¶
func (*Issue) GetOutputs ¶
func (*Issue) ProtoMessage ¶
func (*Issue) ProtoMessage()
func (*Issue) XXX_DiscardUnknown ¶
func (m *Issue) XXX_DiscardUnknown()
func (*Issue) XXX_Marshal ¶
func (*Issue) XXX_Unmarshal ¶
type IssueRequest ¶
type IssueRequest struct { Credential []byte `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` TokensToIssue []*Token `protobuf:"bytes,2,rep,name=tokens_to_issue,json=tokensToIssue,proto3" json:"tokens_to_issue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IssueRequest) Descriptor ¶
func (*IssueRequest) Descriptor() ([]byte, []int)
func (*IssueRequest) GetCredential ¶
func (m *IssueRequest) GetCredential() []byte
func (*IssueRequest) GetTokensToIssue ¶
func (m *IssueRequest) GetTokensToIssue() []*Token
func (*IssueRequest) ProtoMessage ¶
func (*IssueRequest) ProtoMessage()
func (*IssueRequest) Reset ¶
func (m *IssueRequest) Reset()
func (*IssueRequest) String ¶
func (m *IssueRequest) String() string
func (*IssueRequest) XXX_DiscardUnknown ¶
func (m *IssueRequest) XXX_DiscardUnknown()
func (*IssueRequest) XXX_Marshal ¶
func (m *IssueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssueRequest) XXX_Merge ¶
func (m *IssueRequest) XXX_Merge(src proto.Message)
func (*IssueRequest) XXX_Size ¶
func (m *IssueRequest) XXX_Size() int
func (*IssueRequest) XXX_Unmarshal ¶
func (m *IssueRequest) XXX_Unmarshal(b []byte) error
type ListRequest ¶
type ListRequest struct { Credential []byte `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetCredential ¶
func (m *ListRequest) GetCredential() []byte
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type PlainExpectation ¶
type PlainExpectation struct { Payload isPlainExpectation_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlainExpectation) Descriptor ¶
func (*PlainExpectation) Descriptor() ([]byte, []int)
func (*PlainExpectation) GetImportExpectation ¶
func (m *PlainExpectation) GetImportExpectation() *PlainTokenExpectation
func (*PlainExpectation) GetPayload ¶
func (m *PlainExpectation) GetPayload() isPlainExpectation_Payload
func (*PlainExpectation) GetTransferExpectation ¶
func (m *PlainExpectation) GetTransferExpectation() *PlainTokenExpectation
func (*PlainExpectation) ProtoMessage ¶
func (*PlainExpectation) ProtoMessage()
func (*PlainExpectation) Reset ¶
func (m *PlainExpectation) Reset()
func (*PlainExpectation) String ¶
func (m *PlainExpectation) String() string
func (*PlainExpectation) XXX_DiscardUnknown ¶
func (m *PlainExpectation) XXX_DiscardUnknown()
func (*PlainExpectation) XXX_Marshal ¶
func (m *PlainExpectation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlainExpectation) XXX_Merge ¶
func (dst *PlainExpectation) XXX_Merge(src proto.Message)
func (*PlainExpectation) XXX_OneofFuncs ¶
func (*PlainExpectation) XXX_Size ¶
func (m *PlainExpectation) XXX_Size() int
func (*PlainExpectation) XXX_Unmarshal ¶
func (m *PlainExpectation) XXX_Unmarshal(b []byte) error
type PlainExpectation_ImportExpectation ¶
type PlainExpectation_ImportExpectation struct {
ImportExpectation *PlainTokenExpectation `protobuf:"bytes,1,opt,name=import_expectation,json=importExpectation,proto3,oneof"`
}
type PlainExpectation_TransferExpectation ¶
type PlainExpectation_TransferExpectation struct {
TransferExpectation *PlainTokenExpectation `protobuf:"bytes,2,opt,name=transfer_expectation,json=transferExpectation,proto3,oneof"`
}
type PlainTokenExpectation ¶
type PlainTokenExpectation struct { Outputs []*PlainOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlainTokenExpectation) Descriptor ¶
func (*PlainTokenExpectation) Descriptor() ([]byte, []int)
func (*PlainTokenExpectation) GetOutputs ¶
func (m *PlainTokenExpectation) GetOutputs() []*PlainOutput
func (*PlainTokenExpectation) ProtoMessage ¶
func (*PlainTokenExpectation) ProtoMessage()
func (*PlainTokenExpectation) Reset ¶
func (m *PlainTokenExpectation) Reset()
func (*PlainTokenExpectation) String ¶
func (m *PlainTokenExpectation) String() string
func (*PlainTokenExpectation) XXX_DiscardUnknown ¶
func (m *PlainTokenExpectation) XXX_DiscardUnknown()
func (*PlainTokenExpectation) XXX_Marshal ¶
func (m *PlainTokenExpectation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlainTokenExpectation) XXX_Merge ¶
func (dst *PlainTokenExpectation) XXX_Merge(src proto.Message)
func (*PlainTokenExpectation) XXX_Size ¶
func (m *PlainTokenExpectation) XXX_Size() int
func (*PlainTokenExpectation) XXX_Unmarshal ¶
func (m *PlainTokenExpectation) XXX_Unmarshal(b []byte) error
type ProverClient ¶
type ProverClient interface {
ProcessCommand(ctx context.Context, in *SignedCommand, opts ...grpc.CallOption) (*SignedCommandResponse, error)
}
func NewProverClient ¶
func NewProverClient(cc *grpc.ClientConn) ProverClient
type ProverServer ¶
type ProverServer interface {
ProcessCommand(context.Context, *SignedCommand) (*SignedCommandResponse, error)
}
type RecipientShare ¶
type RecipientShare struct {}
func (*RecipientShare) Descriptor ¶
func (*RecipientShare) Descriptor() ([]byte, []int)
func (*RecipientShare) GetQuantity ¶
func (m *RecipientShare) GetQuantity() string
func (*RecipientShare) GetRecipient ¶
func (m *RecipientShare) GetRecipient() *TokenOwner
func (*RecipientShare) ProtoMessage ¶
func (*RecipientShare) ProtoMessage()
func (*RecipientShare) Reset ¶
func (m *RecipientShare) Reset()
func (*RecipientShare) String ¶
func (m *RecipientShare) String() string
func (*RecipientShare) XXX_DiscardUnknown ¶
func (m *RecipientShare) XXX_DiscardUnknown()
func (*RecipientShare) XXX_Marshal ¶
func (m *RecipientShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecipientShare) XXX_Merge ¶
func (m *RecipientShare) XXX_Merge(src proto.Message)
func (*RecipientShare) XXX_Size ¶
func (m *RecipientShare) XXX_Size() int
func (*RecipientShare) XXX_Unmarshal ¶
func (m *RecipientShare) XXX_Unmarshal(b []byte) error
type RedeemRequest ¶
type RedeemRequest struct { Credential []byte `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` TokenIds []*TokenId `protobuf:"bytes,2,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"` Quantity string `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedeemRequest) Descriptor ¶
func (*RedeemRequest) Descriptor() ([]byte, []int)
func (*RedeemRequest) GetCredential ¶
func (m *RedeemRequest) GetCredential() []byte
func (*RedeemRequest) GetQuantity ¶
func (m *RedeemRequest) GetQuantity() string
func (*RedeemRequest) GetTokenIds ¶
func (m *RedeemRequest) GetTokenIds() []*TokenId
func (*RedeemRequest) ProtoMessage ¶
func (*RedeemRequest) ProtoMessage()
func (*RedeemRequest) Reset ¶
func (m *RedeemRequest) Reset()
func (*RedeemRequest) String ¶
func (m *RedeemRequest) String() string
func (*RedeemRequest) XXX_DiscardUnknown ¶
func (m *RedeemRequest) XXX_DiscardUnknown()
func (*RedeemRequest) XXX_Marshal ¶
func (m *RedeemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedeemRequest) XXX_Merge ¶
func (m *RedeemRequest) XXX_Merge(src proto.Message)
func (*RedeemRequest) XXX_Size ¶
func (m *RedeemRequest) XXX_Size() int
func (*RedeemRequest) XXX_Unmarshal ¶
func (m *RedeemRequest) XXX_Unmarshal(b []byte) error
type SignedCommand ¶
type SignedCommand struct { Command []byte `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignedCommand) Descriptor ¶
func (*SignedCommand) Descriptor() ([]byte, []int)
func (*SignedCommand) GetCommand ¶
func (m *SignedCommand) GetCommand() []byte
func (*SignedCommand) GetSignature ¶
func (m *SignedCommand) GetSignature() []byte
func (*SignedCommand) ProtoMessage ¶
func (*SignedCommand) ProtoMessage()
func (*SignedCommand) Reset ¶
func (m *SignedCommand) Reset()
func (*SignedCommand) String ¶
func (m *SignedCommand) String() string
func (*SignedCommand) XXX_DiscardUnknown ¶
func (m *SignedCommand) XXX_DiscardUnknown()
func (*SignedCommand) XXX_Marshal ¶
func (m *SignedCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedCommand) XXX_Merge ¶
func (m *SignedCommand) XXX_Merge(src proto.Message)
func (*SignedCommand) XXX_Size ¶
func (m *SignedCommand) XXX_Size() int
func (*SignedCommand) XXX_Unmarshal ¶
func (m *SignedCommand) XXX_Unmarshal(b []byte) error
type SignedCommandResponse ¶
type SignedCommandResponse struct { Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignedCommandResponse) Descriptor ¶
func (*SignedCommandResponse) Descriptor() ([]byte, []int)
func (*SignedCommandResponse) GetResponse ¶
func (m *SignedCommandResponse) GetResponse() []byte
func (*SignedCommandResponse) GetSignature ¶
func (m *SignedCommandResponse) GetSignature() []byte
func (*SignedCommandResponse) ProtoMessage ¶
func (*SignedCommandResponse) ProtoMessage()
func (*SignedCommandResponse) Reset ¶
func (m *SignedCommandResponse) Reset()
func (*SignedCommandResponse) String ¶
func (m *SignedCommandResponse) String() string
func (*SignedCommandResponse) XXX_DiscardUnknown ¶
func (m *SignedCommandResponse) XXX_DiscardUnknown()
func (*SignedCommandResponse) XXX_Marshal ¶
func (m *SignedCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedCommandResponse) XXX_Merge ¶
func (m *SignedCommandResponse) XXX_Merge(src proto.Message)
func (*SignedCommandResponse) XXX_Size ¶
func (m *SignedCommandResponse) XXX_Size() int
func (*SignedCommandResponse) XXX_Unmarshal ¶
func (m *SignedCommandResponse) XXX_Unmarshal(b []byte) error
type Token ¶
type Token struct { Owner *TokenOwner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Quantity string `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Token) Descriptor ¶
func (*Token) GetOwner ¶
func (m *Token) GetOwner() *TokenOwner
func (*Token) GetQuantity ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶
func (*Token) XXX_Unmarshal ¶
type TokenAction ¶
type TokenAction struct { Data isTokenAction_Data `protobuf_oneof:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenAction) Descriptor ¶
func (*TokenAction) Descriptor() ([]byte, []int)
func (*TokenAction) GetData ¶
func (m *TokenAction) GetData() isTokenAction_Data
func (*TokenAction) GetIssue ¶
func (m *TokenAction) GetIssue() *Issue
func (*TokenAction) GetRedeem ¶
func (m *TokenAction) GetRedeem() *Transfer
func (*TokenAction) GetTransfer ¶
func (m *TokenAction) GetTransfer() *Transfer
func (*TokenAction) ProtoMessage ¶
func (*TokenAction) ProtoMessage()
func (*TokenAction) Reset ¶
func (m *TokenAction) Reset()
func (*TokenAction) String ¶
func (m *TokenAction) String() string
func (*TokenAction) XXX_DiscardUnknown ¶
func (m *TokenAction) XXX_DiscardUnknown()
func (*TokenAction) XXX_Marshal ¶
func (m *TokenAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenAction) XXX_Merge ¶
func (m *TokenAction) XXX_Merge(src proto.Message)
func (*TokenAction) XXX_OneofWrappers ¶
func (*TokenAction) XXX_OneofWrappers() []interface{}
func (*TokenAction) XXX_Size ¶
func (m *TokenAction) XXX_Size() int
func (*TokenAction) XXX_Unmarshal ¶
func (m *TokenAction) XXX_Unmarshal(b []byte) error
type TokenActionTerms ¶
type TokenActionTerms struct { Sender *TokenOwner `protobuf:"bytes,1,opt,name=Sender,proto3" json:"Sender,omitempty"` Outputs []*Token `protobuf:"bytes,2,rep,name=Outputs,proto3" json:"Outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenActionTerms) Descriptor ¶
func (*TokenActionTerms) Descriptor() ([]byte, []int)
func (*TokenActionTerms) GetOutputs ¶
func (m *TokenActionTerms) GetOutputs() []*Token
func (*TokenActionTerms) GetSender ¶
func (m *TokenActionTerms) GetSender() *TokenOwner
func (*TokenActionTerms) ProtoMessage ¶
func (*TokenActionTerms) ProtoMessage()
func (*TokenActionTerms) Reset ¶
func (m *TokenActionTerms) Reset()
func (*TokenActionTerms) String ¶
func (m *TokenActionTerms) String() string
func (*TokenActionTerms) XXX_DiscardUnknown ¶
func (m *TokenActionTerms) XXX_DiscardUnknown()
func (*TokenActionTerms) XXX_Marshal ¶
func (m *TokenActionTerms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenActionTerms) XXX_Merge ¶
func (m *TokenActionTerms) XXX_Merge(src proto.Message)
func (*TokenActionTerms) XXX_Size ¶
func (m *TokenActionTerms) XXX_Size() int
func (*TokenActionTerms) XXX_Unmarshal ¶
func (m *TokenActionTerms) XXX_Unmarshal(b []byte) error
type TokenAction_Issue ¶
type TokenAction_Issue struct {
Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3,oneof"`
}
type TokenAction_Redeem ¶
type TokenAction_Redeem struct {
Redeem *Transfer `protobuf:"bytes,3,opt,name=redeem,proto3,oneof"`
}
type TokenAction_Transfer ¶
type TokenAction_Transfer struct {
Transfer *Transfer `protobuf:"bytes,2,opt,name=transfer,proto3,oneof"`
}
type TokenExpectation ¶
type TokenExpectation struct { Expectation isTokenExpectation_Expectation `protobuf_oneof:"Expectation"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenExpectation) Descriptor ¶
func (*TokenExpectation) Descriptor() ([]byte, []int)
func (*TokenExpectation) GetExpectation ¶
func (m *TokenExpectation) GetExpectation() isTokenExpectation_Expectation
func (*TokenExpectation) GetPlainExpectation ¶
func (m *TokenExpectation) GetPlainExpectation() *PlainExpectation
func (*TokenExpectation) ProtoMessage ¶
func (*TokenExpectation) ProtoMessage()
func (*TokenExpectation) Reset ¶
func (m *TokenExpectation) Reset()
func (*TokenExpectation) String ¶
func (m *TokenExpectation) String() string
func (*TokenExpectation) XXX_DiscardUnknown ¶
func (m *TokenExpectation) XXX_DiscardUnknown()
func (*TokenExpectation) XXX_Marshal ¶
func (m *TokenExpectation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenExpectation) XXX_Merge ¶
func (dst *TokenExpectation) XXX_Merge(src proto.Message)
func (*TokenExpectation) XXX_OneofFuncs ¶
func (*TokenExpectation) XXX_Size ¶
func (m *TokenExpectation) XXX_Size() int
func (*TokenExpectation) XXX_Unmarshal ¶
func (m *TokenExpectation) XXX_Unmarshal(b []byte) error
type TokenExpectation_PlainExpectation ¶
type TokenExpectation_PlainExpectation struct {
PlainExpectation *PlainExpectation `protobuf:"bytes,1,opt,name=plain_expectation,json=plainExpectation,proto3,oneof"`
}
type TokenId ¶
type TokenId struct { TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenId) Descriptor ¶
func (*TokenId) ProtoMessage ¶
func (*TokenId) ProtoMessage()
func (*TokenId) XXX_DiscardUnknown ¶
func (m *TokenId) XXX_DiscardUnknown()
func (*TokenId) XXX_Marshal ¶
func (*TokenId) XXX_Unmarshal ¶
type TokenOperation ¶
type TokenOperation struct { Operation isTokenOperation_Operation `protobuf_oneof:"Operation"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenOperation) Descriptor ¶
func (*TokenOperation) Descriptor() ([]byte, []int)
func (*TokenOperation) GetAction ¶
func (m *TokenOperation) GetAction() *TokenOperationAction
func (*TokenOperation) GetOperation ¶
func (m *TokenOperation) GetOperation() isTokenOperation_Operation
func (*TokenOperation) ProtoMessage ¶
func (*TokenOperation) ProtoMessage()
func (*TokenOperation) Reset ¶
func (m *TokenOperation) Reset()
func (*TokenOperation) String ¶
func (m *TokenOperation) String() string
func (*TokenOperation) XXX_DiscardUnknown ¶
func (m *TokenOperation) XXX_DiscardUnknown()
func (*TokenOperation) XXX_Marshal ¶
func (m *TokenOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenOperation) XXX_Merge ¶
func (m *TokenOperation) XXX_Merge(src proto.Message)
func (*TokenOperation) XXX_OneofWrappers ¶
func (*TokenOperation) XXX_OneofWrappers() []interface{}
func (*TokenOperation) XXX_Size ¶
func (m *TokenOperation) XXX_Size() int
func (*TokenOperation) XXX_Unmarshal ¶
func (m *TokenOperation) XXX_Unmarshal(b []byte) error
type TokenOperationAction ¶
type TokenOperationAction struct { Payload isTokenOperationAction_Payload `protobuf_oneof:"Payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenOperationAction) Descriptor ¶
func (*TokenOperationAction) Descriptor() ([]byte, []int)
func (*TokenOperationAction) GetIssue ¶
func (m *TokenOperationAction) GetIssue() *TokenActionTerms
func (*TokenOperationAction) GetPayload ¶
func (m *TokenOperationAction) GetPayload() isTokenOperationAction_Payload
func (*TokenOperationAction) GetTransfer ¶
func (m *TokenOperationAction) GetTransfer() *TokenActionTerms
func (*TokenOperationAction) ProtoMessage ¶
func (*TokenOperationAction) ProtoMessage()
func (*TokenOperationAction) Reset ¶
func (m *TokenOperationAction) Reset()
func (*TokenOperationAction) String ¶
func (m *TokenOperationAction) String() string
func (*TokenOperationAction) XXX_DiscardUnknown ¶
func (m *TokenOperationAction) XXX_DiscardUnknown()
func (*TokenOperationAction) XXX_Marshal ¶
func (m *TokenOperationAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenOperationAction) XXX_Merge ¶
func (m *TokenOperationAction) XXX_Merge(src proto.Message)
func (*TokenOperationAction) XXX_OneofWrappers ¶
func (*TokenOperationAction) XXX_OneofWrappers() []interface{}
func (*TokenOperationAction) XXX_Size ¶
func (m *TokenOperationAction) XXX_Size() int
func (*TokenOperationAction) XXX_Unmarshal ¶
func (m *TokenOperationAction) XXX_Unmarshal(b []byte) error
type TokenOperationAction_Issue ¶
type TokenOperationAction_Issue struct {
Issue *TokenActionTerms `protobuf:"bytes,1,opt,name=Issue,proto3,oneof"`
}
type TokenOperationAction_Transfer ¶
type TokenOperationAction_Transfer struct {
Transfer *TokenActionTerms `protobuf:"bytes,2,opt,name=Transfer,proto3,oneof"`
}
type TokenOperationRequest ¶
type TokenOperationRequest struct { Credential []byte `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` Operations []*TokenOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` TokenIds []*TokenId `protobuf:"bytes,3,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenOperationRequest) Descriptor ¶
func (*TokenOperationRequest) Descriptor() ([]byte, []int)
func (*TokenOperationRequest) GetCredential ¶
func (m *TokenOperationRequest) GetCredential() []byte
func (*TokenOperationRequest) GetOperations ¶
func (m *TokenOperationRequest) GetOperations() []*TokenOperation
func (*TokenOperationRequest) GetTokenIds ¶
func (m *TokenOperationRequest) GetTokenIds() []*TokenId
func (*TokenOperationRequest) ProtoMessage ¶
func (*TokenOperationRequest) ProtoMessage()
func (*TokenOperationRequest) Reset ¶
func (m *TokenOperationRequest) Reset()
func (*TokenOperationRequest) String ¶
func (m *TokenOperationRequest) String() string
func (*TokenOperationRequest) XXX_DiscardUnknown ¶
func (m *TokenOperationRequest) XXX_DiscardUnknown()
func (*TokenOperationRequest) XXX_Marshal ¶
func (m *TokenOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenOperationRequest) XXX_Merge ¶
func (m *TokenOperationRequest) XXX_Merge(src proto.Message)
func (*TokenOperationRequest) XXX_Size ¶
func (m *TokenOperationRequest) XXX_Size() int
func (*TokenOperationRequest) XXX_Unmarshal ¶
func (m *TokenOperationRequest) XXX_Unmarshal(b []byte) error
type TokenOperation_Action ¶
type TokenOperation_Action struct {
Action *TokenOperationAction `protobuf:"bytes,1,opt,name=Action,proto3,oneof"`
}
type TokenOwner ¶
type TokenOwner struct { Type TokenOwner_Type `protobuf:"varint,1,opt,name=type,proto3,enum=token.TokenOwner_Type" json:"type,omitempty"` Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenOwner) Descriptor ¶
func (*TokenOwner) Descriptor() ([]byte, []int)
func (*TokenOwner) GetRaw ¶
func (m *TokenOwner) GetRaw() []byte
func (*TokenOwner) GetType ¶
func (m *TokenOwner) GetType() TokenOwner_Type
func (*TokenOwner) ProtoMessage ¶
func (*TokenOwner) ProtoMessage()
func (*TokenOwner) Reset ¶
func (m *TokenOwner) Reset()
func (*TokenOwner) String ¶
func (m *TokenOwner) String() string
func (*TokenOwner) XXX_DiscardUnknown ¶
func (m *TokenOwner) XXX_DiscardUnknown()
func (*TokenOwner) XXX_Marshal ¶
func (m *TokenOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenOwner) XXX_Merge ¶
func (m *TokenOwner) XXX_Merge(src proto.Message)
func (*TokenOwner) XXX_Size ¶
func (m *TokenOwner) XXX_Size() int
func (*TokenOwner) XXX_Unmarshal ¶
func (m *TokenOwner) XXX_Unmarshal(b []byte) error
type TokenOwner_Type ¶
type TokenOwner_Type int32
const (
TokenOwner_MSP_IDENTIFIER TokenOwner_Type = 0
)
func (TokenOwner_Type) EnumDescriptor ¶
func (TokenOwner_Type) EnumDescriptor() ([]byte, []int)
func (TokenOwner_Type) String ¶
func (x TokenOwner_Type) String() string
type TokenTransaction ¶
type TokenTransaction struct { Action isTokenTransaction_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenTransaction) Descriptor ¶
func (*TokenTransaction) Descriptor() ([]byte, []int)
func (*TokenTransaction) GetAction ¶
func (m *TokenTransaction) GetAction() isTokenTransaction_Action
func (*TokenTransaction) GetTokenAction ¶
func (m *TokenTransaction) GetTokenAction() *TokenAction
func (*TokenTransaction) ProtoMessage ¶
func (*TokenTransaction) ProtoMessage()
func (*TokenTransaction) Reset ¶
func (m *TokenTransaction) Reset()
func (*TokenTransaction) String ¶
func (m *TokenTransaction) String() string
func (*TokenTransaction) XXX_DiscardUnknown ¶
func (m *TokenTransaction) XXX_DiscardUnknown()
func (*TokenTransaction) XXX_Marshal ¶
func (m *TokenTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenTransaction) XXX_Merge ¶
func (m *TokenTransaction) XXX_Merge(src proto.Message)
func (*TokenTransaction) XXX_OneofWrappers ¶
func (*TokenTransaction) XXX_OneofWrappers() []interface{}
func (*TokenTransaction) XXX_Size ¶
func (m *TokenTransaction) XXX_Size() int
func (*TokenTransaction) XXX_Unmarshal ¶
func (m *TokenTransaction) XXX_Unmarshal(b []byte) error
type TokenTransaction_TokenAction ¶
type TokenTransaction_TokenAction struct {
TokenAction *TokenAction `protobuf:"bytes,1,opt,name=token_action,json=tokenAction,proto3,oneof"`
}
type TokenTransactions ¶
type TokenTransactions struct { Txs []*TokenTransaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenTransactions) Descriptor ¶
func (*TokenTransactions) Descriptor() ([]byte, []int)
func (*TokenTransactions) GetTxs ¶
func (m *TokenTransactions) GetTxs() []*TokenTransaction
func (*TokenTransactions) ProtoMessage ¶
func (*TokenTransactions) ProtoMessage()
func (*TokenTransactions) Reset ¶
func (m *TokenTransactions) Reset()
func (*TokenTransactions) String ¶
func (m *TokenTransactions) String() string
func (*TokenTransactions) XXX_DiscardUnknown ¶
func (m *TokenTransactions) XXX_DiscardUnknown()
func (*TokenTransactions) XXX_Marshal ¶
func (m *TokenTransactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenTransactions) XXX_Merge ¶
func (m *TokenTransactions) XXX_Merge(src proto.Message)
func (*TokenTransactions) XXX_Size ¶
func (m *TokenTransactions) XXX_Size() int
func (*TokenTransactions) XXX_Unmarshal ¶
func (m *TokenTransactions) XXX_Unmarshal(b []byte) error
type Transfer ¶
type Transfer struct { Inputs []*TokenId `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*Token `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transfer) Descriptor ¶
func (*Transfer) GetOutputs ¶
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) XXX_DiscardUnknown ¶
func (m *Transfer) XXX_DiscardUnknown()
func (*Transfer) XXX_Marshal ¶
func (*Transfer) XXX_Unmarshal ¶
type TransferRequest ¶
type TransferRequest struct { Credential []byte `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` TokenIds []*TokenId `protobuf:"bytes,2,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferRequest) Descriptor ¶
func (*TransferRequest) Descriptor() ([]byte, []int)
func (*TransferRequest) GetCredential ¶
func (m *TransferRequest) GetCredential() []byte
func (*TransferRequest) GetShares ¶
func (m *TransferRequest) GetShares() []*RecipientShare
func (*TransferRequest) GetTokenIds ¶
func (m *TransferRequest) GetTokenIds() []*TokenId
func (*TransferRequest) ProtoMessage ¶
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) Reset ¶
func (m *TransferRequest) Reset()
func (*TransferRequest) String ¶
func (m *TransferRequest) String() string
func (*TransferRequest) XXX_DiscardUnknown ¶
func (m *TransferRequest) XXX_DiscardUnknown()
func (*TransferRequest) XXX_Marshal ¶
func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferRequest) XXX_Merge ¶
func (m *TransferRequest) XXX_Merge(src proto.Message)
func (*TransferRequest) XXX_Size ¶
func (m *TransferRequest) XXX_Size() int
func (*TransferRequest) XXX_Unmarshal ¶
func (m *TransferRequest) XXX_Unmarshal(b []byte) error
type UnspentToken ¶
type UnspentToken struct { Id *TokenId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Quantity string `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnspentToken) Descriptor ¶
func (*UnspentToken) Descriptor() ([]byte, []int)
func (*UnspentToken) GetId ¶
func (m *UnspentToken) GetId() *TokenId
func (*UnspentToken) GetQuantity ¶
func (m *UnspentToken) GetQuantity() string
func (*UnspentToken) GetType ¶
func (m *UnspentToken) GetType() string
func (*UnspentToken) ProtoMessage ¶
func (*UnspentToken) ProtoMessage()
func (*UnspentToken) Reset ¶
func (m *UnspentToken) Reset()
func (*UnspentToken) String ¶
func (m *UnspentToken) String() string
func (*UnspentToken) XXX_DiscardUnknown ¶
func (m *UnspentToken) XXX_DiscardUnknown()
func (*UnspentToken) XXX_Marshal ¶
func (m *UnspentToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnspentToken) XXX_Merge ¶
func (m *UnspentToken) XXX_Merge(src proto.Message)
func (*UnspentToken) XXX_Size ¶
func (m *UnspentToken) XXX_Size() int
func (*UnspentToken) XXX_Unmarshal ¶
func (m *UnspentToken) XXX_Unmarshal(b []byte) error
type UnspentTokens ¶
type UnspentTokens struct { Tokens []*UnspentToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnspentTokens) Descriptor ¶
func (*UnspentTokens) Descriptor() ([]byte, []int)
func (*UnspentTokens) GetTokens ¶
func (m *UnspentTokens) GetTokens() []*UnspentToken
func (*UnspentTokens) ProtoMessage ¶
func (*UnspentTokens) ProtoMessage()
func (*UnspentTokens) Reset ¶
func (m *UnspentTokens) Reset()
func (*UnspentTokens) String ¶
func (m *UnspentTokens) String() string
func (*UnspentTokens) XXX_DiscardUnknown ¶
func (m *UnspentTokens) XXX_DiscardUnknown()
func (*UnspentTokens) XXX_Marshal ¶
func (m *UnspentTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnspentTokens) XXX_Merge ¶
func (m *UnspentTokens) XXX_Merge(src proto.Message)
func (*UnspentTokens) XXX_Size ¶
func (m *UnspentTokens) XXX_Size() int
func (*UnspentTokens) XXX_Unmarshal ¶
func (m *UnspentTokens) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.