Access Control

Access

Role

Function Name

Description

Protocol Owner

Default_Owner

upgradeTo

Upgrades keeper contract implementation.

Governor

GOVERNOR_ROLE

setMintFee

Updates the mint fee on pool.

Guardian

GUARDIAN_ROLE

pause

Pause mint/swap/redeem actions

Protocol Owner

PROTOCOL_OWNER_ROLE

unpause

Unpause mint/swap/redeem actions

Governor

GOVERNOR_ROLE

setRedeemFee

Updates the redeem fee on pool.

Governor

GOVERNOR_ROLE

setOffPegFeeMultiplier

Updates the off peg fee multiplier of pool.

Governor

GOVERNOR_ROLE

setExchangeRateFeeFactor

Updates the exchange rate fee factor of pool.

Governor

GOVERNOR_ROLE

setBufferPercent

Updates the buffer percent

Governor

GOVERNOR_ROLE

setTokenSymbol

Updates the token symbol

Governor

GOVERNOR_ROLE

setDecayPeriod

Updates the decay period

Governor

GOVERNOR_ROLE

setRateChangeSkipPeriod

Updates the rate change skip period of pool.

Governor

GOVERNOR_ROLE

updateFeeErrorMargin

Updates the fee error margin of pool.

Governor

GOVERNOR_ROLE

updateYieldErrorMargin

Updates yield error margin of pool.

Governor

GOVERNOR_ROLE

distributeLoss

Distribute losses by rebasing negatively

Governor

GOVERNOR_ROLE

setTreasury

Set treasury address for accumulated fees.

Governor

GOVERNOR_ROLE

withdrawAdminFee

Send newly-minted SPA tokens to Treasury

Curator

CURATOR_ROLE

rampA

Allows to gradually ramp the A coefficient within allowed bounds

Governor

GOVERNOR_ROLE

setMinRampTime

Allows to set MinRampTime

Governor

GOVERNOR_ROLE

setSwapFee

Allows governor to set the swap fee within allowed bounds

Guardian

GUARDIAN_ROLE

cancelRamp

Allows guardians to cancel an ongoing A ramp in emergencies

Protocol Owner

PROTOCOL_OWNER_ROLE

grantGovernorRole

Grant Govenor role to address on Keeper.

Protocol Owner

PROTOCOL_OWNER_ROLE

revokeGovernorRole

Revoke Govenor role for an address on Keeper.

Governor

GOVERNOR_ROLE

grantCuratorRole

Grant Curator role to address on Keeper.

Governor

GOVERNOR_ROLE

revokeCuratorRole

Revoke Curator role for an address on Keeper.

Governor

GOVERNOR_ROLE

grantGuardianRole

Grant Guardian role to address on Keeper.

Governor

GOVERNOR_ROLE

revokeGuardianRole

Revoke Guardian role for an address on Keeper.

Last updated