proto

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: MIT Imports: 21 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_batch_proto protoreflect.FileDescriptor
View Source
var File_config_proto protoreflect.FileDescriptor
View Source
var File_locks_proto protoreflect.FileDescriptor
View Source
var File_report_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	KycHash     string `protobuf:"bytes,1,opt,name=kycHash,proto3" json:"kycHash,omitempty"`
	GrayListed  bool   `protobuf:"varint,2,opt,name=grayListed,proto3" json:"grayListed,omitempty"`
	BlackListed bool   `protobuf:"varint,3,opt,name=blackListed,proto3" json:"blackListed,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountInfo) Descriptor deprecated

func (*AccountInfo) Descriptor() ([]byte, []int)

Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.

func (*AccountInfo) GetBlackListed

func (x *AccountInfo) GetBlackListed() bool

func (*AccountInfo) GetGrayListed

func (x *AccountInfo) GetGrayListed() bool

func (*AccountInfo) GetKycHash

func (x *AccountInfo) GetKycHash() string

func (*AccountInfo) ProtoMessage

func (*AccountInfo) ProtoMessage()

func (*AccountInfo) ProtoReflect

func (x *AccountInfo) ProtoReflect() protoreflect.Message

func (*AccountInfo) Reset

func (x *AccountInfo) Reset()

func (*AccountInfo) String

func (x *AccountInfo) String() string

type AccountRights

type AccountRights struct {
	Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Rights  []*Right `protobuf:"bytes,2,rep,name=rights,proto3" json:"rights,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountRights) Descriptor deprecated

func (*AccountRights) Descriptor() ([]byte, []int)

Deprecated: Use AccountRights.ProtoReflect.Descriptor instead.

func (*AccountRights) GetAddress

func (x *AccountRights) GetAddress() *Address

func (*AccountRights) GetRights

func (x *AccountRights) GetRights() []*Right

func (*AccountRights) ProtoMessage

func (*AccountRights) ProtoMessage()

func (*AccountRights) ProtoReflect

func (x *AccountRights) ProtoReflect() protoreflect.Message

func (*AccountRights) Reset

func (x *AccountRights) Reset()

func (*AccountRights) String

func (x *AccountRights) String() string

type AccountingRecord

type AccountingRecord struct {
	Token     string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Sender    []byte `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient []byte `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount    []byte `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Reason    string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountingRecord) Descriptor deprecated

func (*AccountingRecord) Descriptor() ([]byte, []int)

Deprecated: Use AccountingRecord.ProtoReflect.Descriptor instead.

func (*AccountingRecord) GetAmount

func (x *AccountingRecord) GetAmount() []byte

func (*AccountingRecord) GetReason

func (x *AccountingRecord) GetReason() string

func (*AccountingRecord) GetRecipient

func (x *AccountingRecord) GetRecipient() []byte

func (*AccountingRecord) GetSender

func (x *AccountingRecord) GetSender() []byte

func (*AccountingRecord) GetToken

func (x *AccountingRecord) GetToken() string

func (*AccountingRecord) ProtoMessage

func (*AccountingRecord) ProtoMessage()

func (*AccountingRecord) ProtoReflect

func (x *AccountingRecord) ProtoReflect() protoreflect.Message

func (*AccountingRecord) Reset

func (x *AccountingRecord) Reset()

func (*AccountingRecord) String

func (x *AccountingRecord) String() string

type Accounts

type Accounts struct {
	Addresses []*Address `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*Accounts) Descriptor deprecated

func (*Accounts) Descriptor() ([]byte, []int)

Deprecated: Use Accounts.ProtoReflect.Descriptor instead.

func (*Accounts) GetAddresses

func (x *Accounts) GetAddresses() []*Address

func (*Accounts) ProtoMessage

func (*Accounts) ProtoMessage()

func (*Accounts) ProtoReflect

func (x *Accounts) ProtoReflect() protoreflect.Message

