Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeForJSONByType(t string, v []byte) (interface{}, error)
- func DecomposeEventSignature(s string) (string, []string)
- func EventDataStringToBytesByType(t string, v string) ([]byte, error)
- func EventDataToBytesByType(t string, v interface{}) ([]byte, error)
- func NewReceiptListFromHash(database db.Database, h []byte) module.ReceiptList
- func NewReceiptListFromSlice(database db.Database, list []Receipt) module.ReceiptList
- func NewReceiptListWithBuilder(builder merkle.Builder, h []byte) module.ReceiptList
- type LogsBloom
- func (lb *LogsBloom) AddAddressOfLog(addr module.Address)
- func (lb *LogsBloom) AddIndexedOfLog(i int, b []byte)
- func (lb *LogsBloom) AddLog(addr module.Address, log [][]byte)
- func (lb *LogsBloom) CompressedBytes() []byte
- func (lb *LogsBloom) Contain(mlb module.LogsBloom) bool
- func (lb *LogsBloom) Equal(mlb module.LogsBloom) bool
- func (lb *LogsBloom) LogBytes() []byte
- func (lb LogsBloom) MarshalJSON() ([]byte, error)
- func (lb *LogsBloom) Merge(lb2 module.LogsBloom)
- func (lb *LogsBloom) RLPDecodeSelf(d codec.Decoder) error
- func (lb *LogsBloom) RLPEncodeSelf(e codec.Encoder) error
- func (lb *LogsBloom) SetCompressedBytes(bs []byte) *big.Int
- func (lb *LogsBloom) String() string
- func (lb *LogsBloom) UnmarshalJSON(data []byte) error
- type Receipt
- type Version
Constants ¶
View Source
const ( LogsBloomBits = 2048 LogsBloomBytes = LogsBloomBits / 8 )
View Source
const ( ExtensionFeeDetail = 1 << iota ExtensionDisableLogsBloom )
View Source
const (
EventLogICXTransfer = "ICXTransfer(Address,Address,int)"
)
Variables ¶
View Source
var ReceiptType = reflect.TypeOf((*receipt)(nil))
Functions ¶
func DecodeForJSONByType ¶
func DecomposeEventSignature ¶
func EventDataToBytesByType ¶
func NewReceiptListFromHash ¶
func NewReceiptListFromHash(database db.Database, h []byte) module.ReceiptList
func NewReceiptListFromSlice ¶
func NewReceiptListFromSlice(database db.Database, list []Receipt) module.ReceiptList
func NewReceiptListWithBuilder ¶
func NewReceiptListWithBuilder(builder merkle.Builder, h []byte) module.ReceiptList
Types ¶
type LogsBloom ¶
logsBloom store blooms of logs.
func NewLogsBloom ¶
func (*LogsBloom) AddAddressOfLog ¶
func (*LogsBloom) AddIndexedOfLog ¶
func (*LogsBloom) CompressedBytes ¶
func (LogsBloom) MarshalJSON ¶
func (*LogsBloom) UnmarshalJSON ¶
type Receipt ¶
type Receipt interface { module.Receipt AddLog(addr module.Address, indexed, data [][]byte) AddPayment(addr module.Address, steps *big.Int) DisableLogsBloom() SetCumulativeStepUsed(cumulativeUsed *big.Int) SetResult(status module.Status, used, price *big.Int, addr module.Address) SetReason(e error) Reason() error Flush() error }
func NewReceipt ¶
Click to show internal directories.
Click to hide internal directories.