This contract is being backfilled. You may encounter incomplete storage history.

ArbitrageV3

Verified contract

Active on Ethereum with 372 txns
Deployed by via 0x2d88f710 at 19661578
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $115.12
0x9a71d3c12d90f5ea8a79aef257b6616e427d96f3d4108502b3f2b11eb7de589c
0xfab1577d0edeaf067c4202616857e31d549c8c39bd4a272c9d24d6ae987844fb
0x1ceff8b3f829266fff32f0f8cc1a36a4c66123c074853dcadabef3855dc6ad6c
0xcdd0eb2a02bd814f4f112e5742671519faae4b24eb43d34972ff367a5dd61b69
0xf64d8bc1d092622c1131d174508302e9cf945eda4e5bcd3cc60af5cad278fc09
0xd09f9991a9e8e98563fcb410e72670b022f0e0394d7d4909c4f9e7387c3f33d2
0x6d23b65c839cfad2dc6f2ae5b230db92b15adba44614135ea54760b46fc563f0
0x6fcb571ab27ba78d2cbe19f63a705ea1c2191e60d4727498bb89f0152f01a325
0xd8fd883cad4b355738a55328ba845e6db6e899c1ab7ee386de6056407512da6c
0xb42bab68516277b50c404a6dacb18353c8abf3d6a0c79119bb76c1503994c9a8

Functions
Getter at block 20796196
BASE_PRICE(view returns (uint256)
100000000
CHI(view returns (address)
0x3b21418081528845a6df4e970bd2185545b712ba
EQ_PRICE_DELTA(view returns (uint256)
1000
F(view returns (uint256)
997000000000000000
MAX_FEE(view returns (uint256)
10000
MAX_PRICE_TOLERANCE(view returns (uint16)
10000
POOL_FEE(view returns (uint256)
30
STETH(view returns (address)
0xae7ab96520de3a18e5e111b5eaab095312d7fe84
USC(view returns (address)
0x38547d918b9645f2d94336b6b61aeb08053e142c
USC_TARGET_PRICE(view returns (uint256)
100000000
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
 
_getReservesData(view returns (bool isExcessOfReservesuint256 reserveDiffuint256 reserveValue)
burnPaused(view returns (bool)
false
chiPriceTolerance(view returns (uint16)
4000
 
getArbitrageData(view returns (bool isPriceAboveTargetbool isExcessOfReservesuint256 reserveDiffuint256 discount)
maxMintBurnPriceDiff(view returns (uint256)
5000000
maxMintBurnReserveTolerance(view returns (uint16)
50
mintBurnFee(view returns (uint256)
30
mintPaused(view returns (bool)
false
owner(view returns (address)
0xcdb8d92fa641106fdaee3ccc6b53a029edb9c458
poolFactory(view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
priceFeedAggregator(view returns (address)
0xb3a36232ecc1da6c8d0d3f417e00406566933bd0
priceTolerance(view returns (uint16)
2000
reserveHolder(view returns (address)
0x037528457cf5b0b9dab641fd7f0ce8fc9690318d
rewardController(view returns (address)
0xb9e08d13d2694b561a5033aca07ba7dea49d0258
swapRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
_calculateDelta(uint256 reserveInuint256 priceInuint256 reserveOutuint256 priceOutpure returns (uint256)
_calculateDeltaETH(uint256 ethPriceview returns (uint256)
_calculateDeltaUSC(uint256 ethPriceview returns (uint256)
isArbitrager(addressview returns (bool)
isPrivileged(addressview returns (bool)
State-modifying
burn(uint256 amountreturns (uint256)
claimRewards(address[] tokens
executeArbitrage(uint256 maxChiSpotPricereturns (uint256)
mint(payable returns (uint256)
mintWithStETH(uint256 stETHAmountreturns (uint256)
mintWithWETH(uint256 wethAmountreturns (uint256)
renounceOwnership(
setBurnPause(bool isPaused
setChiPriceTolerance(uint16 _chiPriceTolerance
setMaxMintBurnPriceDiff(uint256 _maxMintBurnPriceDiff
setMaxMintBurnReserveTolerance(uint16 _maxMintBurnReserveTolerance
setMintBurnFee(uint16 _mintBurnFee
setMintPause(bool isPaused
setPriceTolerance(uint16 _priceTolerance
transferOwnership(address newOwner
updateArbitrager(address arbitragerbool status
updatePrivileged(address accountbool status
Events
Burn(address accountuint256 amountuint256 ethAmount
ExecuteArbitrage(address indexed accountuint256 indexed arbNumuint256 deltaUsduint256 reserveDiffuint256 ethPriceuint256 rewardValue
Mint(address indexed accountaddress tokenuint256 amountuint256 uscAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetChiPriceTolerance(uint16 chiPriceTolerance
SetMaxMintBurnPriceDiff(uint256 maxMintBurnPriceDiff
SetMaxMintBurnReserveTolerance(uint16 maxBurnReserveTolerance
SetMintBurnFee(uint256 mintFee
SetPriceTolerance(uint16 priceTolerance
UpdateArbitrager(address indexed accountbool status
UpdatePrivileged(address indexed privilegedbool isPrivileged
Constructor
constructor(address _USCaddress _CHIaddress _rewardControlleraddress _priceFeedAggregatoraddress _reserveHolder
Fallback and receive
receive(
Errors
ChiPriceNotPegged(uint256 spotPriceuint256 twapPrice
ChiSpotPriceTooBig(
ContractIsPaused(
DeltaBiggerThanAmountReceivedETH(uint256 deltaETHuint256 receivedETH
FeeTooBig(uint256 fee
NotArbitrager(address account
PriceIsNotPegged(
PriceSlippageTooBig(
ReserveDiffTooBig(
ToleranceTooBig(uint16 _tolerance