owner actions
MixinOwnerActions
notPriceError
We keep this check to prevent accidental failure in Nav calculations.
onlyOwner
changeFeeCollector
Allows owner to decide where to receive the fee.
Parameters
feeCollector
address
Address of the fee receiver.
changeMinPeriod
Allows pool owner to change the minimum holding period.
Parameters
minPeriod
uint48
Time in seconds.
changeSpread
Allows pool owner to change the mint/burn spread.
Parameters
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
kycProvider
address
Address if the kyc provider.
setTransactionFee
Allows pool owner to set the transaction fee.
Parameters
transactionFee
uint16
Value of the transaction fee in basis points.
setUnitaryValue
Allows pool owner to set the pool price.
Parameters
unitaryValue
uint256
Value of 1 token in wei units.
setOwner
Allows pool owner to set a new owner address.
Method restricted to owner.
Parameters
newOwner
address
Address of the new owner.
totalSupply
Returns the total amount of issued tokens for this pool.
Return Values
[0]
uint256
Number of total issued tokens.
decimals
Returns token decimals.
Return Values
[0]
uint8
Uint8 number of decimals.
_getUnitaryValue
_isContract
Last updated