func (*Accounts) Reset

func (x *Accounts) Reset()

func (*Accounts) String

func (x *Accounts) String() string

type AclResponse

type AclResponse struct {
	Account *AccountInfo   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Address *SignedAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AclResponse) Addr

func (x *AclResponse) Addr() (out [32]byte)

Addr returns the address

func (*AclResponse) Descriptor deprecated

func (*AclResponse) Descriptor() ([]byte, []int)

Deprecated: Use AclResponse.ProtoReflect.Descriptor instead.

func (*AclResponse) GetAccount

func (x *AclResponse) GetAccount() *AccountInfo

func (*AclResponse) GetAddress

func (x *AclResponse) GetAddress() *SignedAddress

func (*AclResponse) ProtoMessage

func (*AclResponse) ProtoMessage()

func (*AclResponse) ProtoReflect

func (x *AclResponse) ProtoReflect() protoreflect.Message

func (*AclResponse) Reset

func (x *AclResponse) Reset()

func (*AclResponse) String

func (x *AclResponse) String() string

type 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

func (x *Address) AddrString() string

AddrString returns the address string

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (x *Address) GetAddress() []byte

func (*Address) GetIsIndustrial

func (x *Address) GetIsIndustrial() bool

func (*Address) GetIsMultisig

func (x *Address) GetIsMultisig() bool

func (*Address) GetUserID

func (x *Address) GetUserID() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetAmount

func (x *Asset) GetAmount() []byte

func (*Asset) GetGroup

func (x *Asset) GetGroup() string

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

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) ConvertToCall

ConvertToCall - converts string into emission request, see foundation/core/reflect.go

func (*BalanceLockRequest) Descriptor deprecated

func (*BalanceLockRequest) Descriptor() ([]byte, []int)

Deprecated: Use BalanceLockRequest.ProtoReflect.Descriptor instead.

func (*BalanceLockRequest) GetAddress

func (x *BalanceLockRequest) GetAddress() string

func (*BalanceLockRequest) GetAmount

func (x *BalanceLockRequest) GetAmount() string

func (*BalanceLockRequest) GetDocs

func (x *BalanceLockRequest) GetDocs() [][]byte

func (*BalanceLockRequest) GetId

func (x *BalanceLockRequest) GetId() string

func (*BalanceLockRequest) GetPayload

func (x *BalanceLockRequest) GetPayload() []byte

func (*BalanceLockRequest) GetReason

func (x *BalanceLockRequest) GetReason() string

func (*BalanceLockRequest) GetToken

func (x *BalanceLockRequest) GetToken() string

func (*BalanceLockRequest) ProtoMessage

func (*BalanceLockRequest) ProtoMessage()

func (*BalanceLockRequest) ProtoReflect

func (x *BalanceLockRequest) ProtoReflect() protoreflect.Message

func (*BalanceLockRequest) Reset

func (x *BalanceLockRequest) Reset()

func (*BalanceLockRequest) String

func (x *BalanceLockRequest) String() string

type Batch

