owner actions

MixinOwnerActions

notPriceError

modifier notPriceError(uint256 newUnitaryValue)

We keep this check to prevent accidental failure in Nav calculations.

onlyOwner

modifier onlyOwner()

changeFeeCollector

function changeFeeCollector(address feeCollector) external

Allows owner to decide where to receive the fee.

Parameters

Name
Type
Description

feeCollector

address

Address of the fee receiver.

changeMinPeriod

function changeMinPeriod(uint48 minPeriod) external

Allows pool owner to change the minimum holding period.

Parameters

Name
Type
Description

minPeriod

uint48

Time in seconds.

changeSpread

Allows pool owner to change the mint/burn spread.

Parameters

Name
Type
Description

newSpread

uint16

Number between 0 and 1000, in basis points.

setKycProvider

Allows pool owner to set/update the user whitelist contract.

Kyc provider can be set to null, removing user whitelist requirement.

Parameters

Name
Type
Description

kycProvider

address

Address if the kyc provider.

setTransactionFee

Allows pool owner to set the transaction fee.

Parameters

Name
Type
Description

transactionFee

uint16

Value of the transaction fee in basis points.

setUnitaryValue

Allows pool owner to set the pool price.

Parameters

Name
Type
Description

unitaryValue

uint256

Value of 1 token in wei units.

setOwner

Allows pool owner to set a new owner address.

Method restricted to owner.

Parameters

Name
Type
Description

newOwner

address

Address of the new owner.

totalSupply

Returns the total amount of issued tokens for this pool.

Return Values

Name
Type
Description

[0]

uint256

Number of total issued tokens.

decimals

Returns token decimals.

Return Values

Name
Type
Description

[0]

uint8

Uint8 number of decimals.

_getUnitaryValue

_isContract

Last updated