Overview

Description of the privileged roles in the Teller Platform

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 DAO to govern the management and development of the Teller Platform.

The Teller DAO wallet addresses with the Pauser role can govern methods in the following contracts:

ATMFactory

Method

Action

createATM(

string calldata name,

string calldata symbol,

uint8 decimals,

uint256 cap,

uint256 maxVestingPerWallet

)

Creates a new ATM

ATMSettings

Method

Action

pauseATM(address atmAddress)

Pauses a given ATM

unpauseATM(address atmAddress)

Unpauses a given ATM

setATMToMarket(

address borrowedToken,

address collateralToken,

address atmAddress

)

Sets an ATM for a given market (borrowed token and collateral token)

updateATMToMarket(

address borrowedToken,

address collateralToken,

address newAtmAddress

)

Updates a new ATM for a given market (borrowed token and collateral token)

removeATMToMarket(

address borrowedToken,

address collateralToken

)

Removes the ATM address for a given market (borrowed token and collateral token)

ChainlinkPairAggregatorRegistry

Method

Action

registerPairAggregators(

TellerCommon.PairAggregatorRegisterRequest[] calldata requests

)

Registers multiple new pair aggregators for given markets

registerPairAggregator(

TellerCommon.PairAggregatorRegisterRequest calldata request

)

Registers a single new pair aggregator for a given market

updatePairAggregator(

TellerCommon.PairAggregatorRegisterRequest calldata request

)

Updates a current pair aggregator for a given market

EscrowFactory

Method

Action

addDapp(address dapp)

Adds a new dapp to the factory

removeDapp(address dapp)

Removes a current dapp from the factory

LoansBase

Method

Action

setPriceOracle(address newPriceOracle)

Updates the current price oracle instance

LogicVersionsRegistry

Method

Action

createLogicVersion(

bytes32 logicName,

address logic

)

Creates a new logic version given a logic name and address

createLogicVersions(

TellerCommon.LogicVersionRequest[] calldata newLogicVersions

)

Creates multiple logic versions

updateLogicAddress(

bytes32 logicName,

address newLogic

)

Updates a current logic address given a logic name

removeLogicVersion(bytes32 logicName)

Removes a current logic version given a logic name

MarketFactory

Method

Action

createMarket(

address tToken,

address borrowedToken,

address collateralToken

)

Creates a new market for a given TToken and borrowed/collateral tokens

removeMarket(

address borrowedToken,

address collateralToken

)

Removes a current market for a given borrowed/collateral tokens

Settings

Method

Action

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

createAssetSettings(

address assetAddress,

address cTokenAddress,

uint256 maxLoanAmount

)

Creates a new asset settings in the platform

removeAssetSettings(address assetAddress)

Removes all the asset settings for a specific asset address

updateMaxLoanAmount(

address assetAddress,

uint256 newMaxLoanAmount

)

Updates the maximum loan amount for a specific asset address

updateCTokenAddress(

address assetAddress,

address newCTokenAddress

)

Updates the cToken address for a specific asset address

TLRToken

Method

Action

setCap(uint256 newCap)

Sets a new cap on the token's total supply

mint(

address account,

uint256 amount

)

Mints tokens without a vesting schedule for a wallet address and increasing the total supply

mintVesting(

address account,

uint256 amount,

uint256 cliff,

uint256 vestingTime

)

Mints tokens with a vesting schedule for a wallet address and increasing the total supply

revokeVesting(

address account,

uint256 vestingId

)

Revokes unvested tokens for a wallet address and decreasing the total supply

Upgradeable Proxy

Method

Action

upgradeTo(address newLogic)

Upgrades the current logic to a new logic address

Last updated