harmony

package
v0.0.1-gowrapper-test Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_Harmony_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommissionRate

type CommissionRate struct {

	// The rate
	Rate *Decimal `protobuf:"bytes,1,opt,name=rate,proto3" json:"rate,omitempty"`
	// Maximum rate
	MaxRate *Decimal `protobuf:"bytes,2,opt,name=max_rate,json=maxRate,proto3" json:"max_rate,omitempty"`
	// Maximum of rate change
	MaxChangeRate *Decimal `protobuf:"bytes,3,opt,name=max_change_rate,json=maxChangeRate,proto3" json:"max_change_rate,omitempty"`
	// contains filtered or unexported fields
}

Represents validator commission rule

func (*CommissionRate) Descriptor deprecated

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

Deprecated: Use CommissionRate.ProtoReflect.Descriptor instead.

func (*CommissionRate) GetMaxChangeRate

func (x *CommissionRate) GetMaxChangeRate() *Decimal

func (*CommissionRate) GetMaxRate

func (x *CommissionRate) GetMaxRate() *Decimal

func (*CommissionRate) GetRate

func (x *CommissionRate) GetRate() *Decimal

func (*CommissionRate) ProtoMessage

func (*CommissionRate) ProtoMessage()

func (*CommissionRate) ProtoReflect

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

func (*CommissionRate) Reset

func (x *CommissionRate) Reset()

func (*CommissionRate) String

func (x *CommissionRate) String() string

type Decimal

type Decimal struct {

	// The 'raw' value
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// The precision (number of decimals)
	Precision []byte `protobuf:"bytes,2,opt,name=precision,proto3" json:"precision,omitempty"`
	// contains filtered or unexported fields
}

A variable precision number

func (*Decimal) Descriptor deprecated

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

Deprecated: Use Decimal.ProtoReflect.Descriptor instead.

func (*Decimal) GetPrecision

func (x *Decimal) GetPrecision() []byte

func (*Decimal) GetValue

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

func (*Decimal) ProtoMessage

func (*Decimal) ProtoMessage()

func (*Decimal) ProtoReflect

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

func (*Decimal) Reset

func (x *Decimal) Reset()

func (*Decimal) String

func (x *Decimal) String() string

type Description

type Description struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Identity        string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Website         string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	SecurityContact string `protobuf:"bytes,4,opt,name=security_contact,json=securityContact,proto3" json:"security_contact,omitempty"`
	Details         string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

Description for a validator

func (*Description) Descriptor deprecated

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

Deprecated: Use Description.ProtoReflect.Descriptor instead.

func (*Description) GetDetails

func (x *Description) GetDetails() string

func (*Description) GetIdentity

func (x *Description) GetIdentity() string

func (*Description) GetName

func (x *Description) GetName() string

func (*Description) GetSecurityContact

func (x *Description) GetSecurityContact() string

func (*Description) GetWebsite

func (x *Description) GetWebsite() string

func (*Description) ProtoMessage

func (*Description) ProtoMessage()

func (*Description) ProtoReflect

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

func (*Description) Reset

func (x *Description) Reset()

func (*Description) String

func (x *Description) String() string

type DirectiveCollectRewards

type DirectiveCollectRewards struct {

	// Delegator address
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// contains filtered or unexported fields
}

Collect reward

func (*DirectiveCollectRewards) Descriptor deprecated

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

Deprecated: Use DirectiveCollectRewards.ProtoReflect.Descriptor instead.

func (*DirectiveCollectRewards) GetDelegatorAddress

func (x *DirectiveCollectRewards) GetDelegatorAddress() string

func (*DirectiveCollectRewards) ProtoMessage

func (*DirectiveCollectRewards) ProtoMessage()

func (*DirectiveCollectRewards) ProtoReflect

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

func (*DirectiveCollectRewards) Reset

func (x *DirectiveCollectRewards) Reset()

func (*DirectiveCollectRewards) String

func (x *DirectiveCollectRewards) String() string

type DirectiveCreateValidator

