Frax

Verified contract

Active on Ethereum with 118,114 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,431.48
ERC-20
Value $22,998
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
 (#25)
ERC-1555
--
0x12862ea1919bcc7192ba047794aec1a8006d1945a717359c98d3f17895fcfc13
0x17982cf330906375a7d1cd49bf2e001853611928d9ef85d06afcc48aaf2488d5
0xca854fce14b2367726a6dd4b8f928ac01c67f31e4cabbc2e3f932c7c5d264a94
0x1b59c1f93ea75b5b9b44d15158848ea29ba1c3392c3c0fa887547a6ec47f388e
0x8afa16b0e96cd33c30c17ac54e5b00b4b8198c0606da4b3bdda965770fe52817
0x0d17c9ebc5cb9889fb3cebe6b92648262939718582fe40c9adac2cdcb91f2bd5
0x81a05e8024e8abb47c52a7a5ee80eb0b8f2fa5cac66742e44fdd35c32346146e
0x929c5876dd4bdebfb3c99bab67afae2b6e4f60f9ae5e9776dd69683ade348053
0x9b8a29bfbc958cdcae1fdcd57aa45400ab434ed2e1a2641c05f2a062955b08db
0xb70a840f724d08cdf7f0050f1095cafef87aba4372d0a5d98378989c71a432ec

Functions
Getter at block 21244927
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)
3297454400
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.