USEPoolDAI

Verified contract

Active on Ethereum with 1,321 txns
Deployed by via 0x008eb445 at 12265554
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
16 additional variables
ERC-20
Value $33,126.54
ERC-20
--
ERC-20
--
0x9848ad480815b2b48f81cc930b8f5db5ac9a0c91c6dcd9fb299c28f9e68e8952
0x6e4f687c38b4233f808ab5cc810284c8ac9055571535c68e6561cadf3290cdb3
0x662280e464c64ebbe45676d9bd5f9df5fda433d6e4d92229b020369b9ab051ae
0x06cacedebc2fd2ecc21245ba1241688a4b47554aebeaf3924849b46d63c9e50c
0x083adcd7b3a24442de4d9adbc2f81e0171a828b90c149b1ca82db2eb63ecf6bc
0x8f483fe7b0569f76b49197055331594532bb71de94ceda28fc1a94705aa8f915
0x14cd037540189fd8b3db5a0749f34aa11c8711340b7d2af88fa585552bcdf116
0xdd475833c2ec221b5db02c9a06ed98a947731ea5ca9f24068a9940d3308691e6
0x4d5421f9220012b8d6529ec9c0eaa36e9a5f2d97c84d9ca80846b324026753fd
0x282b6078f139bc3f8e204cf99959e67ab3e91f5874511d40f985f59b6cd0bff1

