Token Bundler
Last updated
Last updated
The contract enables bundling ERC20, ERC721, and/or ERC1155 tokens into a single ERC1155 token (the Bundle token).
TokenBundler.sol contract is written in Solidity version 0.8.16
The owner of the bundle token has rights to:
Transferring ownership of the bundle token to another address
Unwrap the entire bundle resulting in burning the bundle token and gaining ownership over the wrapped tokens
Token Bundler inherits other contracts and implements certain interfaces. Please see their reference for a complete overview.
See for more information about the argument type.
Each token has its nonce. This function returns an Asset struct (see ) for a provided token nonce.
Returns an array of assets in a bundle. Each asset is represented as an Asset struct (see ).
The Token Bundler contract doesn't define any events or custom errors and inherits events from , , and . We will cover events inherited from the interface. Please see the reference for and for a complete overview.