Frax

Verified contract

Active on Ethereum with 117,648 txns
Deployed by via 0x1c339673 at 11465581
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables
ERC-20
Value $39,525.92
ERC-20
Value $23,024.38
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
 (#25)
ERC-1555
--
0xf0baa2d28a432cd85ccc027efc67cb33ae0246239401fca58f44a940269afa40
0xb0b29150dec39284149d88917525a97c1c9cbe9112216993369cb36fe1d7a42e
0xb851e63a1a4c1ab7d78d3c9f247e2621ada2ecd73eaac0bf23445a4377e22d79
0x127cf759c936c7ceb0dd2366875c69e1678425146bc203d53053614a2b5967cb
0x7098ef42ce7437e453534b4de7b013411ca80198fd1c2a75af97b180047131af
0x73dbbe0d04685bc4a6d93b1703d9d257a72b38321b678767a0df198b3531df12
0xaab459a47d2d1865981e31f5e087c127509bf8ee898dfc12538c76c1e70c475d
0x406dc8584737c04b634f8b57e48e29771ea0b9d27bb8d8daf4bd5b119e1e1446
0xa7ef4ce12c29c40c9b6dac09ca8c77044d696cd11443bf7039c3b08aaaf7528f
0x08541e2b99f53fab81ee9d8e874f08220d9d24c56249fd55fe3ac15718950f85

Functions
Getter at block 21157580
COLLATERAL_RATIO_PAUSER(view returns (bytes32)
0xb25402418ad555013210365a422f9f1206b2dd00719998db06f8a1fbe014641b
DEFAULT_ADMIN_ADDRESS(view returns (address)
0xa448833bece66fd8803ac0c390936c79b5fd6edf
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
collateral_ratio_paused(view returns (bool)
true
controller_address(view returns (address)
0x0000000000000000000000000000000000000000
creator_address(view returns (address)
0x234d953a9404bf9dbc3b526271d440cd2870bcd2
decimals(view returns (uint8)
18
eth_usd_consumer_address(view returns (address)
0xba6c6eac41a24f9d39032513f66d738b3559f15a
eth_usd_price(view returns (uint256)
3200438834
frax_eth_oracle_address(view returns (address)
0x2a6ddd9401b14d0443d0738b8a78fd5b99829a80
 
frax_info(view returns (uint256uint256uint256uint256uint256uint256uint256uint256)
 
frax_price(view returns (uint256)
frax_step(view returns (uint256)
2500
fxs_address(view returns (address)
0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0
fxs_eth_oracle_address(view returns (address)
0x3b11da52030420c663d263ad4415a8a02e5f8cf8
 
fxs_price(view returns (uint256)
genesis_supply(view returns (uint256)
2000000000000000000000000
 
globalCollateralValue(view returns (uint256)
global_collateral_ratio(view returns (uint256)
945000
last_call_time(view returns (uint256)
1687208423
minting_fee(view returns (uint256)
9500
name(view returns (string)
Frax
owner_address(view returns (address)
0xb1748c79709f4ba2dd82834b8c82d4a505003f27
price_band(view returns (uint256)
10000
price_target(view returns (uint256)
980000
redemption_fee(view returns (uint256)
4500
refresh_cooldown(view returns (uint256)
3600
symbol(view returns (string)
FRAX
timelock_address(view returns (address)
0x8412ebf45bac1b340bbe8f318b928c466c4e39ca
totalSupply(view returns (uint256)
649433438165933932136527132
weth_address(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
frax_pools(addressview returns (bool)
frax_pools_array(uint256view returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
State-modifying
addPool(address pool_address
approve(address spenderuint256 amountreturns (bool)
burn(uint256 amount
burnFrom(address accountuint256 amount
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
pool_burn_from(address b_addressuint256 b_amount
pool_mint(address m_addressuint256 m_amount
refreshCollateralRatio(
removePool(address pool_address
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setController(address _controller_address
setETHUSDOracle(address _eth_usd_consumer_address
setFRAXEthOracle(address _frax_oracle_addraddress _weth_address
setFXSAddress(address _fxs_address
setFXSEthOracle(address _fxs_oracle_addraddress _weth_address
setFraxStep(uint256 _new_step
setMintingFee(uint256 min_fee
setOwner(address _owner_address
setPriceBand(uint256 _price_band
setPriceTarget(uint256 _new_price_target
setRedemptionFee(uint256 red_fee
setRefreshCooldown(uint256 _new_cooldown
setTimelock(address new_timelock
toggleCollateralRatio(
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
FRAXBurned(address indexed fromaddress indexed touint256 amount
FRAXMinted(address indexed fromaddress indexed touint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string _namestring _symboladdress _creator_addressaddress _timelock_address
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.