ArbitrageV3

Verified contract

Active on Ethereum with 923 txns
Deployed by via 0x5874a16e at 19710160
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0x37cd03b1bce61d63938f19227be5954d96117dd1c1ae7e676184a9463a300da1
0x398d52b0408da8cd470fcefd26948cbea37d3111622ccfb55541e34c78550630
0x1ba2408eb3e042ba40e79b77f5603a3f98d3651a2e56e0f88ec25b81132385c5
0x476aabf8055dad8dc3b52fdc9ffa4e39a5a6b15af5142e694d1990209e8b1773
0xcc7f2ac3d7990dc6b031979fd2901b1d068b58cb75c4f3ff697d2033f5edabe7
0xcf3176255190b6e7a65d8930237c5939ba586cc86538480ed628a5ccec1fbf46
0xd5516b74c99e00f36d7fd7b8cb6529500fc2092578a3976f56282e31d4230e78
0x532cc0909b59bf222c64756e9da30fbe5d573d653e6471f4de2132a24bc748ef
0x2a3783b672ee1488e464848ecd47eef177efc0dc08342a2b406669068f947e92
0x9ac54ef47e2edabad1c6c2c86677c1d0d9cb075249b41cafa0ce0bed254bed22

Functions
Getter at block 21307072
BASE_PRICE(view returns (uint256)
100000000
CHI(view returns (address)
0x3b21418081528845a6df4e970bd2185545b712ba
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
pegPriceToleranceAbs(view returns (uint256)
1000000
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
setPegPriceToleranceAbs(uint256 _priceTolerance
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