type Batch struct {
	TxIDs          [][]byte     `protobuf:"bytes,1,rep,name=txIDs,proto3" json:"txIDs,omitempty"`
	Swaps          []*Swap      `protobuf:"bytes,2,rep,name=swaps,proto3" json:"swaps,omitempty"`
	Keys           []*SwapKey   `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
	MultiSwapsKeys []*SwapKey   `protobuf:"bytes,4,rep,name=multi_swaps_keys,json=multiSwapsKeys,proto3" json:"multi_swaps_keys,omitempty"`
	MultiSwaps     []*MultiSwap `protobuf:"bytes,5,rep,name=multi_swaps,json=multiSwaps,proto3" json:"multi_swaps,omitempty"`
	// contains filtered or unexported fields
}

func (*Batch) Descriptor deprecated

func (*Batch) Descriptor() ([]byte, []int)

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetKeys

func (x *Batch) GetKeys() []*SwapKey

func (*Batch) GetMultiSwaps

func (x *Batch) GetMultiSwaps() []*MultiSwap

func (*Batch) GetMultiSwapsKeys

func (x *Batch) GetMultiSwapsKeys() []*SwapKey

func (*Batch) GetSwaps

func (x *Batch) GetSwaps() []*Swap

func (*Batch) GetTxIDs

func (x *Batch) GetTxIDs() [][]byte

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect

func (x *Batch) ProtoReflect() protoreflect.Message

func (*Batch) Reset

func (x *Batch) Reset()

func (*Batch) String

func (x *Batch) String() string

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
	// contains filtered or unexported fields
}

func (*CCTransfer) Descriptor deprecated

func (*CCTransfer) Descriptor() ([]byte, []int)

Deprecated: Use CCTransfer.ProtoReflect.Descriptor instead.

func (*CCTransfer) GetAmount

func (x *CCTransfer) GetAmount() []byte

func (*CCTransfer) GetForwardDirection

func (x *CCTransfer) GetForwardDirection() bool

func (*CCTransfer) GetFrom

func (x *CCTransfer) GetFrom() string

func (*CCTransfer) GetId

func (x *CCTransfer) GetId() string

func (*CCTransfer) GetIsCommit

func (x *CCTransfer) GetIsCommit() bool

func (*CCTransfer) GetTimeAsNanos

func (x *CCTransfer) GetTimeAsNanos() int64

func (*CCTransfer) GetTo

func (x *CCTransfer) GetTo() string

func (*CCTransfer) GetToken

func (x *CCTransfer) GetToken() string

func (*CCTransfer) GetUser

func (x *CCTransfer) GetUser() []byte

func (*CCTransfer) ProtoMessage

func (*CCTransfer) ProtoMessage()

func (*CCTransfer) ProtoReflect

func (x *CCTransfer) ProtoReflect() protoreflect.Message

func (*CCTransfer) Reset

func (x *CCTransfer) Reset()

func (*CCTransfer) String

func (x *CCTransfer) String() string

type CCTransfers

type CCTransfers struct {
	Bookmark string        `protobuf:"bytes,1,opt,name=bookmark,proto3" json:"bookmark,omitempty"`
	Ccts     []*CCTransfer `protobuf:"bytes,2,rep,name=ccts,proto3" json:"ccts,omitempty"`
	// contains filtered or unexported fields
}

func (*CCTransfers) Descriptor deprecated

func (*CCTransfers) Descriptor() ([]byte, []int)

Deprecated: Use CCTransfers.ProtoReflect.Descriptor instead.

func (*CCTransfers) GetBookmark

func (x *CCTransfers) GetBookmark() string

func (*CCTransfers) GetCcts

func (x *CCTransfers) GetCcts() []*CCTransfer

func (*CCTransfers) ProtoMessage

func (*CCTransfers) ProtoMessage()

func (*CCTransfers) ProtoReflect

func (x *CCTransfers) ProtoReflect() protoreflect.Message

func (*CCTransfers) Reset

func (x *CCTransfers) Reset()

func (*CCTransfers) String

func (x *CCTransfers) String() string

type 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

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

Cause function returns cause value.

func (ChaincodeOptionsValidationError) Error

Error satisfies the builtin error interface

func (ChaincodeOptionsValidationError) ErrorName

ErrorName returns error name.

func (ChaincodeOptionsValidationError) Field

Field function returns field value.

func (ChaincodeOptionsValidationError) Key

Key function returns key value.

func (ChaincodeOptionsValidationError) Reason

Reason function returns reason value.

type CollectorEndpoint

type CollectorEndpoint struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectorEndpoint) Descriptor deprecated

func (*CollectorEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use CollectorEndpoint.ProtoReflect.Descriptor instead.

func (*CollectorEndpoint) GetEndpoint

func (x *CollectorEndpoint) GetEndpoint() 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

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

Cause function returns cause value.

func (CollectorEndpointValidationError) Error

Error satisfies the builtin error interface

func (CollectorEndpointValidationError) ErrorName

ErrorName returns error name.

func (CollectorEndpointValidationError) Field

Field function returns field value.

func (CollectorEndpointValidationError) Key

Key function returns key value.

func (CollectorEndpointValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetContract

func (x *Config) GetContract() *ContractConfig

func (*Config) GetExtConfig

func (x *Config) GetExtConfig() *anypb.Any

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) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

func (*Config) Validate

func (m *Config) Validate() error

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

func (m *Config) ValidateAll() error

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"`
	// 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) 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

Cause function returns cause value.

func (ContractConfigValidationError) Error

Error satisfies the builtin error interface

func (ContractConfigValidationError) ErrorName

func (e ContractConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ContractConfigValidationError) Field

Field function returns field value.

func (ContractConfigValidationError) Key

Key function returns key value.

func (ContractConfigValidationError) Reason

Reason function returns reason value.

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetName

func (x *Event) GetName() string

func (*Event) GetValue

func (x *Event) GetValue() []byte

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) 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) Descriptor() ([]byte, []int)

