Versions in this module Expand all Collapse all v0 v0.64.3 May 19, 2026 Changes in this version + var TrailsUtilsABI = TrailsUtilsMetaData.ABI + var TrailsUtilsBin = TrailsUtilsMetaData.Bin + var TrailsUtilsMetaData = &bind.MetaData + type PayloadCall struct + BehaviorOnError *big.Int + Data []byte + DelegateCall bool + GasLimit *big.Int + OnlyFallback bool + To common.Address + Value *big.Int + type PayloadDecoded struct + Calls []PayloadCall + Digest [32]byte + ImageHash [32]byte + Kind uint8 + Message []byte + NoChainId bool + Nonce *big.Int + ParentWallets []common.Address + Space *big.Int + type TrailsUtils struct + func DeployTrailsUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TrailsUtils, error) + func NewTrailsUtils(address common.Address, backend bind.ContractBackend) (*TrailsUtils, error) + type TrailsUtilsCallAborted struct + Index *big.Int + OpHash [32]byte + Raw types.Log + ReturnData []byte + type TrailsUtilsCallAbortedIterator struct + Event *TrailsUtilsCallAborted + func (it *TrailsUtilsCallAbortedIterator) Close() error + func (it *TrailsUtilsCallAbortedIterator) Error() error + func (it *TrailsUtilsCallAbortedIterator) Next() bool + type TrailsUtilsCallFailed struct + Index *big.Int + OpHash [32]byte + Raw types.Log + ReturnData []byte + type TrailsUtilsCallFailedIterator struct + Event *TrailsUtilsCallFailed + func (it *TrailsUtilsCallFailedIterator) Close() error + func (it *TrailsUtilsCallFailedIterator) Error() error + func (it *TrailsUtilsCallFailedIterator) Next() bool + type TrailsUtilsCallSkipped struct + Index *big.Int + OpHash [32]byte + Raw types.Log + type TrailsUtilsCallSkippedIterator struct + Event *TrailsUtilsCallSkipped + func (it *TrailsUtilsCallSkippedIterator) Close() error + func (it *TrailsUtilsCallSkippedIterator) Error() error + func (it *TrailsUtilsCallSkippedIterator) Next() bool + type TrailsUtilsCallSucceeded struct + Index *big.Int + OpHash [32]byte + Raw types.Log + type TrailsUtilsCallSucceededIterator struct + Event *TrailsUtilsCallSucceeded + func (it *TrailsUtilsCallSucceededIterator) Close() error + func (it *TrailsUtilsCallSucceededIterator) Error() error + func (it *TrailsUtilsCallSucceededIterator) Next() bool + type TrailsUtilsCaller struct + func NewTrailsUtilsCaller(address common.Address, caller bind.ContractCaller) (*TrailsUtilsCaller, error) + func (_TrailsUtils *TrailsUtilsCaller) RecoverSapientSignature(opts *bind.CallOpts, payload PayloadDecoded, signature []byte) ([32]byte, error) + func (_TrailsUtils *TrailsUtilsCaller) RequireERC1155Approval(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireERC1155ApprovalSelf(opts *bind.CallOpts, token common.Address, operator common.Address) error + func (_TrailsUtils *TrailsUtilsCaller) RequireERC721Approval(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireERC721ApprovalSelf(opts *bind.CallOpts, token common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireERC721Owner(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireERC721OwnerApproval(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireERC721OwnerApprovalSelf(opts *bind.CallOpts, token common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireERC721OwnerSelf(opts *bind.CallOpts, token common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinBalance(opts *bind.CallOpts, owner common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinBalanceSelf(opts *bind.CallOpts, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155Balance(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155BalanceApproval(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155BalanceApprovalBatch(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155BalanceApprovalBatchSelf(opts *bind.CallOpts, token common.Address, tokenIds []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155BalanceApprovalSelf(opts *bind.CallOpts, token common.Address, tokenId *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155BalanceBatch(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155BalanceBatchSelf(opts *bind.CallOpts, token common.Address, tokenIds []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC1155BalanceSelf(opts *bind.CallOpts, token common.Address, tokenId *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC20Allowance(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC20AllowanceSelf(opts *bind.CallOpts, token common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC20Balance(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC20BalanceAllowance(opts *bind.CallOpts, token common.Address, owner common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC20BalanceAllowanceSelf(opts *bind.CallOpts, token common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCaller) RequireMinERC20BalanceSelf(opts *bind.CallOpts, token common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCaller) RequireNonExpired(opts *bind.CallOpts, expiration *big.Int) error + type TrailsUtilsCallerRaw struct + Contract *TrailsUtilsCaller + func (_TrailsUtils *TrailsUtilsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type TrailsUtilsCallerSession struct + CallOpts bind.CallOpts + Contract *TrailsUtilsCaller + func (_TrailsUtils *TrailsUtilsCallerSession) RecoverSapientSignature(payload PayloadDecoded, signature []byte) ([32]byte, error) + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC1155Approval(token common.Address, owner common.Address, operator common.Address) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC1155ApprovalSelf(token common.Address, operator common.Address) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC721Approval(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC721ApprovalSelf(token common.Address, spender common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC721Owner(token common.Address, owner common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC721OwnerApproval(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC721OwnerApprovalSelf(token common.Address, spender common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireERC721OwnerSelf(token common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinBalance(owner common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinBalanceSelf(minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155Balance(token common.Address, owner common.Address, tokenId *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155BalanceApproval(token common.Address, owner common.Address, tokenId *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155BalanceApprovalBatch(token common.Address, owner common.Address, tokenIds []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155BalanceApprovalBatchSelf(token common.Address, tokenIds []*big.Int, minBalances []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155BalanceApprovalSelf(token common.Address, tokenId *big.Int, minBalance *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155BalanceBatch(token common.Address, owner common.Address, tokenIds []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155BalanceBatchSelf(token common.Address, tokenIds []*big.Int, minBalances []*big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC1155BalanceSelf(token common.Address, tokenId *big.Int, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC20Allowance(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC20AllowanceSelf(token common.Address, spender common.Address, minAllowance *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC20Balance(token common.Address, owner common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC20BalanceAllowance(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC20BalanceAllowanceSelf(token common.Address, spender common.Address, minAmount *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireMinERC20BalanceSelf(token common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsCallerSession) RequireNonExpired(expiration *big.Int) error + type TrailsUtilsFilterer struct + func NewTrailsUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*TrailsUtilsFilterer, error) + func (_TrailsUtils *TrailsUtilsFilterer) FilterCallAborted(opts *bind.FilterOpts) (*TrailsUtilsCallAbortedIterator, error) + func (_TrailsUtils *TrailsUtilsFilterer) FilterCallFailed(opts *bind.FilterOpts) (*TrailsUtilsCallFailedIterator, error) + func (_TrailsUtils *TrailsUtilsFilterer) FilterCallSkipped(opts *bind.FilterOpts) (*TrailsUtilsCallSkippedIterator, error) + func (_TrailsUtils *TrailsUtilsFilterer) FilterCallSucceeded(opts *bind.FilterOpts) (*TrailsUtilsCallSucceededIterator, error) + func (_TrailsUtils *TrailsUtilsFilterer) FilterSweep(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*TrailsUtilsSweepIterator, error) + func (_TrailsUtils *TrailsUtilsFilterer) ParseCallAborted(log types.Log) (*TrailsUtilsCallAborted, error) + func (_TrailsUtils *TrailsUtilsFilterer) ParseCallFailed(log types.Log) (*TrailsUtilsCallFailed, error) + func (_TrailsUtils *TrailsUtilsFilterer) ParseCallSkipped(log types.Log) (*TrailsUtilsCallSkipped, error) + func (_TrailsUtils *TrailsUtilsFilterer) ParseCallSucceeded(log types.Log) (*TrailsUtilsCallSucceeded, error) + func (_TrailsUtils *TrailsUtilsFilterer) ParseSweep(log types.Log) (*TrailsUtilsSweep, error) + func (_TrailsUtils *TrailsUtilsFilterer) WatchCallAborted(opts *bind.WatchOpts, sink chan<- *TrailsUtilsCallAborted) (event.Subscription, error) + func (_TrailsUtils *TrailsUtilsFilterer) WatchCallFailed(opts *bind.WatchOpts, sink chan<- *TrailsUtilsCallFailed) (event.Subscription, error) + func (_TrailsUtils *TrailsUtilsFilterer) WatchCallSkipped(opts *bind.WatchOpts, sink chan<- *TrailsUtilsCallSkipped) (event.Subscription, error) + func (_TrailsUtils *TrailsUtilsFilterer) WatchCallSucceeded(opts *bind.WatchOpts, sink chan<- *TrailsUtilsCallSucceeded) (event.Subscription, error) + func (_TrailsUtils *TrailsUtilsFilterer) WatchSweep(opts *bind.WatchOpts, sink chan<- *TrailsUtilsSweep, token []common.Address, ...) (event.Subscription, error) + type TrailsUtilsRaw struct + Contract *TrailsUtils + func (_TrailsUtils *TrailsUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_TrailsUtils *TrailsUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TrailsUtilsSession struct + CallOpts bind.CallOpts + Contract *TrailsUtils + TransactOpts bind.TransactOpts + func (_TrailsUtils *TrailsUtilsSession) HandleSequenceDelegateCall(arg0 [32]byte, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, ...) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsSession) HydrateExecute(packedPayload []byte, hydratePayload []byte) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsSession) HydrateExecuteAndSweep(packedPayload []byte, hydratePayload []byte, sweepTarget common.Address, ...) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsSession) Receive() (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsSession) RecoverSapientSignature(payload PayloadDecoded, signature []byte) ([32]byte, error) + func (_TrailsUtils *TrailsUtilsSession) RequireERC1155Approval(token common.Address, owner common.Address, operator common.Address) error + func (_TrailsUtils *TrailsUtilsSession) RequireERC1155ApprovalSelf(token common.Address, operator common.Address) error + func (_TrailsUtils *TrailsUtilsSession) RequireERC721Approval(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireERC721ApprovalSelf(token common.Address, spender common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireERC721Owner(token common.Address, owner common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireERC721OwnerApproval(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireERC721OwnerApprovalSelf(token common.Address, spender common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireERC721OwnerSelf(token common.Address, tokenId *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinBalance(owner common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinBalanceSelf(minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155Balance(token common.Address, owner common.Address, tokenId *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155BalanceApproval(token common.Address, owner common.Address, tokenId *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155BalanceApprovalBatch(token common.Address, owner common.Address, tokenIds []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155BalanceApprovalBatchSelf(token common.Address, tokenIds []*big.Int, minBalances []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155BalanceApprovalSelf(token common.Address, tokenId *big.Int, minBalance *big.Int, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155BalanceBatch(token common.Address, owner common.Address, tokenIds []*big.Int, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155BalanceBatchSelf(token common.Address, tokenIds []*big.Int, minBalances []*big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC1155BalanceSelf(token common.Address, tokenId *big.Int, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC20Allowance(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC20AllowanceSelf(token common.Address, spender common.Address, minAllowance *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC20Balance(token common.Address, owner common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC20BalanceAllowance(token common.Address, owner common.Address, spender common.Address, ...) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC20BalanceAllowanceSelf(token common.Address, spender common.Address, minAmount *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireMinERC20BalanceSelf(token common.Address, minBalance *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) RequireNonExpired(expiration *big.Int) error + func (_TrailsUtils *TrailsUtilsSession) Sweep(sweepTarget common.Address, tokensToSweep []common.Address, sweepNative bool) (*types.Transaction, error) + type TrailsUtilsSweep struct + Amount *big.Int + Raw types.Log + Recipient common.Address + Token common.Address + type TrailsUtilsSweepIterator struct + Event *TrailsUtilsSweep + func (it *TrailsUtilsSweepIterator) Close() error + func (it *TrailsUtilsSweepIterator) Error() error + func (it *TrailsUtilsSweepIterator) Next() bool + type TrailsUtilsTransactor struct + func NewTrailsUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*TrailsUtilsTransactor, error) + func (_TrailsUtils *TrailsUtilsTransactor) HandleSequenceDelegateCall(opts *bind.TransactOpts, arg0 [32]byte, arg1 *big.Int, arg2 *big.Int, ...) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactor) HydrateExecute(opts *bind.TransactOpts, packedPayload []byte, hydratePayload []byte) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactor) HydrateExecuteAndSweep(opts *bind.TransactOpts, packedPayload []byte, hydratePayload []byte, ...) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactor) Sweep(opts *bind.TransactOpts, sweepTarget common.Address, ...) (*types.Transaction, error) + type TrailsUtilsTransactorRaw struct + Contract *TrailsUtilsTransactor + func (_TrailsUtils *TrailsUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TrailsUtilsTransactorSession struct + Contract *TrailsUtilsTransactor + TransactOpts bind.TransactOpts + func (_TrailsUtils *TrailsUtilsTransactorSession) HandleSequenceDelegateCall(arg0 [32]byte, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, ...) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactorSession) HydrateExecute(packedPayload []byte, hydratePayload []byte) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactorSession) HydrateExecuteAndSweep(packedPayload []byte, hydratePayload []byte, sweepTarget common.Address, ...) (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactorSession) Receive() (*types.Transaction, error) + func (_TrailsUtils *TrailsUtilsTransactorSession) Sweep(sweepTarget common.Address, tokensToSweep []common.Address, sweepNative bool) (*types.Transaction, error)