TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 4,268 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x1a7e…bce8
0x61ed…b7c3
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20880487 | 2 months ago | | | 0 | 0.00099255854 | |
| 20880472 | 2 months ago | | | 0 | 0.0012227762 | |
| 20825877 | 2 months ago | | | 0 | 0.0014294957 | |
| 20627792 | 3 months ago | | | 0 | 0.00036783665 | |
| 20447386 | 4 months ago | | | 0 | 0.00014537834 | |
| 20282165 | 4 months ago | | | 0 | 0.00050405775 | |
| 19948060 | 6 months ago | | | 0 | 0.00084587038 | |
| 19746042 | 7 months ago | | | 0 | 0.00063309475 | |
| 19547344 | 8 months ago | | | 0 | 0.0030529300 | |
| 19547332 | 8 months ago | | | 0 | 0.0015954157 |
ABI
ABI objects
Getter at block 21249998 getCollateralRatio() view returns (uint256)
BASE_PARAMS() view returns (uint256)
1000000000
BASE_TOKENS() view returns (uint256)
1000000000000000000
CORE_ROLE() view returns (bytes32)
0x502d3d275257923b2bea6ea25d9631f12369fb532871f13eb85eb09dc0fb4842
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOVERNOR_ROLE() view returns (bytes32)
0x7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55
GUARDIAN_ROLE() view returns (bytes32)
0x55435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041
SLP() view returns (bytes32)
0xe0136b3661826a483734248681e4f59ae66bc6065ceb43fdd469ecb22c21d745
STABLE() view returns (bytes32)
0xfb286912c6eadba541f23a3bb3e83373ab139b6e65d84e2a473c186efc2b4642
agToken() view returns (address)
0x1a7e4e63778b4f12a199c062f3efdd288afcbce8
getStocksUsers() view returns (uint256 _stocksUsers)
0
Read-only
collateralMap(address) view returns (address token, address sanToken, address perpetualManager, address oracle, uint256 stocksUsers, uint256 sanRate, uint256 collatBase, struct SLPData slpData, struct MintBurnData feeData)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
paused(bytes32) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
accumulateInterest(uint256 gain)
addGovernor(address governor)
burn(uint256 amount, address burner, address dest, address poolManager, uint256 minCollatAmount)
convertToSLP(uint256 amount, address user)
deploy(address[] governorList, address guardian, address _agToken)
deployCollateral(address poolManager, address perpetualManager, address feeManager, address oracle, address sanToken)
deposit(uint256 amount, address user, address poolManager)
grantRole(bytes32 role, address account)
initialize(address core_)
mint(uint256 amount, address user, address poolManager, uint256 minStableAmount)
pause(bytes32 agent, address poolManager)
rebalanceStocksUsers(uint256 amount, address poolManagerUp, address poolManagerDown)
removeGovernor(address governor)
renounceRole(bytes32 role, address account)
revokeCollateral(address poolManager, address settlementContract)
revokeGuardian(address oldGuardian)
revokeRole(bytes32 role, address account)
setCapOnStableAndMaxInterests(uint256 _capOnStableMinted, uint256 _maxInterestsDistributed, address poolManager)
setCore(address newCore)
setFeeKeeper(uint64 _bonusMalusMint, uint64 _bonusMalusBurn, uint64 _slippage, uint64 _slippageFee)
setFeeManager(address newFeeManager, address oldFeeManager, address poolManager)
setGuardian(address newGuardian, address oldGuardian)
setIncentivesForSLPs(uint64 _feesForSLPs, uint64 _interestsForSLPs, address poolManager)
setOracle(address _oracle, address poolManager)
setTargetHAHedge(uint64 _targetHAHedge)
setUserFees(address poolManager, uint64[] _xFee, uint64[] _yFee, uint8 _mint)
signalLoss(uint256 loss)
unpause(bytes32 agent, address poolManager)
updateStocksUsers(uint256 amount, address poolManager)
withdraw(uint256 amount, address burner, address dest, address poolManager)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
BurntStablecoins(address indexed _poolManager, uint256 amount, uint256 redeemInC)
CapOnStableAndMaxInterestsUpdated(address indexed _poolManager, uint256 _capOnStableMinted, uint256 _maxInterestsDistributed)
CollateralDeployed(address indexed _poolManager, address indexed _perpetualManager, address indexed _sanToken, address _oracle)
CollateralRevoked(address indexed _poolManager)
FeeArrayUpdated(address indexed _poolManager, uint64[] _xFee, uint64[] _yFee, uint8 _type)
FeeManagerUpdated(address indexed _poolManager, address indexed newFeeManager)
MintedStablecoins(address indexed _poolManager, uint256 amount, uint256 amountForUserInStable)
OracleUpdated(address indexed _poolManager, address indexed _oracle)
Paused(bytes32 name)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SLPsIncentivesUpdated(address indexed _poolManager, uint64 _feesForSLPs, uint64 _interestsForSLPs)
SanRateUpdated(address indexed _token, uint256 _newSanRate)
StocksUsersUpdated(address indexed _poolManager, uint256 _stocksUsers)
Unpaused(bytes32 name)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.