Deprecated: Use HaveRight.ProtoReflect.Descriptor instead.

func (*HaveRight) GetHaveRight

func (x *HaveRight) GetHaveRight() bool

func (*HaveRight) ProtoMessage

func (*HaveRight) ProtoMessage()

func (*HaveRight) ProtoReflect

func (x *HaveRight) ProtoReflect() protoreflect.Message

func (*HaveRight) Reset

func (x *HaveRight) Reset()

func (*HaveRight) String

func (x *HaveRight) String() string
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) Descriptor() ([]byte, []int)

Deprecated: Use Head.ProtoReflect.Descriptor instead.

func (*Head) GetBlockNum

func (x *Head) GetBlockNum() uint64

func (*Head) GetToken

func (x *Head) GetToken() string

func (*Head) ProtoMessage

func (*Head) ProtoMessage()

func (*Head) ProtoReflect

func (x *Head) ProtoReflect() protoreflect.Message

func (*Head) Reset

func (x *Head) Reset()

func (*Head) String

func (x *Head) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use HeadInfo.ProtoReflect.Descriptor instead.

func (*HeadInfo) GetHeads

func (x *HeadInfo) GetHeads() []*Head

func (*HeadInfo) ProtoMessage

func (*HeadInfo) ProtoMessage()

func (*HeadInfo) ProtoReflect

func (x *HeadInfo) ProtoReflect() protoreflect.Message

func (*HeadInfo) Reset

func (x *HeadInfo) Reset()

func (*HeadInfo) String

func (x *HeadInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use InitArgs.ProtoReflect.Descriptor instead.

func (*InitArgs) GetArgs

func (x *InitArgs) GetArgs() []string

func (*InitArgs) GetPlatformSKI

func (x *InitArgs) GetPlatformSKI() []byte

func (*InitArgs) GetRobotSKI

func (x *InitArgs) GetRobotSKI() []byte

func (*InitArgs) ProtoMessage

func (*InitArgs) ProtoMessage()

func (*InitArgs) ProtoReflect

func (x *InitArgs) ProtoReflect() protoreflect.Message

func (*InitArgs) Reset

func (x *InitArgs) Reset()

func (*InitArgs) String

func (x *InitArgs) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MultiSwap.ProtoReflect.Descriptor instead.

func (*MultiSwap) GetAssets

func (x *MultiSwap) GetAssets() []*Asset

func (*MultiSwap) GetCreator

func (x *MultiSwap) GetCreator() []byte

func (*MultiSwap) GetFrom

func (x *MultiSwap) GetFrom() string

func (*MultiSwap) GetHash

func (x *MultiSwap) GetHash() []byte

func (*MultiSwap) GetId

func (x *MultiSwap) GetId() []byte

func (*MultiSwap) GetOwner

func (x *MultiSwap) GetOwner() []byte

func (*MultiSwap) GetTimeout

func (x *MultiSwap) GetTimeout() int64

func (*MultiSwap) GetTo

func (x *MultiSwap) GetTo() string

func (*MultiSwap) GetToken

func (x *MultiSwap) GetToken() string

func (*MultiSwap) ProtoMessage

func (*MultiSwap) ProtoMessage()

func (*MultiSwap) ProtoReflect

func (x *MultiSwap) ProtoReflect() protoreflect.Message

func (*MultiSwap) Reset

func (x *MultiSwap) Reset()

func (*MultiSwap) String

func (x *MultiSwap) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Nested.ProtoReflect.Descriptor instead.

func (*Nested) GetArgs

func (x *Nested) GetArgs() []string

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) ProtoReflect

