Owner Functions

setFeeCollector

The administrator can collect the fee from every bid. When one bid is complete, the FeeCollect address will collect the fee, and the rest will be sent to the curator.

function setFeeCollector( address newsFeeCollector, uint256 newFeeRate ) external onlyOwner

NameTypeDescription

newsFeeCollector

address

An EVM-compatible address for collecting fees

newFeeRate

uint256

Fee rate charged after a bid is executed

setGovernance

Set up administrator addresses

function setGovernance(address gov, bool whitelist) external onlyOwner

NameTypeDescription

gov

address

An EVM-compatible address

whitelist

bool

"true" means setting as an administrator "false" means revoking administrator privileges

Last updated