Technical Reference
Whitelist
Source Revision 0x28c90d3a…b1da08
| Property | Value |
|---|---|
| Source Revision | 0x28c90d3a2b2dc7f838c6d3d91d459f074d823a49435cb725f3211a9416b1da08 |
| Source URL | https://raw.githubusercontent.com/busytoby/atropa_pulsechain/c8d29f39af79e8f8c399fe7971f2dba4546a1864/whitelist.sol |
| Source commit | c8d29f39af79e8f8c399fe7971f2dba4546a1864 |
| Source Status | Archived source snapshot; this does not establish deployed bytecode equivalence. |
| Compiler | solc 0.8.21; optimizer enabled with 200 runs |
| Compiler Configuration | {"evmVersion":"compiler-default","optimizer":{"enabled":true,"runs":200},"version":"0.8.25+commit.b61c2a91.Linux.g++"} |
| Compilation Closure Hash | 0xd7dffacac5fd5bd0a8706ac5bb791c0d69af5ac94975a7512afe67b044561426 |
| Compilation Closure Files | 1 |
| Hash Generated | 2026-08-22T00:06:01Z |
Overview
Section titled “Overview”- Kind: Abstract Contract
- License: Sharia
- Solidity: ^0.8.25
- Source:
whitelist.sol
Inheritance Chain (C3 Linearized)
Section titled “Inheritance Chain (C3 Linearized)”No base contracts; this contract has no parents.
Immediate Parents
Section titled “Immediate Parents”None (root of its hierarchy).
State Variables
Section titled “State Variables”| Variable | Type | Visibility | Mutability | Initial Value | NatSpec |
|---|---|---|---|---|---|
_whitelist |
address[] |
internal | mutable | `` |
Functions
Section titled “Functions”External & Public
Section titled “External & Public”AddToWhitelist
Section titled “AddToWhitelist”AddToWhitelistfunction
function AddToWhitelist(address _wl) public- Visibility: public
- Parameters: address _wl
AssertWhitelisted
Section titled “AssertWhitelisted”AssertWhitelistedfunction
function AssertWhitelisted(address _wl) public view- Visibility: public
- State Mutability: view
- Parameters: address _wl
RemoveFromWhitelist
Section titled “RemoveFromWhitelist”RemoveFromWhitelistfunction
function RemoveFromWhitelist(address _wl) public- Visibility: public
- Parameters: address _wl
GetWhitelistByIndex
Section titled “GetWhitelistByIndex”GetWhitelistByIndexfunction
function GetWhitelistByIndex(uint256 i) public view returns (address)- Visibility: public
- State Mutability: view
- Parameters: uint256 i
- Returns: address
WhitelistCount
Section titled “WhitelistCount”WhitelistCountfunction
function WhitelistCount() public view returns (uint256)- Visibility: public
- State Mutability: view
- Returns: uint256
Internal
Section titled “Internal”_addfunction
function _add(address _wl) internal- Visibility: internal
- Parameters: address _wl
Private
Section titled “Private”_remove
Section titled “_remove”_removefunction
function _remove(uint256 v) private- Visibility: private
- Parameters: uint256 v
Compiled ABI
Section titled “Compiled ABI”The compiled ABI below is produced by solc 0.8.21 from the exact source bytes recorded in Source details. Consumers can paste it directly into ethers/web3/viem.
Click to expand JSON ABI
[ { "inputs": [ { "internalType": "address", "name": "_wl", "type": "address" } ], "name": "AddToWhitelist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_wl", "type": "address" } ], "name": "AssertWhitelisted", "outputs": [], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "i", "type": "uint256" } ], "name": "GetWhitelistByIndex", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_wl", "type": "address" } ], "name": "RemoveFromWhitelist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "WhitelistCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }]