Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashTopic ¶ added in v0.11.2
var ( Transfer HashTopic = HashTopic{common.HexToHash("0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"), "Transfer"} TransferSingle HashTopic = HashTopic{common.HexToHash("0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62"), "TransferSingle"} ApprovalForAll HashTopic = HashTopic{common.HexToHash("0x17307eabf5b53c6c7f7c9b5b9d9e9f0b3b2b2b7b0b4b2b2b2b2b2b2b2b2b2b2b2"), "ApprovalForAll"} )
func NewHashTopic ¶ added in v0.11.2
type HashTopics ¶ added in v0.11.2
func HashTopicsFromLog ¶ added in v0.11.2
func HashTopicsFromLog(rawTopics []common.Hash) HashTopics
type ParsedLog ¶ added in v0.11.2
type ParsedLog interface { // get the number of topics NumTopics() int // get all topics Topics() HashTopics // get the string representation of the log String() string }
type TxWithLogs ¶
type TxWithLogs struct { *types.Transaction *types.Receipt Pending bool }
func (*TxWithLogs) Sender ¶
func (t *TxWithLogs) Sender() *common.Address
getTxMessage is used to get the From field of a transaction.
Click to show internal directories.
Click to hide internal directories.