node_write_servicev1

package
v1.33.0-20230519000832... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 4 Imported by: 2

Documentation

Index

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) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountNonce

func (x *Account) GetAccountNonce() uint64

func (*Account) GetCode

func (x *Account) GetCode() string

func (*Account) GetCreatedAt

func (x *Account) GetCreatedAt() int64

func (*Account) GetCredits

func (x *Account) GetCredits() uint64

func (*Account) GetDebits

func (x *Account) GetDebits() uint64

func (*Account) GetDigests

func (x *Account) GetDigests() *AccountDigests

func (*Account) GetHash

func (x *Account) GetHash() string

func (*Account) GetPubkey

func (x *Account) GetPubkey() string

func (*Account) GetStorage

func (x *Account) GetStorage() string

func (*Account) GetUpdatedAt

func (x *Account) GetUpdatedAt() int64

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

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) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetDecimals

func (x *Token) GetDecimals() uint32

func (*Token) GetName

func (x *Token) GetName() string

func (*Token) GetSymbol

func (x *Token) GetSymbol() string

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

Jump to

Keyboard shortcuts

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