node_write_servicev1

package
v1.36.11-2023051900083... 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) ClearDigests

func (x *Account) ClearDigests()

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

func (x *Account) HasDigests() bool

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) SetAccountNonce

func (x *Account) SetAccountNonce(v uint64)

func (*Account) SetCode

func (x *Account) SetCode(v string)

func (*Account) SetCreatedAt

func (x *Account) SetCreatedAt(v int64)

func (*Account) SetCredits

func (x *Account) SetCredits(v uint64)

func (*Account) SetDebits

func (x *Account) SetDebits(v uint64)

func (*Account) SetDigests

func (x *Account) SetDigests(v *AccountDigests)

func (*Account) SetHash

func (x *Account) SetHash(v string)

func (*Account) SetPubkey

func (x *Account) SetPubkey(v string)

func (*Account) SetStorage

func (x *Account) SetStorage(v string)

func (*Account) SetUpdatedAt

func (x *Account) SetUpdatedAt(v int64)

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

func (x *AccountDigests) ClearRecv()

func (*AccountDigests) ClearSent

func (x *AccountDigests) ClearSent()

func (*AccountDigests) ClearStake

func (x *AccountDigests) ClearStake()

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

func (x *AccountDigests) HasRecv() bool

func (*AccountDigests) HasSent

func (x *AccountDigests) HasSent() bool

func (*AccountDigests) HasStake

func (x *AccountDigests) HasStake() bool

func (*AccountDigests) ProtoMessage

func (*AccountDigests) ProtoMessage()

func (*AccountDigests) ProtoReflect

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

func (*AccountDigests) Reset

func (x *AccountDigests) Reset()

func (*AccountDigests) SetRecv

func (x *AccountDigests) SetRecv(v *TransactionDigest)

func (*AccountDigests) SetSent

func (x *AccountDigests) SetSent(v *TransactionDigest)

func (*AccountDigests) SetStake

func (x *AccountDigests) SetStake(v *TransactionDigest)

func (*AccountDigests) String

func (x *AccountDigests) String() string

type AccountDigests_builder

type AccountDigests_builder struct {
	Sent  *TransactionDigest
	Recv  *TransactionDigest
	Stake *TransactionDigest
	// contains filtered or unexported fields
}

func (AccountDigests_builder) Build

type Account_builder

type Account_builder struct {
	Hash         string
	AccountNonce uint64
	Credits      uint64
	Debits       uint64
	Storage      string
	Code         string
	Pubkey       string
	Digests      *AccountDigests
	CreatedAt    int64
	UpdatedAt    int64
	// contains filtered or unexported fields
}

func (Account_builder) Build

func (b0 Account_builder) Build() *Account

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

func (x *CreateAccountRequest) ClearAccount()

func (*CreateAccountRequest) GetAccount

func (x *CreateAccountRequest) GetAccount() *Account

func (*CreateAccountRequest) GetAddress

func (x *CreateAccountRequest) GetAddress() string

func (*CreateAccountRequest) HasAccount

func (x *CreateAccountRequest) HasAccount() bool

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) SetAccount

func (x *CreateAccountRequest) SetAccount(v *Account)

func (*CreateAccountRequest) SetAddress

func (x *CreateAccountRequest) SetAddress(v string)

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateAccountRequest_builder

type CreateAccountRequest_builder struct {
	Address string
	Account *Account
	// contains filtered or unexported fields
}

