Documentation ¶
Index ¶
- Variables
- type AccountInfo
- func (*AccountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfo) GetBlackListed() bool
- func (x *AccountInfo) GetGrayListed() bool
- func (x *AccountInfo) GetKycHash() string
- func (*AccountInfo) ProtoMessage()
- func (x *AccountInfo) ProtoReflect() protoreflect.Message
- func (x *AccountInfo) Reset()
- func (x *AccountInfo) String() string
- type AccountRights
- func (*AccountRights) Descriptor() ([]byte, []int)deprecated
- func (x *AccountRights) GetAddress() *Address
- func (x *AccountRights) GetRights() []*Right
- func (*AccountRights) ProtoMessage()
- func (x *AccountRights) ProtoReflect() protoreflect.Message
- func (x *AccountRights) Reset()
- func (x *AccountRights) String() string
- type AccountingRecord
- func (*AccountingRecord) Descriptor() ([]byte, []int)deprecated
- func (x *AccountingRecord) GetAmount() []byte
- func (x *AccountingRecord) GetReason() string
- func (x *AccountingRecord) GetRecipient() []byte
- func (x *AccountingRecord) GetSender() []byte
- func (x *AccountingRecord) GetToken() string
- func (*AccountingRecord) ProtoMessage()
- func (x *AccountingRecord) ProtoReflect() protoreflect.Message
- func (x *AccountingRecord) Reset()
- func (x *AccountingRecord) String() string
- type Accounts
- type AclResponse
- func (x *AclResponse) Addr() (out [32]byte)
- func (*AclResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AclResponse) GetAccount() *AccountInfo
- func (x *AclResponse) GetAddress() *SignedAddress
- func (*AclResponse) ProtoMessage()
- func (x *AclResponse) ProtoReflect() protoreflect.Message
- func (x *AclResponse) Reset()
- func (x *AclResponse) String() string
- type Address
- func (x *Address) AddrString() string
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetAddress() []byte
- func (x *Address) GetIsIndustrial() bool
- func (x *Address) GetIsMultisig() bool
- func (x *Address) GetUserID() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type AllowedBalanceLock
- func (*AllowedBalanceLock) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedBalanceLock) GetAddress() string
- func (x *AllowedBalanceLock) GetCurrentAmount() string
- func (x *AllowedBalanceLock) GetDocs() [][]byte
- func (x *AllowedBalanceLock) GetId() string
- func (x *AllowedBalanceLock) GetInitAmount() string
- func (x *AllowedBalanceLock) GetPayload() []byte
- func (x *AllowedBalanceLock) GetReason() string
- func (x *AllowedBalanceLock) GetToken() string
- func (*AllowedBalanceLock) ProtoMessage()
- func (x *AllowedBalanceLock) ProtoReflect() protoreflect.Message
- func (x *AllowedBalanceLock) Reset()
- func (x *AllowedBalanceLock) String() string
- type AllowedBalanceLocked
- func (*AllowedBalanceLocked) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedBalanceLocked) GetAddress() string
- func (x *AllowedBalanceLocked) GetAmount() string
- func (x *AllowedBalanceLocked) GetDocs() [][]byte
- func (x *AllowedBalanceLocked) GetId() string
- func (x *AllowedBalanceLocked) GetPayload() []byte
- func (x *AllowedBalanceLocked) GetReason() string
- func (x *AllowedBalanceLocked) GetToken() string
- func (*AllowedBalanceLocked) ProtoMessage()
- func (x *AllowedBalanceLocked) ProtoReflect() protoreflect.Message
- func (x *AllowedBalanceLocked) Reset()
- func (x *AllowedBalanceLocked) String() string
- type AllowedBalanceUnlocked
- func (*AllowedBalanceUnlocked) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedBalanceUnlocked) GetAddress() string
- func (x *AllowedBalanceUnlocked) GetAmount() string
- func (x *AllowedBalanceUnlocked) GetCompleteOperation() bool
- func (x *AllowedBalanceUnlocked) GetDocs() [][]byte
- func (x *AllowedBalanceUnlocked) GetId() string
- func (x *AllowedBalanceUnlocked) GetPayload() []byte
- func (x *AllowedBalanceUnlocked) GetReason() string
- func (x *AllowedBalanceUnlocked) GetToken() string
- func (*AllowedBalanceUnlocked) ProtoMessage()
- func (x *AllowedBalanceUnlocked) ProtoReflect() protoreflect.Message
- func (x *AllowedBalanceUnlocked) Reset()
- func (x *AllowedBalanceUnlocked) String() string
- type Asset
- type BalanceLockRequest
- func (x *BalanceLockRequest) ConvertToCall(_ shim.ChaincodeStubInterface, in string) (*BalanceLockRequest, error)
- func (*BalanceLockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceLockRequest) GetAddress() string
- func (x *BalanceLockRequest) GetAmount() string
- func (x *BalanceLockRequest) GetDocs() [][]byte
- func (x *BalanceLockRequest) GetId() string
- func (x *BalanceLockRequest) GetPayload() []byte
- func (x *BalanceLockRequest) GetReason() string
- func (x *BalanceLockRequest) GetToken() string
- func (*BalanceLockRequest) ProtoMessage()
- func (x *BalanceLockRequest) ProtoReflect() protoreflect.Message
- func (x *BalanceLockRequest) Reset()
- func (x *BalanceLockRequest) String() string
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)deprecated
- func (x *Batch) GetKeys() []*SwapKey
- func (x *Batch) GetMultiSwaps() []*MultiSwap
- func (x *Batch) GetMultiSwapsKeys() []*SwapKey
- func (x *Batch) GetSwaps() []*Swap
- func (x *Batch) GetTxIDs() [][]byte
- func (*Batch) ProtoMessage()
- func (x *Batch) ProtoReflect() protoreflect.Message
- func (x *Batch) Reset()
- func (x *Batch) String() string
- type BatchEvent
- type BatchResponse
- func (*BatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchResponse) GetCreatedMultiSwap() []*MultiSwap
- func (x *BatchResponse) GetCreatedSwaps() []*Swap
- func (x *BatchResponse) GetSwapKeyResponses() []*SwapResponse
- func (x *BatchResponse) GetSwapResponses() []*SwapResponse
- func (x *BatchResponse) GetTxResponses() []*TxResponse
- func (*BatchResponse) ProtoMessage()
- func (x *BatchResponse) ProtoReflect() protoreflect.Message
- func (x *BatchResponse) Reset()
- func (x *BatchResponse) String() string
- type BatchTxEvent
- func (*BatchTxEvent) Descriptor() ([]byte, []int)deprecated
- func (x *BatchTxEvent) GetAccounting() []*AccountingRecord
- func (x *BatchTxEvent) GetError() *ResponseError
- func (x *BatchTxEvent) GetEvents() []*Event
- func (x *BatchTxEvent) GetId() []byte
- func (x *BatchTxEvent) GetMethod() string
- func (x *BatchTxEvent) GetResult() []byte
- func (*BatchTxEvent) ProtoMessage()
- func (x *BatchTxEvent) ProtoReflect() protoreflect.Message
- func (x *BatchTxEvent) Reset()
- func (x *BatchTxEvent) String() string
- type CCTransfer
- func (*CCTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *CCTransfer) GetAmount() []byte
- func (x *CCTransfer) GetForwardDirection() bool
- func (x *CCTransfer) GetFrom() string
- func (x *CCTransfer) GetId() string
- func (x *CCTransfer) GetIsCommit() bool
- func (x *CCTransfer) GetTimeAsNanos() int64
- func (x *CCTransfer) GetTo() string
- func (x *CCTransfer) GetToken() string
- func (x *CCTransfer) GetUser() []byte
- func (*CCTransfer) ProtoMessage()
- func (x *CCTransfer) ProtoReflect() protoreflect.Message
- func (x *CCTransfer) Reset()
- func (x *CCTransfer) String() string
- type CCTransfers
- func (*CCTransfers) Descriptor() ([]byte, []int)deprecated
- func (x *CCTransfers) GetBookmark() string
- func (x *CCTransfers) GetCcts() []*CCTransfer
- func (*CCTransfers) ProtoMessage()
- func (x *CCTransfers) ProtoReflect() protoreflect.Message
- func (x *CCTransfers) Reset()
- func (x *CCTransfers) String() string
- type Event
- type HaveRight
- type Head
- type HeadInfo
- type Industrial
- func (*Industrial) Descriptor() ([]byte, []int)deprecated
- func (x *Industrial) GetFee() *TokenFee
- func (x *Industrial) GetFeeAddress() []byte
- func (x *Industrial) GetGroups() []*IndustrialGroup
- func (x *Industrial) GetInitialized() bool
- func (x *Industrial) GetRates() []*TokenRate
- func (*Industrial) ProtoMessage()
- func (x *Industrial) ProtoReflect() protoreflect.Message
- func (x *Industrial) Reset()
- func (x *Industrial) String() string
- type IndustrialGroup
- func (*IndustrialGroup) Descriptor() ([]byte, []int)deprecated
- func (x *IndustrialGroup) GetEmission() []byte
- func (x *IndustrialGroup) GetId() string
- func (x *IndustrialGroup) GetMaturity() int64
- func (x *IndustrialGroup) GetNote() string
- func (*IndustrialGroup) ProtoMessage()
- func (x *IndustrialGroup) ProtoReflect() protoreflect.Message
- func (x *IndustrialGroup) Reset()
- func (x *IndustrialGroup) String() string
- type InitArgs
- func (*InitArgs) Descriptor() ([]byte, []int)deprecated
- func (x *InitArgs) GetArgs() []string
- func (x *InitArgs) GetAtomyzeSKI() []byte
- func (x *InitArgs) GetRobotSKI() []byte
- func (*InitArgs) ProtoMessage()
- func (x *InitArgs) ProtoReflect() protoreflect.Message
- func (x *InitArgs) Reset()
- func (x *InitArgs) String() string
- type MultiSwap
- func (*MultiSwap) Descriptor() ([]byte, []int)deprecated
- func (x *MultiSwap) GetAssets() []*Asset
- func (x *MultiSwap) GetCreator() []byte
- func (x *MultiSwap) GetFrom() string
- func (x *MultiSwap) GetHash() []byte
- func (x *MultiSwap) GetId() []byte
- func (x *MultiSwap) GetOwner() []byte
- func (x *MultiSwap) GetTimeout() int64
- func (x *MultiSwap) GetTo() string
- func (x *MultiSwap) GetToken() string
- func (*MultiSwap) ProtoMessage()
- func (x *MultiSwap) ProtoReflect() protoreflect.Message
- func (x *MultiSwap) Reset()
- func (x *MultiSwap) String() string
- type Nested
- type Nonce
- type OperationRights
- func (*OperationRights) Descriptor() ([]byte, []int)deprecated
- func (x *OperationRights) GetOperationName() string
- func (x *OperationRights) GetRights() []*Right
- func (*OperationRights) ProtoMessage()
- func (x *OperationRights) ProtoReflect() protoreflect.Message
- func (x *OperationRights) Reset()
- func (x *OperationRights) String() string
- type Operations
- type PendingTx
- func (*PendingTx) Descriptor() ([]byte, []int)deprecated
- func (x *PendingTx) DumpJSON() []byte
- func (x *PendingTx) GetArgs() []string
- func (x *PendingTx) GetMethod() string
- func (x *PendingTx) GetNonce() uint64
- func (x *PendingTx) GetSender() *Address
- func (x *PendingTx) GetTimestamp() int64
- func (*PendingTx) ProtoMessage()
- func (x *PendingTx) ProtoReflect() protoreflect.Message
- func (x *PendingTx) Reset()
- func (x *PendingTx) String() string
- type Report
- func (*Report) Descriptor() ([]byte, []int)deprecated
- func (x *Report) GetChecksumEndorser() uint64
- func (x *Report) GetChecksumOrderer() uint64
- func (x *Report) GetFeePublicKey() []byte
- func (x *Report) GetStats() []*Stat
- func (*Report) ProtoMessage()
- func (x *Report) ProtoReflect() protoreflect.Message
- func (x *Report) Reset()
- func (x *Report) String() string
- type ResponseError
- func (*ResponseError) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseError) GetCode() int32
- func (x *ResponseError) GetError() string
- func (*ResponseError) ProtoMessage()
- func (x *ResponseError) ProtoReflect() protoreflect.Message
- func (x *ResponseError) Reset()
- func (x *ResponseError) String() string
- type Right
- func (*Right) Descriptor() ([]byte, []int)deprecated
- func (x *Right) GetAddress() *Address
- func (x *Right) GetChaincodeName() string
- func (x *Right) GetChannelName() string
- func (x *Right) GetHaveRight() *HaveRight
- func (x *Right) GetOperationName() string
- func (x *Right) GetRoleName() string
- func (*Right) ProtoMessage()
- func (x *Right) ProtoReflect() protoreflect.Message
- func (x *Right) Reset()
- func (x *Right) String() string
- type SignaturePolicy
- func (*SignaturePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *SignaturePolicy) GetN() uint32
- func (x *SignaturePolicy) GetPubKeys() [][]byte
- func (x *SignaturePolicy) GetReplaceKeysSignedTx() []string
- func (*SignaturePolicy) ProtoMessage()
- func (x *SignaturePolicy) ProtoReflect() protoreflect.Message
- func (x *SignaturePolicy) Reset()
- func (x *SignaturePolicy) String() string
- type SignedAddress
- func (*SignedAddress) Descriptor() ([]byte, []int)deprecated
- func (x *SignedAddress) GetAddress() *Address
- func (x *SignedAddress) GetReason() string
- func (x *SignedAddress) GetReasonId() int32
- func (x *SignedAddress) GetSignaturePolicy() *SignaturePolicy
- func (x *SignedAddress) GetSignedTx() []string
- func (*SignedAddress) ProtoMessage()
- func (x *SignedAddress) ProtoReflect() protoreflect.Message
- func (x *SignedAddress) Reset()
- func (x *SignedAddress) String() string
- type Stat
- func (*Stat) Descriptor() ([]byte, []int)deprecated
- func (x *Stat) GetCertOwner() string
- func (x *Stat) GetPointsEndorser() uint64
- func (x *Stat) GetPointsOrderer() uint64
- func (*Stat) ProtoMessage()
- func (x *Stat) ProtoReflect() protoreflect.Message
- func (x *Stat) Reset()
- func (x *Stat) String() string
- type Swap
- func (*Swap) Descriptor() ([]byte, []int)deprecated
- func (x *Swap) GetAmount() []byte
- func (x *Swap) GetCreator() []byte
- func (x *Swap) GetFrom() string
- func (x *Swap) GetHash() []byte
- func (x *Swap) GetId() []byte
- func (x *Swap) GetOwner() []byte
- func (x *Swap) GetTimeout() int64
- func (x *Swap) GetTo() string
- func (x *Swap) GetToken() string
- func (*Swap) ProtoMessage()
- func (x *Swap) ProtoReflect() protoreflect.Message
- func (x *Swap) Reset()
- func (x *Swap) String() string
- func (x *Swap) TokenSymbol() string
- type SwapKey
- type SwapResponse
- func (*SwapResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SwapResponse) GetError() *ResponseError
- func (x *SwapResponse) GetId() []byte
- func (x *SwapResponse) GetWrites() []*WriteElement
- func (*SwapResponse) ProtoMessage()
- func (x *SwapResponse) ProtoReflect() protoreflect.Message
- func (x *SwapResponse) Reset()
- func (x *SwapResponse) String() string
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetFee() *TokenFee
- func (x *Token) GetFeeAddress() []byte
- func (x *Token) GetRates() []*TokenRate
- func (x *Token) GetTotalEmission() []byte
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- type TokenBalanceLock
- func (*TokenBalanceLock) Descriptor() ([]byte, []int)deprecated
- func (x *TokenBalanceLock) GetAddress() string
- func (x *TokenBalanceLock) GetCurrentAmount() string
- func (x *TokenBalanceLock) GetDocs() [][]byte
- func (x *TokenBalanceLock) GetId() string
- func (x *TokenBalanceLock) GetInitAmount() string
- func (x *TokenBalanceLock) GetPayload() []byte
- func (x *TokenBalanceLock) GetReason() string
- func (x *TokenBalanceLock) GetToken() string
- func (*TokenBalanceLock) ProtoMessage()
- func (x *TokenBalanceLock) ProtoReflect() protoreflect.Message
- func (x *TokenBalanceLock) Reset()
- func (x *TokenBalanceLock) String() string
- type TokenBalanceLocked
- func (*TokenBalanceLocked) Descriptor() ([]byte, []int)deprecated
- func (x *TokenBalanceLocked) GetAddress() string
- func (x *TokenBalanceLocked) GetAmount() string
- func (x *TokenBalanceLocked) GetDocs() [][]byte
- func (x *TokenBalanceLocked) GetId() string
- func (x *TokenBalanceLocked) GetPayload() []byte
- func (x *TokenBalanceLocked) GetReason() string
- func (x *TokenBalanceLocked) GetToken() string
- func (*TokenBalanceLocked) ProtoMessage()
- func (x *TokenBalanceLocked) ProtoReflect() protoreflect.Message
- func (x *TokenBalanceLocked) Reset()
- func (x *TokenBalanceLocked) String() string
- type TokenBalanceUnlocked
- func (*TokenBalanceUnlocked) Descriptor() ([]byte, []int)deprecated
- func (x *TokenBalanceUnlocked) GetAddress() string
- func (x *TokenBalanceUnlocked) GetAmount() string
- func (x *TokenBalanceUnlocked) GetCompleteOperation() bool
- func (x *TokenBalanceUnlocked) GetDocs() [][]byte
- func (x *TokenBalanceUnlocked) GetId() string
- func (x *TokenBalanceUnlocked) GetPayload() []byte
- func (x *TokenBalanceUnlocked) GetReason() string
- func (x *TokenBalanceUnlocked) GetToken() string
- func (*TokenBalanceUnlocked) ProtoMessage()
- func (x *TokenBalanceUnlocked) ProtoReflect() protoreflect.Message
- func (x *TokenBalanceUnlocked) Reset()
- func (x *TokenBalanceUnlocked) String() string
- type TokenFee
- func (*TokenFee) Descriptor() ([]byte, []int)deprecated
- func (x *TokenFee) GetCap() []byte
- func (x *TokenFee) GetCurrency() string
- func (x *TokenFee) GetFee() []byte
- func (x *TokenFee) GetFloor() []byte
- func (*TokenFee) ProtoMessage()
- func (x *TokenFee) ProtoReflect() protoreflect.Message
- func (x *TokenFee) Reset()
- func (x *TokenFee) String() string
- type TokenRate
- func (x *TokenRate) CalcPrice(amount *big.Int, rateDecimal uint64) *big.Int
- func (*TokenRate) Descriptor() ([]byte, []int)deprecated
- func (x *TokenRate) GetCurrency() string
- func (x *TokenRate) GetDealType() string
- func (x *TokenRate) GetIssuer() *Address
- func (x *TokenRate) GetMax() []byte
- func (x *TokenRate) GetMin() []byte
- func (x *TokenRate) GetRate() []byte
- func (x *TokenRate) InLimit(amount *big.Int) bool
- func (*TokenRate) ProtoMessage()
- func (x *TokenRate) ProtoReflect() protoreflect.Message
- func (x *TokenRate) Reset()
- func (x *TokenRate) String() string
- type TxResponse
- func (*TxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TxResponse) GetError() *ResponseError
- func (x *TxResponse) GetId() []byte
- func (x *TxResponse) GetMethod() string
- func (x *TxResponse) GetWrites() []*WriteElement
- func (*TxResponse) ProtoMessage()
- func (x *TxResponse) ProtoReflect() protoreflect.Message
- func (x *TxResponse) Reset()
- func (x *TxResponse) String() string
- type WriteElement
- func (*WriteElement) Descriptor() ([]byte, []int)deprecated
- func (x *WriteElement) GetIsDeleted() bool
- func (x *WriteElement) GetKey() string
- func (x *WriteElement) GetValue() []byte
- func (*WriteElement) ProtoMessage()
- func (x *WriteElement) ProtoReflect() protoreflect.Message
- func (x *WriteElement) Reset()
- func (x *WriteElement) String() string
Constants ¶
This section is empty.
Variables ¶
var File_batch_proto protoreflect.FileDescriptor
var File_locks_proto protoreflect.FileDescriptor
var File_report_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AccountInfo struct { KycHash string `protobuf:"bytes,1,opt,name=kycHash,proto3" json:"kycHash,omitempty"` GrayListed bool `protobuf:"varint,2,opt,name=grayListed,proto3" json:"grayListed,omitempty"` BlackListed bool `protobuf:"varint,3,opt,name=blackListed,proto3" json:"blackListed,omitempty"` // contains filtered or unexported fields }
func (*AccountInfo) Descriptor
deprecated
func (*AccountInfo) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.
func (*AccountInfo) GetBlackListed ¶
func (x *AccountInfo) GetBlackListed() bool
func (*AccountInfo) GetGrayListed ¶
func (x *AccountInfo) GetGrayListed() bool
func (*AccountInfo) GetKycHash ¶
func (x *AccountInfo) GetKycHash() string
func (*AccountInfo) ProtoMessage ¶
func (*AccountInfo) ProtoMessage()
func (*AccountInfo) ProtoReflect ¶
func (x *AccountInfo) ProtoReflect() protoreflect.Message
func (*AccountInfo) Reset ¶
func (x *AccountInfo) Reset()
func (*AccountInfo) String ¶
func (x *AccountInfo) String() string
type AccountRights ¶
type AccountRights struct { Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Rights []*Right `protobuf:"bytes,2,rep,name=rights,proto3" json:"rights,omitempty"` // contains filtered or unexported fields }
func (*AccountRights) Descriptor
deprecated
func (*AccountRights) Descriptor() ([]byte, []int)
Deprecated: Use AccountRights.ProtoReflect.Descriptor instead.
func (*AccountRights) GetAddress ¶
func (x *AccountRights) GetAddress() *Address
func (*AccountRights) GetRights ¶
func (x *AccountRights) GetRights() []*Right
func (*AccountRights) ProtoMessage ¶
func (*AccountRights) ProtoMessage()
func (*AccountRights) ProtoReflect ¶
func (x *AccountRights) ProtoReflect() protoreflect.Message
func (*AccountRights) Reset ¶
func (x *AccountRights) Reset()
func (*AccountRights) String ¶
func (x *AccountRights) String() string
type AccountingRecord ¶
type AccountingRecord struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Sender []byte `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Recipient []byte `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount []byte `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*AccountingRecord) Descriptor
deprecated
func (*AccountingRecord) Descriptor() ([]byte, []int)
Deprecated: Use AccountingRecord.ProtoReflect.Descriptor instead.
func (*AccountingRecord) GetAmount ¶
func (x *AccountingRecord) GetAmount() []byte
func (*AccountingRecord) GetReason ¶
func (x *AccountingRecord) GetReason() string
func (*AccountingRecord) GetRecipient ¶
func (x *AccountingRecord) GetRecipient() []byte
func (*AccountingRecord) GetSender ¶
func (x *AccountingRecord) GetSender() []byte
func (*AccountingRecord) GetToken ¶
func (x *AccountingRecord) GetToken() string
func (*AccountingRecord) ProtoMessage ¶
func (*AccountingRecord) ProtoMessage()
func (*AccountingRecord) ProtoReflect ¶
func (x *AccountingRecord) ProtoReflect() protoreflect.Message
func (*AccountingRecord) Reset ¶
func (x *AccountingRecord) Reset()
func (*AccountingRecord) String ¶
func (x *AccountingRecord) String() string
type Accounts ¶
type Accounts struct { Addresses []*Address `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*Accounts) Descriptor
deprecated
func (*Accounts) GetAddresses ¶
func (*Accounts) ProtoMessage ¶
func (*Accounts) ProtoMessage()
func (*Accounts) ProtoReflect ¶
func (x *Accounts) ProtoReflect() protoreflect.Message
type AclResponse ¶
type AclResponse struct { Account *AccountInfo `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Address *SignedAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AclResponse) Descriptor
deprecated
func (*AclResponse) Descriptor() ([]byte, []int)
Deprecated: Use AclResponse.ProtoReflect.Descriptor instead.
func (*AclResponse) GetAccount ¶
func (x *AclResponse) GetAccount() *AccountInfo
func (*AclResponse) GetAddress ¶
func (x *AclResponse) GetAddress() *SignedAddress
func (*AclResponse) ProtoMessage ¶
func (*AclResponse) ProtoMessage()
func (*AclResponse) ProtoReflect ¶
func (x *AclResponse) ProtoReflect() protoreflect.Message
func (*AclResponse) Reset ¶
func (x *AclResponse) Reset()
func (*AclResponse) String ¶
func (x *AclResponse) String() string
type Address ¶
type Address struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` IsIndustrial bool `protobuf:"varint,3,opt,name=isIndustrial,proto3" json:"isIndustrial,omitempty"` IsMultisig bool `protobuf:"varint,4,opt,name=isMultisig,proto3" json:"isMultisig,omitempty"` // contains filtered or unexported fields }
func (*Address) AddrString ¶
AddrString returns the address string
func (*Address) Descriptor
deprecated
func (*Address) GetAddress ¶
func (*Address) GetIsIndustrial ¶
func (*Address) GetIsMultisig ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type AllowedBalanceLock ¶
type AllowedBalanceLock struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // lock identifier (optional parameter, if not specified - txID is used) Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier/ticker InitAmount string `protobuf:"bytes,4,opt,name=init_amount,json=initAmount,proto3" json:"init_amount,omitempty"` // big.Int initial number of tokens to block CurrentAmount string `protobuf:"bytes,5,opt,name=current_amount,json=currentAmount,proto3" json:"current_amount,omitempty"` // big.Int current number of tokens to be blocked Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` // reason for blocking Docs [][]byte `protobuf:"bytes,7,rep,name=docs,proto3" json:"docs,omitempty"` // hashes of documents with justification (optional parameter) Payload []byte `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter) // contains filtered or unexported fields }
State: allowedbalance lock data
func (*AllowedBalanceLock) Descriptor
deprecated
func (*AllowedBalanceLock) Descriptor() ([]byte, []int)
Deprecated: Use AllowedBalanceLock.ProtoReflect.Descriptor instead.
func (*AllowedBalanceLock) GetAddress ¶
func (x *AllowedBalanceLock) GetAddress() string
func (*AllowedBalanceLock) GetCurrentAmount ¶
func (x *AllowedBalanceLock) GetCurrentAmount() string
func (*AllowedBalanceLock) GetDocs ¶
func (x *AllowedBalanceLock) GetDocs() [][]byte
func (*AllowedBalanceLock) GetId ¶
func (x *AllowedBalanceLock) GetId() string
func (*AllowedBalanceLock) GetInitAmount ¶
func (x *AllowedBalanceLock) GetInitAmount() string
func (*AllowedBalanceLock) GetPayload ¶
func (x *AllowedBalanceLock) GetPayload() []byte
func (*AllowedBalanceLock) GetReason ¶
func (x *AllowedBalanceLock) GetReason() string
func (*AllowedBalanceLock) GetToken ¶
func (x *AllowedBalanceLock) GetToken() string
func (*AllowedBalanceLock) ProtoMessage ¶
func (*AllowedBalanceLock) ProtoMessage()
func (*AllowedBalanceLock) ProtoReflect ¶
func (x *AllowedBalanceLock) ProtoReflect() protoreflect.Message
func (*AllowedBalanceLock) Reset ¶
func (x *AllowedBalanceLock) Reset()
func (*AllowedBalanceLock) String ¶
func (x *AllowedBalanceLock) String() string
type AllowedBalanceLocked ¶
type AllowedBalanceLocked struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // lock identifier Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier/ticker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int amount of tokens to unlock Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // reason for locking Docs [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"` // hashes of documents with justification (optional parameter) Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter) // contains filtered or unexported fields }
Event: balance token is locked
func (*AllowedBalanceLocked) Descriptor
deprecated
func (*AllowedBalanceLocked) Descriptor() ([]byte, []int)
Deprecated: Use AllowedBalanceLocked.ProtoReflect.Descriptor instead.
func (*AllowedBalanceLocked) GetAddress ¶
func (x *AllowedBalanceLocked) GetAddress() string
func (*AllowedBalanceLocked) GetAmount ¶
func (x *AllowedBalanceLocked) GetAmount() string
func (*AllowedBalanceLocked) GetDocs ¶
func (x *AllowedBalanceLocked) GetDocs() [][]byte
func (*AllowedBalanceLocked) GetId ¶
func (x *AllowedBalanceLocked) GetId() string
func (*AllowedBalanceLocked) GetPayload ¶
func (x *AllowedBalanceLocked) GetPayload() []byte
func (*AllowedBalanceLocked) GetReason ¶
func (x *AllowedBalanceLocked) GetReason() string
func (*AllowedBalanceLocked) GetToken ¶
func (x *AllowedBalanceLocked) GetToken() string
func (*AllowedBalanceLocked) ProtoMessage ¶
func (*AllowedBalanceLocked) ProtoMessage()
func (*AllowedBalanceLocked) ProtoReflect ¶
func (x *AllowedBalanceLocked) ProtoReflect() protoreflect.Message
func (*AllowedBalanceLocked) Reset ¶
func (x *AllowedBalanceLocked) Reset()
func (*AllowedBalanceLocked) String ¶
func (x *AllowedBalanceLocked) String() string
type AllowedBalanceUnlocked ¶
type AllowedBalanceUnlocked struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // lock identifier Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier / ticker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int number of tokens to unlock Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // reason for blocking Docs [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"` // hashes of documents with justification (optional parameter) Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter) CompleteOperation bool `protobuf:"varint,8,opt,name=complete_operation,json=completeOperation,proto3" json:"complete_operation,omitempty"` // sign that it is completely unlocked // contains filtered or unexported fields }
Event: token balance unlocked
func (*AllowedBalanceUnlocked) Descriptor
deprecated
func (*AllowedBalanceUnlocked) Descriptor() ([]byte, []int)
Deprecated: Use AllowedBalanceUnlocked.ProtoReflect.Descriptor instead.
func (*AllowedBalanceUnlocked) GetAddress ¶
func (x *AllowedBalanceUnlocked) GetAddress() string
func (*AllowedBalanceUnlocked) GetAmount ¶
func (x *AllowedBalanceUnlocked) GetAmount() string
func (*AllowedBalanceUnlocked) GetCompleteOperation ¶
func (x *AllowedBalanceUnlocked) GetCompleteOperation() bool
func (*AllowedBalanceUnlocked) GetDocs ¶
func (x *AllowedBalanceUnlocked) GetDocs() [][]byte
func (*AllowedBalanceUnlocked) GetId ¶
func (x *AllowedBalanceUnlocked) GetId() string
func (*AllowedBalanceUnlocked) GetPayload ¶
func (x *AllowedBalanceUnlocked) GetPayload() []byte
func (*AllowedBalanceUnlocked) GetReason ¶
func (x *AllowedBalanceUnlocked) GetReason() string
func (*AllowedBalanceUnlocked) GetToken ¶
func (x *AllowedBalanceUnlocked) GetToken() string
func (*AllowedBalanceUnlocked) ProtoMessage ¶
func (*AllowedBalanceUnlocked) ProtoMessage()
func (*AllowedBalanceUnlocked) ProtoReflect ¶
func (x *AllowedBalanceUnlocked) ProtoReflect() protoreflect.Message
func (*AllowedBalanceUnlocked) Reset ¶
func (x *AllowedBalanceUnlocked) Reset()
func (*AllowedBalanceUnlocked) String ¶
func (x *AllowedBalanceUnlocked) String() string
type Asset ¶
type Asset struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Amount []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Asset) Descriptor
deprecated
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect ¶
func (x *Asset) ProtoReflect() protoreflect.Message
type BalanceLockRequest ¶
type BalanceLockRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // lock identifier ( optional parameter, if not specified - txID is used) Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier/ticker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int number of tokens to block Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // reason for locking Docs [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"` // hashes of documents with justification (optional parameter) Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter) // contains filtered or unexported fields }
func (*BalanceLockRequest) ConvertToCall ¶
func (x *BalanceLockRequest) ConvertToCall( _ shim.ChaincodeStubInterface, in string, ) (*BalanceLockRequest, error)
ConvertToCall - converts string into emission request, see foundation/core/reflect.go
func (*BalanceLockRequest) Descriptor
deprecated
func (*BalanceLockRequest) Descriptor() ([]byte, []int)
Deprecated: Use BalanceLockRequest.ProtoReflect.Descriptor instead.
func (*BalanceLockRequest) GetAddress ¶
func (x *BalanceLockRequest) GetAddress() string
func (*BalanceLockRequest) GetAmount ¶
func (x *BalanceLockRequest) GetAmount() string
func (*BalanceLockRequest) GetDocs ¶
func (x *BalanceLockRequest) GetDocs() [][]byte
func (*BalanceLockRequest) GetId ¶
func (x *BalanceLockRequest) GetId() string
func (*BalanceLockRequest) GetPayload ¶
func (x *BalanceLockRequest) GetPayload() []byte
func (*BalanceLockRequest) GetReason ¶
func (x *BalanceLockRequest) GetReason() string
func (*BalanceLockRequest) GetToken ¶
func (x *BalanceLockRequest) GetToken() string
func (*BalanceLockRequest) ProtoMessage ¶
func (*BalanceLockRequest) ProtoMessage()
func (*BalanceLockRequest) ProtoReflect ¶
func (x *BalanceLockRequest) ProtoReflect() protoreflect.Message
func (*BalanceLockRequest) Reset ¶
func (x *BalanceLockRequest) Reset()
func (*BalanceLockRequest) String ¶
func (x *BalanceLockRequest) String() string
type Batch ¶
type Batch struct { TxIDs [][]byte `protobuf:"bytes,1,rep,name=txIDs,proto3" json:"txIDs,omitempty"` Swaps []*Swap `protobuf:"bytes,2,rep,name=swaps,proto3" json:"swaps,omitempty"` Keys []*SwapKey `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` MultiSwapsKeys []*SwapKey `protobuf:"bytes,4,rep,name=multi_swaps_keys,json=multiSwapsKeys,proto3" json:"multi_swaps_keys,omitempty"` MultiSwaps []*MultiSwap `protobuf:"bytes,5,rep,name=multi_swaps,json=multiSwaps,proto3" json:"multi_swaps,omitempty"` // contains filtered or unexported fields }
func (*Batch) Descriptor
deprecated
func (*Batch) GetMultiSwaps ¶
func (*Batch) GetMultiSwapsKeys ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type BatchEvent ¶
type BatchEvent struct { Events []*BatchTxEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*BatchEvent) Descriptor
deprecated
func (*BatchEvent) Descriptor() ([]byte, []int)
Deprecated: Use BatchEvent.ProtoReflect.Descriptor instead.
func (*BatchEvent) GetEvents ¶
func (x *BatchEvent) GetEvents() []*BatchTxEvent
func (*BatchEvent) ProtoMessage ¶
func (*BatchEvent) ProtoMessage()
func (*BatchEvent) ProtoReflect ¶
func (x *BatchEvent) ProtoReflect() protoreflect.Message
func (*BatchEvent) Reset ¶
func (x *BatchEvent) Reset()
func (*BatchEvent) String ¶
func (x *BatchEvent) String() string
type BatchResponse ¶
type BatchResponse struct { TxResponses []*TxResponse `protobuf:"bytes,1,rep,name=tx_responses,json=txResponses,proto3" json:"tx_responses,omitempty"` CreatedSwaps []*Swap `protobuf:"bytes,2,rep,name=created_swaps,json=createdSwaps,proto3" json:"created_swaps,omitempty"` SwapResponses []*SwapResponse `protobuf:"bytes,3,rep,name=swap_responses,json=swapResponses,proto3" json:"swap_responses,omitempty"` SwapKeyResponses []*SwapResponse `protobuf:"bytes,4,rep,name=swap_key_responses,json=swapKeyResponses,proto3" json:"swap_key_responses,omitempty"` CreatedMultiSwap []*MultiSwap `protobuf:"bytes,5,rep,name=created_multi_swap,json=createdMultiSwap,proto3" json:"created_multi_swap,omitempty"` // contains filtered or unexported fields }
func (*BatchResponse) Descriptor
deprecated
func (*BatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchResponse.ProtoReflect.Descriptor instead.
func (*BatchResponse) GetCreatedMultiSwap ¶
func (x *BatchResponse) GetCreatedMultiSwap() []*MultiSwap
func (*BatchResponse) GetCreatedSwaps ¶
func (x *BatchResponse) GetCreatedSwaps() []*Swap
func (*BatchResponse) GetSwapKeyResponses ¶
func (x *BatchResponse) GetSwapKeyResponses() []*SwapResponse
func (*BatchResponse) GetSwapResponses ¶
func (x *BatchResponse) GetSwapResponses() []*SwapResponse
func (*BatchResponse) GetTxResponses ¶
func (x *BatchResponse) GetTxResponses() []*TxResponse
func (*BatchResponse) ProtoMessage ¶
func (*BatchResponse) ProtoMessage()
func (*BatchResponse) ProtoReflect ¶
func (x *BatchResponse) ProtoReflect() protoreflect.Message
func (*BatchResponse) Reset ¶
func (x *BatchResponse) Reset()
func (*BatchResponse) String ¶
func (x *BatchResponse) String() string
type BatchTxEvent ¶
type BatchTxEvent struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Error *ResponseError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` Result []byte `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` Events []*Event `protobuf:"bytes,6,rep,name=events,proto3" json:"events,omitempty"` Accounting []*AccountingRecord `protobuf:"bytes,7,rep,name=accounting,proto3" json:"accounting,omitempty"` // contains filtered or unexported fields }
func (*BatchTxEvent) Descriptor
deprecated
func (*BatchTxEvent) Descriptor() ([]byte, []int)
Deprecated: Use BatchTxEvent.ProtoReflect.Descriptor instead.
func (*BatchTxEvent) GetAccounting ¶
func (x *BatchTxEvent) GetAccounting() []*AccountingRecord
func (*BatchTxEvent) GetError ¶
func (x *BatchTxEvent) GetError() *ResponseError
func (*BatchTxEvent) GetEvents ¶
func (x *BatchTxEvent) GetEvents() []*Event
func (*BatchTxEvent) GetId ¶
func (x *BatchTxEvent) GetId() []byte
func (*BatchTxEvent) GetMethod ¶
func (x *BatchTxEvent) GetMethod() string
func (*BatchTxEvent) GetResult ¶
func (x *BatchTxEvent) GetResult() []byte
func (*BatchTxEvent) ProtoMessage ¶
func (*BatchTxEvent) ProtoMessage()
func (*BatchTxEvent) ProtoReflect ¶
func (x *BatchTxEvent) ProtoReflect() protoreflect.Message
func (*BatchTxEvent) Reset ¶
func (x *BatchTxEvent) Reset()
func (*BatchTxEvent) String ¶
func (x *BatchTxEvent) String() string
type CCTransfer ¶
type CCTransfer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // unique transfer id From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // channel from To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // channel to Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // token to transfer User []byte `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` // owner of tokens Amount []byte `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"` // amount of tokens // Transfer direction is an additional variable made for convenience // to avoid calculating it every time. It is calculated once when filling the structure // when executing a transaction. // Depending on the direction, different balances change. // Examples: // Direct transfer: from channel A to channel B we transfer tokens A // or from channel B to channel A transfer tokens B // Reverse transfer: from channel A to channel B transfer tokens B // or from channel B to channel A transfer tokens A ForwardDirection bool `protobuf:"varint,7,opt,name=forward_direction,json=forwardDirection,proto3" json:"forward_direction,omitempty"` IsCommit bool `protobuf:"varint,8,opt,name=isCommit,proto3" json:"isCommit,omitempty"` // phase 2 sign TimeAsNanos int64 `protobuf:"varint,9,opt,name=time_as_nanos,json=timeAsNanos,proto3" json:"time_as_nanos,omitempty"` // transfer creation time in nanoseconds // contains filtered or unexported fields }
func (*CCTransfer) Descriptor
deprecated
func (*CCTransfer) Descriptor() ([]byte, []int)
Deprecated: Use CCTransfer.ProtoReflect.Descriptor instead.
func (*CCTransfer) GetAmount ¶
func (x *CCTransfer) GetAmount() []byte
func (*CCTransfer) GetForwardDirection ¶
func (x *CCTransfer) GetForwardDirection() bool
func (*CCTransfer) GetFrom ¶
func (x *CCTransfer) GetFrom() string
func (*CCTransfer) GetId ¶
func (x *CCTransfer) GetId() string
func (*CCTransfer) GetIsCommit ¶
func (x *CCTransfer) GetIsCommit() bool
func (*CCTransfer) GetTimeAsNanos ¶
func (x *CCTransfer) GetTimeAsNanos() int64
func (*CCTransfer) GetTo ¶
func (x *CCTransfer) GetTo() string
func (*CCTransfer) GetToken ¶
func (x *CCTransfer) GetToken() string
func (*CCTransfer) GetUser ¶
func (x *CCTransfer) GetUser() []byte
func (*CCTransfer) ProtoMessage ¶
func (*CCTransfer) ProtoMessage()
func (*CCTransfer) ProtoReflect ¶
func (x *CCTransfer) ProtoReflect() protoreflect.Message
func (*CCTransfer) Reset ¶
func (x *CCTransfer) Reset()
func (*CCTransfer) String ¶
func (x *CCTransfer) String() string
type CCTransfers ¶
type CCTransfers struct { Bookmark string `protobuf:"bytes,1,opt,name=bookmark,proto3" json:"bookmark,omitempty"` Ccts []*CCTransfer `protobuf:"bytes,2,rep,name=ccts,proto3" json:"ccts,omitempty"` // contains filtered or unexported fields }
func (*CCTransfers) Descriptor
deprecated
func (*CCTransfers) Descriptor() ([]byte, []int)
Deprecated: Use CCTransfers.ProtoReflect.Descriptor instead.
func (*CCTransfers) GetBookmark ¶
func (x *CCTransfers) GetBookmark() string
func (*CCTransfers) GetCcts ¶
func (x *CCTransfers) GetCcts() []*CCTransfer
func (*CCTransfers) ProtoMessage ¶
func (*CCTransfers) ProtoMessage()
func (*CCTransfers) ProtoReflect ¶
func (x *CCTransfers) ProtoReflect() protoreflect.Message
func (*CCTransfers) Reset ¶
func (x *CCTransfers) Reset()
func (*CCTransfers) String ¶
func (x *CCTransfers) String() string
type Event ¶
type Event struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type HaveRight ¶
type HaveRight struct { HaveRight bool `protobuf:"varint,1,opt,name=haveRight,proto3" json:"haveRight,omitempty"` // contains filtered or unexported fields }
func (*HaveRight) Descriptor
deprecated
func (*HaveRight) GetHaveRight ¶
func (*HaveRight) ProtoMessage ¶
func (*HaveRight) ProtoMessage()
func (*HaveRight) ProtoReflect ¶
func (x *HaveRight) ProtoReflect() protoreflect.Message
type Head ¶
type Head struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` BlockNum uint64 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` // contains filtered or unexported fields }
func (*Head) Descriptor
deprecated
func (*Head) GetBlockNum ¶
func (*Head) ProtoMessage ¶
func (*Head) ProtoMessage()
func (*Head) ProtoReflect ¶
func (x *Head) ProtoReflect() protoreflect.Message
type HeadInfo ¶
type HeadInfo struct { Heads []*Head `protobuf:"bytes,1,rep,name=heads,proto3" json:"heads,omitempty"` // contains filtered or unexported fields }
func (*HeadInfo) Descriptor
deprecated
func (*HeadInfo) ProtoMessage ¶
func (*HeadInfo) ProtoMessage()
func (*HeadInfo) ProtoReflect ¶
func (x *HeadInfo) ProtoReflect() protoreflect.Message
type Industrial ¶
type Industrial struct { Groups []*IndustrialGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` Fee *TokenFee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` Rates []*TokenRate `protobuf:"bytes,3,rep,name=rates,proto3" json:"rates,omitempty"` FeeAddress []byte `protobuf:"bytes,4,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty"` Initialized bool `protobuf:"varint,5,opt,name=initialized,proto3" json:"initialized,omitempty"` // contains filtered or unexported fields }
func (*Industrial) Descriptor
deprecated
func (*Industrial) Descriptor() ([]byte, []int)
Deprecated: Use Industrial.ProtoReflect.Descriptor instead.
func (*Industrial) GetFee ¶
func (x *Industrial) GetFee() *TokenFee
func (*Industrial) GetFeeAddress ¶
func (x *Industrial) GetFeeAddress() []byte
func (*Industrial) GetGroups ¶
func (x *Industrial) GetGroups() []*IndustrialGroup
func (*Industrial) GetInitialized ¶
func (x *Industrial) GetInitialized() bool
func (*Industrial) GetRates ¶
func (x *Industrial) GetRates() []*TokenRate
func (*Industrial) ProtoMessage ¶
func (*Industrial) ProtoMessage()
func (*Industrial) ProtoReflect ¶
func (x *Industrial) ProtoReflect() protoreflect.Message
func (*Industrial) Reset ¶
func (x *Industrial) Reset()
func (*Industrial) String ¶
func (x *Industrial) String() string
type IndustrialGroup ¶
type IndustrialGroup struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Emission []byte `protobuf:"bytes,2,opt,name=emission,proto3" json:"emission,omitempty"` Maturity int64 `protobuf:"varint,3,opt,name=maturity,proto3" json:"maturity,omitempty"` Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
func (*IndustrialGroup) Descriptor
deprecated
func (*IndustrialGroup) Descriptor() ([]byte, []int)
Deprecated: Use IndustrialGroup.ProtoReflect.Descriptor instead.
func (*IndustrialGroup) GetEmission ¶
func (x *IndustrialGroup) GetEmission() []byte
func (*IndustrialGroup) GetId ¶
func (x *IndustrialGroup) GetId() string
func (*IndustrialGroup) GetMaturity ¶
func (x *IndustrialGroup) GetMaturity() int64
func (*IndustrialGroup) GetNote ¶
func (x *IndustrialGroup) GetNote() string
func (*IndustrialGroup) ProtoMessage ¶
func (*IndustrialGroup) ProtoMessage()
func (*IndustrialGroup) ProtoReflect ¶
func (x *IndustrialGroup) ProtoReflect() protoreflect.Message
func (*IndustrialGroup) Reset ¶
func (x *IndustrialGroup) Reset()
func (*IndustrialGroup) String ¶
func (x *IndustrialGroup) String() string
type InitArgs ¶
type InitArgs struct { AtomyzeSKI []byte `protobuf:"bytes,1,opt,name=atomyzeSKI,proto3" json:"atomyzeSKI,omitempty"` RobotSKI []byte `protobuf:"bytes,2,opt,name=robotSKI,proto3" json:"robotSKI,omitempty"` Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*InitArgs) Descriptor
deprecated
func (*InitArgs) GetAtomyzeSKI ¶
func (*InitArgs) GetRobotSKI ¶
func (*InitArgs) ProtoMessage ¶
func (*InitArgs) ProtoMessage()
func (*InitArgs) ProtoReflect ¶
func (x *InitArgs) ProtoReflect() protoreflect.Message
type MultiSwap ¶
type MultiSwap struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Creator []byte `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Owner []byte `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` Hash []byte `protobuf:"bytes,7,opt,name=hash,proto3" json:"hash,omitempty"` Timeout int64 `protobuf:"varint,8,opt,name=timeout,proto3" json:"timeout,omitempty"` Assets []*Asset `protobuf:"bytes,9,rep,name=assets,proto3" json:"assets,omitempty"` // contains filtered or unexported fields }
func (*MultiSwap) Descriptor
deprecated
func (*MultiSwap) GetCreator ¶
func (*MultiSwap) GetTimeout ¶
func (*MultiSwap) ProtoMessage ¶
func (*MultiSwap) ProtoMessage()
func (*MultiSwap) ProtoReflect ¶
func (x *MultiSwap) ProtoReflect() protoreflect.Message
type Nested ¶
type Nested struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*Nested) Descriptor
deprecated
func (*Nested) ProtoMessage ¶
func (*Nested) ProtoMessage()
func (*Nested) ProtoReflect ¶
func (x *Nested) ProtoReflect() protoreflect.Message
type Nonce ¶
type Nonce struct { Nonce []uint64 `protobuf:"varint,1,rep,packed,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*Nonce) Descriptor
deprecated
func (*Nonce) ProtoMessage ¶
func (*Nonce) ProtoMessage()
func (*Nonce) ProtoReflect ¶
func (x *Nonce) ProtoReflect() protoreflect.Message
type OperationRights ¶
type OperationRights struct { OperationName string `protobuf:"bytes,1,opt,name=operationName,proto3" json:"operationName,omitempty"` Rights []*Right `protobuf:"bytes,2,rep,name=rights,proto3" json:"rights,omitempty"` // contains filtered or unexported fields }
func (*OperationRights) Descriptor
deprecated
func (*OperationRights) Descriptor() ([]byte, []int)
Deprecated: Use OperationRights.ProtoReflect.Descriptor instead.
func (*OperationRights) GetOperationName ¶
func (x *OperationRights) GetOperationName() string
func (*OperationRights) GetRights ¶
func (x *OperationRights) GetRights() []*Right
func (*OperationRights) ProtoMessage ¶
func (*OperationRights) ProtoMessage()
func (*OperationRights) ProtoReflect ¶
func (x *OperationRights) ProtoReflect() protoreflect.Message
func (*OperationRights) Reset ¶
func (x *OperationRights) Reset()
func (*OperationRights) String ¶
func (x *OperationRights) String() string
type Operations ¶
type Operations struct { Operations []string `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // contains filtered or unexported fields }
func (*Operations) Descriptor
deprecated
func (*Operations) Descriptor() ([]byte, []int)
Deprecated: Use Operations.ProtoReflect.Descriptor instead.
func (*Operations) GetOperations ¶
func (x *Operations) GetOperations() []string
func (*Operations) ProtoMessage ¶
func (*Operations) ProtoMessage()
func (*Operations) ProtoReflect ¶
func (x *Operations) ProtoReflect() protoreflect.Message
func (*Operations) Reset ¶
func (x *Operations) Reset()
func (*Operations) String ¶
func (x *Operations) String() string
type PendingTx ¶
type PendingTx struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Sender *Address `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // bytes ______________ = 4; the field has been deleted, avoid reusing it Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Nonce uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*PendingTx) Descriptor
deprecated
func (*PendingTx) GetTimestamp ¶
func (*PendingTx) ProtoMessage ¶
func (*PendingTx) ProtoMessage()
func (*PendingTx) ProtoReflect ¶
func (x *PendingTx) ProtoReflect() protoreflect.Message
type Report ¶
type Report struct { FeePublicKey []byte `protobuf:"bytes,1,opt,name=fee_public_key,json=feePublicKey,proto3" json:"fee_public_key,omitempty"` ChecksumOrderer uint64 `protobuf:"varint,2,opt,name=checksum_orderer,json=checksumOrderer,proto3" json:"checksum_orderer,omitempty"` ChecksumEndorser uint64 `protobuf:"varint,3,opt,name=checksum_endorser,json=checksumEndorser,proto3" json:"checksum_endorser,omitempty"` Stats []*Stat `protobuf:"bytes,4,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*Report) Descriptor
deprecated
func (*Report) GetChecksumEndorser ¶
func (*Report) GetChecksumOrderer ¶
func (*Report) GetFeePublicKey ¶
func (*Report) ProtoMessage ¶
func (*Report) ProtoMessage()
func (*Report) ProtoReflect ¶
func (x *Report) ProtoReflect() protoreflect.Message
type ResponseError ¶
type ResponseError struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ResponseError) Descriptor
deprecated
func (*ResponseError) Descriptor() ([]byte, []int)
Deprecated: Use ResponseError.ProtoReflect.Descriptor instead.
func (*ResponseError) GetCode ¶
func (x *ResponseError) GetCode() int32
func (*ResponseError) GetError ¶
func (x *ResponseError) GetError() string
func (*ResponseError) ProtoMessage ¶
func (*ResponseError) ProtoMessage()
func (*ResponseError) ProtoReflect ¶
func (x *ResponseError) ProtoReflect() protoreflect.Message
func (*ResponseError) Reset ¶
func (x *ResponseError) Reset()
func (*ResponseError) String ¶
func (x *ResponseError) String() string
type Right ¶
type Right struct { ChannelName string `protobuf:"bytes,1,opt,name=channelName,proto3" json:"channelName,omitempty"` ChaincodeName string `protobuf:"bytes,2,opt,name=chaincodeName,proto3" json:"chaincodeName,omitempty"` RoleName string `protobuf:"bytes,3,opt,name=roleName,proto3" json:"roleName,omitempty"` OperationName string `protobuf:"bytes,4,opt,name=operationName,proto3" json:"operationName,omitempty"` Address *Address `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` HaveRight *HaveRight `protobuf:"bytes,6,opt,name=haveRight,proto3" json:"haveRight,omitempty"` // contains filtered or unexported fields }
func (*Right) Descriptor
deprecated
func (*Right) GetAddress ¶
func (*Right) GetChaincodeName ¶
func (*Right) GetChannelName ¶
func (*Right) GetHaveRight ¶
func (*Right) GetOperationName ¶
func (*Right) GetRoleName ¶
func (*Right) ProtoMessage ¶
func (*Right) ProtoMessage()
func (*Right) ProtoReflect ¶
func (x *Right) ProtoReflect() protoreflect.Message
type SignaturePolicy ¶
type SignaturePolicy struct { N uint32 `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"` PubKeys [][]byte `protobuf:"bytes,3,rep,name=pubKeys,proto3" json:"pubKeys,omitempty"` ReplaceKeysSignedTx []string `protobuf:"bytes,4,rep,name=replaceKeysSignedTx,proto3" json:"replaceKeysSignedTx,omitempty"` // contains filtered or unexported fields }
func (*SignaturePolicy) Descriptor
deprecated
func (*SignaturePolicy) Descriptor() ([]byte, []int)
Deprecated: Use SignaturePolicy.ProtoReflect.Descriptor instead.
func (*SignaturePolicy) GetN ¶
func (x *SignaturePolicy) GetN() uint32
func (*SignaturePolicy) GetPubKeys ¶
func (x *SignaturePolicy) GetPubKeys() [][]byte
func (*SignaturePolicy) GetReplaceKeysSignedTx ¶
func (x *SignaturePolicy) GetReplaceKeysSignedTx() []string
func (*SignaturePolicy) ProtoMessage ¶
func (*SignaturePolicy) ProtoMessage()
func (*SignaturePolicy) ProtoReflect ¶
func (x *SignaturePolicy) ProtoReflect() protoreflect.Message
func (*SignaturePolicy) Reset ¶
func (x *SignaturePolicy) Reset()
func (*SignaturePolicy) String ¶
func (x *SignaturePolicy) String() string
type SignedAddress ¶
type SignedAddress struct { Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` SignedTx []string `protobuf:"bytes,2,rep,name=signedTx,proto3" json:"signedTx,omitempty"` SignaturePolicy *SignaturePolicy `protobuf:"bytes,5,opt,name=signaturePolicy,proto3" json:"signaturePolicy,omitempty"` Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` ReasonId int32 `protobuf:"varint,7,opt,name=reasonId,proto3" json:"reasonId,omitempty"` // contains filtered or unexported fields }
func (*SignedAddress) Descriptor
deprecated
func (*SignedAddress) Descriptor() ([]byte, []int)
Deprecated: Use SignedAddress.ProtoReflect.Descriptor instead.
func (*SignedAddress) GetAddress ¶
func (x *SignedAddress) GetAddress() *Address
func (*SignedAddress) GetReason ¶
func (x *SignedAddress) GetReason() string
func (*SignedAddress) GetReasonId ¶
func (x *SignedAddress) GetReasonId() int32
func (*SignedAddress) GetSignaturePolicy ¶
func (x *SignedAddress) GetSignaturePolicy() *SignaturePolicy
func (*SignedAddress) GetSignedTx ¶
func (x *SignedAddress) GetSignedTx() []string
func (*SignedAddress) ProtoMessage ¶
func (*SignedAddress) ProtoMessage()
func (*SignedAddress) ProtoReflect ¶
func (x *SignedAddress) ProtoReflect() protoreflect.Message
func (*SignedAddress) Reset ¶
func (x *SignedAddress) Reset()
func (*SignedAddress) String ¶
func (x *SignedAddress) String() string
type Stat ¶
type Stat struct { CertOwner string `protobuf:"bytes,1,opt,name=cert_owner,json=certOwner,proto3" json:"cert_owner,omitempty"` PointsEndorser uint64 `protobuf:"varint,2,opt,name=points_endorser,json=pointsEndorser,proto3" json:"points_endorser,omitempty"` PointsOrderer uint64 `protobuf:"varint,3,opt,name=points_orderer,json=pointsOrderer,proto3" json:"points_orderer,omitempty"` // contains filtered or unexported fields }
func (*Stat) Descriptor
deprecated
func (*Stat) GetCertOwner ¶
func (*Stat) GetPointsEndorser ¶
func (*Stat) GetPointsOrderer ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) ProtoReflect ¶
func (x *Stat) ProtoReflect() protoreflect.Message
type Swap ¶
type Swap struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Creator []byte `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Owner []byte `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` From string `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,7,opt,name=to,proto3" json:"to,omitempty"` Hash []byte `protobuf:"bytes,8,opt,name=hash,proto3" json:"hash,omitempty"` Timeout int64 `protobuf:"varint,9,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Swap) Descriptor
deprecated
func (*Swap) GetCreator ¶
func (*Swap) GetTimeout ¶
func (*Swap) ProtoMessage ¶
func (*Swap) ProtoMessage()
func (*Swap) ProtoReflect ¶
func (x *Swap) ProtoReflect() protoreflect.Message
type SwapKey ¶
type SwapKey struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*SwapKey) Descriptor
deprecated
func (*SwapKey) ProtoMessage ¶
func (*SwapKey) ProtoMessage()
func (*SwapKey) ProtoReflect ¶
func (x *SwapKey) ProtoReflect() protoreflect.Message
type SwapResponse ¶
type SwapResponse struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Error *ResponseError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Writes []*WriteElement `protobuf:"bytes,3,rep,name=writes,proto3" json:"writes,omitempty"` // contains filtered or unexported fields }
func (*SwapResponse) Descriptor
deprecated
func (*SwapResponse) Descriptor() ([]byte, []int)
Deprecated: Use SwapResponse.ProtoReflect.Descriptor instead.
func (*SwapResponse) GetError ¶
func (x *SwapResponse) GetError() *ResponseError
func (*SwapResponse) GetId ¶
func (x *SwapResponse) GetId() []byte
func (*SwapResponse) GetWrites ¶
func (x *SwapResponse) GetWrites() []*WriteElement
func (*SwapResponse) ProtoMessage ¶
func (*SwapResponse) ProtoMessage()
func (*SwapResponse) ProtoReflect ¶
func (x *SwapResponse) ProtoReflect() protoreflect.Message
func (*SwapResponse) Reset ¶
func (x *SwapResponse) Reset()
func (*SwapResponse) String ¶
func (x *SwapResponse) String() string
type Token ¶
type Token struct { TotalEmission []byte `protobuf:"bytes,1,opt,name=total_emission,json=totalEmission,proto3" json:"total_emission,omitempty"` Fee *TokenFee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` Rates []*TokenRate `protobuf:"bytes,3,rep,name=rates,proto3" json:"rates,omitempty"` FeeAddress []byte `protobuf:"bytes,4,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) GetFeeAddress ¶
func (*Token) GetTotalEmission ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
type TokenBalanceLock ¶
type TokenBalanceLock struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // lock identifier (optional parameter, if not specified - txID is used) Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier/ticker InitAmount string `protobuf:"bytes,4,opt,name=init_amount,json=initAmount,proto3" json:"init_amount,omitempty"` // big.Int initial number of tokens to block CurrentAmount string `protobuf:"bytes,5,opt,name=current_amount,json=currentAmount,proto3" json:"current_amount,omitempty"` // big.Int current number of tokens to be blocked Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` // reason for blocking Docs [][]byte `protobuf:"bytes,7,rep,name=docs,proto3" json:"docs,omitempty"` // hashes of documents with justification (optional parameter) Payload []byte `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter) // contains filtered or unexported fields }
State: balance token locking data
func (*TokenBalanceLock) Descriptor
deprecated
func (*TokenBalanceLock) Descriptor() ([]byte, []int)
Deprecated: Use TokenBalanceLock.ProtoReflect.Descriptor instead.
func (*TokenBalanceLock) GetAddress ¶
func (x *TokenBalanceLock) GetAddress() string
func (*TokenBalanceLock) GetCurrentAmount ¶
func (x *TokenBalanceLock) GetCurrentAmount() string
func (*TokenBalanceLock) GetDocs ¶
func (x *TokenBalanceLock) GetDocs() [][]byte
func (*TokenBalanceLock) GetId ¶
func (x *TokenBalanceLock) GetId() string
func (*TokenBalanceLock) GetInitAmount ¶
func (x *TokenBalanceLock) GetInitAmount() string
func (*TokenBalanceLock) GetPayload ¶
func (x *TokenBalanceLock) GetPayload() []byte
func (*TokenBalanceLock) GetReason ¶
func (x *TokenBalanceLock) GetReason() string
func (*TokenBalanceLock) GetToken ¶
func (x *TokenBalanceLock) GetToken() string
func (*TokenBalanceLock) ProtoMessage ¶
func (*TokenBalanceLock) ProtoMessage()
func (*TokenBalanceLock) ProtoReflect ¶
func (x *TokenBalanceLock) ProtoReflect() protoreflect.Message
func (*TokenBalanceLock) Reset ¶
func (x *TokenBalanceLock) Reset()
func (*TokenBalanceLock) String ¶
func (x *TokenBalanceLock) String() string
type TokenBalanceLocked ¶
type TokenBalanceLocked struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // lock identifier Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier/ticker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int number of tokens to block Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // reason for locking Docs [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"` // hashes of documents with justification (optional parameter) Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter) // contains filtered or unexported fields }
Event: token balance blocked
func (*TokenBalanceLocked) Descriptor
deprecated
func (*TokenBalanceLocked) Descriptor() ([]byte, []int)
Deprecated: Use TokenBalanceLocked.ProtoReflect.Descriptor instead.
func (*TokenBalanceLocked) GetAddress ¶
func (x *TokenBalanceLocked) GetAddress() string
func (*TokenBalanceLocked) GetAmount ¶
func (x *TokenBalanceLocked) GetAmount() string
func (*TokenBalanceLocked) GetDocs ¶
func (x *TokenBalanceLocked) GetDocs() [][]byte
func (*TokenBalanceLocked) GetId ¶
func (x *TokenBalanceLocked) GetId() string
func (*TokenBalanceLocked) GetPayload ¶
func (x *TokenBalanceLocked) GetPayload() []byte
func (*TokenBalanceLocked) GetReason ¶
func (x *TokenBalanceLocked) GetReason() string
func (*TokenBalanceLocked) GetToken ¶
func (x *TokenBalanceLocked) GetToken() string
func (*TokenBalanceLocked) ProtoMessage ¶
func (*TokenBalanceLocked) ProtoMessage()
func (*TokenBalanceLocked) ProtoReflect ¶
func (x *TokenBalanceLocked) ProtoReflect() protoreflect.Message
func (*TokenBalanceLocked) Reset ¶
func (x *TokenBalanceLocked) Reset()
func (*TokenBalanceLocked) String ¶
func (x *TokenBalanceLocked) String() string
type TokenBalanceUnlocked ¶
type TokenBalanceUnlocked struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // lock identifier Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier/ticker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int amount of tokens to unlock Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // reason for locking Docs [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"` // hashes of documents with justification (optional parameter) Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter) CompleteOperation bool `protobuf:"varint,8,opt,name=complete_operation,json=completeOperation,proto3" json:"complete_operation,omitempty"` // sign that it is completely unlocked // contains filtered or unexported fields }
Event: token balance unlocked
func (*TokenBalanceUnlocked) Descriptor
deprecated
func (*TokenBalanceUnlocked) Descriptor() ([]byte, []int)
Deprecated: Use TokenBalanceUnlocked.ProtoReflect.Descriptor instead.
func (*TokenBalanceUnlocked) GetAddress ¶
func (x *TokenBalanceUnlocked) GetAddress() string
func (*TokenBalanceUnlocked) GetAmount ¶
func (x *TokenBalanceUnlocked) GetAmount() string
func (*TokenBalanceUnlocked) GetCompleteOperation ¶
func (x *TokenBalanceUnlocked) GetCompleteOperation() bool
func (*TokenBalanceUnlocked) GetDocs ¶
func (x *TokenBalanceUnlocked) GetDocs() [][]byte
func (*TokenBalanceUnlocked) GetId ¶
func (x *TokenBalanceUnlocked) GetId() string
func (*TokenBalanceUnlocked) GetPayload ¶
func (x *TokenBalanceUnlocked) GetPayload() []byte
func (*TokenBalanceUnlocked) GetReason ¶
func (x *TokenBalanceUnlocked) GetReason() string
func (*TokenBalanceUnlocked) GetToken ¶
func (x *TokenBalanceUnlocked) GetToken() string
func (*TokenBalanceUnlocked) ProtoMessage ¶
func (*TokenBalanceUnlocked) ProtoMessage()
func (*TokenBalanceUnlocked) ProtoReflect ¶
func (x *TokenBalanceUnlocked) ProtoReflect() protoreflect.Message
func (*TokenBalanceUnlocked) Reset ¶
func (x *TokenBalanceUnlocked) Reset()
func (*TokenBalanceUnlocked) String ¶
func (x *TokenBalanceUnlocked) String() string
type TokenFee ¶
type TokenFee struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Fee []byte `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` Floor []byte `protobuf:"bytes,3,opt,name=floor,proto3" json:"floor,omitempty"` Cap []byte `protobuf:"bytes,4,opt,name=cap,proto3" json:"cap,omitempty"` // contains filtered or unexported fields }
func (*TokenFee) Descriptor
deprecated
func (*TokenFee) GetCurrency ¶
func (*TokenFee) ProtoMessage ¶
func (*TokenFee) ProtoMessage()
func (*TokenFee) ProtoReflect ¶
func (x *TokenFee) ProtoReflect() protoreflect.Message
type TokenRate ¶
type TokenRate struct { DealType string `protobuf:"bytes,1,opt,name=deal_type,json=dealType,proto3" json:"deal_type,omitempty"` Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` Rate []byte `protobuf:"bytes,3,opt,name=rate,proto3" json:"rate,omitempty"` Min []byte `protobuf:"bytes,4,opt,name=min,proto3" json:"min,omitempty"` Max []byte `protobuf:"bytes,5,opt,name=max,proto3" json:"max,omitempty"` Issuer *Address `protobuf:"bytes,6,opt,name=issuer,proto3" json:"issuer,omitempty"` // contains filtered or unexported fields }
func (*TokenRate) Descriptor
deprecated
func (*TokenRate) GetCurrency ¶
func (*TokenRate) GetDealType ¶
func (*TokenRate) ProtoMessage ¶
func (*TokenRate) ProtoMessage()
func (*TokenRate) ProtoReflect ¶
func (x *TokenRate) ProtoReflect() protoreflect.Message
type TxResponse ¶
type TxResponse struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Error *ResponseError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` Writes []*WriteElement `protobuf:"bytes,4,rep,name=writes,proto3" json:"writes,omitempty"` // contains filtered or unexported fields }
func (*TxResponse) Descriptor
deprecated
func (*TxResponse) Descriptor() ([]byte, []int)
Deprecated: Use TxResponse.ProtoReflect.Descriptor instead.
func (*TxResponse) GetError ¶
func (x *TxResponse) GetError() *ResponseError
func (*TxResponse) GetId ¶
func (x *TxResponse) GetId() []byte
func (*TxResponse) GetMethod ¶
func (x *TxResponse) GetMethod() string
func (*TxResponse) GetWrites ¶
func (x *TxResponse) GetWrites() []*WriteElement
func (*TxResponse) ProtoMessage ¶
func (*TxResponse) ProtoMessage()
func (*TxResponse) ProtoReflect ¶
func (x *TxResponse) ProtoReflect() protoreflect.Message
func (*TxResponse) Reset ¶
func (x *TxResponse) Reset()
func (*TxResponse) String ¶
func (x *TxResponse) String() string
type WriteElement ¶
type WriteElement struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` IsDeleted bool `protobuf:"varint,3,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"` // contains filtered or unexported fields }
func (*WriteElement) Descriptor
deprecated
func (*WriteElement) Descriptor() ([]byte, []int)
Deprecated: Use WriteElement.ProtoReflect.Descriptor instead.
func (*WriteElement) GetIsDeleted ¶
func (x *WriteElement) GetIsDeleted() bool
func (*WriteElement) GetKey ¶
func (x *WriteElement) GetKey() string
func (*WriteElement) GetValue ¶
func (x *WriteElement) GetValue() []byte
func (*WriteElement) ProtoMessage ¶
func (*WriteElement) ProtoMessage()
func (*WriteElement) ProtoReflect ¶
func (x *WriteElement) ProtoReflect() protoreflect.Message
func (*WriteElement) Reset ¶
func (x *WriteElement) Reset()
func (*WriteElement) String ¶
func (x *WriteElement) String() string