StakeWise
Search
K

WhiteListManager

StakeWise WhiteListManager smart contract details.
The WhiteListManager contract is the entry point into StakeWise's permissioned system. This contract stores a list of verified addresses that can stake and transfer staked ETH tokens, ensuring that StakeWise's institutional product is accessible only for KYC'd customers.

Update Whitelist

By passing a certain Ethereum address in the updateWhiteList function in the WhiteListManager contract, the user will mark a certain address as whitelisted, effectively adding it to the whitelistedAccounts list. Said address must have previously passed the KYC check with an external partner (e.g. one of partner custodians etc.).
The user must have the Manager role, as defined in the contract, assigned to its address in order to call the updateWhiteList function. The call will fail if the caller's address has not been assigned a Manager role.

Add Manager

By passing a certain Ethereum address in the addManager function in the WhiteListManager contract, the user will assign the Manager role to a certain Ethereum address.
The user must have the Admin role assigned to its address in order to call the addManager function. The call will fail if the caller's address has not been assigned an Admin role.

Remove Manager

By passing a certain Ethereum address in the removeManager function in the WhiteListManager contract, the user will revoke the Manager role from a certain Ethereum address.
The user must have the Admin role assigned to its address in order to call the removeManager function. The call will fail if the caller's address has not been assigned an Admin role.