proto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_batch_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 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 - txID is used)
	Address       string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`                                  // owner address
	Token         string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`                                      // token identifier/ticker
	InitAmount    string   `protobuf:"bytes,4,opt,name=init_amount,json=initAmount,proto3" json:"init_amount,omitempty"`          // big.Int initial number of tokens to block
	CurrentAmount string   `protobuf:"bytes,5,opt,name=current_amount,json=currentAmount,proto3" json:"current_amount,omitempty"` // big.Int current number of tokens to be blocked
	Reason        string   `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`                                    // reason for blocking
	Docs          [][]byte `protobuf:"bytes,7,rep,name=docs,proto3" json:"docs,omitempty"`                                        // hashes of documents with justification (optional parameter)
	Payload       []byte   `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`                                  // additional information (optional parameter)
	// contains filtered or unexported fields
}

State: allowedbalance lock data

func (*AllowedBalanceLock) Descriptor deprecated

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

Deprecated: Use AllowedBalanceLock.ProtoReflect.Descriptor instead.

func (*AllowedBalanceLock) GetAddress

func (x *AllowedBalanceLock) GetAddress() string

func (*AllowedBalanceLock) GetCurrentAmount

func (x *AllowedBalanceLock) GetCurrentAmount() string

func (*AllowedBalanceLock) GetDocs

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

func (*AllowedBalanceLock) GetId

func (x *AllowedBalanceLock) GetId() string

func (*AllowedBalanceLock) GetInitAmount

func (x *AllowedBalanceLock) GetInitAmount() string

func (*AllowedBalanceLock) GetPayload

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

func (*AllowedBalanceLock) GetReason

func (x *AllowedBalanceLock) GetReason() string

func (*AllowedBalanceLock) GetToken

func (x *AllowedBalanceLock) GetToken() string

func (*AllowedBalanceLock) ProtoMessage

func (*AllowedBalanceLock) ProtoMessage()

func (*AllowedBalanceLock) ProtoReflect

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

func (*AllowedBalanceLock) Reset

func (x *AllowedBalanceLock) Reset()

func (*AllowedBalanceLock) String

func (x *AllowedBalanceLock) String() string

type AllowedBalanceLocked

