An ERC-1155 contract that allows for the distribution of tokens to a list of recipients.
The DropERC1155 contract is an ERC-1155 implementation that enables the distribution of tokens to a predefined list of recipients. This is useful for airdrops, giveaways, and other scenarios where you want to distribute tokens to a specific set of addresses.
To use the DropERC1155 contract, you need to:
The DropERC1155 contract inherits from the ERC1155 contract and implements the necessary logic for token distribution and claiming.
constructor(address _defaultAdmin, string _name, string _symbol, address[] memory _initialReceivers, uint256[] memory _initialAmounts)claim(uint256 _tokenId, uint256 _amount)setReceivers(address[] memory _receivers, uint256[] memory _amounts)Press Enter to send your query
Powered by Neuron AI • Press Enter to send