Documentation ¶
Index ¶
- func BaseFeeFromBlock() (uint64, error)
- func CheckTxPoolContent(expectedPendingSize, expectedQueuedSize, expectedBaseFeeSize int)
- func CreateManyEIP1559TransactionsRefWithBaseFee(addr string, startingNonce *uint64) ([]*types.Transaction, []*types.Transaction, error)
- func CreateManyEIP1559TransactionsRefWithBaseFee2(addr string, startingNonce *uint64) ([]*types.Transaction, []*types.Transaction, error)
- func CreateTransaction(txType models.TransactionType, addr string, value, nonce uint64) (*types.Transaction, libcommon.Address, *contracts.Subscription, ...)
- func EmitFallbackEvent(subContract *contracts.Subscription, opts *bind.TransactOpts) (*libcommon.Hash, error)
- func GetNonce(reqId int, address libcommon.Address) (uint64, error)
- func InitSubscriptions(methods []models.SubMethod)
- func SearchReservesForTransactionHash(hashes map[libcommon.Hash]bool) (*map[libcommon.Hash]string, error)
- func SendManyTransactions(signedTransactions []*types.Transaction) ([]*libcommon.Hash, error)
- func UnsubscribeAll()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseFeeFromBlock ¶
func CheckTxPoolContent ¶
func CheckTxPoolContent(expectedPendingSize, expectedQueuedSize, expectedBaseFeeSize int)
func CreateManyEIP1559TransactionsRefWithBaseFee ¶
func CreateManyEIP1559TransactionsRefWithBaseFee(addr string, startingNonce *uint64) ([]*types.Transaction, []*types.Transaction, error)
func CreateManyEIP1559TransactionsRefWithBaseFee2 ¶
func CreateManyEIP1559TransactionsRefWithBaseFee2(addr string, startingNonce *uint64) ([]*types.Transaction, []*types.Transaction, error)
func CreateTransaction ¶
func CreateTransaction(txType models.TransactionType, addr string, value, nonce uint64) (*types.Transaction, libcommon.Address, *contracts.Subscription, *bind.TransactOpts, error)
CreateTransaction creates a transaction depending on the type of transaction being passed
func EmitFallbackEvent ¶
func EmitFallbackEvent(subContract *contracts.Subscription, opts *bind.TransactOpts) (*libcommon.Hash, error)
EmitFallbackEvent emits an event from the contract using the fallback method
func InitSubscriptions ¶
func SendManyTransactions ¶
func SendManyTransactions(signedTransactions []*types.Transaction) ([]*libcommon.Hash, error)
func UnsubscribeAll ¶
func UnsubscribeAll()
UnsubscribeAll closes all the client subscriptions and empties their global subscription channel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.