SupaConfig
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
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
Balances ($0.00)
No balances found for "SupaConfig"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SupaConfig"
ABI
ABI objects
Getter at block 22765574
config() view returns (address treasuryWallet, uint256 treasuryInterestFraction, uint256 maxSolvencyCheckGasCost, int256 liqFraction, int256 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 maxTokenStorage, uint256 erc20Multiplier, uint256 erc721Multiplier)
(maxTokenStorage=0, erc20Multiplier=0, erc721Multiplier=0)
versionManager() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowances(address, address, address) view returns (uint256)
erc20Infos(uint256) view returns (address erc20Contract, address valueOracle, struct ERC20Pool collateral, struct ERC20Pool debt, uint256 baseRate, uint256 slope1, uint256 slope2, uint256 targetUtilization, uint256 timestamp)
erc721Infos(uint256) view returns (address erc721Contract, address valueOracle)
getCreditAccountERC20(address walletAddr, address erc20) view returns (int256)
getCreditAccountERC721(address wallet) view returns (struct ISupaConfigNFTData[])
getCreditAccountERC721Counter(address wallet) view returns (uint256)
infoIdx(address) view returns (uint16 idx, uint8 kind)
operatorApprovals(address, address) view returns (bool)
tokenDataByNFTId(uint256) view returns (uint240 tokenId, uint16 walletIdx, address approvedSpender)
walletLogic(address) view returns (address)
walletNonce(address account) view returns (uint256 nonce)
walletProposedNewOwner(address) view returns (address)
wallets(address) view returns (address owner, int256 tokenCounter)
State-modifying
Events addERC20Info(address erc20Contract, string name, string symbol, uint8 decimals, address valueOracle, uint256 baseRate, uint256 slope1, uint256 slope2, uint256 targetUtilization) returns (uint16)
addERC721Info(address erc721Contract, address valueOracleAddress)
createWallet() returns (address wallet)
createWallet(uint256 nonce) returns (address wallet)
executeTransferWalletOwnership(address wallet)
pause()
proposeTransferWalletOwnership(address newOwner)
setConfig(struct ISupaConfigConfig _config)
setERC20Data(address erc20, address valueOracle, uint256 baseRate, uint256 slope1, uint256 slope2, uint256 targetUtilization)
setTokenStorageConfig(struct ISupaConfigTokenStorageConfig _tokenStorageConfig)
setVersionManager(address _versionManager)
transferWalletOwnership(address newOwner)
unpause()
upgradeWalletImplementation(string version)
ConfigSet(struct ISupaConfigConfig config)
ERC20Added(uint16 erc20Idx, address erc20, string name, string symbol, uint8 decimals, address valueOracle, uint256 baseRate, uint256 slope1, uint256 slope2, uint256 targetUtilization)
ERC20DataSet(address indexed erc20, uint16 indexed erc20Idx, address valueOracle, uint256 baseRate, uint256 slope1, uint256 slope2, uint256 targetUtilization)
ERC721Added(uint256 indexed erc721Idx, address indexed erc721Contract, address valueOracleAddress)
Paused(address account)
TokenStorageConfigSet(struct ISupaConfigTokenStorageConfig tokenStorageConfig)
Unpaused(address account)
VersionManagerSet(address indexed versionManager)
WalletCreated(address wallet, address owner)
WalletImplementationUpgraded(address indexed wallet, string indexed version, address implementation)
WalletOwnershipTransferProposed(address indexed wallet, address indexed newOwner)
WalletOwnershipTransferred(address indexed wallet, address indexed newOwner)
constructor(address _owner)
This contract contains no fallback and receive objects.
BugLevelTooHigh()
DeprecatedVersion()
InvalidImplementation()
InvalidNewOwner(address proposedOwner, address newOwner)
InvalidNonce()
NotERC20()
NotNFT()
NotRegistered(address token)
OnlyGovernance()
OnlyWallet()