This contract is a logic contract for the BurnToClaimDrop721 contract. It allows users to burn a specified ERC20 token and claim a corresponding NFT from the BurnToClaimDrop721 contract.
This contract acts as the logic for the BurnToClaimDrop721 contract, facilitating the burning of ERC20 tokens to claim corresponding NFTs. This allows for a unique and dynamic distribution of NFTs, rewarding users for their contribution to the project.
This contract is designed to be used in conjunction with the BurnToClaimDrop721 contract. To use it, the BurnToClaimDrop721 contract must be deployed and configured with the address of this logic contract. Users can then burn the specified ERC20 token and call the `claim()` function on the BurnToClaimDrop721 contract to claim the corresponding NFT.
The contract utilizes a `burnAndClaim` function that verifies the burn event of the ERC20 token and then allows the claim of the corresponding NFT from the BurnToClaimDrop721 contract. This ensures that only users who have burned the required amount of tokens can claim the NFT.
burnAndClaim(address,uint256,uint256)Press Enter to send your query
Powered by Neuron AI • Press Enter to send