Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OPCODES = map[string]*Opcode{}/* 143 elements not displayed */
)
Functions ¶
This section is empty.
Types ¶
type MouseContract ¶
type MouseTx ¶
type MouseTx struct { // The list of possible function signatures, after seaching a database PossibleSignatures []*Signature // The hexadecimal representation of the calldata??? ByteSignature string // The text representation of the calldata, chunked by 2 Calldata []string // The raw calldata, as a string RawCalldata string // The hash of the transaction Hash common.Hash // The cost of the transaction Cost *big.Int // The gas limit of the transaction GasLimit uint64 // The gas price of the transaction GasPrice *big.Int // The nonce of the transaction Nonce uint64 // Whether of not the transaction is protected (sent through a relay) Protected bool // The target address of the transaction To *common.Address // The value of the transaction Value *big.Int // The type of the transaction Type uint8 // The code of the target address of the transaction TargetCode string // A custom representation of the target contract of the transaction Target MouseContract // Unimplemented ExecuteResult []byte // Unimplemented DecodedInputs []string //Unimplemented MouseOrigin string sync.Mutex }
Data structure for easier handling of contract decompilation and transaction decoding
Click to show internal directories.
Click to hide internal directories.