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