Pauser Role
Description of the privileged roles in the Teller Protocol
The smart contracts used in the Teller Platform often have Pauser/owner
variables to designate the party with special privileges to make modifications to the platform's settings. In the spirit of transparency in the decentralized world, these roles are documented below for the Teller Finance platform.
Pauser Role
The Pauser
role is set in the Settings smart contract for the Teller platform and inherited into the platform's smart contracts.
Ethereum wallet addresses are assigned Pauser
role through the Teller Protocol to govern the management and development of the Teller Platform.
The Teller Protocol wallet addresses with the Pauser role can govern methods in the following contracts:
ChainlinkAggregator
Method
Action
add(
address src,
address dst,
address aggregator
)
Registers additional new pair aggregators for given markets
remove(
address src,
address dst
)
Unregisters a single pair aggregator for a given market
add(
address token
)
Removes aggregator support for a specific token
DappFactory
Method
Action
addDapp(
address dapp,
bool unsecured
)
Adds a new dApp to the factory
updateDapp(
address dapp,
bool unsecured
)
Updates a current dApp in the factory
removeDapp(address dapp)
Removes a current dApp from the factory
MarketFactory
Method
Action
createMarket(
address lendingToken,
address collateralToken
)
Creates a new market for a given lending and collateral tokens
Settings
Method
Action
pause()
Pauses the platform, stopping the contract state
unpause()
Unpauses the platform, restarting the contract state
adddPauser(address account)
Adds an account as a pauser
removePauser(address account)
Removes an account as a pauser
createPlatformSetting(
bytes32 settingName,
uint256 value,
uint256 minValue,
uint256 maxValue
)
Creates a new platform setting given a setting name, value, min and max values
updatePlatformSetting(
bytes32 settingName,
uint256 newValue
)
Updates an existent platform setting given a setting name
removePlatformSetting(bytes32 settingName)
Removes a current platform setting given a setting name
pauseLendingPool(address lendingPoolAddress)
Pauses a specific lending pool
unpauseLendingPool(address lendingPoolAddress)
Unpauses a specific lending pool
Last updated