func (CreateAccountRequest_builder) Build

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 `` /* 148-byte string literal not displayed */
	Nonce           uint64          `protobuf:"varint,9,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTransactionRequest) ClearToken

func (x *CreateTransactionRequest) ClearToken()

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

func (x *CreateTransactionRequest) HasToken() 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) SetAmount

func (x *CreateTransactionRequest) SetAmount(v uint64)

func (*CreateTransactionRequest) SetNonce

func (x *CreateTransactionRequest) SetNonce(v uint64)

func (*CreateTransactionRequest) SetReceiverAddress

func (x *CreateTransactionRequest) SetReceiverAddress(v string)

func (*CreateTransactionRequest) SetSenderAddress

func (x *CreateTransactionRequest) SetSenderAddress(v string)

func (*CreateTransactionRequest) SetSenderPublicKey

func (x *CreateTransactionRequest) SetSenderPublicKey(v string)

func (*CreateTransactionRequest) SetSignature

func (x *CreateTransactionRequest) SetSignature(v string)

func (*CreateTransactionRequest) SetTimestamp

func (x *CreateTransactionRequest) SetTimestamp(v int64)

func (*CreateTransactionRequest) SetToken

func (x *CreateTransactionRequest) SetToken(v *Token)

func (*CreateTransactionRequest) SetValidators

func (x *CreateTransactionRequest) SetValidators(v map[string]bool)

func (*CreateTransactionRequest) String

func (x *CreateTransactionRequest) String() string

type CreateTransactionRequest_builder

type CreateTransactionRequest_builder struct {
	Timestamp       int64
	SenderAddress   string
	SenderPublicKey string
	ReceiverAddress string
	Token           *Token
	Amount          uint64
	Signature       string
	Validators      map[string]bool
	Nonce           uint64
	// contains filtered or unexported fields
}

func (CreateTransactionRequest_builder) Build

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

func (x *Token) SetDecimals(v uint32)

func (*Token) SetName

func (x *Token) SetName(v string)

func (*Token) SetSymbol

func (x *Token) SetSymbol(v string)

func (*Token) String

func (x *Token) String() string

type Token_builder

type Token_builder struct {
	Name     string
	Symbol   string
	Decimals uint32
	// contains filtered or unexported fields
}

func (Token_builder) Build

func (b0 Token_builder) Build() *Token

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

func (x *TransactionDigest) SetDigestString(v string)

func (*TransactionDigest) SetInner

func (x *TransactionDigest) SetInner(v string)

func (*TransactionDigest) String

func (x *TransactionDigest) String() string

type TransactionDigest_builder

type TransactionDigest_builder struct {
	Inner        string
	DigestString string
	// contains filtered or unexported fields
}

func (TransactionDigest_builder) Build

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 `` /* 148-byte string literal not displayed */
	Nonce           uint64          `protobuf:"varint,10,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionRecord) ClearToken

func (x *TransactionRecord) ClearToken()

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

func (x *TransactionRecord) HasToken() 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) SetAmount

func (x *TransactionRecord) SetAmount(v uint64)

func (*TransactionRecord) SetId

func (x *TransactionRecord) SetId(v string)

func (*TransactionRecord) SetNonce

func (x *TransactionRecord) SetNonce(v uint64)

func (*TransactionRecord) SetReceiverAddress

func (x *TransactionRecord) SetReceiverAddress(v string)

func (*TransactionRecord) SetSenderAddress

func (x *TransactionRecord) SetSenderAddress(v string)

func (*TransactionRecord) SetSenderPublicKey

func (x *TransactionRecord) SetSenderPublicKey(v string)

func (*TransactionRecord) SetSignature

func (x *TransactionRecord) SetSignature(v string)

func (*TransactionRecord) SetTimestamp

func (x *TransactionRecord) SetTimestamp(v int64)

func (*TransactionRecord) SetToken

func (x *TransactionRecord) SetToken(v *Token)

func (*TransactionRecord) SetValidators

func (x *TransactionRecord) SetValidators(v map[string]bool)

func (*TransactionRecord) String

func (x *TransactionRecord) String() string

type TransactionRecord_builder

type TransactionRecord_builder struct {
	Id              string
	Timestamp       int64
	SenderAddress   string
	SenderPublicKey string
	ReceiverAddress string
	Token           *Token
	Amount          uint64
	Signature       string
	Validators      map[string]bool
	Nonce           uint64
	// contains filtered or unexported fields
}

func (TransactionRecord_builder) Build

type UpdateAccountRequest

type UpdateAccountRequest struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccountRequest) ClearAccount

func (x *UpdateAccountRequest) ClearAccount()

func (*UpdateAccountRequest) GetAccount

func (x *UpdateAccountRequest) GetAccount() *Account

func (*UpdateAccountRequest) HasAccount

func (x *UpdateAccountRequest) HasAccount() bool

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect

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

func (*UpdateAccountRequest) Reset

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) SetAccount

func (x *UpdateAccountRequest) SetAccount(v *Account)

func (*UpdateAccountRequest) String

func (x *UpdateAccountRequest) String() string

type UpdateAccountRequest_builder

type UpdateAccountRequest_builder struct {
	Account *Account
	// contains filtered or unexported fields
}

func (UpdateAccountRequest_builder) Build

Source Files

  • node_write_service.pb.go

Jump to

Keyboard shortcuts

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