Documentation ¶
Overview ¶
Package handlers handles translating transactions into [RosettaTypes.Operation]s.
Index ¶
- func BurnOps(tx *evmClient.LoadedTransaction, startIndex int) []*RosettaTypes.Operation
- func FeeOps(tx *evmClient.LoadedTransaction) ([]*RosettaTypes.Operation, error)
- func GenerateOp(opIndex int64, relatedOps []*types.OperationIdentifier, opType string, ...) *types.Operation
- func MintOps(tx *evmClient.LoadedTransaction, startIndex int) []*RosettaTypes.Operation
- func TraceOps(calls []*evmClient.FlatCall, startIndex int) []*RosettaTypes.Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BurnOps ¶
func BurnOps(tx *evmClient.LoadedTransaction, startIndex int) []*RosettaTypes.Operation
BurnOps constructs a list of [RosettaTypes.Operation]s for an Optimism Withdrawal or "burn" transaction.
func FeeOps ¶
func FeeOps(tx *evmClient.LoadedTransaction) ([]*RosettaTypes.Operation, error)
FeeOps returns the fee operations for a given transaction.
func GenerateOp ¶ added in v0.2.0
func MintOps ¶
func MintOps(tx *evmClient.LoadedTransaction, startIndex int) []*RosettaTypes.Operation
MintOps constructs a list of [RosettaTypes.Operation]s for an Optimism Deposit or "mint" transaction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.