func (x *Nested) ProtoReflect() protoreflect.Message

func (*Nested) Reset

func (x *Nested) Reset()

func (*Nested) String

func (x *Nested) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Nonce.ProtoReflect.Descriptor instead.

func (*Nonce) GetNonce

func (x *Nonce) GetNonce() []uint64

func (*Nonce) ProtoMessage

func (*Nonce) ProtoMessage()

func (*Nonce) ProtoReflect

func (x *Nonce) ProtoReflect() protoreflect.Message

func (*Nonce) Reset

func (x *Nonce) Reset()

func (*Nonce) String

func (x *Nonce) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Pair.ProtoReflect.Descriptor instead.

func (*Pair) GetKey

func (x *Pair) GetKey() string

func (*Pair) GetValue

func (x *Pair) GetValue() string

func (*Pair) ProtoMessage

func (*Pair) ProtoMessage()

func (*Pair) ProtoReflect

func (x *Pair) ProtoReflect() protoreflect.Message

func (*Pair) Reset

func (x *Pair) Reset()

func (*Pair) String

func (x *Pair) String() string

type PendingTx

type PendingTx struct {
	Method string   `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Sender *Address `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Args   []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// bytes ______________ = 4; the field has been deleted, avoid reusing it
	Timestamp int64   `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Nonce     uint64  `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	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) Descriptor() ([]byte, []int)

Deprecated: Use PendingTx.ProtoReflect.Descriptor instead.

func (*PendingTx) DumpJSON

func (x *PendingTx) DumpJSON() []byte

DumpJSON returns the JSON representation of the pending transaction

func (*PendingTx) GetArgs

func (x *PendingTx) GetArgs() []string

func (*PendingTx) GetMethod

func (x *PendingTx) GetMethod() string

func (*PendingTx) GetNonce

func (x *PendingTx) GetNonce() uint64

func (*PendingTx) GetPairs

func (x *PendingTx) GetPairs() []*Pair

func (*PendingTx) GetSender

func (x *PendingTx) GetSender() *Address

func (*PendingTx) GetTimestamp

func (x *PendingTx) GetTimestamp() int64

func (*PendingTx) ProtoMessage

func (*PendingTx) ProtoMessage()

func (*PendingTx) ProtoReflect

func (x *PendingTx) ProtoReflect() protoreflect.Message

func (*PendingTx) Reset

func (x *PendingTx) Reset()

func (*PendingTx) String

func (x *PendingTx) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Report.ProtoReflect.Descriptor instead.

func (*Report) GetChecksumEndorser

func (x *Report) GetChecksumEndorser() uint64

func (*Report) GetChecksumOrderer

func (x *Report) GetChecksumOrderer() uint64

func (*Report) GetFeePublicKey

func (x *Report) GetFeePublicKey() []byte

func (*Report) GetStats

func (x *Report) GetStats() []*Stat

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) ProtoReflect

func (x *Report) ProtoReflect() protoreflect.Message

func (*Report) Reset

func (x *Report) Reset()

func (*Report) String

func (x *Report) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Right.ProtoReflect.Descriptor instead.

