https://github.com/thirdweb-example/modular-contract-extension-starter
https://github.com/thirdweb-example/modular-contract-extension-starter
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thirdweb-example/modular-contract-extension-starter
- Owner: thirdweb-example
- Created: 2024-07-24T00:50:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T14:48:20.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T08:45:12.122Z (over 1 year ago)
- Language: Solidity
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Modular Contract - Extension Starter Template
This is a starter template for developing your own extensions for Modular Contracts.
This repo showcases an ERC721 extensions that allows users to mint an NFT with a fixed price.
### All callback functions currently available
| ERC | Callback |
|----------|-----------------------------------------|
| ERC20 | BeforeApproveCallbackERC20.sol |
| ERC721 | BeforeApproveCallbackERC721.sol |
| ERC721, ERC1155 | BeforeApproveForAllCallback.sol |
| ERC1155 | BeforeBatchMintCallbackERC1155.sol |
| ERC1155 | BeforeBatchTransferCallbackERC1155.sol |
| ERC1155 | BeforeBurnCallbackERC1155.sol |
| ERC20 | BeforeBurnCallbackERC20.sol |
| ERC721 | BeforeBurnCallbackERC721.sol |
| ERC1155 | BeforeMintCallbackERC1155.sol |
| ERC20 | BeforeMintCallbackERC20.sol |
| ERC721 | BeforeMintCallbackERC721.sol |
| ERC1155 | BeforeTransferCallbackERC1155.sol |
| ERC20 | BeforeTransferCallbackERC20.sol |
| ERC721 | BeforeTransferCallbackERC721.sol |
| ERC721, ERC1155 | OnTokenURICallback.sol |