Documentation
¶
Index ¶
Constants ¶
View Source
const HandlerName = "olvm"
Variables ¶
This section is empty.
Functions ¶
func EnableOLVM ¶
func ResponseFailed ¶
Types ¶
type Transaction ¶
type Transaction struct {
Nonce uint64 `json:"nonce"`
From action.Address `json:"from"`
To *action.Address `json:"to"`
Amount action.Amount `json:"amount"`
Data []byte `json:"data"`
ChainID *big.Int `json:"chainID"`
// for future
TxType int64 `json:"type"`
AccessList *ethtypes.AccessList `json:"accessList"`
}
func (Transaction) Marshal ¶
func (tx Transaction) Marshal() ([]byte, error)
func (Transaction) Signers ¶
func (tx Transaction) Signers() []action.Address
func (Transaction) Tags ¶
func (tx Transaction) Tags() kv.Pairs
func (Transaction) Type ¶
func (tx Transaction) Type() action.Type
func (*Transaction) Unmarshal ¶
func (tx *Transaction) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.