AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 2,923 txns
Deployed by via 0x8d40f329 at 11737033
Slot
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
ERC-20
Value $50.05
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x5faf374df5a4ccb9f2ff514b6db5ace510dbfaea94f039a5d8eb99f92562bfc5
0xbb3da292b9ddb1545bf9a2cbec86463c37d8beebdcf31c3b99d2891ce331b168
0x8ad931ab923c7b5737fbc745c308538c47cf193d4818f28df9e43c50d1bcd404
0x8111c33f8f4dc47739e2f5b97f8ef3b08afdd845b6ee80680ab4d7cda784590f
0xf65444546fcfc90a6fdcfdf32dce604dd9ee2c572245a2e8a605872f9ccacacd
0x5281a8ed5f5dc03acc7d23e09c99d5b8c76e6d0fff517c969d14e6207868a4b6
0xb9f77f3ad6d4de3bea06ba97c2e41d3698c295cac8b101949e2f298654350cbb
0x2415c5e732b4bcab4035888f5fe645470102ac170c7951c6744e4150cb5801d5
0xf6cd26f6d6da8cc0d40e687b75a0bff8b9c456d3c6345e1ae1e6ae92907f104e
0x0f069b23c89348efaaf611c3df968b8cb89eece25253f50db76cc3db67c9146e

Functions
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(bytes32view returns (bool)
dhptFromLiquidity(address poolAddressaddress fromAddressview returns (uint256)
dhptWhitelist(addressview returns (uint256)
getLastFeeMintPrice(address poolAddressview returns (uint256)
maxDhptToSell(address poolAddressview returns (uint256)
maxSusdToSell(address poolAddressview returns (uint256)
stableCoins(addressview returns (uint8)
tokenBalanceOf(address tokenAddressview returns (uint256)
tokenPriceWithSettle(address poolAddressview returns (uint256)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
buyDHPT(address poolAddressaddress stableCoinuint256 stableCoinAmount
enableBuySell(bool _enableBuybool _enableSellbool _enableOracleBuybool _enableOracleSell
enableLiquidity(address[] poolAddressesbool[] enabled
initialize(address _addressResolveraddress _factoryaddress _oracle
oracleBuyDHPT(address poolAddressaddress stableCoinuint256 stableCoinAmountuint256 blockNumberuint256 poolPricebytes signature
oracleBuyDHPTFrom(address poolAddressaddress fromAddressuint256 susdAmountuint256 blockNumberuint256 poolPricebytes signature
oracleSellDHPT(address poolAddressaddress stableCoinuint256 dhptAmountuint256 blockNumberuint256 poolPricebytes signature
oracleSwapDHPT(address poolAddressAuint256 poolAmountAuint256 poolPriceAaddress poolAddressBuint256 poolPriceBuint256 blockNumberbytes signature
renounceOwnership(
sellDHPT(address poolAddressuint256 dhptAmountaddress stableCoin
setAddressResolver(address _addressResolver
setDao(address _dao
setFactory(address _factory
setOracle(address _oracle
setOracleBlockBias(uint8 _oracleBlockBias
setStableCoin(address stableCoinuint8 tokenPrecision
swapDHPT(address poolAddressAuint256 poolAmountAaddress poolAddressB
transferOwnership(address newOwner
whitelistDhpt(address[] addressesuint256[] amounts
withdrawToken(address tokenAddressuint256 amount
withdrawTokenTo(address tokenAddressuint256 amountaddress toAddress
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
BuyDHPT(address fundAddressaddress investoruint256 susdAmountuint256 dhptAmountuint256 tokenPriceuint256 timebool oracleSwap
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SellDHPT(address fundAddressaddress investoruint256 susdAmountuint256 dhptAmountuint256 tokenPriceuint256 timebool oracleSwap
SwapDHPT(address fundAddressAuint256 tokenPriceAuint256 amountAaddress fundAddressBuint256 tokenPriceBuint256 amountBaddress investoruint256 timebool oracleSwap
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.