FPIControllerPool

Verified contract

Active on Ethereum with 677 txns
Deployed by via 0xdf61101f at 14775617
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
10 additional variables
ERC-20
Value $7,376,376.43
ERC-20
Value $54,511.66
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x3d2edf04ae6cf3cb2bb7d6547f5f812df02f2e63f531421b018b1cd5df392d93
0xc0b0f3079bb62c5998f9e1392af87fbc7752ab4c93bbb12d3abb90a7803e3b4e
0x4f7238061e308487f20b01e1be9a5df285cc9ecacd83343cb990d7f7702f1319
0x8c65f03362c135f7e795adc828f715f23bdaaccf3139c5491f7574d81c2a9a87
0xb3d067941b78d77ca42ae81317acee5fc180dad47ed70ff3b5818e8d4797da85
0xeb477379e1c2a50de4272f13cd2e7625cda1ad20bbf7b5f7250492b06c775c7c
0x41a0abef1b169c08c1295e42fc1a31385025ccaa3a8d879cb1195c18455d8004
0xee8f635ff912e83b01e0bb42d00a76e9b6a12e0f3ec6c1e386a50ee3bbfd73eb
0x7a033f94753f0c25700c7b64680ab9b0a3100874d87ebd36807abd8dd2a1d2b2
0x0bef9551aa8976c463a06de8413ca2d0d4abeac52e42297b9fe39ee00bfc149f

Functions
Getter at block 20890688
FEE_PRECISION(view returns (uint256)
1000000
FPI_TKN(view returns (address)
0x5ca135cb8527d76e932f34b5145575f9d8cbe08e
FRAX(view returns (address)
0x853d955acef822db058eb8505911ed77f175b99e
PEG_BAND_PRECISION(view returns (uint256)
1000000
PRICE_PRECISION(view returns (uint256)
1000000000000000000
TWAMM(view returns (address)
0xd79886841026a39cff99321140b3c4d31314782b
chainlink_fpi_usd_decimals(view returns (uint256)
18
chainlink_frax_usd_decimals(view returns (uint256)
8
cpiTracker(view returns (address)
0x66b7dff2ac66dc4d6fbb3db1cb627bbb01ff3146
dollarBalances(view returns (uint256 frax_val_e18uint256 collat_val_e18)
(frax_val_e18=1000000000000000000, collat_val_e18=1000000000000000000)
fpi_mint_cap(view returns (uint256)
85000000000000000000000000
frax_borrow_cap(view returns (int256)
10000000000000000000000000
frax_borrowed_sum(view returns (int256)
0
frax_is_token0(view returns (bool)
false
 
getFPIPriceE18(view returns (uint256)
getFRAXPriceE18(view returns (uint256)
997130900000000000
last_order_id_twamm(view returns (uint256)
0
max_swap_fpi_amt_in(view returns (uint256)
10000000000000000000000000
max_swap_frax_amt_in(view returns (uint256)
10000000000000000000000000
mint_fee(view returns (uint256 fee)
3000
mint_fee_manual(view returns (uint256)
3000
mint_fee_multiplier(view returns (uint256)
1000000
mints_paused(view returns (bool)
false
nominatedOwner(view returns (address)
0x0000000000000000000000000000000000000000
num_twamm_intervals(view returns (uint256)
168
owner(view returns (address)
0x6a7efa964cf6d9ab3bc3c47ebddb853a8853c502
 
pegStatusMntRdm(view returns (uint256 cpi_peg_priceuint256 diff_frac_absbool within_range)
peg_band_mint_redeem(view returns (uint256)
50000
peg_band_twamm(view returns (uint256)
100000
pending_twamm_order(view returns (bool)
false
priceFeedFPIUSD(view returns (address)
0x59985d79e1e69f659f4ab97db07a35ce73d9174b
priceFeedFRAXUSD(view returns (address)
0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd
 
price_info(view returns (int256 collat_imbalanceuint256 cpi_peg_priceuint256 fpi_priceuint256 price_diff_frac_abs)
redeem_fee(view returns (uint256 fee)
3000
redeem_fee_manual(view returns (uint256)
3000
redeem_fee_multiplier(view returns (uint256)
1000000
redeems_paused(view returns (bool)
false
swap_period(view returns (uint256)
604800
timelock_address(view returns (address)
0x0000000000000000000000000000000000000000
use_manual_mint_fee(view returns (bool)
true
use_manual_redeem_fee(view returns (bool)
true
Read-only
amos(addressview returns (bool)
amos_array(uint256view returns (address)
calcMintFPI(uint256 frax_inuint256 min_fpi_outview returns (uint256 fpi_out)
calcRedeemFPI(uint256 fpi_inuint256 min_frax_outview returns (uint256 frax_out)
frax_borrowed_balances(addressview returns (int256)
State-modifying
acceptOwnership(
addAMO(address amo_address
burnFPI(bool burn_alluint256 fpi_amount
cancelCurrTWAMMOrder(uint256 order_id_override
collectCurrTWAMMProceeds(uint256 order_id_override
getReservesAndFPISpot(returns (uint256 reserveFRAXuint256 reserveFPIuint256 fpi_price)
giveFRAXToAMO(address destination_amouint256 frax_amount
mintFPI(uint256 frax_inuint256 min_fpi_outreturns (uint256 fpi_out)
nominateNewOwner(address _owner
receiveFRAXFromAMO(uint256 frax_amount
recoverERC20(address tokenAddressuint256 tokenAmount
redeemFPI(uint256 fpi_inuint256 min_frax_outreturns (uint256 frax_out)
removeAMO(address amo_address
setFraxBorrowCap(int256 _frax_borrow_cap
setMintCap(uint256 _fpi_mint_cap
setMintRedeemFees(bool _use_manual_mint_feeuint256 _mint_fee_manualuint256 _mint_fee_multiplierbool _use_manual_redeem_feeuint256 _redeem_fee_manualuint256 _redeem_fee_multiplier
setOracles(address _frax_oracleaddress _fpi_oracleaddress _cpi_oracle
setPegBands(uint256 _peg_band_mint_redeemuint256 _peg_band_twamm
setTWAMMAndSwapPeriod(address _twamm_addruint256 _swap_period
setTWAMMMaxSwapIn(uint256 _max_swap_frax_amt_inuint256 _max_swap_fpi_amt_in
setTimelock(address _new_timelock_address
toggleMints(
toggleRedeems(
twammManual(uint256 frax_sell_amtuint256 fpi_sell_amtuint256 override_intervalsreturns (uint256 frax_to_useuint256 fpi_to_use)
Events
AMOAdded(address amo_address
AMORemoved(address amo_address
FPIBurned(uint256 amt_burned
FPIMinted(uint256 frax_inuint256 fpi_out
FPIRedeemed(uint256 fpi_inuint256 frax_out
FRAXGivenToAMO(address destination_amouint256 frax_amount
FRAXReceivedFromAMO(address source_amouint256 frax_amount
OwnerChanged(address oldOwneraddress newOwner
OwnerNominated(address newOwner
RecoveredERC20(address tokenuint256 amount
TWAMMOrderCancelled(uint256 order_id
TWAMMProceedsCollected(uint256 order_idaddress reward_tknuint256 ttl_reward
TWAMMedToPeg(uint256 order_iduint256 frax_amtuint256 fpi_amtuint256 timestamp
Constructor
constructor(address _creator_addressaddress _timelock_addressaddress[6] _address_pack
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.