The content discusses the custom transaction encoding format used by Sequence Wallets to bundle multiple transactions into a single transaction.
Transaction
struct is used to encode the transaction data for the wallet. It is used in the execute
function of the wallet contract.
The delegateCall
field is used to determine if the transaction should be executed using delegatecall
instead of a regular call
.
This is useful when the target contract offers functionality that should be executed in the context of the wallet.
revertOnError
field is used to determine if the entire transaction bundle should be reverted if any of the transactions fail.
When bundling multiple independent transactions, it may be advantageous to revert the entire bundle if any given transaction fails.
The gasLimit
field is used to specify the maximum amount of gas that should be forwarded to the target contract.
The target
field is the address of the contract to call.
The value
field is the amount of ETH to pass with the call. This ETH is sent from the wallet contract to the target contract.
The data
field is the calldata to pass to the target contract.