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) GetRecipientBalanceType() int32
- func (x *AccountingRecord) GetSender() []byte
- func (x *AccountingRecord) GetSenderBalanceType() int32
- 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 (x *AclResponse) GetKeyTypes() []KeyType
- func (*AclResponse) ProtoMessage()
- func (x *AclResponse) ProtoReflect() protoreflect.Message
- func (x *AclResponse) Reset()
- func (x *AclResponse) String() string
- type AdditionalKey
- func (*AdditionalKey) Descriptor() ([]byte, []int)deprecated
- func (x *AdditionalKey) GetLabels() []string
- func (x *AdditionalKey) GetPublicKeyBase58() string
- func (*AdditionalKey) ProtoMessage()
- func (x *AdditionalKey) ProtoReflect() protoreflect.Message
- func (x *AdditionalKey) Reset()
- func (x *AdditionalKey) 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 (*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 BalanceType
- func (BalanceType) Descriptor() protoreflect.EnumDescriptor
- func (x BalanceType) Enum() *BalanceType
- func (BalanceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BalanceType) Number() protoreflect.EnumNumber
- func (x BalanceType) String() string
- func (BalanceType) Type() protoreflect.EnumType
- 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) GetItems() []*CCTransferItem
- 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 CCTransferItem
- func (*CCTransferItem) Descriptor() ([]byte, []int)deprecated
- func (x *CCTransferItem) GetAmount() []byte
- func (x *CCTransferItem) GetToken() string
- func (*CCTransferItem) ProtoMessage()
- func (x *CCTransferItem) ProtoReflect() protoreflect.Message
- func (x *CCTransferItem) Reset()
- func (x *CCTransferItem) 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 ChaincodeOptions
- func (*ChaincodeOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ChaincodeOptions) GetDisableMultiSwaps() bool
- func (x *ChaincodeOptions) GetDisableSwaps() bool
- func (x *ChaincodeOptions) GetDisabledFunctions() []string
- func (*ChaincodeOptions) ProtoMessage()
- func (x *ChaincodeOptions) ProtoReflect() protoreflect.Message
- func (x *ChaincodeOptions) Reset()
- func (x *ChaincodeOptions) String() string
- func (m *ChaincodeOptions) Validate() error
- func (m *ChaincodeOptions) ValidateAll() error
- type ChaincodeOptionsMultiError
- type ChaincodeOptionsValidationError
- func (e ChaincodeOptionsValidationError) Cause() error
- func (e ChaincodeOptionsValidationError) Error() string
- func (e ChaincodeOptionsValidationError) ErrorName() string
- func (e ChaincodeOptionsValidationError) Field() string
- func (e ChaincodeOptionsValidationError) Key() bool
- func (e ChaincodeOptionsValidationError) Reason() string
- type CollectorEndpoint
- func (*CollectorEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorEndpoint) GetAuthorizationHeaderKey() string
- func (x *CollectorEndpoint) GetAuthorizationHeaderValue() string
- func (x *CollectorEndpoint) GetEndpoint() string
- func (x *CollectorEndpoint) GetTlsCa() string
- func (*CollectorEndpoint) ProtoMessage()
- func (x *CollectorEndpoint) ProtoReflect() protoreflect.Message
- func (x *CollectorEndpoint) Reset()
- func (x *CollectorEndpoint) String() string
- func (m *CollectorEndpoint) Validate() error
- func (m *CollectorEndpoint) ValidateAll() error
- type CollectorEndpointMultiError
- type CollectorEndpointValidationError
- func (e CollectorEndpointValidationError) Cause() error
- func (e CollectorEndpointValidationError) Error() string
- func (e CollectorEndpointValidationError) ErrorName() string
- func (e CollectorEndpointValidationError) Field() string
- func (e CollectorEndpointValidationError) Key() bool
- func (e CollectorEndpointValidationError) Reason() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetContract() *ContractConfig
- func (x *Config) GetExtConfig() *anypb.Any
- func (x *Config) GetToken() *TokenConfig
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- func (m *Config) Validate() error
- func (m *Config) ValidateAll() error
- type ConfigMultiError
- type ConfigValidationError
- type ContractConfig
- func (*ContractConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ContractConfig) GetAdmin() *Wallet
- func (x *ContractConfig) GetMaxChannelTransferItems() uint32
- func (x *ContractConfig) GetOptions() *ChaincodeOptions
- func (x *ContractConfig) GetRobotSKI() string
- func (x *ContractConfig) GetSymbol() string
- func (x *ContractConfig) GetTracingCollectorEndpoint() *CollectorEndpoint
- func (bc *ContractConfig) IsAdminSet() bool
- func (*ContractConfig) ProtoMessage()
- func (x *ContractConfig) ProtoReflect() protoreflect.Message
- func (x *ContractConfig) Reset()
- func (x *ContractConfig) String() string
- func (m *ContractConfig) Validate() error
- func (m *ContractConfig) ValidateAll() error
- type ContractConfigMultiError
- type ContractConfigValidationError
- func (e ContractConfigValidationError) Cause() error
- func (e ContractConfigValidationError) Error() string
- func (e ContractConfigValidationError) ErrorName() string
- func (e ContractConfigValidationError) Field() string
- func (e ContractConfigValidationError) Key() bool
- func (e ContractConfigValidationError) Reason() string
- type DocumentType
- func (DocumentType) Descriptor() protoreflect.EnumDescriptor
- func (x DocumentType) Enum() *DocumentType
- func (DocumentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DocumentType) Number() protoreflect.EnumNumber
- func (x DocumentType) String() string
- func (DocumentType) Type() protoreflect.EnumType
- type Event
- type ExecuteTasksRequest
- func (*ExecuteTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteTasksRequest) GetTasks() []*Task
- func (*ExecuteTasksRequest) ProtoMessage()
- func (x *ExecuteTasksRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteTasksRequest) Reset()
- func (x *ExecuteTasksRequest) String() string
- 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) GetPlatformSKI() []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 KeyType
- 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 Pair
- 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) GetPairs() []*Pair
- 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) GetAdditionalKeys() []*AdditionalKey
- 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 Task
- 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 TokenConfig
- func (*TokenConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TokenConfig) GetDecimals() uint32
- func (x *TokenConfig) GetFeeAddressSetter() *Wallet
- func (x *TokenConfig) GetFeeSetter() *Wallet
- func (x *TokenConfig) GetIssuer() *Wallet
- func (x *TokenConfig) GetName() string
- func (x *TokenConfig) GetRedeemer() *Wallet
- func (x *TokenConfig) GetUnderlyingAsset() string
- func (*TokenConfig) ProtoMessage()
- func (x *TokenConfig) ProtoReflect() protoreflect.Message
- func (x *TokenConfig) Reset()
- func (x *TokenConfig) String() string
- func (m *TokenConfig) Validate() error
- func (m *TokenConfig) ValidateAll() error
- type TokenConfigMultiError
- type TokenConfigValidationError
- func (e TokenConfigValidationError) Cause() error
- func (e TokenConfigValidationError) Error() string
- func (e TokenConfigValidationError) ErrorName() string
- func (e TokenConfigValidationError) Field() string
- func (e TokenConfigValidationError) Key() bool
- func (e TokenConfigValidationError) Reason() 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 TransferBasis
- func (TransferBasis) Descriptor() protoreflect.EnumDescriptor
- func (x TransferBasis) Enum() *TransferBasis
- func (TransferBasis) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransferBasis) Number() protoreflect.EnumNumber
- func (x TransferBasis) String() string
- func (TransferBasis) Type() protoreflect.EnumType
- type TransferRequest
- func (x *TransferRequest) Check() error
- func (*TransferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferRequest) GetAdditionalInfo() *anypb.Any
- func (x *TransferRequest) GetAdministratorId() string
- func (x *TransferRequest) GetAmount() string
- func (x *TransferRequest) GetBalanceType() BalanceType
- func (x *TransferRequest) GetBasis() TransferBasis
- func (x *TransferRequest) GetDocumentDate() *timestamppb.Timestamp
- func (x *TransferRequest) GetDocumentHashes() []string
- func (x *TransferRequest) GetDocumentNumber() string
- func (x *TransferRequest) GetDocumentType() DocumentType
- func (x *TransferRequest) GetFromAddress() string
- func (x *TransferRequest) GetReason() string
- func (x *TransferRequest) GetRequestId() string
- func (x *TransferRequest) GetToAddress() string
- func (x *TransferRequest) GetToken() string
- func (*TransferRequest) ProtoMessage()
- func (x *TransferRequest) ProtoReflect() protoreflect.Message
- func (x *TransferRequest) Reset()
- func (x *TransferRequest) String() string
- func (m *TransferRequest) Validate() error
- func (m *TransferRequest) ValidateAll() error
- type TransferRequestMultiError
- type TransferRequestValidationError
- func (e TransferRequestValidationError) Cause() error
- func (e TransferRequestValidationError) Error() string
- func (e TransferRequestValidationError) ErrorName() string
- func (e TransferRequestValidationError) Field() string
- func (e TransferRequestValidationError) Key() bool
- func (e TransferRequestValidationError) Reason() 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 Wallet
- func (*Wallet) Descriptor() ([]byte, []int)deprecated
- func (x *Wallet) GetAddress() string
- func (*Wallet) ProtoMessage()
- func (x *Wallet) ProtoReflect() protoreflect.Message
- func (x *Wallet) Reset()
- func (x *Wallet) String() string
- func (m *Wallet) Validate() error
- func (m *Wallet) ValidateAll() error
- type WalletMultiError
- type WalletValidationError
- 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 ( KeyType_name = map[int32]string{ 0: "ed25519", 1: "secp256k1", 2: "gost", } KeyType_value = map[string]int32{ "ed25519": 0, "secp256k1": 1, "gost": 2, } )
Enum value maps for KeyType.
var ( DocumentType_name = map[int32]string{ 0: "DOCUMENT_TYPE_UNSPECIFIED", 1: "DOCUMENT_TYPE_LEGAL", 2: "DOCUMENT_TYPE_INHERITANCE", 3: "DOCUMENT_TYPE_JUDGMENT", } DocumentType_value = map[string]int32{ "DOCUMENT_TYPE_UNSPECIFIED": 0, "DOCUMENT_TYPE_LEGAL": 1, "DOCUMENT_TYPE_INHERITANCE": 2, "DOCUMENT_TYPE_JUDGMENT": 3, } )
Enum value maps for DocumentType.
var ( TransferBasis_name = map[int32]string{ 0: "TRANSFER_BASIS_UNSPECIFIED", 1: "TRANSFER_BASIS_REORGANIZATION", 2: "TRANSFER_BASIS_INHERITANCE", 3: "TRANSFER_BASIS_COURT_DECISION", } TransferBasis_value = map[string]int32{ "TRANSFER_BASIS_UNSPECIFIED": 0, "TRANSFER_BASIS_REORGANIZATION": 1, "TRANSFER_BASIS_INHERITANCE": 2, "TRANSFER_BASIS_COURT_DECISION": 3, } )
Enum value maps for TransferBasis.
var ( BalanceType_name = map[int32]string{ 0: "BALANCE_TYPE_UNSPECIFIED", 43: "BALANCE_TYPE_TOKEN", 50: "BALANCE_TYPE_TOKEN_EXTERNAL_LOCKED", } BalanceType_value = map[string]int32{ "BALANCE_TYPE_UNSPECIFIED": 0, "BALANCE_TYPE_TOKEN": 43, "BALANCE_TYPE_TOKEN_EXTERNAL_LOCKED": 50, } )
Enum value maps for BalanceType.
var File_batch_proto protoreflect.FileDescriptor
var File_foundation_config_proto protoreflect.FileDescriptor
var File_locks_proto protoreflect.FileDescriptor
var File_report_proto protoreflect.FileDescriptor
var File_task_proto protoreflect.FileDescriptor
var File_transfer_request_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"` SenderBalanceType int32 `protobuf:"varint,6,opt,name=senderBalanceType,proto3" json:"senderBalanceType,omitempty"` RecipientBalanceType int32 `protobuf:"varint,7,opt,name=recipientBalanceType,proto3" json:"recipientBalanceType,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) GetRecipientBalanceType ¶ added in v0.0.9
func (x *AccountingRecord) GetRecipientBalanceType() int32
func (*AccountingRecord) GetSender ¶
func (x *AccountingRecord) GetSender() []byte
func (*AccountingRecord) GetSenderBalanceType ¶ added in v0.0.9
func (x *AccountingRecord) GetSenderBalanceType() int32
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"` KeyTypes []KeyType `protobuf:"varint,3,rep,packed,name=keyTypes,proto3,enum=proto.KeyType" json:"keyTypes,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) GetKeyTypes ¶ added in v0.0.2
func (x *AclResponse) GetKeyTypes() []KeyType
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 AdditionalKey ¶
type AdditionalKey struct { PublicKeyBase58 string `protobuf:"bytes,1,opt,name=publicKeyBase58,proto3" json:"publicKeyBase58,omitempty"` Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*AdditionalKey) Descriptor
deprecated
func (*AdditionalKey) Descriptor() ([]byte, []int)
Deprecated: Use AdditionalKey.ProtoReflect.Descriptor instead.
func (*AdditionalKey) GetLabels ¶
func (x *AdditionalKey) GetLabels() []string
func (*AdditionalKey) GetPublicKeyBase58 ¶
func (x *AdditionalKey) GetPublicKeyBase58() string
func (*AdditionalKey) ProtoMessage ¶
func (*AdditionalKey) ProtoMessage()
func (*AdditionalKey) ProtoReflect ¶
func (x *AdditionalKey) ProtoReflect() protoreflect.Message
func (*AdditionalKey) Reset ¶
func (x *AdditionalKey) Reset()
func (*AdditionalKey) String ¶
func (x *AdditionalKey) 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, is used txID) 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"` // identifier / tiker token InitAmount string `protobuf:"bytes,4,opt,name=init_amount,json=initAmount,proto3" json:"init_amount,omitempty"` // big.Int the initial number of tokens for locking CurrentAmount string `protobuf:"bytes,5,opt,name=current_amount,json=currentAmount,proto3" json:"current_amount,omitempty"` // big.Int the current amount of blocked tokens Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` // the reason for the blocking Docs [][]byte `protobuf:"bytes,7,rep,name=docs,proto3" json:"docs,omitempty"` // hashes justification documents (optional parameter) Payload []byte `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` // Additional information (optional parameter) // contains filtered or unexported fields }
State: data on blocking alved balance
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's address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier / token ticker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int number of tokens to lock Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // blocking reason 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 (*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's address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier / token ticker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int number of tokens to lock Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // blocking reason 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"` // a sign that it's 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"` // The owner of the owner Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // id and ticker token Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int number of locking tokens Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // The reason for the blocking Docs [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"` // Hash 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) 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 BalanceType ¶ added in v0.0.3
type BalanceType int32
Enum representing the types of balances.
const ( BalanceType_BALANCE_TYPE_UNSPECIFIED BalanceType = 0 // Unspecified balance type BalanceType_BALANCE_TYPE_TOKEN BalanceType = 43 // 0x2b BalanceType_BALANCE_TYPE_TOKEN_EXTERNAL_LOCKED BalanceType = 50 // 0x32 )
func (BalanceType) Descriptor ¶ added in v0.0.3
func (BalanceType) Descriptor() protoreflect.EnumDescriptor
func (BalanceType) Enum ¶ added in v0.0.3
func (x BalanceType) Enum() *BalanceType
func (BalanceType) EnumDescriptor
deprecated
added in
v0.0.3
func (BalanceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BalanceType.Descriptor instead.
func (BalanceType) Number ¶ added in v0.0.3
func (x BalanceType) Number() protoreflect.EnumNumber
func (BalanceType) String ¶ added in v0.0.3
func (x BalanceType) String() string
func (BalanceType) Type ¶ added in v0.0.3
func (BalanceType) Type() protoreflect.EnumType
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"` // transfer token User []byte `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` // token holder Amount []byte `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"` // number of tokens // Transfer direction is an additional variable made for convenience // so that you don't have to calculate it every time. It is calculated 1 time when filling the structure // when executing a transaction. // Different balances change depending on the direction. // Examples: // Direct transfer: we transfer A tokens from channel A to channel B // or transfer B tokens from channel B to channel A // 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 Items []*CCTransferItem `protobuf:"bytes,10,rep,name=items,proto3" json:"items,omitempty"` // transfer multiple tokens for single transfer // 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) GetItems ¶ added in v0.0.6
func (x *CCTransfer) GetItems() []*CCTransferItem
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 CCTransferItem ¶ added in v0.0.6
type CCTransferItem struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Amount []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*CCTransferItem) Descriptor
deprecated
added in
v0.0.6
func (*CCTransferItem) Descriptor() ([]byte, []int)
Deprecated: Use CCTransferItem.ProtoReflect.Descriptor instead.
func (*CCTransferItem) GetAmount ¶ added in v0.0.6
func (x *CCTransferItem) GetAmount() []byte
func (*CCTransferItem) GetToken ¶ added in v0.0.6
func (x *CCTransferItem) GetToken() string
func (*CCTransferItem) ProtoMessage ¶ added in v0.0.6
func (*CCTransferItem) ProtoMessage()
func (*CCTransferItem) ProtoReflect ¶ added in v0.0.6
func (x *CCTransferItem) ProtoReflect() protoreflect.Message
func (*CCTransferItem) Reset ¶ added in v0.0.6
func (x *CCTransferItem) Reset()
func (*CCTransferItem) String ¶ added in v0.0.6
func (x *CCTransferItem) 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 ChaincodeOptions ¶
type ChaincodeOptions struct { // disabled_functions stores list of disabled chaincode methods. // This methods can't be called. DisabledFunctions []string `protobuf:"bytes,1,rep,name=disabled_functions,json=disabledFunctions,proto3" json:"disabled_functions,omitempty"` // disable_swaps determines whether swap operations can be performed. DisableSwaps bool `protobuf:"varint,2,opt,name=disable_swaps,json=disableSwaps,proto3" json:"disable_swaps,omitempty"` // disable_multi_swaps determines whether multi-swap operations can be performed. DisableMultiSwaps bool `protobuf:"varint,3,opt,name=disable_multi_swaps,json=disableMultiSwaps,proto3" json:"disable_multi_swaps,omitempty"` // contains filtered or unexported fields }
ChaincodeOptions stores possible chaincode configuration options.
func (*ChaincodeOptions) Descriptor
deprecated
func (*ChaincodeOptions) Descriptor() ([]byte, []int)
Deprecated: Use ChaincodeOptions.ProtoReflect.Descriptor instead.
func (*ChaincodeOptions) GetDisableMultiSwaps ¶
func (x *ChaincodeOptions) GetDisableMultiSwaps() bool
func (*ChaincodeOptions) GetDisableSwaps ¶
func (x *ChaincodeOptions) GetDisableSwaps() bool
func (*ChaincodeOptions) GetDisabledFunctions ¶
func (x *ChaincodeOptions) GetDisabledFunctions() []string
func (*ChaincodeOptions) ProtoMessage ¶
func (*ChaincodeOptions) ProtoMessage()
func (*ChaincodeOptions) ProtoReflect ¶
func (x *ChaincodeOptions) ProtoReflect() protoreflect.Message
func (*ChaincodeOptions) Reset ¶
func (x *ChaincodeOptions) Reset()
func (*ChaincodeOptions) String ¶
func (x *ChaincodeOptions) String() string
func (*ChaincodeOptions) Validate ¶
func (m *ChaincodeOptions) Validate() error
Validate checks the field values on ChaincodeOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChaincodeOptions) ValidateAll ¶
func (m *ChaincodeOptions) ValidateAll() error
ValidateAll checks the field values on ChaincodeOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChaincodeOptionsMultiError, or nil if none found.
type ChaincodeOptionsMultiError ¶
type ChaincodeOptionsMultiError []error
ChaincodeOptionsMultiError is an error wrapping multiple validation errors returned by ChaincodeOptions.ValidateAll() if the designated constraints aren't met.
func (ChaincodeOptionsMultiError) AllErrors ¶
func (m ChaincodeOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChaincodeOptionsMultiError) Error ¶
func (m ChaincodeOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChaincodeOptionsValidationError ¶
type ChaincodeOptionsValidationError struct {
// contains filtered or unexported fields
}
ChaincodeOptionsValidationError is the validation error returned by ChaincodeOptions.Validate if the designated constraints aren't met.
func (ChaincodeOptionsValidationError) Cause ¶
func (e ChaincodeOptionsValidationError) Cause() error
Cause function returns cause value.
func (ChaincodeOptionsValidationError) Error ¶
func (e ChaincodeOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (ChaincodeOptionsValidationError) ErrorName ¶
func (e ChaincodeOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (ChaincodeOptionsValidationError) Field ¶
func (e ChaincodeOptionsValidationError) Field() string
Field function returns field value.
func (ChaincodeOptionsValidationError) Key ¶
func (e ChaincodeOptionsValidationError) Key() bool
Key function returns key value.
func (ChaincodeOptionsValidationError) Reason ¶
func (e ChaincodeOptionsValidationError) Reason() string
Reason function returns reason value.
type CollectorEndpoint ¶
type CollectorEndpoint struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` AuthorizationHeaderKey string `` /* 129-byte string literal not displayed */ AuthorizationHeaderValue string `` /* 135-byte string literal not displayed */ TlsCa string `protobuf:"bytes,4,opt,name=tls_ca,json=tlsCa,proto3" json:"tls_ca,omitempty"` // contains filtered or unexported fields }
func (*CollectorEndpoint) Descriptor
deprecated
func (*CollectorEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use CollectorEndpoint.ProtoReflect.Descriptor instead.
func (*CollectorEndpoint) GetAuthorizationHeaderKey ¶ added in v0.0.3
func (x *CollectorEndpoint) GetAuthorizationHeaderKey() string
func (*CollectorEndpoint) GetAuthorizationHeaderValue ¶ added in v0.0.3
func (x *CollectorEndpoint) GetAuthorizationHeaderValue() string
func (*CollectorEndpoint) GetEndpoint ¶
func (x *CollectorEndpoint) GetEndpoint() string
func (*CollectorEndpoint) GetTlsCa ¶ added in v0.0.3
func (x *CollectorEndpoint) GetTlsCa() string
func (*CollectorEndpoint) ProtoMessage ¶
func (*CollectorEndpoint) ProtoMessage()
func (*CollectorEndpoint) ProtoReflect ¶
func (x *CollectorEndpoint) ProtoReflect() protoreflect.Message
func (*CollectorEndpoint) Reset ¶
func (x *CollectorEndpoint) Reset()
func (*CollectorEndpoint) String ¶
func (x *CollectorEndpoint) String() string
func (*CollectorEndpoint) Validate ¶
func (m *CollectorEndpoint) Validate() error
Validate checks the field values on CollectorEndpoint with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CollectorEndpoint) ValidateAll ¶
func (m *CollectorEndpoint) ValidateAll() error
ValidateAll checks the field values on CollectorEndpoint with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CollectorEndpointMultiError, or nil if none found.
type CollectorEndpointMultiError ¶
type CollectorEndpointMultiError []error
CollectorEndpointMultiError is an error wrapping multiple validation errors returned by CollectorEndpoint.ValidateAll() if the designated constraints aren't met.
func (CollectorEndpointMultiError) AllErrors ¶
func (m CollectorEndpointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectorEndpointMultiError) Error ¶
func (m CollectorEndpointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CollectorEndpointValidationError ¶
type CollectorEndpointValidationError struct {
// contains filtered or unexported fields
}
CollectorEndpointValidationError is the validation error returned by CollectorEndpoint.Validate if the designated constraints aren't met.
func (CollectorEndpointValidationError) Cause ¶
func (e CollectorEndpointValidationError) Cause() error
Cause function returns cause value.
func (CollectorEndpointValidationError) Error ¶
func (e CollectorEndpointValidationError) Error() string
Error satisfies the builtin error interface
func (CollectorEndpointValidationError) ErrorName ¶
func (e CollectorEndpointValidationError) ErrorName() string
ErrorName returns error name.
func (CollectorEndpointValidationError) Field ¶
func (e CollectorEndpointValidationError) Field() string
Field function returns field value.
func (CollectorEndpointValidationError) Key ¶
func (e CollectorEndpointValidationError) Key() bool
Key function returns key value.
func (CollectorEndpointValidationError) Reason ¶
func (e CollectorEndpointValidationError) Reason() string
Reason function returns reason value.
type Config ¶
type Config struct { Contract *ContractConfig `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` Token *TokenConfig `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` ExtConfig *anypb.Any `protobuf:"bytes,3,opt,name=ext_config,json=extConfig,proto3" json:"ext_config,omitempty"` // contains filtered or unexported fields }
Config stores all chaincode configuration parameters.
func (*Config) Descriptor
deprecated
func (*Config) GetContract ¶
func (x *Config) GetContract() *ContractConfig
func (*Config) GetExtConfig ¶
func (*Config) GetToken ¶
func (x *Config) GetToken() *TokenConfig
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) Validate ¶
Validate checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Config) ValidateAll ¶
ValidateAll checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigMultiError, or nil if none found.
type ConfigMultiError ¶
type ConfigMultiError []error
ConfigMultiError is an error wrapping multiple validation errors returned by Config.ValidateAll() if the designated constraints aren't met.
func (ConfigMultiError) AllErrors ¶
func (m ConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigMultiError) Error ¶
func (m ConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigValidationError ¶
type ConfigValidationError struct {
// contains filtered or unexported fields
}
ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.
func (ConfigValidationError) Cause ¶
func (e ConfigValidationError) Cause() error
Cause function returns cause value.
func (ConfigValidationError) Error ¶
func (e ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigValidationError) ErrorName ¶
func (e ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigValidationError) Field ¶
func (e ConfigValidationError) Field() string
Field function returns field value.
func (ConfigValidationError) Key ¶
func (e ConfigValidationError) Key() bool
Key function returns key value.
func (ConfigValidationError) Reason ¶
func (e ConfigValidationError) Reason() string
Reason function returns reason value.
type ContractConfig ¶
type ContractConfig struct { // symbol is a contract identifier, usually called token ticker. Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // ChaincodeOptions stores contract options. Options *ChaincodeOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // robotSKI is the platform robot public key SKI in hex format. RobotSKI string `protobuf:"bytes,3,opt,name=robotSKI,proto3" json:"robotSKI,omitempty"` // admin is an address of user who can import manipulations with contract. Admin *Wallet `protobuf:"bytes,4,opt,name=admin,proto3" json:"admin,omitempty"` // tracingCollectorEndpoint - tracing collector endpoint host & port, e.g. "172.23.0.6:4318" TracingCollectorEndpoint *CollectorEndpoint `protobuf:"bytes,5,opt,name=tracingCollectorEndpoint,proto3" json:"tracingCollectorEndpoint,omitempty"` // maxChannelTransferItems maximum count channel transfer items (token amount) for single transfer operation, // if maxChannelTransferItems is 0 will use default value 100 MaxChannelTransferItems uint32 `protobuf:"varint,6,opt,name=maxChannelTransferItems,proto3" json:"maxChannelTransferItems,omitempty"` // contains filtered or unexported fields }
ContractConfig is a configuration for platform base contract.
func (*ContractConfig) Descriptor
deprecated
func (*ContractConfig) Descriptor() ([]byte, []int)
Deprecated: Use ContractConfig.ProtoReflect.Descriptor instead.
func (*ContractConfig) GetAdmin ¶
func (x *ContractConfig) GetAdmin() *Wallet
func (*ContractConfig) GetMaxChannelTransferItems ¶ added in v0.0.6
func (x *ContractConfig) GetMaxChannelTransferItems() uint32
func (*ContractConfig) GetOptions ¶
func (x *ContractConfig) GetOptions() *ChaincodeOptions
func (*ContractConfig) GetRobotSKI ¶
func (x *ContractConfig) GetRobotSKI() string
func (*ContractConfig) GetSymbol ¶
func (x *ContractConfig) GetSymbol() string
func (*ContractConfig) GetTracingCollectorEndpoint ¶
func (x *ContractConfig) GetTracingCollectorEndpoint() *CollectorEndpoint
func (*ContractConfig) IsAdminSet ¶
func (bc *ContractConfig) IsAdminSet() bool
IsAdminSet checks whether the contract admin wallet is set in the ContractConfig.
func (*ContractConfig) ProtoMessage ¶
func (*ContractConfig) ProtoMessage()
func (*ContractConfig) ProtoReflect ¶
func (x *ContractConfig) ProtoReflect() protoreflect.Message
func (*ContractConfig) Reset ¶
func (x *ContractConfig) Reset()
func (*ContractConfig) String ¶
func (x *ContractConfig) String() string
func (*ContractConfig) Validate ¶
func (m *ContractConfig) Validate() error
Validate checks the field values on ContractConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContractConfig) ValidateAll ¶
func (m *ContractConfig) ValidateAll() error
ValidateAll checks the field values on ContractConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContractConfigMultiError, or nil if none found.
type ContractConfigMultiError ¶
type ContractConfigMultiError []error
ContractConfigMultiError is an error wrapping multiple validation errors returned by ContractConfig.ValidateAll() if the designated constraints aren't met.
func (ContractConfigMultiError) AllErrors ¶
func (m ContractConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContractConfigMultiError) Error ¶
func (m ContractConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContractConfigValidationError ¶
type ContractConfigValidationError struct {
// contains filtered or unexported fields
}
ContractConfigValidationError is the validation error returned by ContractConfig.Validate if the designated constraints aren't met.
func (ContractConfigValidationError) Cause ¶
func (e ContractConfigValidationError) Cause() error
Cause function returns cause value.
func (ContractConfigValidationError) Error ¶
func (e ContractConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ContractConfigValidationError) ErrorName ¶
func (e ContractConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ContractConfigValidationError) Field ¶
func (e ContractConfigValidationError) Field() string
Field function returns field value.
func (ContractConfigValidationError) Key ¶
func (e ContractConfigValidationError) Key() bool
Key function returns key value.
func (ContractConfigValidationError) Reason ¶
func (e ContractConfigValidationError) Reason() string
Reason function returns reason value.
type DocumentType ¶ added in v0.0.3
type DocumentType int32
Enum representing the types of documents.
const ( DocumentType_DOCUMENT_TYPE_UNSPECIFIED DocumentType = 0 // Unspecified document type DocumentType_DOCUMENT_TYPE_LEGAL DocumentType = 1 // Record Sheet of the Unified State Register of Legal Entities (EGRUL) DocumentType_DOCUMENT_TYPE_INHERITANCE DocumentType = 2 // Certificate of Inheritance DocumentType_DOCUMENT_TYPE_JUDGMENT DocumentType = 3 // Writ of Execution )
func (DocumentType) Descriptor ¶ added in v0.0.3
func (DocumentType) Descriptor() protoreflect.EnumDescriptor
func (DocumentType) Enum ¶ added in v0.0.3
func (x DocumentType) Enum() *DocumentType
func (DocumentType) EnumDescriptor
deprecated
added in
v0.0.3
func (DocumentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DocumentType.Descriptor instead.
func (DocumentType) Number ¶ added in v0.0.3
func (x DocumentType) Number() protoreflect.EnumNumber
func (DocumentType) String ¶ added in v0.0.3
func (x DocumentType) String() string
func (DocumentType) Type ¶ added in v0.0.3
func (DocumentType) Type() protoreflect.EnumType
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 ExecuteTasksRequest ¶ added in v0.0.3
type ExecuteTasksRequest struct { Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // contains filtered or unexported fields }
func (*ExecuteTasksRequest) Descriptor
deprecated
added in
v0.0.3
func (*ExecuteTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteTasksRequest.ProtoReflect.Descriptor instead.
func (*ExecuteTasksRequest) GetTasks ¶ added in v0.0.3
func (x *ExecuteTasksRequest) GetTasks() []*Task
func (*ExecuteTasksRequest) ProtoMessage ¶ added in v0.0.3
func (*ExecuteTasksRequest) ProtoMessage()
func (*ExecuteTasksRequest) ProtoReflect ¶ added in v0.0.3
func (x *ExecuteTasksRequest) ProtoReflect() protoreflect.Message
func (*ExecuteTasksRequest) Reset ¶ added in v0.0.3
func (x *ExecuteTasksRequest) Reset()
func (*ExecuteTasksRequest) String ¶ added in v0.0.3
func (x *ExecuteTasksRequest) String() string
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 { PlatformSKI []byte `protobuf:"bytes,1,opt,name=platformSKI,proto3" json:"platformSKI,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) GetPlatformSKI ¶
func (*InitArgs) GetRobotSKI ¶
func (*InitArgs) ProtoMessage ¶
func (*InitArgs) ProtoMessage()
func (*InitArgs) ProtoReflect ¶
func (x *InitArgs) ProtoReflect() protoreflect.Message
type KeyType ¶ added in v0.0.2
type KeyType int32
func (KeyType) Descriptor ¶ added in v0.0.2
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
added in
v0.0.2
func (KeyType) Number ¶ added in v0.0.2
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶ added in v0.0.2
func (KeyType) Type() protoreflect.EnumType
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 Pair ¶
type Pair struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
key-value pairs for telemetry settings storage
func (*Pair) Descriptor
deprecated
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
func (*Pair) ProtoReflect ¶
func (x *Pair) ProtoReflect() protoreflect.Message
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"` Pairs []*Pair `protobuf:"bytes,7,rep,name=pairs,proto3" json:"pairs,omitempty"` // key-value pairs for telemetry settings storage // 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"` AdditionalKeys []*AdditionalKey `protobuf:"bytes,8,rep,name=additionalKeys,proto3" json:"additionalKeys,omitempty"` // contains filtered or unexported fields }
func (*SignedAddress) Descriptor
deprecated
func (*SignedAddress) Descriptor() ([]byte, []int)
Deprecated: Use SignedAddress.ProtoReflect.Descriptor instead.
func (*SignedAddress) GetAdditionalKeys ¶
func (x *SignedAddress) GetAdditionalKeys() []*AdditionalKey
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 Task ¶ added in v0.0.3
type Task struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
added in
v0.0.3
func (*Task) ProtoMessage ¶ added in v0.0.3
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶ added in v0.0.3
func (x *Task) ProtoReflect() protoreflect.Message
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, is used txID) Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // The addres of the owner Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // id and ticker token InitAmount string `protobuf:"bytes,4,opt,name=init_amount,json=initAmount,proto3" json:"init_amount,omitempty"` // big.Int the initial number of tokens for locking CurrentAmount string `protobuf:"bytes,5,opt,name=current_amount,json=currentAmount,proto3" json:"current_amount,omitempty"` // big.Int The current amount of blocked tokens Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` // The reason for the blocking Docs [][]byte `protobuf:"bytes,7,rep,name=docs,proto3" json:"docs,omitempty"` // hashes justification documents (optional parameter) Payload []byte `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` // Additional information (optional parameter) // contains filtered or unexported fields }
State: data on blocking the balance sheet
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"` // Blocking 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"` // identifier / token tiker Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // big.Int number of tokens to lock Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` // The reason of 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) // contains filtered or unexported fields }
Event: Token balance is 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's address Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token identifier / token 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"` // blocking reason 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"` // a indication that it's fully 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 TokenConfig ¶
type TokenConfig struct { // name is a token name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // decimals is a token's dimension. Decimals uint32 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"` // underlying_asset is an asset that backs the token. UnderlyingAsset string `protobuf:"bytes,3,opt,name=underlying_asset,json=underlyingAsset,proto3" json:"underlying_asset,omitempty"` // issuer is the user which can emit tokens. Issuer *Wallet `protobuf:"bytes,4,opt,name=issuer,proto3" json:"issuer,omitempty"` // fee_setter is the user which can set and change fees for operations. FeeSetter *Wallet `protobuf:"bytes,5,opt,name=fee_setter,json=feeSetter,proto3" json:"fee_setter,omitempty"` // fee_address_setter is the user who can set the set address of the commissions manager. FeeAddressSetter *Wallet `protobuf:"bytes,6,opt,name=fee_address_setter,json=feeAddressSetter,proto3" json:"fee_address_setter,omitempty"` // redeemer is the user who has permission to manage redemption process. Redeemer *Wallet `protobuf:"bytes,7,opt,name=redeemer,proto3" json:"redeemer,omitempty"` // contains filtered or unexported fields }
TokenConfig is a configuration for base token.
func (*TokenConfig) Descriptor
deprecated
func (*TokenConfig) Descriptor() ([]byte, []int)
Deprecated: Use TokenConfig.ProtoReflect.Descriptor instead.
func (*TokenConfig) GetDecimals ¶
func (x *TokenConfig) GetDecimals() uint32
func (*TokenConfig) GetFeeAddressSetter ¶
func (x *TokenConfig) GetFeeAddressSetter() *Wallet
func (*TokenConfig) GetFeeSetter ¶
func (x *TokenConfig) GetFeeSetter() *Wallet
func (*TokenConfig) GetIssuer ¶
func (x *TokenConfig) GetIssuer() *Wallet
func (*TokenConfig) GetName ¶
func (x *TokenConfig) GetName() string
func (*TokenConfig) GetRedeemer ¶
func (x *TokenConfig) GetRedeemer() *Wallet
func (*TokenConfig) GetUnderlyingAsset ¶
func (x *TokenConfig) GetUnderlyingAsset() string
func (*TokenConfig) ProtoMessage ¶
func (*TokenConfig) ProtoMessage()
func (*TokenConfig) ProtoReflect ¶
func (x *TokenConfig) ProtoReflect() protoreflect.Message
func (*TokenConfig) Reset ¶
func (x *TokenConfig) Reset()
func (*TokenConfig) String ¶
func (x *TokenConfig) String() string
func (*TokenConfig) Validate ¶
func (m *TokenConfig) Validate() error
Validate checks the field values on TokenConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TokenConfig) ValidateAll ¶
func (m *TokenConfig) ValidateAll() error
ValidateAll checks the field values on TokenConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TokenConfigMultiError, or nil if none found.
type TokenConfigMultiError ¶
type TokenConfigMultiError []error
TokenConfigMultiError is an error wrapping multiple validation errors returned by TokenConfig.ValidateAll() if the designated constraints aren't met.
func (TokenConfigMultiError) AllErrors ¶
func (m TokenConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenConfigMultiError) Error ¶
func (m TokenConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenConfigValidationError ¶
type TokenConfigValidationError struct {
// contains filtered or unexported fields
}
TokenConfigValidationError is the validation error returned by TokenConfig.Validate if the designated constraints aren't met.
func (TokenConfigValidationError) Cause ¶
func (e TokenConfigValidationError) Cause() error
Cause function returns cause value.
func (TokenConfigValidationError) Error ¶
func (e TokenConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TokenConfigValidationError) ErrorName ¶
func (e TokenConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TokenConfigValidationError) Field ¶
func (e TokenConfigValidationError) Field() string
Field function returns field value.
func (TokenConfigValidationError) Key ¶
func (e TokenConfigValidationError) Key() bool
Key function returns key value.
func (TokenConfigValidationError) Reason ¶
func (e TokenConfigValidationError) Reason() string
Reason function returns reason value.
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 TransferBasis ¶ added in v0.0.3
type TransferBasis int32
Enum representing the basis for the transfer.
const ( TransferBasis_TRANSFER_BASIS_UNSPECIFIED TransferBasis = 0 // Unspecified basis TransferBasis_TRANSFER_BASIS_REORGANIZATION TransferBasis = 1 // Reorganization of a legal entity TransferBasis_TRANSFER_BASIS_INHERITANCE TransferBasis = 2 // Inheritance TransferBasis_TRANSFER_BASIS_COURT_DECISION TransferBasis = 3 // Court decision )
func (TransferBasis) Descriptor ¶ added in v0.0.3
func (TransferBasis) Descriptor() protoreflect.EnumDescriptor
func (TransferBasis) Enum ¶ added in v0.0.3
func (x TransferBasis) Enum() *TransferBasis
func (TransferBasis) EnumDescriptor
deprecated
added in
v0.0.3
func (TransferBasis) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransferBasis.Descriptor instead.
func (TransferBasis) Number ¶ added in v0.0.3
func (x TransferBasis) Number() protoreflect.EnumNumber
func (TransferBasis) String ¶ added in v0.0.3
func (x TransferBasis) String() string
func (TransferBasis) Type ¶ added in v0.0.3
func (TransferBasis) Type() protoreflect.EnumType
type TransferRequest ¶ added in v0.0.3
type TransferRequest struct { // Transfer request ID RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Basis for the transfer Basis TransferBasis `protobuf:"varint,2,opt,name=basis,proto3,enum=proto.TransferBasis" json:"basis,omitempty"` // Administrator ID AdministratorId string `protobuf:"bytes,3,opt,name=administrator_id,json=administratorId,proto3" json:"administrator_id,omitempty"` // Document type DocumentType DocumentType `protobuf:"varint,4,opt,name=document_type,json=documentType,proto3,enum=proto.DocumentType" json:"document_type,omitempty"` // Document number DocumentNumber string `protobuf:"bytes,5,opt,name=document_number,json=documentNumber,proto3" json:"document_number,omitempty"` // Document date DocumentDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=document_date,json=documentDate,proto3" json:"document_date,omitempty"` // Hashes of attached documents DocumentHashes []string `protobuf:"bytes,7,rep,name=document_hashes,json=documentHashes,proto3" json:"document_hashes,omitempty"` // Address from which the transfer is made FromAddress string `protobuf:"bytes,8,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // Address to which the transfer is made ToAddress string `protobuf:"bytes,9,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` // Token being transferred Token string `protobuf:"bytes,10,opt,name=token,proto3" json:"token,omitempty"` // Amount being transferred Amount string `protobuf:"bytes,11,opt,name=amount,proto3" json:"amount,omitempty"` // Reason for the transfer Reason string `protobuf:"bytes,12,opt,name=reason,proto3" json:"reason,omitempty"` // Balance type from which the transfer is made BalanceType BalanceType `protobuf:"varint,13,opt,name=balance_type,json=balanceType,proto3,enum=proto.BalanceType" json:"balance_type,omitempty"` // Optional additional information AdditionalInfo *anypb.Any `protobuf:"bytes,15,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"` // contains filtered or unexported fields }
Message representing a transfer request.
func (*TransferRequest) Check ¶ added in v0.0.4
func (x *TransferRequest) Check() error
func (*TransferRequest) Descriptor
deprecated
added in
v0.0.3
func (*TransferRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferRequest.ProtoReflect.Descriptor instead.
func (*TransferRequest) GetAdditionalInfo ¶ added in v0.0.3
func (x *TransferRequest) GetAdditionalInfo() *anypb.Any
func (*TransferRequest) GetAdministratorId ¶ added in v0.0.3
func (x *TransferRequest) GetAdministratorId() string
func (*TransferRequest) GetAmount ¶ added in v0.0.3
func (x *TransferRequest) GetAmount() string
func (*TransferRequest) GetBalanceType ¶ added in v0.0.3
func (x *TransferRequest) GetBalanceType() BalanceType
func (*TransferRequest) GetBasis ¶ added in v0.0.3
func (x *TransferRequest) GetBasis() TransferBasis
func (*TransferRequest) GetDocumentDate ¶ added in v0.0.3
func (x *TransferRequest) GetDocumentDate() *timestamppb.Timestamp
func (*TransferRequest) GetDocumentHashes ¶ added in v0.0.3
func (x *TransferRequest) GetDocumentHashes() []string
func (*TransferRequest) GetDocumentNumber ¶ added in v0.0.3
func (x *TransferRequest) GetDocumentNumber() string
func (*TransferRequest) GetDocumentType ¶ added in v0.0.3
func (x *TransferRequest) GetDocumentType() DocumentType
func (*TransferRequest) GetFromAddress ¶ added in v0.0.3
func (x *TransferRequest) GetFromAddress() string
func (*TransferRequest) GetReason ¶ added in v0.0.3
func (x *TransferRequest) GetReason() string
func (*TransferRequest) GetRequestId ¶ added in v0.0.3
func (x *TransferRequest) GetRequestId() string
func (*TransferRequest) GetToAddress ¶ added in v0.0.3
func (x *TransferRequest) GetToAddress() string
func (*TransferRequest) GetToken ¶ added in v0.0.3
func (x *TransferRequest) GetToken() string
func (*TransferRequest) ProtoMessage ¶ added in v0.0.3
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) ProtoReflect ¶ added in v0.0.3
func (x *TransferRequest) ProtoReflect() protoreflect.Message
func (*TransferRequest) Reset ¶ added in v0.0.3
func (x *TransferRequest) Reset()
func (*TransferRequest) String ¶ added in v0.0.3
func (x *TransferRequest) String() string
func (*TransferRequest) Validate ¶ added in v0.0.3
func (m *TransferRequest) Validate() error
Validate checks the field values on TransferRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TransferRequest) ValidateAll ¶ added in v0.0.3
func (m *TransferRequest) ValidateAll() error
ValidateAll checks the field values on TransferRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransferRequestMultiError, or nil if none found.
type TransferRequestMultiError ¶ added in v0.0.3
type TransferRequestMultiError []error
TransferRequestMultiError is an error wrapping multiple validation errors returned by TransferRequest.ValidateAll() if the designated constraints aren't met.
func (TransferRequestMultiError) AllErrors ¶ added in v0.0.3
func (m TransferRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransferRequestMultiError) Error ¶ added in v0.0.3
func (m TransferRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TransferRequestValidationError ¶ added in v0.0.3
type TransferRequestValidationError struct {
// contains filtered or unexported fields
}
TransferRequestValidationError is the validation error returned by TransferRequest.Validate if the designated constraints aren't met.
func (TransferRequestValidationError) Cause ¶ added in v0.0.3
func (e TransferRequestValidationError) Cause() error
Cause function returns cause value.
func (TransferRequestValidationError) Error ¶ added in v0.0.3
func (e TransferRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TransferRequestValidationError) ErrorName ¶ added in v0.0.3
func (e TransferRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TransferRequestValidationError) Field ¶ added in v0.0.3
func (e TransferRequestValidationError) Field() string
Field function returns field value.
func (TransferRequestValidationError) Key ¶ added in v0.0.3
func (e TransferRequestValidationError) Key() bool
Key function returns key value.
func (TransferRequestValidationError) Reason ¶ added in v0.0.3
func (e TransferRequestValidationError) Reason() string
Reason function returns reason value.
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 Wallet ¶
type Wallet struct { // address is a user public key in base58check format. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
Wallet stores user specific data.
func (*Wallet) Descriptor
deprecated
func (*Wallet) GetAddress ¶
func (*Wallet) ProtoMessage ¶
func (*Wallet) ProtoMessage()
func (*Wallet) ProtoReflect ¶
func (x *Wallet) ProtoReflect() protoreflect.Message
func (*Wallet) Validate ¶
Validate checks the field values on Wallet with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Wallet) ValidateAll ¶
ValidateAll checks the field values on Wallet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WalletMultiError, or nil if none found.
type WalletMultiError ¶
type WalletMultiError []error
WalletMultiError is an error wrapping multiple validation errors returned by Wallet.ValidateAll() if the designated constraints aren't met.
func (WalletMultiError) AllErrors ¶
func (m WalletMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WalletMultiError) Error ¶
func (m WalletMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WalletValidationError ¶
type WalletValidationError struct {
// contains filtered or unexported fields
}
WalletValidationError is the validation error returned by Wallet.Validate if the designated constraints aren't met.
func (WalletValidationError) Cause ¶
func (e WalletValidationError) Cause() error
Cause function returns cause value.
func (WalletValidationError) Error ¶
func (e WalletValidationError) Error() string
Error satisfies the builtin error interface
func (WalletValidationError) ErrorName ¶
func (e WalletValidationError) ErrorName() string
ErrorName returns error name.
func (WalletValidationError) Field ¶
func (e WalletValidationError) Field() string
Field function returns field value.
func (WalletValidationError) Key ¶
func (e WalletValidationError) Key() bool
Key function returns key value.
func (WalletValidationError) Reason ¶
func (e WalletValidationError) Reason() string
Reason function returns reason value.
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