DODO Docs
Search
K

Configure Whitelist

DODO Crowdpooling allows the project side to configure a whitelist, and thereby specify the list of users who are allowed to participate in the crowdfunding campaign. This feature is not available from the Crowdpooling front-end by default, so a project owner who wants to use this feature would need to contact DODO by email.

Contact DODO to Configure a Whitelist

To configure a whitelist for your Crowdpooling campaign, send an email to [email protected].
The content of this email can follow this template:
  • Project name
  • Project description
  • Crowdfunding information (crowdfunding network, opening time and duration, etc)
  • Whitelist contract address

Creating a Whitelist Contract

To allow projects to deploy their own whitelist contracts with ease, DODO provides a whitelist contract template, located here.
After the project owner creates a whitelist contract, they can set the user's maximum subscription quota (e.g. USDT if USDT Crowdpooling is selected) through the setUserQuota function. For the whitelist function, set the corresponding quota for the users in the whitelist, and default to 0 for other user addresses.
The above is only a template contract provided, but the project owner can flexibly develop it according to their own needs. However, the project owner must still strictly implement the IQuota interface specification (getUserQuota), and release the contract under an open source license. At this point, the owner can provide it to DODO for contract-related configuration up to half a day before the crowdfunding starts.