type DirectiveCreateValidator struct {

	// Address of validator
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// Description, name etc.
	Description *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Rates
	CommissionRates    *CommissionRate `protobuf:"bytes,3,opt,name=commission_rates,json=commissionRates,proto3" json:"commission_rates,omitempty"`
	MinSelfDelegation  []byte          `protobuf:"bytes,4,opt,name=min_self_delegation,json=minSelfDelegation,proto3" json:"min_self_delegation,omitempty"`
	MaxTotalDelegation []byte          `protobuf:"bytes,5,opt,name=max_total_delegation,json=maxTotalDelegation,proto3" json:"max_total_delegation,omitempty"`
	SlotPubKeys        [][]byte        `protobuf:"bytes,6,rep,name=slot_pub_keys,json=slotPubKeys,proto3" json:"slot_pub_keys,omitempty"`
	SlotKeySigs        [][]byte        `protobuf:"bytes,7,rep,name=slot_key_sigs,json=slotKeySigs,proto3" json:"slot_key_sigs,omitempty"`
	Amount             []byte          `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Create Validator directive

func (*DirectiveCreateValidator) Descriptor deprecated

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

Deprecated: Use DirectiveCreateValidator.ProtoReflect.Descriptor instead.

func (*DirectiveCreateValidator) GetAmount

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

func (*DirectiveCreateValidator) GetCommissionRates

func (x *DirectiveCreateValidator) GetCommissionRates() *CommissionRate

func (*DirectiveCreateValidator) GetDescription

func (x *DirectiveCreateValidator) GetDescription() *Description

func (*DirectiveCreateValidator) GetMaxTotalDelegation

func (x *DirectiveCreateValidator) GetMaxTotalDelegation() []byte

func (*DirectiveCreateValidator) GetMinSelfDelegation

func (x *DirectiveCreateValidator) GetMinSelfDelegation() []byte

func (*DirectiveCreateValidator) GetSlotKeySigs

func (x *DirectiveCreateValidator) GetSlotKeySigs() [][]byte

func (*DirectiveCreateValidator) GetSlotPubKeys

func (x *DirectiveCreateValidator) GetSlotPubKeys() [][]byte

func (*DirectiveCreateValidator) GetValidatorAddress

func (x *DirectiveCreateValidator) GetValidatorAddress() string

func (*DirectiveCreateValidator) ProtoMessage

func (*DirectiveCreateValidator) ProtoMessage()

func (*DirectiveCreateValidator) ProtoReflect

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

func (*DirectiveCreateValidator) Reset

func (x *DirectiveCreateValidator) Reset()

func (*DirectiveCreateValidator) String

func (x *DirectiveCreateValidator) String() string

type DirectiveDelegate

type DirectiveDelegate struct {

	// Delegator address
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Validator address
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// Delegate amount (uint256, serialized big endian)
	Amount []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Delegate directive

func (*DirectiveDelegate) Descriptor deprecated

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

Deprecated: Use DirectiveDelegate.ProtoReflect.Descriptor instead.

func (*DirectiveDelegate) GetAmount

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

func (*DirectiveDelegate) GetDelegatorAddress

func (x *DirectiveDelegate) GetDelegatorAddress() string

func (*DirectiveDelegate) GetValidatorAddress

func (x *DirectiveDelegate) GetValidatorAddress() string

func (*DirectiveDelegate) ProtoMessage

func (*DirectiveDelegate) ProtoMessage()

func (*DirectiveDelegate) ProtoReflect

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

func (*DirectiveDelegate) Reset

func (x *DirectiveDelegate) Reset()

func (*DirectiveDelegate) String

func (x *DirectiveDelegate) String() string

type DirectiveEditValidator

type DirectiveEditValidator struct {

	// Validator address
	ValidatorAddress   string       `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Description        *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CommissionRate     *Decimal     `protobuf:"bytes,3,opt,name=commission_rate,json=commissionRate,proto3" json:"commission_rate,omitempty"`
	MinSelfDelegation  []byte       `protobuf:"bytes,4,opt,name=min_self_delegation,json=minSelfDelegation,proto3" json:"min_self_delegation,omitempty"`
	MaxTotalDelegation []byte       `protobuf:"bytes,5,opt,name=max_total_delegation,json=maxTotalDelegation,proto3" json:"max_total_delegation,omitempty"`
	SlotKeyToRemove    []byte       `protobuf:"bytes,6,opt,name=slot_key_to_remove,json=slotKeyToRemove,proto3" json:"slot_key_to_remove,omitempty"`
	SlotKeyToAdd       []byte       `protobuf:"bytes,7,opt,name=slot_key_to_add,json=slotKeyToAdd,proto3" json:"slot_key_to_add,omitempty"`
	SlotKeyToAddSig    []byte       `protobuf:"bytes,8,opt,name=slot_key_to_add_sig,json=slotKeyToAddSig,proto3" json:"slot_key_to_add_sig,omitempty"`
	Active             []byte       `protobuf:"bytes,9,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

Edit Validator directive

func (*DirectiveEditValidator) Descriptor deprecated

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

Deprecated: Use DirectiveEditValidator.ProtoReflect.Descriptor instead.

func (*DirectiveEditValidator) GetActive

func (x *DirectiveEditValidator) GetActive() []byte

func (*DirectiveEditValidator) GetCommissionRate

func (x *DirectiveEditValidator) GetCommissionRate() *Decimal

func (*DirectiveEditValidator) GetDescription

func (x *DirectiveEditValidator) GetDescription() *Description

func (*DirectiveEditValidator) GetMaxTotalDelegation

func (x *DirectiveEditValidator) GetMaxTotalDelegation() []byte

func (*DirectiveEditValidator) GetMinSelfDelegation

func (x *DirectiveEditValidator) GetMinSelfDelegation() []byte

func (*DirectiveEditValidator) GetSlotKeyToAdd

func (x *DirectiveEditValidator) GetSlotKeyToAdd() []byte

func (*DirectiveEditValidator) GetSlotKeyToAddSig

func (x *DirectiveEditValidator) GetSlotKeyToAddSig() []byte

func (*DirectiveEditValidator) GetSlotKeyToRemove

func (x *DirectiveEditValidator) GetSlotKeyToRemove() []byte

func (*DirectiveEditValidator) GetValidatorAddress

func (x *DirectiveEditValidator) GetValidatorAddress() string

func (*DirectiveEditValidator) ProtoMessage

func (*DirectiveEditValidator) ProtoMessage()

func (*DirectiveEditValidator) ProtoReflect

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

func (*DirectiveEditValidator) Reset

func (x *DirectiveEditValidator) Reset()

func (*DirectiveEditValidator) String

func (x *DirectiveEditValidator) String() string

type DirectiveUndelegate

type DirectiveUndelegate struct {

	// Delegator address
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// Validator address
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// Undelegate amount (uint256, serialized big endian)
	Amount []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Undelegate directive

func (*DirectiveUndelegate) Descriptor deprecated

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

Deprecated: Use DirectiveUndelegate.ProtoReflect.Descriptor instead.

func (*DirectiveUndelegate) GetAmount

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

func (*DirectiveUndelegate) GetDelegatorAddress

func (x *DirectiveUndelegate) GetDelegatorAddress() string

func (*DirectiveUndelegate) GetValidatorAddress

func (x *DirectiveUndelegate) GetValidatorAddress() string

func (*DirectiveUndelegate) ProtoMessage

func (*DirectiveUndelegate) ProtoMessage()

func (*DirectiveUndelegate) ProtoReflect

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

func (*DirectiveUndelegate) Reset

func (x *DirectiveUndelegate) Reset()

func (*DirectiveUndelegate) String

func (x *DirectiveUndelegate) String() string

type SigningInput

type SigningInput struct {

	// Chain identifier (uint256, serialized big endian)
	ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The secret private key used for signing (32 bytes).
	PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// The payload message
	//
	// Types that are valid to be assigned to MessageOneof:
	//
	//	*SigningInput_TransactionMessage
	//	*SigningInput_StakingMessage
	MessageOneof isSigningInput_MessageOneof `protobuf_oneof:"message_oneof"`
	// contains filtered or unexported fields
}

Input data necessary to create a signed transaction.

func (*SigningInput) Descriptor deprecated

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

Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.

func (*SigningInput) GetChainId

func (x *SigningInput) GetChainId() []byte

func (*SigningInput) GetMessageOneof

func (x *SigningInput) GetMessageOneof() isSigningInput_MessageOneof

func (*SigningInput) GetPrivateKey

func (x *SigningInput) GetPrivateKey() []byte

func (*SigningInput) GetStakingMessage

func (x *SigningInput) GetStakingMessage() *StakingMessage

func (*SigningInput) GetTransactionMessage

func (x *SigningInput) GetTransactionMessage() *TransactionMessage

func (*SigningInput) ProtoMessage

func (*SigningInput) ProtoMessage()

func (*SigningInput) ProtoReflect

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

func (*SigningInput) Reset

func (x *SigningInput) Reset()

func (*SigningInput) String

func (x *SigningInput) String() string

type SigningInput_StakingMessage

type SigningInput_StakingMessage struct {
	StakingMessage *StakingMessage `protobuf:"bytes,4,opt,name=staking_message,json=stakingMessage,proto3,oneof"`
}

type SigningInput_TransactionMessage

type SigningInput_TransactionMessage struct {
	TransactionMessage *TransactionMessage `protobuf:"bytes,3,opt,name=transaction_message,json=transactionMessage,proto3,oneof"`
}

type SigningOutput

type SigningOutput struct {

	// Signed and encoded transaction bytes.
	Encoded []byte `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
	// THE V,R,S components of the signature
	V []byte `protobuf:"bytes,2,opt,name=v,proto3" json:"v,omitempty"`
	R []byte `protobuf:"bytes,3,opt,name=r,proto3" json:"r,omitempty"`
	S []byte `protobuf:"bytes,4,opt,name=s,proto3" json:"s,omitempty"`
	// error code, 0 is ok, other codes will be treated as errors
	Error common.SigningError `protobuf:"varint,5,opt,name=error,proto3,enum=TW.Common.Proto.SigningError" json:"error,omitempty"`
	// error code description
	ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Result containing the signed and encoded transaction.

func (*SigningOutput) Descriptor deprecated

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

Deprecated: Use SigningOutput.ProtoReflect.Descriptor instead.

func (*SigningOutput) GetEncoded

func (x *SigningOutput) GetEncoded() []byte

func (*SigningOutput) GetError

func (x *SigningOutput) GetError() common.SigningError

func (*SigningOutput) GetErrorMessage

func (x *SigningOutput) GetErrorMessage() string

func (*SigningOutput) GetR

func (x *SigningOutput) GetR() []byte

func (*SigningOutput) GetS

func (x *SigningOutput) GetS() []byte

func (*SigningOutput) GetV

func (x *SigningOutput) GetV() []byte

func (*SigningOutput) ProtoMessage

func (*SigningOutput) ProtoMessage()

func (*SigningOutput) ProtoReflect

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

func (*SigningOutput) Reset

func (x *SigningOutput) Reset()

func (*SigningOutput) String

func (x *SigningOutput) String() string

type StakingMessage

type StakingMessage struct {

	// StakeMsg
	//
	// Types that are valid to be assigned to StakeMsg:
	//
	//	*StakingMessage_CreateValidatorMessage
	//	*StakingMessage_EditValidatorMessage
	//	*StakingMessage_DelegateMessage
	//	*StakingMessage_UndelegateMessage
	//	*StakingMessage_CollectRewards
	StakeMsg isStakingMessage_StakeMsg `protobuf_oneof:"stake_msg"`
	// Nonce (uint256, serialized big endian)
	Nonce []byte `protobuf:"bytes,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// Gas price (uint256, serialized big endian)
	GasPrice []byte `protobuf:"bytes,7,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	// Gas limit (uint256, serialized big endian)
	GasLimit []byte `protobuf:"bytes,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	// contains filtered or unexported fields
}

A Staking message.

func (*StakingMessage) Descriptor deprecated

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

Deprecated: Use StakingMessage.ProtoReflect.Descriptor instead.

func (*StakingMessage) GetCollectRewards

func (x *StakingMessage) GetCollectRewards() *DirectiveCollectRewards

func (*StakingMessage) GetCreateValidatorMessage

func (x *StakingMessage) GetCreateValidatorMessage() *DirectiveCreateValidator

func (*StakingMessage) GetDelegateMessage

func (x *StakingMessage) GetDelegateMessage() *DirectiveDelegate

func (*StakingMessage) GetEditValidatorMessage

func (x *StakingMessage) GetEditValidatorMessage() *DirectiveEditValidator

func (*StakingMessage) GetGasLimit

func (x *StakingMessage) GetGasLimit() []byte

func (*StakingMessage) GetGasPrice

func (x *StakingMessage) GetGasPrice() []byte

func (*StakingMessage) GetNonce

func (x *StakingMessage) GetNonce() []byte

func (*StakingMessage) GetStakeMsg

func (x *StakingMessage) GetStakeMsg() isStakingMessage_StakeMsg

func (*StakingMessage) GetUndelegateMessage

func (x *StakingMessage) GetUndelegateMessage() *DirectiveUndelegate

func (*StakingMessage) ProtoMessage

func (*StakingMessage) ProtoMessage()

func (*StakingMessage) ProtoReflect

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

func (*StakingMessage) Reset

func (x *StakingMessage) Reset()

func (*StakingMessage) String

func (x *StakingMessage) String() string

type StakingMessage_CollectRewards

type StakingMessage_CollectRewards struct {
	CollectRewards *DirectiveCollectRewards `protobuf:"bytes,5,opt,name=collect_rewards,json=collectRewards,proto3,oneof"`
}

type StakingMessage_CreateValidatorMessage

type StakingMessage_CreateValidatorMessage struct {
	CreateValidatorMessage *DirectiveCreateValidator `protobuf:"bytes,1,opt,name=create_validator_message,json=createValidatorMessage,proto3,oneof"`
}

type StakingMessage_DelegateMessage

type StakingMessage_DelegateMessage struct {
	DelegateMessage *DirectiveDelegate `protobuf:"bytes,3,opt,name=delegate_message,json=delegateMessage,proto3,oneof"`
}

type StakingMessage_EditValidatorMessage

type StakingMessage_EditValidatorMessage struct {
	EditValidatorMessage *DirectiveEditValidator `protobuf:"bytes,2,opt,name=edit_validator_message,json=editValidatorMessage,proto3,oneof"`
}

type StakingMessage_UndelegateMessage

type StakingMessage_UndelegateMessage struct {
	UndelegateMessage *DirectiveUndelegate `protobuf:"bytes,4,opt,name=undelegate_message,json=undelegateMessage,proto3,oneof"`
}

type TransactionMessage

type TransactionMessage struct {

	// Nonce (uint256, serialized big endian)
	Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// Gas price (uint256, serialized big endian)
	GasPrice []byte `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	// Gas limit (uint256, serialized big endian)
	GasLimit []byte `protobuf:"bytes,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	// Recipient's address.
	ToAddress string `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// Amount to send in wei (uint256, serialized big endian)
	Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// Optional payload
	Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	// From shard ID (uint256, serialized big endian)
	FromShardId []byte `protobuf:"bytes,7,opt,name=from_shard_id,json=fromShardId,proto3" json:"from_shard_id,omitempty"`
	// To Shard ID (uint256, serialized big endian)
	ToShardId []byte `protobuf:"bytes,8,opt,name=to_shard_id,json=toShardId,proto3" json:"to_shard_id,omitempty"`
	// contains filtered or unexported fields
}

A Transfer message

func (*TransactionMessage) Descriptor deprecated

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

Deprecated: Use TransactionMessage.ProtoReflect.Descriptor instead.

func (*TransactionMessage) GetAmount

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

func (*TransactionMessage) GetFromShardId

func (x *TransactionMessage) GetFromShardId() []byte

func (*TransactionMessage) GetGasLimit

func (x *TransactionMessage) GetGasLimit() []byte

func (*TransactionMessage) GetGasPrice

func (x *TransactionMessage) GetGasPrice() []byte

func (*TransactionMessage) GetNonce

func (x *TransactionMessage) GetNonce() []byte

func (*TransactionMessage) GetPayload

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

func (*TransactionMessage) GetToAddress

func (x *TransactionMessage) GetToAddress() string

func (*TransactionMessage) GetToShardId

func (x *TransactionMessage) GetToShardId() []byte

func (*TransactionMessage) ProtoMessage

func (*TransactionMessage) ProtoMessage()

func (*TransactionMessage) ProtoReflect

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

func (*TransactionMessage) Reset

func (x *TransactionMessage) Reset()

func (*TransactionMessage) String

func (x *TransactionMessage) String() string

Jump to

Keyboard shortcuts

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