Documentation ¶
Index ¶
- Variables
- type RewardTx
- func (rtx *RewardTx) CheckIntegrity() error
- func (*RewardTx) Descriptor() ([]byte, []int)
- func (this *RewardTx) Equal(that interface{}) bool
- func (rtx *RewardTx) GetData() []byte
- func (m *RewardTx) GetEpoch() uint32
- func (rtx *RewardTx) GetGasLimit() uint64
- func (rtx *RewardTx) GetGasPrice() uint64
- func (rtx *RewardTx) GetNonce() uint64
- func (m *RewardTx) GetRcvAddr() []byte
- func (rtx *RewardTx) GetRcvUserName() []byte
- func (m *RewardTx) GetRound() uint64
- func (rtx *RewardTx) GetSndAddr() []byte
- func (m *RewardTx) GetValue() *math_big.Int
- func (this *RewardTx) GoString() string
- func (rtx *RewardTx) IsInterfaceNil() bool
- func (m *RewardTx) Marshal() (dAtA []byte, err error)
- func (m *RewardTx) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardTx) ProtoMessage()
- func (m *RewardTx) Reset()
- func (rtx *RewardTx) SetData(_ []byte)
- func (rtx *RewardTx) SetRcvAddr(addr []byte)
- func (rtx *RewardTx) SetSndAddr(_ []byte)
- func (rtx *RewardTx) SetValue(value *big.Int)
- func (m *RewardTx) Size() (n int)
- func (this *RewardTx) String() string
- func (m *RewardTx) Unmarshal(dAtA []byte) error
- func (m *RewardTx) XXX_DiscardUnknown()
- func (m *RewardTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardTx) XXX_Merge(src proto.Message)
- func (m *RewardTx) XXX_Size() int
- func (m *RewardTx) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type RewardTx ¶
type RewardTx struct { Round uint64 `protobuf:"varint,1,opt,name=Round,proto3" json:"round"` Value *math_big.Int `` /* 138-byte string literal not displayed */ RcvAddr []byte `protobuf:"bytes,4,opt,name=RcvAddr,proto3" json:"receiver"` Epoch uint32 `protobuf:"varint,2,opt,name=Epoch,proto3" json:"epoch"` }
RewardTx holds the data for a reward transaction
func (*RewardTx) CheckIntegrity ¶
CheckIntegrity checks for not nil fields and negative value
func (*RewardTx) Descriptor ¶
func (*RewardTx) GetGasLimit ¶
GetGasLimit returns the gas limit of the smart reward transaction
func (*RewardTx) GetGasPrice ¶
GetGasPrice returns the gas price of the smart reward transaction
func (*RewardTx) GetRcvAddr ¶
func (*RewardTx) GetRcvUserName ¶
GetRcvUserName returns the receiver user name from the reward transaction
func (*RewardTx) GetSndAddr ¶
GetSndAddr returns the sender address from the reward transaction
func (*RewardTx) IsInterfaceNil ¶
IsInterfaceNil verifies if underlying object is nil
func (*RewardTx) MarshalToSizedBuffer ¶
func (*RewardTx) ProtoMessage ¶
func (*RewardTx) ProtoMessage()
func (*RewardTx) SetRcvAddr ¶
SetRcvAddr sets the receiver address of the reward transaction
func (*RewardTx) SetSndAddr ¶
SetSndAddr sets the sender address of the reward transaction
func (*RewardTx) XXX_DiscardUnknown ¶
func (m *RewardTx) XXX_DiscardUnknown()
func (*RewardTx) XXX_Marshal ¶
func (*RewardTx) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.