TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 24 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
0xbf57…0115
0x312f…3764
-
variable spans 1 additional slot
-
variable spans 1 additional slot
5 additional
variables
Balances ($0.00)
No balances found for "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17027790 | 2 years ago | | | 0 | 0.0012220395 | |
| 16443907 | 2 years ago | | | 0 | 0.0012871245 | |
| 16198388 | 2 years ago | | | 0 | 0.0070709568 | |
| 16192193 | 2 years ago | | | 0 | 0.0066076325 | |
| 16077574 | 2 years ago | | | 0 | 0.0034062341 | |
| 16077546 | 2 years ago | | | 0 | 0.0031896900 | |
| 16076969 | 2 years ago | | | 0 | 0.0025288556 | |
| 15897194 | 2 years ago | | | 0 | 0.0015359391 | |
| 15897192 | 2 years ago | | | 0 | 0.0069228366 | |
| 15885672 | 2 years ago | | | 0 | 0.00073599832 |
ABI
ABI objects
Getter at block 20989465
VERSION() view returns (string)
1.0.0
debtFloorInUsd() view returns (uint256)
0
depositFee() view returns (uint256)
1000000000000000
everythingStopped() view returns (bool)
false
feeCollector() view returns (address)
0xd1de3f9cd4ae2f23da941a67ca4c739f8dd9af33
getDebtTokens() view returns (address[])
[0xDa09586fF22f4521DABe2538692D8114BaB294DA, 0x347eACc4710eb045CCF0C56C0635d81840689847]
getDepositTokens() view returns (address[])
[0xC00A3923C0486f56596d182E95656fe31a6EE134, 0x335e4BA7152C96dd19Db8c7138C55B8Bd74ea53A]
getRewardsDistributors() view returns (address[])
[0x1A19A413B3343468c7007E18Fa553Cbb3f02872a]
governor() view returns (address)
0xdf826ff6518e609e4cee86299d40611c148099d5
isSwapActive() view returns (bool)
true
issueFee() view returns (uint256)
1000000000000000
liquidationFees() view returns (uint128 liquidatorFee, uint128 protocolFee)
(liquidatorFee=100000000000000000, protocolFee=80000000000000000)
masterOracle() view returns (address)
0x80704acdf97723963263c78f861f091ad04f46e2
maxLiquidable() view returns (uint256)
500000000000000000
paused() view returns (bool)
false
poolRegistry() view returns (address)
0xbf571976e411cbec9e5a3bce817ae9e4fc570115
proposedGovernor() view returns (address)
0x0000000000000000000000000000000000000000
repayFee() view returns (uint256)
3000000000000000
swapFee() view returns (uint256)
6000000000000000
treasury() view returns (address)
0x312f8f1df85a193c9ff1bbd89da3721b12313764
withdrawFee() view returns (uint256)
0
Read-only
debtOf(address account_) view returns (uint256 _debtInUsd)
debtPositionOf(address account_) view returns (bool _isHealthy, uint256 _depositInUsd, uint256 _debtInUsd, uint256 _issuableLimitInUsd, uint256 _issuableInUsd)
debtTokenOf(address) view returns (address)
depositOf(address account_) view returns (uint256 _depositInUsd, uint256 _issuableLimitInUsd)
depositTokenOf(address) view returns (address)
getDebtTokensOfAccount(address account_) view returns (address[])
getDepositTokensOfAccount(address account_) view returns (address[])
isDebtTokenExists(address debtToken_) view returns (bool)
isDepositTokenExists(address depositToken_) view returns (bool)
isSyntheticTokenExists(address syntheticToken_) 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
acceptGovernorship()
addDebtToken(address debtToken_)
addDepositToken(address depositToken_)
addRewardsDistributor(address distributor_)
addToDebtTokensOfAccount(address account_)
addToDepositTokensOfAccount(address account_)
initialize(address poolRegistry_)
liquidate(address syntheticToken_, address account_, uint256 amountToRepay_, address depositToken_)
open()
pause()
removeDebtToken(address debtToken_)
removeDepositToken(address depositToken_)
removeFromDebtTokensOfAccount(address account_)
removeFromDepositTokensOfAccount(address account_)
removeRewardsDistributor(address distributor_)
shutdown()
swap(address syntheticTokenIn_, address syntheticTokenOut_, uint256 amountIn_) returns (uint256 _amountOut)
sweep(address token_, address to_, uint256 amount_)
toggleIsSwapActive()
transferGovernorship(address proposedGovernor_)
unpause()
updateDebtFloor(uint256 newDebtFloorInUsd_)
updateDepositFee(uint256 newDepositFee_)
updateIssueFee(uint256 newIssueFee_)
updateLiquidatorLiquidationFee(uint128 newLiquidatorLiquidationFee_)
updateMaxLiquidable(uint256 newMaxLiquidable_)
updateProtocolLiquidationFee(uint128 newProtocolLiquidationFee_)
updateRepayFee(uint256 newRepayFee_)
updateSwapFee(uint256 newSwapFee_)
updateTreasury(address newTreasury_)
updateWithdrawFee(uint256 newWithdrawFee_)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
DebtFloorUpdated(uint256 oldDebtFloorInUsd, uint256 newDebtFloorInUsd)
DebtTokenAdded(address indexed debtToken)
DebtTokenRemoved(address indexed debtToken)
DepositFeeUpdated(uint256 oldDepositFee, uint256 newDepositFee)
DepositTokenAdded(address indexed depositToken)
DepositTokenRemoved(address indexed depositToken)
IssueFeeUpdated(uint256 oldIssueFee, uint256 newIssueFee)
LiquidatorLiquidationFeeUpdated(uint256 oldLiquidatorLiquidationFee, uint256 newLiquidatorLiquidationFee)
MaxLiquidableUpdated(uint256 oldMaxLiquidable, uint256 newMaxLiquidable)
Open(address caller)
Paused(address caller)
PositionLiquidated(address indexed liquidator, address indexed account, address indexed syntheticToken, uint256 amountRepaid, uint256 depositSeized, uint256 fee)
ProtocolLiquidationFeeUpdated(uint256 oldProtocolLiquidationFee, uint256 newProtocolLiquidationFee)
RepayFeeUpdated(uint256 oldRepayFee, uint256 newRepayFee)
RewardsDistributorAdded(address _distributor)
RewardsDistributorRemoved(address _distributor)
Shutdown(address caller)
SwapActiveUpdated(bool newActive)
SwapFeeUpdated(uint256 oldSwapFee, uint256 newSwapFee)
SyntheticTokenSwapped(address indexed account, address indexed syntheticTokenIn, address indexed syntheticTokenOut, uint256 amountIn, uint256 amountOut, uint256 fee)
TreasuryUpdated(address indexed oldTreasury, address indexed newTreasury)
Unpaused(address caller)
UpdatedGovernor(address indexed previousGovernor, address indexed proposedGovernor)
WithdrawFeeUpdated(uint256 oldWithdrawFee, uint256 newWithdrawFee)
constructor(address _logic, address admin_, bytes _data)
fallback()
fallback()
receive()
receive()
This contract contains no error objects.