func (*Right) GetAddress

func (x *Right) GetAddress() *Address

func (*Right) GetChaincodeName

func (x *Right) GetChaincodeName() string

func (*Right) GetChannelName

func (x *Right) GetChannelName() string

func (*Right) GetHaveRight

func (x *Right) GetHaveRight() *HaveRight

func (*Right) GetOperationName

func (x *Right) GetOperationName() string

func (*Right) GetRoleName

func (x *Right) GetRoleName() string

func (*Right) ProtoMessage

func (*Right) ProtoMessage()

func (*Right) ProtoReflect

func (x *Right) ProtoReflect() protoreflect.Message

func (*Right) Reset

func (x *Right) Reset()

func (*Right) String

func (x *Right) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Stat.ProtoReflect.Descriptor instead.

func (*Stat) GetCertOwner

func (x *Stat) GetCertOwner() string

func (*Stat) GetPointsEndorser

func (x *Stat) GetPointsEndorser() uint64

func (*Stat) GetPointsOrderer

func (x *Stat) GetPointsOrderer() uint64

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) ProtoReflect

func (x *Stat) ProtoReflect() protoreflect.Message

func (*Stat) Reset

func (x *Stat) Reset()

func (*Stat) String

func (x *Stat) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Swap.ProtoReflect.Descriptor instead.

func (*Swap) GetAmount

func (x *Swap) GetAmount() []byte

func (*Swap) GetCreator

func (x *Swap) GetCreator() []byte

func (*Swap) GetFrom

func (x *Swap) GetFrom() string

func (*Swap) GetHash

func (x *Swap) GetHash() []byte

func (*Swap) GetId

func (x *Swap) GetId() []byte

func (*Swap) GetOwner

func (x *Swap) GetOwner() []byte

func (*Swap) GetTimeout

func (x *Swap) GetTimeout() int64

func (*Swap) GetTo

func (x *Swap) GetTo() string

func (*Swap) GetToken

func (x *Swap) GetToken() string

func (*Swap) ProtoMessage

func (*Swap) ProtoMessage()

func (*Swap) ProtoReflect

func (x *Swap) ProtoReflect() protoreflect.Message

func (*Swap) Reset

func (x *Swap) Reset()

func (*Swap) String

func (x *Swap) String() string

func (*Swap) TokenSymbol

func (x *Swap) TokenSymbol() string

TokenSymbol returns the token symbol

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) Descriptor() ([]byte, []int)

Deprecated: Use SwapKey.ProtoReflect.Descriptor instead.

func (*SwapKey) GetId

func (x *SwapKey) GetId() []byte

func (*SwapKey) GetKey

func (x *SwapKey) GetKey() string

func (*SwapKey) ProtoMessage

func (*SwapKey) ProtoMessage()

func (*SwapKey) ProtoReflect

func (x *SwapKey) ProtoReflect() protoreflect.Message

func (*SwapKey) Reset

func (x *SwapKey) Reset()

func (*SwapKey) String

func (x *SwapKey) String() string

type SwapResponse