type AllowedBalanceLocked struct {
	Id      string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`           // lock identifier
	Address string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address
	Token   string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`     // token identifier/ticker
	Amount  string   `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`   // big.Int amount of tokens to unlock
	Reason  string   `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`   // reason for locking
	Docs    [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"`       // hashes of documents with justification (optional parameter)
	Payload []byte   `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter)
	// contains filtered or unexported fields
}

Event: balance token is locked

func (*AllowedBalanceLocked) Descriptor deprecated

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

Deprecated: Use AllowedBalanceLocked.ProtoReflect.Descriptor instead.

func (*AllowedBalanceLocked) GetAddress

func (x *AllowedBalanceLocked) GetAddress() string

func (*AllowedBalanceLocked) GetAmount

func (x *AllowedBalanceLocked) GetAmount() string

func (*AllowedBalanceLocked) GetDocs

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

func (*AllowedBalanceLocked) GetId

func (x *AllowedBalanceLocked) GetId() string

func (*AllowedBalanceLocked) GetPayload

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

func (*AllowedBalanceLocked) GetReason

func (x *AllowedBalanceLocked) GetReason() string

func (*AllowedBalanceLocked) GetToken

func (x *AllowedBalanceLocked) GetToken() string

func (*AllowedBalanceLocked) ProtoMessage

func (*AllowedBalanceLocked) ProtoMessage()

func (*AllowedBalanceLocked) ProtoReflect

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

func (*AllowedBalanceLocked) Reset

func (x *AllowedBalanceLocked) Reset()

func (*AllowedBalanceLocked) String

func (x *AllowedBalanceLocked) String() string

type AllowedBalanceUnlocked

type AllowedBalanceUnlocked struct {
	Id                string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                         // lock identifier
	Address           string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`                                               // owner address
	Token             string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`                                                   // token identifier / ticker
	Amount            string   `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`                                                 // big.Int number of tokens to unlock
	Reason            string   `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`                                                 // reason for blocking
	Docs              [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"`                                                     // hashes of documents with justification (optional parameter)
	Payload           []byte   `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"`                                               // additional information (optional parameter)
	CompleteOperation bool     `protobuf:"varint,8,opt,name=complete_operation,json=completeOperation,proto3" json:"complete_operation,omitempty"` // sign that it is completely unlocked
	// contains filtered or unexported fields
}

Event: token balance unlocked

func (*AllowedBalanceUnlocked) Descriptor deprecated

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

Deprecated: Use AllowedBalanceUnlocked.ProtoReflect.Descriptor instead.

func (*AllowedBalanceUnlocked) GetAddress

func (x *AllowedBalanceUnlocked) GetAddress() string

func (*AllowedBalanceUnlocked) GetAmount

func (x *AllowedBalanceUnlocked) GetAmount() string

func (*AllowedBalanceUnlocked) GetCompleteOperation

func (x *AllowedBalanceUnlocked) GetCompleteOperation() bool

func (*AllowedBalanceUnlocked) GetDocs

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

func (*AllowedBalanceUnlocked) GetId

func (x *AllowedBalanceUnlocked) GetId() string

func (*AllowedBalanceUnlocked) GetPayload

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

func (*AllowedBalanceUnlocked) GetReason

func (x *AllowedBalanceUnlocked) GetReason() string

func (*AllowedBalanceUnlocked) GetToken

func (x *AllowedBalanceUnlocked) GetToken() string

func (*AllowedBalanceUnlocked) ProtoMessage

func (*AllowedBalanceUnlocked) ProtoMessage()

func (*AllowedBalanceUnlocked) ProtoReflect

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

func (*AllowedBalanceUnlocked) Reset

func (x *AllowedBalanceUnlocked) Reset()

func (*AllowedBalanceUnlocked) String

func (x *AllowedBalanceUnlocked) String() string

type Asset

type Asset struct {
	Group  string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Amount []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Asset) Descriptor deprecated

func (*Asset) 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"` // owner address
	Token   string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`     // token identifier/ticker
	Amount  string   `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`   // big.Int number of tokens to block
	Reason  string   `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`   // reason for locking
	Docs    [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"`       // hashes of documents with justification (optional parameter)
	Payload []byte   `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter)
	// contains filtered or unexported fields
}

func (*BalanceLockRequest) ConvertToCall

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"`   // token to transfer
	User   []byte `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`     // owner of tokens
	Amount []byte `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"` // amount of tokens
	// Transfer direction is an additional variable made for convenience
	// to avoid calculating it every time. It is calculated once when filling the structure
	// when executing a transaction.
	// Depending on the direction, different balances change.
	// Examples:
	// Direct transfer: from channel A to channel B we transfer tokens A
	// or from channel B to channel A transfer tokens B
	// Reverse transfer: from channel A to channel B transfer tokens B
	// or from channel B to channel A transfer tokens A
	ForwardDirection bool  `protobuf:"varint,7,opt,name=forward_direction,json=forwardDirection,proto3" json:"forward_direction,omitempty"`
	IsCommit         bool  `protobuf:"varint,8,opt,name=isCommit,proto3" json:"isCommit,omitempty"`                            // phase 2 sign
	TimeAsNanos      int64 `protobuf:"varint,9,opt,name=time_as_nanos,json=timeAsNanos,proto3" json:"time_as_nanos,omitempty"` // transfer creation time in nanoseconds
	// contains filtered or unexported fields
}

func (*CCTransfer) Descriptor deprecated

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

Deprecated: Use CCTransfer.ProtoReflect.Descriptor instead.

func (*CCTransfer) GetAmount

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

func (*CCTransfer) GetForwardDirection

func (x *CCTransfer) GetForwardDirection() bool

func (*CCTransfer) GetFrom

func (x *CCTransfer) GetFrom() string

func (*CCTransfer) GetId

func (x *CCTransfer) GetId() string

func (*CCTransfer) GetIsCommit

func (x *CCTransfer) GetIsCommit() bool

func (*CCTransfer) GetTimeAsNanos

func (x *CCTransfer) GetTimeAsNanos() int64

func (*CCTransfer) GetTo

func (x *CCTransfer) GetTo() string

func (*CCTransfer) GetToken

func (x *CCTransfer) GetToken() string

func (*CCTransfer) GetUser

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

func (*CCTransfer) ProtoMessage

func (*CCTransfer) ProtoMessage()

func (*CCTransfer) ProtoReflect

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

func (*CCTransfer) Reset

func (x *CCTransfer) Reset()

func (*CCTransfer) String

func (x *CCTransfer) String() string

type CCTransfers

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

func (*CCTransfers) Descriptor deprecated

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

Deprecated: Use CCTransfers.ProtoReflect.Descriptor instead.

func (*CCTransfers) GetBookmark

func (x *CCTransfers) GetBookmark() string

func (*CCTransfers) GetCcts

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

