Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountNonce() uint64
- func (x *Account) GetCode() string
- func (x *Account) GetCreatedAt() int64
- func (x *Account) GetCredits() uint64
- func (x *Account) GetDebits() uint64
- func (x *Account) GetDigests() *AccountDigests
- func (x *Account) GetHash() string
- func (x *Account) GetPubkey() string
- func (x *Account) GetStorage() string
- func (x *Account) GetUpdatedAt() int64
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountDigests
- func (*AccountDigests) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDigests) GetRecv() *TransactionDigest
- func (x *AccountDigests) GetSent() *TransactionDigest
- func (x *AccountDigests) GetStake() *TransactionDigest
- func (*AccountDigests) ProtoMessage()
- func (x *AccountDigests) ProtoReflect() protoreflect.Message
- func (x *AccountDigests) Reset()
- func (x *AccountDigests) String() string
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetAccount() *Account
- func (x *CreateAccountRequest) GetAddress() string
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- type CreateTransactionRequest
- func (*CreateTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTransactionRequest) GetAmount() uint64
- func (x *CreateTransactionRequest) GetNonce() uint64
- func (x *CreateTransactionRequest) GetReceiverAddress() string
- func (x *CreateTransactionRequest) GetSenderAddress() string
- func (x *CreateTransactionRequest) GetSenderPublicKey() string
- func (x *CreateTransactionRequest) GetSignature() string
- func (x *CreateTransactionRequest) GetTimestamp() int64
- func (x *CreateTransactionRequest) GetToken() *Token
- func (x *CreateTransactionRequest) GetValidators() map[string]bool
- func (*CreateTransactionRequest) ProtoMessage()
- func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTransactionRequest) Reset()
- func (x *CreateTransactionRequest) String() string
- type Token
- type TransactionDigest
- func (*TransactionDigest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionDigest) GetDigestString() string
- func (x *TransactionDigest) GetInner() string
- func (*TransactionDigest) ProtoMessage()
- func (x *TransactionDigest) ProtoReflect() protoreflect.Message
- func (x *TransactionDigest) Reset()
- func (x *TransactionDigest) String() string
- type TransactionRecord
- func (*TransactionRecord) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRecord) GetAmount() uint64
- func (x *TransactionRecord) GetId() string
- func (x *TransactionRecord) GetNonce() uint64
- func (x *TransactionRecord) GetReceiverAddress() string
- func (x *TransactionRecord) GetSenderAddress() string
- func (x *TransactionRecord) GetSenderPublicKey() string
- func (x *TransactionRecord) GetSignature() string
- func (x *TransactionRecord) GetTimestamp() int64
- func (x *TransactionRecord) GetToken() *Token
- func (x *TransactionRecord) GetValidators() map[string]bool
- func (*TransactionRecord) ProtoMessage()
- func (x *TransactionRecord) ProtoReflect() protoreflect.Message
- func (x *TransactionRecord) Reset()
- func (x *TransactionRecord) String() string
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountRequest) GetAccount() *Account
- func (*UpdateAccountRequest) ProtoMessage()
- func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountRequest) Reset()
- func (x *UpdateAccountRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_infra_proto_node_write_service_v1_node_write_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` AccountNonce uint64 `protobuf:"varint,2,opt,name=account_nonce,json=accountNonce,proto3" json:"account_nonce,omitempty"` Credits uint64 `protobuf:"varint,3,opt,name=credits,proto3" json:"credits,omitempty"` Debits uint64 `protobuf:"varint,4,opt,name=debits,proto3" json:"debits,omitempty"` Storage string `protobuf:"bytes,5,opt,name=storage,proto3" json:"storage,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` Pubkey string `protobuf:"bytes,7,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // check Digests *AccountDigests `protobuf:"bytes,8,opt,name=digests,proto3" json:"digests,omitempty"` CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Account) GetDigests ¶
func (x *Account) GetDigests() *AccountDigests
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountDigests ¶
type AccountDigests struct { Sent *TransactionDigest `protobuf:"bytes,1,opt,name=sent,proto3" json:"sent,omitempty"` // check Recv *TransactionDigest `protobuf:"bytes,2,opt,name=recv,proto3" json:"recv,omitempty"` // check Stake *TransactionDigest `protobuf:"bytes,3,opt,name=stake,proto3" json:"stake,omitempty"` // check // contains filtered or unexported fields }
func (*AccountDigests) Descriptor
deprecated
func (*AccountDigests) Descriptor() ([]byte, []int)
Deprecated: Use AccountDigests.ProtoReflect.Descriptor instead.
func (*AccountDigests) GetRecv ¶
func (x *AccountDigests) GetRecv() *TransactionDigest
func (*AccountDigests) GetSent ¶
func (x *AccountDigests) GetSent() *TransactionDigest
func (*AccountDigests) GetStake ¶
func (x *AccountDigests) GetStake() *TransactionDigest
func (*AccountDigests) ProtoMessage ¶
func (*AccountDigests) ProtoMessage()
func (*AccountDigests) ProtoReflect ¶
func (x *AccountDigests) ProtoReflect() protoreflect.Message
func (*AccountDigests) Reset ¶
func (x *AccountDigests) Reset()
func (*AccountDigests) String ¶
func (x *AccountDigests) String() string
type CreateAccountRequest ¶
type CreateAccountRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Account *Account `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetAccount ¶
func (x *CreateAccountRequest) GetAccount() *Account
func (*CreateAccountRequest) GetAddress ¶
func (x *CreateAccountRequest) GetAddress() string
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
type CreateTransactionRequest ¶
type CreateTransactionRequest struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` SenderAddress string `protobuf:"bytes,2,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` SenderPublicKey string `protobuf:"bytes,3,opt,name=sender_public_key,json=senderPublicKey,proto3" json:"sender_public_key,omitempty"` ReceiverAddress string `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` Token *Token `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` Amount uint64 `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty"` Signature string `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"` Validators map[string]bool `` /* 162-byte string literal not displayed */ Nonce uint64 `protobuf:"varint,9,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*CreateTransactionRequest) Descriptor
deprecated
func (*CreateTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTransactionRequest.ProtoReflect.Descriptor instead.
func (*CreateTransactionRequest) GetAmount ¶
func (x *CreateTransactionRequest) GetAmount() uint64
func (*CreateTransactionRequest) GetNonce ¶
func (x *CreateTransactionRequest) GetNonce() uint64
func (*CreateTransactionRequest) GetReceiverAddress ¶
func (x *CreateTransactionRequest) GetReceiverAddress() string
func (*CreateTransactionRequest) GetSenderAddress ¶
func (x *CreateTransactionRequest) GetSenderAddress() string
func (*CreateTransactionRequest) GetSenderPublicKey ¶
func (x *CreateTransactionRequest) GetSenderPublicKey() string
func (*CreateTransactionRequest) GetSignature ¶
func (x *CreateTransactionRequest) GetSignature() string
func (*CreateTransactionRequest) GetTimestamp ¶
func (x *CreateTransactionRequest) GetTimestamp() int64
func (*CreateTransactionRequest) GetToken ¶
func (x *CreateTransactionRequest) GetToken() *Token
func (*CreateTransactionRequest) GetValidators ¶
func (x *CreateTransactionRequest) GetValidators() map[string]bool
func (*CreateTransactionRequest) ProtoMessage ¶
func (*CreateTransactionRequest) ProtoMessage()
func (*CreateTransactionRequest) ProtoReflect ¶
func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
func (*CreateTransactionRequest) Reset ¶
func (x *CreateTransactionRequest) Reset()
func (*CreateTransactionRequest) String ¶
func (x *CreateTransactionRequest) String() string
type Token ¶
type Token struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Decimals uint32 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"` // contains filtered or unexported fields }
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
type TransactionDigest ¶
type TransactionDigest struct { Inner string `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // check DigestString string `protobuf:"bytes,2,opt,name=digest_string,json=digestString,proto3" json:"digest_string,omitempty"` // check // contains filtered or unexported fields }
func (*TransactionDigest) Descriptor
deprecated
func (*TransactionDigest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionDigest.ProtoReflect.Descriptor instead.
func (*TransactionDigest) GetDigestString ¶
func (x *TransactionDigest) GetDigestString() string
func (*TransactionDigest) GetInner ¶
func (x *TransactionDigest) GetInner() string
func (*TransactionDigest) ProtoMessage ¶
func (*TransactionDigest) ProtoMessage()
func (*TransactionDigest) ProtoReflect ¶
func (x *TransactionDigest) ProtoReflect() protoreflect.Message
func (*TransactionDigest) Reset ¶
func (x *TransactionDigest) Reset()
func (*TransactionDigest) String ¶
func (x *TransactionDigest) String() string
type TransactionRecord ¶
type TransactionRecord struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` SenderAddress string `protobuf:"bytes,3,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` SenderPublicKey string `protobuf:"bytes,4,opt,name=sender_public_key,json=senderPublicKey,proto3" json:"sender_public_key,omitempty"` ReceiverAddress string `protobuf:"bytes,5,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` Token *Token `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"` Amount uint64 `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty"` Signature string `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` Validators map[string]bool `` /* 162-byte string literal not displayed */ Nonce uint64 `protobuf:"varint,10,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*TransactionRecord) Descriptor
deprecated
func (*TransactionRecord) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRecord.ProtoReflect.Descriptor instead.
func (*TransactionRecord) GetAmount ¶
func (x *TransactionRecord) GetAmount() uint64
func (*TransactionRecord) GetId ¶
func (x *TransactionRecord) GetId() string
func (*TransactionRecord) GetNonce ¶
func (x *TransactionRecord) GetNonce() uint64
func (*TransactionRecord) GetReceiverAddress ¶
func (x *TransactionRecord) GetReceiverAddress() string
func (*TransactionRecord) GetSenderAddress ¶
func (x *TransactionRecord) GetSenderAddress() string
func (*TransactionRecord) GetSenderPublicKey ¶
func (x *TransactionRecord) GetSenderPublicKey() string
func (*TransactionRecord) GetSignature ¶
func (x *TransactionRecord) GetSignature() string
func (*TransactionRecord) GetTimestamp ¶
func (x *TransactionRecord) GetTimestamp() int64
func (*TransactionRecord) GetToken ¶
func (x *TransactionRecord) GetToken() *Token
func (*TransactionRecord) GetValidators ¶
func (x *TransactionRecord) GetValidators() map[string]bool
func (*TransactionRecord) ProtoMessage ¶
func (*TransactionRecord) ProtoMessage()
func (*TransactionRecord) ProtoReflect ¶
func (x *TransactionRecord) ProtoReflect() protoreflect.Message
func (*TransactionRecord) Reset ¶
func (x *TransactionRecord) Reset()
func (*TransactionRecord) String ¶
func (x *TransactionRecord) String() string
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*UpdateAccountRequest) Descriptor
deprecated
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountRequest) GetAccount ¶
func (x *UpdateAccountRequest) GetAccount() *Account
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) ProtoReflect ¶
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountRequest) Reset ¶
func (x *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (x *UpdateAccountRequest) String() string
Click to show internal directories.
Click to hide internal directories.