Skip to content

Variables ​

Git Source

Inherits: Owned

State Variables ​

_smartLendingAuths ​

smart lending auths can update specific configs. owner can add/remove auths. Owner is auth by default.

solidity
mapping(address => mapping(address => uint256)) internal _smartLendingAuths;

_deployers ​

deployers can deploy new smartLendings. owner can add/remove deployers. Owner is deployer by default.

solidity
mapping(address => uint256) internal _deployers;

createdTokens ​

list of all created tokens.

Solidity creates an automatic getter only to fetch at a certain position, so explicitly define a getter that returns all.

solidity
address[] public createdTokens;

_smartLendingCreationCodePointer ​

smart lending creation code, accessed via SSTORE2.

solidity
address internal _smartLendingCreationCodePointer;

Functions ​

constructor ​

solidity
constructor(address owner_) Owned(owner_);