Module exec

Source
Expand description

Execution utilities for ERC20 gas payment transactions

Functions§

transact_erc20evm
Executes a transaction using ERC20 tokens for gas payment. Returns the execution result and the finalized state changes. This function does not commit the state to the database.
transact_erc20evm_commit
Executes a transaction using ERC20 tokens for gas payment and commits the state. This is a convenience function that runs the transaction and immediately commits the resulting state changes to the database.

Type Aliases§

Erc20Error 🔒