AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 2,923 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
0x4e3b…3ef2
Balances ($50.05)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 50 | $1.001 |
$50.05 | |
DHPT | ERC-20 | 4.339309K | -- | -- | |
DHPT | ERC-20 | 1.626855K | -- | -- | |
DHPT | ERC-20 | 1.458425K | -- | -- | |
DHPT | ERC-20 | 1.317233K | -- | -- | |
DHPT | ERC-20 | 800.373342 | -- | -- | |
DHPT | ERC-20 | 652.420179 | -- | -- | |
StableDAI.com | ERC-20 | 580 | -- | -- | |
DHPT | ERC-20 | 303.751075 | -- | -- | |
DHPT | ERC-20 | 276.303456 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19812198 | 7 months ago | | | 0 | 0.0020970914 | |
| 15711704 | 2 years ago | | | 0 | 0.0075470721 | |
| 15581058 | 2 years ago | | | 0 | 0.0011792020 | |
| 15570797 | 2 years ago | | | 0 | 0.0019918130 | |
| 15563314 | 2 years ago | | | 0 | 0.0024557631 | |
| 15528565 | 2 years ago | | | 0 | 0.0029640104 | |
| 15522099 | 2 years ago | | | 0 | 0.0027359764 | |
| 15484466 | 2 years ago | | | 0 | 0.0029351158 | |
| 15479145 | 2 years ago | | | 0 | 0.0018286645 | |
| 15479135 | 2 years ago | | | 0 | 0.0019980956 |
ABI
ABI objects
Getter at block 21260387
addressResolver() view returns (address)
0x4e3b31eb0e5cb73641ee1e65e7dcefe520ba3ef2
dao() view returns (address)
0xff44b48abad9cb7a2485f829e5c9a4d1cee623c9
enableBuy() view returns (bool)
true
enableOracleBuy() view returns (bool)
true
enableOracleSell() view returns (bool)
true
enableSell() view returns (bool)
true
factory() view returns (address)
0x03d20ef9bdc19736f5e8baf92d02c8661a5941f7
oracle() view returns (address)
0xd8d7aa0c79e1caba10cdc748c23ff1df372aa465
oracleBlockBias() view returns (uint8)
25
owner() view returns (address)
0x5a76f841bfe5182f04bf511fc0ecf88c27189fcb
Read-only
dhptFromEnabled(bytes32) view returns (bool)
dhptFromLiquidity(address poolAddress, address fromAddress) view returns (uint256)
dhptWhitelist(address) view returns (uint256)
getLastFeeMintPrice(address poolAddress) view returns (uint256)
maxDhptToSell(address poolAddress) view returns (uint256)
maxSusdToSell(address poolAddress) view returns (uint256)
stableCoins(address) view returns (uint8)
tokenBalanceOf(address tokenAddress) view returns (uint256)
tokenPriceWithSettle(address poolAddress) view returns (uint256)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
buyDHPT(address poolAddress, address stableCoin, uint256 stableCoinAmount)
enableBuySell(bool _enableBuy, bool _enableSell, bool _enableOracleBuy, bool _enableOracleSell)
enableLiquidity(address[] poolAddresses, bool[] enabled)
initialize(address _addressResolver, address _factory, address _oracle)
oracleBuyDHPT(address poolAddress, address stableCoin, uint256 stableCoinAmount, uint256 blockNumber, uint256 poolPrice, bytes signature)
oracleBuyDHPTFrom(address poolAddress, address fromAddress, uint256 susdAmount, uint256 blockNumber, uint256 poolPrice, bytes signature)
oracleSellDHPT(address poolAddress, address stableCoin, uint256 dhptAmount, uint256 blockNumber, uint256 poolPrice, bytes signature)
oracleSwapDHPT(address poolAddressA, uint256 poolAmountA, uint256 poolPriceA, address poolAddressB, uint256 poolPriceB, uint256 blockNumber, bytes signature)
renounceOwnership()
sellDHPT(address poolAddress, uint256 dhptAmount, address stableCoin)
setAddressResolver(address _addressResolver)
setDao(address _dao)
setFactory(address _factory)
setOracle(address _oracle)
setOracleBlockBias(uint8 _oracleBlockBias)
setStableCoin(address stableCoin, uint8 tokenPrecision)
swapDHPT(address poolAddressA, uint256 poolAmountA, address poolAddressB)
transferOwnership(address newOwner)
whitelistDhpt(address[] addresses, uint256[] amounts)
withdrawToken(address tokenAddress, uint256 amount)
withdrawTokenTo(address tokenAddress, uint256 amount, address toAddress)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
BuyDHPT(address fundAddress, address investor, uint256 susdAmount, uint256 dhptAmount, uint256 tokenPrice, uint256 time, bool oracleSwap)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SellDHPT(address fundAddress, address investor, uint256 susdAmount, uint256 dhptAmount, uint256 tokenPrice, uint256 time, bool oracleSwap)
SwapDHPT(address fundAddressA, uint256 tokenPriceA, uint256 amountA, address fundAddressB, uint256 tokenPriceB, uint256 amountB, address investor, uint256 time, bool oracleSwap)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.