TWAMM_AMO

Verified contract

Active on Ethereum with 2 txns
Deployed by via 0x9e65970b at 15386975
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $2,303,397.1
ERC-20
Value $181,938.47
ERC-20
Value $0
ERC-20
--
0x566489da91f66b2343f8f5c232452cf0347f24a60ca945d22423944dd6e77660
From
0x892d5df532f33d98557151a644db0d7a80df1953599d9e4eb88b4a4d9681dd54
From

Functions
Getter at block 21053089
FRAX(view returns (address)
0x853d955acef822db058eb8505911ed77f175b99e
FXS(view returns (address)
0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0
PRICE_PRECISION(view returns (uint256)
1000000000000000000
amo_minter(view returns (address)
0xcf37b62109b537fa0cb9a90af4ca72f6fb85e241
chainlink_frax_usd_decimals(view returns (uint256)
8
chainlink_fxs_usd_decimals(view returns (uint256)
8
dollarBalances(view returns (uint256 frax_val_e18uint256 collat_val_e18)
(frax_val_e18=2310284053999445726342448, collat_val_e18=2183218431029476211393613)
frax_is_token0(view returns (bool)
false
fraxswap_pair(view returns (address)
0x03b59bd1c8b9f6c265ba0c3421923b93f15036fa
getFRAXPriceE18(view returns (uint256)
996541910000000000
getFXSPriceE18(view returns (uint256)
1859561150000000000
max_swap_frax_amt_in(view returns (uint256)
10000000000000000000000000
max_swap_fxs_amt_in(view returns (uint256)
10000000000000000000000000
msig_address(view returns (address)
0xb1748c79709f4ba2dd82834b8c82d4a505003f27
nominatedOwner(view returns (address)
0x0000000000000000000000000000000000000000
num_twamm_intervals(view returns (uint256)
168
owner(view returns (address)
0xb1748c79709f4ba2dd82834b8c82d4a505003f27
priceFeedFRAXUSD(view returns (address)
0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd
priceFeedFXSUSD(view returns (address)
0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f
swap_period(view returns (uint256)
604800
timelock_address(view returns (address)
0x8412ebf45bac1b340bbe8f318b928c466c4e39ca
yield_distributor(view returns (address)
0xc6764e58b36e26b08fd1d2aed4538c02171fa872
Read-only

This contract contains no read-only function objects.

State-modifying
acceptOwnership(
burnAndOrGive(uint8 token_choiceuint256 burn_amountuint256 give_amount_yield_distuint256 give_amount_msig
burnFRAX(uint256 frax_amount
burnFXS(uint256 fxs_amount
cancelTWAMMOrder(uint256 order_id
collectCurrTWAMMProceeds(uint256 order_id
nominateNewOwner(address _owner
recoverERC20(address tokenAddressuint256 tokenAmount
setMiscAddresses(address _new_msig_addressaddress _new_yield_distributor_address
setOracles(address _frax_oracleaddress _fxs_oracle
setTWAMMAndSwapPeriod(address _twamm_addruint256 _swap_period
setTWAMMMaxSwapIn(uint256 _max_swap_frax_amt_inuint256 _max_swap_fxs_amt_in
setTimelock(address _new_timelock_address
twammSwap(uint256 frax_sell_amtuint256 fxs_sell_amountuint256 override_intervalsreturns (uint256 frax_to_useuint256 fxs_to_useuint256 new_order_id)
Events
FRAXBurned(uint256 frax_amount
FXSBurned(uint256 fxs_amount
OwnerChanged(address oldOwneraddress newOwner
OwnerNominated(address newOwner
RecoveredERC20(address tokenuint256 amount
SwapCancelled(uint256 order_id
SwapInitiated(uint256 order_iduint256 frax_amtuint256 fxs_amtuint256 timestamp
SwapProceedsCollected(uint256 order_idaddress reward_tknuint256 ttl_reward
burnAndOrGiven(uint8 token_choiceuint256 burn_amountuint256 give_amount_yield_distuint256 give_amount_msig
Constructor
constructor(address _creator_addressaddress _timelock_addressaddress[8] _address_pack
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.