DHPTSwap

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xac8a5002 at 12332334
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

No balances found for "DHPTSwap"

No transactions found for "DHPTSwap"


Functions
Getter at block 21260387
addressResolver(view returns (address)
0x0000000000000000000000000000000000000000
dao(view returns (address)
0x0000000000000000000000000000000000000000
enableBuy(view returns (bool)
false
enableOracleBuy(view returns (bool)
false
enableOracleSell(view returns (bool)
false
enableSell(view returns (bool)
false
factory(view returns (address)
0x0000000000000000000000000000000000000000
oracle(view returns (address)
0x0000000000000000000000000000000000000000
oracleBlockBias(view returns (uint8)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
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
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
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

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.