func (*CCTransfers) ProtoMessage

func (*CCTransfers) ProtoMessage()

func (*CCTransfers) ProtoReflect

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

func (*CCTransfers) Reset

func (x *CCTransfers) Reset()

func (*CCTransfers) String

func (x *CCTransfers) String() string

type Event

type Event struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

func (*Event) 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 {
	AtomyzeSKI []byte   `protobuf:"bytes,1,opt,name=atomyzeSKI,proto3" json:"atomyzeSKI,omitempty"`
	RobotSKI   []byte   `protobuf:"bytes,2,opt,name=robotSKI,proto3" json:"robotSKI,omitempty"`
	Args       []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*InitArgs) Descriptor deprecated

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

Deprecated: Use InitArgs.ProtoReflect.Descriptor instead.

func (*InitArgs) GetArgs

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

func (*InitArgs) GetAtomyzeSKI

func (x *InitArgs) GetAtomyzeSKI() []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 PendingTx

type PendingTx struct {
	Method string   `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Sender *Address `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Args   []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// bytes ______________ = 4; the field has been deleted, avoid reusing it
	Timestamp int64  `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Nonce     uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*PendingTx) Descriptor deprecated

func (*PendingTx) 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) 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"`
	// contains filtered or unexported fields
}

func (*SignedAddress) Descriptor deprecated

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

Deprecated: Use SignedAddress.ProtoReflect.Descriptor instead.

func (*SignedAddress) GetAddress

func (x *SignedAddress) GetAddress() *Address

func (*SignedAddress) GetReason

func (x *SignedAddress) GetReason() string

func (*SignedAddress) GetReasonId

func (x *SignedAddress) GetReasonId() int32

func (*SignedAddress) GetSignaturePolicy

func (x *SignedAddress) GetSignaturePolicy() *SignaturePolicy

func (*SignedAddress) GetSignedTx

func (x *SignedAddress) GetSignedTx() []string

func (*SignedAddress) ProtoMessage

func (*SignedAddress) ProtoMessage()

func (*SignedAddress) ProtoReflect

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

func (*SignedAddress) Reset

func (x *SignedAddress) Reset()

func (*SignedAddress) String

func (x *SignedAddress) String() string

type Stat

type Stat struct {
	CertOwner      string `protobuf:"bytes,1,opt,name=cert_owner,json=certOwner,proto3" json:"cert_owner,omitempty"`
	PointsEndorser uint64 `protobuf:"varint,2,opt,name=points_endorser,json=pointsEndorser,proto3" json:"points_endorser,omitempty"`
	PointsOrderer  uint64 `protobuf:"varint,3,opt,name=points_orderer,json=pointsOrderer,proto3" json:"points_orderer,omitempty"`
	// contains filtered or unexported fields
}

func (*Stat) Descriptor deprecated

func (*Stat) 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 - txID is used)
	Address       string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`                                  // owner address
	Token         string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`                                      // token identifier/ticker
	InitAmount    string   `protobuf:"bytes,4,opt,name=init_amount,json=initAmount,proto3" json:"init_amount,omitempty"`          // big.Int initial number of tokens to block
	CurrentAmount string   `protobuf:"bytes,5,opt,name=current_amount,json=currentAmount,proto3" json:"current_amount,omitempty"` // big.Int current number of tokens to be blocked
	Reason        string   `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`                                    // reason for blocking
	Docs          [][]byte `protobuf:"bytes,7,rep,name=docs,proto3" json:"docs,omitempty"`                                        // hashes of documents with justification (optional parameter)
	Payload       []byte   `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`                                  // additional information (optional parameter)
	// contains filtered or unexported fields
}

State: balance token locking data

func (*TokenBalanceLock) Descriptor deprecated

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

Deprecated: Use TokenBalanceLock.ProtoReflect.Descriptor instead.

func (*TokenBalanceLock) GetAddress

func (x *TokenBalanceLock) GetAddress() string

func (*TokenBalanceLock) GetCurrentAmount

func (x *TokenBalanceLock) GetCurrentAmount() string

func (*TokenBalanceLock) GetDocs

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

func (*TokenBalanceLock) GetId

func (x *TokenBalanceLock) GetId() string

func (*TokenBalanceLock) GetInitAmount

func (x *TokenBalanceLock) GetInitAmount() string

func (*TokenBalanceLock) GetPayload

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

func (*TokenBalanceLock) GetReason

func (x *TokenBalanceLock) GetReason() string

func (*TokenBalanceLock) GetToken

func (x *TokenBalanceLock) GetToken() string

