• A constructor that stores the address and name of the owner
• A function that allows the owner to create a whitelist of addresses.
• A function that allows only the user from the whitelist to deposit tokens into the smartcontract
• A function that allows only the users from the whitelist to withdraw any amount from their own deposited tokens
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
• A constructor that stores the address and name of the owner
• A function that allows the owner to create a whitelist of addresses.
• A function that allows only the user from the whitelist to deposit tokens into the smartcontract
• A function that allows only the users from the whitelist to withdraw any amount from their own deposited tokens