Functions
Getter at block 21293109
BUYBACK_PAUSER(view returns (bytes32)
0x103da79ff3755ff7a17a557d28b73d37cb4de0b3c3cc02fa6c48df0f35071fbf
COLLATERAL_PRICE_PAUSER(view returns (bytes32)
0xbb2c68b8dc5bccdd2536307080a7865a7e133bf54e31d4d463b1b749b4bcf26d
COLLATERAL_RATIO_MAX(view returns (uint256)
1000000
COLLATERAL_RATIO_PRECISION(view returns (uint256)
1000000
COMMUNITY_RATER(view returns (bytes32)
0x0cf4625af84657a2f717ddf46fb9102c0ddeaf058baaaae88000fb14c88c2f23
DAI_address(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINT_PAUSER(view returns (bytes32)
0xc65532185ed70b2e999433e2e9fac124e083acb13ec183a4e05944da0792337b
PRECISION(view returns (uint256)
1000000
PRICE_PRECISION(view returns (uint256)
1000000
RECOLLATERALIZE_PAUSER(view returns (bytes32)
0x8118eeb5231a5fe4008a55b62860f6a0db4f6c3ac04f8141927a9b3fedd86d2f
REDEEM_PAUSER(view returns (bytes32)
0xa84a5389ad41f9aab0831b01e5384cae76e7a7fd09131c206ff7927c201c3857
RESERVE_RATIO_PRECISION(view returns (uint256)
1000000
 
availableExcessCollatDV(view returns (uint256)
bonus_rate(view returns (uint256)
5000
buyBackPaused(view returns (bool)
true
buyback_tax(view returns (uint256)
0
collatDollarBalance(view returns (uint256)
100000
collateralPricePaused(view returns (bool)
false
collateral_address(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
collateral_token(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
community_address(view returns (address)
0x292b1cae42d10d4ef3f16944e7623e06cab9eae6
community_rate_in_share(view returns (uint256)
0
community_rate_in_use(view returns (uint256)
849409873458486080383748
community_rate_ratio(view returns (uint256)
15000
getCollateralAmount(view returns (uint256)
100000
getCollateralPrice(view returns (uint256)
1000000
global_use_supply_adj(view returns (uint256)
1000000000000000000000
mintPaused(view returns (bool)
false
 
mintingOpened(view returns (bool)
 
mintingTax(view returns (uint256)
minting_required_reserve_ratio(view returns (uint256)
0
minting_tax_base(view returns (uint256)
0
minting_tax_multiplier(view returns (uint256)
0
missing_decimals(view returns (uint256)
0
owner_address(view returns (address)
0x59d35caf82d5368de76565ce11dea3e14177459d
pausedPrice(view returns (uint256)
0
pool_ceiling(view returns (uint256)
10000000000000000000000000000
recollat_tax(view returns (uint256)
0
recollateralizePaused(view returns (bool)
true
redeemPaused(view returns (bool)
true
 
redemptionOpened(view returns (bool)
 
redemptionTax(view returns (uint256)
redemption_delay(view returns (uint256)
2
redemption_gcr_adj(view returns (uint256)
0
redemption_required_reserve_ratio(view returns (uint256)
0
redemption_tax_base(view returns (uint256)
0
redemption_tax_exponent(view returns (uint256)
0
redemption_tax_multiplier(view returns (uint256)
0
 
requiredReserveRatio(view returns (uint256)
shares_contract_address(view returns (address)
0x6f0f28ceee6ae686ee0f939375674c01b156365a
timelock_address(view returns (address)
0x292b1cae42d10d4ef3f16944e7623e06cab9eae6
unclaimedPoolCollateral(view returns (uint256)
33126536478328100000000
unclaimedPoolShares(view returns (uint256)
20104815083923825807
use_contract_address(view returns (address)
0x147e3d644d53adadd18a28201b91e2b98aeb7f94
Read-only
calcBuyBackShares(struct USEPoolAlgoBuybackShares_Params paramspure returns (uint256)
calcMint1t1USE(uint256 col_priceuint256 collateral_amount_d18pure returns (uint256)
calcMintFractionalUSE(struct USEPoolAlgoMintFU_Params paramspure returns (uint256uint256uint256)
calcMintFractionalWithCollateral(struct USEPoolAlgoMintFU_Params paramspure returns (uint256uint256uint256)
calcMintFractionalWithShare(struct USEPoolAlgoMintFU_Params paramspure returns (uint256uint256uint256)
calcRecollateralizeUSEInner(uint256 collateral_amountuint256 col_priceuint256 global_collat_valueuint256 frax_total_supplyuint256 global_collateral_ratiopure returns (uint256uint256)
calcRedeem1t1USE(uint256 col_price_usduint256 use_amountpure returns (uint256)
dynamicRedemptionTax(uint256 ratiouint256 multiplieruint256 exponentpure returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
lastRedeemed(addressview returns (uint256)
recollateralizeAmount(uint256 total_supplyuint256 global_collateral_ratiouint256 global_collat_valuepure returns (uint256)
redeemCollateralBalances(addressview returns (uint256)
redeemSharesBalances(addressview returns (uint256)
State-modifying
buyBackShares(uint256 shares_amountuint256 COLLATERAL_out_min
collectRedemption(
grantRole(bytes32 roleaddress account
mint1t1USE(uint256 collateral_amountuint256 use_out_min
mintFractionalUSE(uint256 collateral_amountuint256 shares_amountuint256 use_out_min
recollateralizeUSE(uint256 collateral_amountuint256 shares_out_min
redeem1t1USE(uint256 use_amountuint256 COLLATERAL_out_min
redeemFractionalUSE(uint256 use_amountuint256 shares_out_minuint256 COLLATERAL_out_min
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setCommunityParameters(address _community_addressuint256 _ratio
setMintingParameters(uint256 _ratioLeveluint256 _tax_baseuint256 _tax_multiplier
setOwner(address _owner_address
setPoolParameters(uint256 new_ceilinguint256 new_bonus_rateuint256 new_redemption_delayuint256 new_buyback_taxuint256 new_recollat_taxuint256 use_supply_adj
setRedemptionParameters(uint256 _ratioLeveluint256 _tax_baseuint256 _tax_multiplieruint256 _tax_exponentuint256 _redeem_gcr_adj
setTimelock(address new_timelock
toggleBuyBack(
toggleCollateralPrice(uint256 _new_price
toggleCommunityInSharesRate(uint256 _rate
toggleCommunityInUSERate(uint256 _rate
toggleMinting(
toggleRecollateralize(
toggleRedeeming(
updateOraclePrice(
Events
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
UpdateOracleBonus(address indexed userbool bonus1bool bonus2
Constructor
constructor(address _use_contract_addressaddress _shares_contract_addressaddress _collateral_addressaddress _creator_addressaddress _timelock_addressaddress _community_address
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.