SupaConfig

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x6089cb95 at 10101051
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
-
variable spans 2 additional slots

No balances found for "SupaConfig"

No transactions found for "SupaConfig"


Functions
Getter at block 22765574
config(view returns (address treasuryWalletuint256 treasuryInterestFractionuint256 maxSolvencyCheckGasCostint256 liqFractionint256 fractionalReserveLeverage)
(treasuryWallet=0x0000000000000000000000000000000000000000, treasuryInterestFraction=0, maxSolvencyCheckGasCost=0, liqFraction=0, fractionalReserveLeverage=0)
immutableGovernance(view returns (address)
0xdec1dee9deb6962f8f2493cbd7c5be6588c93c44
paused(view returns (bool)
false
tokenStorageConfig(view returns (uint256 maxTokenStorageuint256 erc20Multiplieruint256 erc721Multiplier)
(maxTokenStorage=0, erc20Multiplier=0, erc721Multiplier=0)
versionManager(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowances(addressaddressaddressview returns (uint256)
erc20Infos(uint256view returns (address erc20Contractaddress valueOraclestruct ERC20Pool collateralstruct ERC20Pool debtuint256 baseRateuint256 slope1uint256 slope2uint256 targetUtilizationuint256 timestamp)
erc721Infos(uint256view returns (address erc721Contractaddress valueOracle)
getCreditAccountERC20(address walletAddraddress erc20view returns (int256)
getCreditAccountERC721(address walletview returns (struct ISupaConfigNFTData[])
getCreditAccountERC721Counter(address walletview returns (uint256)
infoIdx(addressview returns (uint16 idxuint8 kind)
operatorApprovals(addressaddressview returns (bool)
tokenDataByNFTId(uint256view returns (uint240 tokenIduint16 walletIdxaddress approvedSpender)
walletLogic(addressview returns (address)
walletNonce(address accountview returns (uint256 nonce)
walletProposedNewOwner(addressview returns (address)
wallets(addressview returns (address ownerint256 tokenCounter)
State-modifying
addERC20Info(address erc20Contractstring namestring symboluint8 decimalsaddress valueOracleuint256 baseRateuint256 slope1uint256 slope2uint256 targetUtilizationreturns (uint16)
addERC721Info(address erc721Contractaddress valueOracleAddress
createWallet(returns (address wallet)
createWallet(uint256 noncereturns (address wallet)
executeTransferWalletOwnership(address wallet
pause(
proposeTransferWalletOwnership(address newOwner
setConfig(struct ISupaConfigConfig _config
setERC20Data(address erc20address valueOracleuint256 baseRateuint256 slope1uint256 slope2uint256 targetUtilization
setTokenStorageConfig(struct ISupaConfigTokenStorageConfig _tokenStorageConfig
setVersionManager(address _versionManager
transferWalletOwnership(address newOwner
unpause(
upgradeWalletImplementation(string version
Events
ConfigSet(struct ISupaConfigConfig config
ERC20Added(uint16 erc20Idxaddress erc20string namestring symboluint8 decimalsaddress valueOracleuint256 baseRateuint256 slope1uint256 slope2uint256 targetUtilization
ERC20DataSet(address indexed erc20uint16 indexed erc20Idxaddress valueOracleuint256 baseRateuint256 slope1uint256 slope2uint256 targetUtilization
ERC721Added(uint256 indexed erc721Idxaddress indexed erc721Contractaddress valueOracleAddress
Paused(address account
TokenStorageConfigSet(struct ISupaConfigTokenStorageConfig tokenStorageConfig
Unpaused(address account
VersionManagerSet(address indexed versionManager
WalletCreated(address walletaddress owner
WalletImplementationUpgraded(address indexed walletstring indexed versionaddress implementation
WalletOwnershipTransferProposed(address indexed walletaddress indexed newOwner
WalletOwnershipTransferred(address indexed walletaddress indexed newOwner
Constructor
constructor(address _owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BugLevelTooHigh(
DeprecatedVersion(
InvalidImplementation(
InvalidNewOwner(address proposedOwneraddress newOwner
InvalidNonce(
NotERC20(
NotNFT(
NotRegistered(address token
OnlyGovernance(
OnlyWallet(