type SwapResponse struct {
	Id     []byte          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Error  *ResponseError  `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Writes []*WriteElement `protobuf:"bytes,3,rep,name=writes,proto3" json:"writes,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapResponse) Descriptor deprecated

func (*SwapResponse) Descriptor() ([]byte, []int)

Deprecated: Use SwapResponse.ProtoReflect.Descriptor instead.

func (*SwapResponse) GetError

func (x *SwapResponse) GetError() *ResponseError

func (*SwapResponse) GetId

func (x *SwapResponse) GetId() []byte

func (*SwapResponse) GetWrites

func (x *SwapResponse) GetWrites() []*WriteElement

func (*SwapResponse) ProtoMessage

func (*SwapResponse) ProtoMessage()

func (*SwapResponse) ProtoReflect

func (x *SwapResponse) ProtoReflect() protoreflect.Message

func (*SwapResponse) Reset

func (x *SwapResponse) Reset()

func (*SwapResponse) String

func (x *SwapResponse) String() string

type Token

type Token struct {
	TotalEmission []byte       `protobuf:"bytes,1,opt,name=total_emission,json=totalEmission,proto3" json:"total_emission,omitempty"`
	Fee           *TokenFee    `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	Rates         []*TokenRate `protobuf:"bytes,3,rep,name=rates,proto3" json:"rates,omitempty"`
	FeeAddress    []byte       `protobuf:"bytes,4,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

func (*Token) Descriptor() ([]byte, []int)

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetFee

func (x *Token) GetFee() *TokenFee

func (*Token) GetFeeAddress

func (x *Token) GetFeeAddress() []byte

func (*Token) GetRates

func (x *Token) GetRates() []*TokenRate

func (*Token) GetTotalEmission

func (x *Token) GetTotalEmission() []byte

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

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

Cause function returns cause value.

func (TokenConfigValidationError) Error

Error satisfies the builtin error interface

func (TokenConfigValidationError) ErrorName

func (e TokenConfigValidationError) ErrorName() string

ErrorName returns error name.

func (TokenConfigValidationError) Field

Field function returns field value.

func (TokenConfigValidationError) Key

Key function returns key value.

func (TokenConfigValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use TokenFee.ProtoReflect.Descriptor instead.

func (*TokenFee) GetCap

func (x *TokenFee) GetCap() []byte

func (*TokenFee) GetCurrency

func (x *TokenFee) GetCurrency() string

func (*TokenFee) GetFee

func (x *TokenFee) GetFee() []byte

func (*TokenFee) GetFloor

func (x *TokenFee) GetFloor() []byte

func (*TokenFee) ProtoMessage

func (*TokenFee) ProtoMessage()

func (*TokenFee) ProtoReflect

func (x *TokenFee) ProtoReflect() protoreflect.Message

func (*TokenFee) Reset

func (x *TokenFee) Reset()

func (*TokenFee) String

func (x *TokenFee) String() string

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) CalcPrice

func (x *TokenRate) CalcPrice(amount *big.Int, rateDecimal uint64) *big.Int

CalcPrice calculates the price

func (*TokenRate) Descriptor deprecated

func (*TokenRate) Descriptor() ([]byte, []int)

Deprecated: Use TokenRate.ProtoReflect.Descriptor instead.

func (*TokenRate) GetCurrency

func (x *TokenRate) GetCurrency() string

func (*TokenRate) GetDealType

func (x *TokenRate) GetDealType() string

func (*TokenRate) GetIssuer

func (x *TokenRate) GetIssuer() *Address

func (*TokenRate) GetMax

func (x *TokenRate) GetMax() []byte

func (*TokenRate) GetMin

func (x *TokenRate) GetMin() []byte

func (*TokenRate) GetRate

func (x *TokenRate) GetRate() []byte

func (*TokenRate) InLimit

func (x *TokenRate) InLimit(amount *big.Int) bool

InLimit checks if the amount is in the limit

func (*TokenRate) ProtoMessage

func (*TokenRate) ProtoMessage()

func (*TokenRate) ProtoReflect

func (x *TokenRate) ProtoReflect() protoreflect.Message

func (*TokenRate) Reset

func (x *TokenRate) Reset()

func (*TokenRate) String

func (x *TokenRate) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Wallet.ProtoReflect.Descriptor instead.

func (*Wallet) GetAddress

func (x *Wallet) GetAddress() string

func (*Wallet) ProtoMessage

func (*Wallet) ProtoMessage()

func (*Wallet) ProtoReflect

func (x *Wallet) ProtoReflect() protoreflect.Message

func (*Wallet) Reset

func (x *Wallet) Reset()

func (*Wallet) String

func (x *Wallet) String() string

func (*Wallet) Validate

func (m *Wallet) Validate() error

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

func (m *Wallet) ValidateAll() error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL