SMART CONTRACTS
← Contract catalogWhitelist
Manage eligibility records used by token and transfer policies.
Role and use
Keep participant approval status in one contract for tokens and markets to consult.
Integration considerationsConnect identity checks and reviews through your business systems. Keep on-chain eligibility synchronized with review outcomes.
Key SDK operations
These operations are exposed by WhitelistHelper in @hazbase/kit@0.9.0. The signatures below are type definitions; see the SDK reference for parameter structures and the complete interface.
typescript
import { WhitelistHelper } from '@hazbase/kit';addBasic
typescript
async addBasic(user: Address): Promise<TransactionReceipt>removeBasic
typescript
async removeBasic(user: Address): Promise<TransactionReceipt>isWhitelisted
typescript
async isWhitelisted(user: Address): Promise<boolean>kycLevel
typescript
async kycLevel(user: Address): Promise<KYCLevel>Related contracts
Put it into practice
Access & membership
See the data model, processing sequence and SDK code for an application-level implementation.
Read the implementation patternSpecification and source
The Solidity source is pinned to the revision below. Match it with the SDK version and your network’s implementation address and ABI.
whitelist/contracts/Whitelist.solSource revision: b53a5b5