func (*TokenBalanceLock) ProtoMessage

func (*TokenBalanceLock) ProtoMessage()

func (*TokenBalanceLock) ProtoReflect

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

func (*TokenBalanceLock) Reset

func (x *TokenBalanceLock) Reset()

func (*TokenBalanceLock) String

func (x *TokenBalanceLock) String() string

type TokenBalanceLocked

type TokenBalanceLocked struct {
	Id      string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`           // lock identifier
	Address string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // owner address
	Token   string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`     // token identifier/ticker
	Amount  string   `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`   // big.Int number of tokens to block
	Reason  string   `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`   // reason for locking
	Docs    [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"`       // hashes of documents with justification (optional parameter)
	Payload []byte   `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // additional information (optional parameter)
	// contains filtered or unexported fields
}

Event: token balance blocked

func (*TokenBalanceLocked) Descriptor deprecated

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

Deprecated: Use TokenBalanceLocked.ProtoReflect.Descriptor instead.

func (*TokenBalanceLocked) GetAddress

func (x *TokenBalanceLocked) GetAddress() string

func (*TokenBalanceLocked) GetAmount

func (x *TokenBalanceLocked) GetAmount() string

func (*TokenBalanceLocked) GetDocs

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

func (*TokenBalanceLocked) GetId

func (x *TokenBalanceLocked) GetId() string

func (*TokenBalanceLocked) GetPayload

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

func (*TokenBalanceLocked) GetReason

func (x *TokenBalanceLocked) GetReason() string

func (*TokenBalanceLocked) GetToken

func (x *TokenBalanceLocked) GetToken() string

func (*TokenBalanceLocked) ProtoMessage

func (*TokenBalanceLocked) ProtoMessage()

func (*TokenBalanceLocked) ProtoReflect

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

func (*TokenBalanceLocked) Reset

func (x *TokenBalanceLocked) Reset()

func (*TokenBalanceLocked) String

func (x *TokenBalanceLocked) String() string

type TokenBalanceUnlocked

type TokenBalanceUnlocked struct {
	Id                string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                         // lock identifier
	Address           string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`                                               // owner address
	Token             string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`                                                   // token identifier/ticker
	Amount            string   `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`                                                 // big.Int amount of tokens to unlock
	Reason            string   `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`                                                 // reason for locking
	Docs              [][]byte `protobuf:"bytes,6,rep,name=docs,proto3" json:"docs,omitempty"`                                                     // hashes of documents with justification (optional parameter)
	Payload           []byte   `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"`                                               // additional information (optional parameter)
	CompleteOperation bool     `protobuf:"varint,8,opt,name=complete_operation,json=completeOperation,proto3" json:"complete_operation,omitempty"` // sign that it is completely unlocked
	// contains filtered or unexported fields
}

Event: token balance unlocked

func (*TokenBalanceUnlocked) Descriptor deprecated

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

Deprecated: Use TokenBalanceUnlocked.ProtoReflect.Descriptor instead.

func (*TokenBalanceUnlocked) GetAddress

func (x *TokenBalanceUnlocked) GetAddress() string

func (*TokenBalanceUnlocked) GetAmount

func (x *TokenBalanceUnlocked) GetAmount() string

func (*TokenBalanceUnlocked) GetCompleteOperation

func (x *TokenBalanceUnlocked) GetCompleteOperation() bool

func (*TokenBalanceUnlocked) GetDocs

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

func (*TokenBalanceUnlocked) GetId

func (x *TokenBalanceUnlocked) GetId() string

func (*TokenBalanceUnlocked) GetPayload

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

func (*TokenBalanceUnlocked) GetReason

func (x *TokenBalanceUnlocked) GetReason() string

func (*TokenBalanceUnlocked) GetToken

func (x *TokenBalanceUnlocked) GetToken() string

func (*TokenBalanceUnlocked) ProtoMessage

func (*TokenBalanceUnlocked) ProtoMessage()

func (*TokenBalanceUnlocked) ProtoReflect

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

func (*TokenBalanceUnlocked) Reset

func (x *TokenBalanceUnlocked) Reset()

func (*TokenBalanceUnlocked) String

func (x *TokenBalanceUnlocked) String() string

type TokenFee

type TokenFee struct {
	Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
	Fee      []byte `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	Floor    []byte `protobuf:"bytes,3,opt,name=floor,proto3" json:"floor,omitempty"`
	Cap      []byte `protobuf:"bytes,4,opt,name=cap,proto3" json:"cap,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenFee) Descriptor deprecated

func (*TokenFee) 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 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