VeBetterDAO Docs
  • VeBetterDAO
    • VeBetterDAO
    • B3TR & VOT3 Tokens
    • B3TR Emissions
    • Treasury
    • X2Earn Allocations
    • X2Earn Apps
    • Governance
    • Voter Rewards
    • Smart Contracts
    • Roles And Permissions
    • Trust Assumptions
    • Verify contract
  • Developer Guides
    • Get Started
    • Test Environment
    • Testnet B3TR tokens
    • Reward Distribution
      • JavaScript
      • Solidity
      • Manage distributors funds
    • Sustainability Proof and Impacts
    • Reward Metadata
    • Security Considerations
    • Submit Your App
    • X2Earn Creators NFT
    • Resources
  • VePassport
    • VePassport
    • Checks
      • Personhood Check
      • Proof of Participation
      • Proof of investment
      • Bot Signaling
      • Blacklisting and Whitelisting
    • Passport Delegation
    • Accounts Linking
    • Roles
  • Vechain Node Holders Guides
    • Endorsement Guide for VeChain Node Holders
    • Node Management
    • Vechain Nodes X GM NFTs: Maximizing Benefits within VeBetter DAO
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. VePassport
  2. Checks

Blacklisting and Whitelisting

The black-and-white list functions provide the DAO, or other trusted projects, a mechanism to blacklist or whitelist certain accounts. For example, certain accounts may not have a way to prove they are legitimate other than being whitelisted. On the flip side we can use the blacklist to block all known Sybil accounts providing a strong deterrent for this type of behavior.

Endpoints

Other apps or contracts can interact with this module through the following functions of the VePassport contract:

  interface IVeBetterPassport {
    ...
    function whitelist(address _user) external;
    function isWhitelisted(address _user) external view returns (bool);
    function removeFromWhitelist(address _user) external;
  
    function blacklist(address _user) external;
    function isBlacklisted(address _user) external view returns (bool);
    function removeFromBlacklist(address _user) external;
    ...
  }
PreviousBot SignalingNextPassport Delegation

Last updated 6 months ago

Was this helpful?