ArbitrageV2

Verified contract

Active on Ethereum with 164 txns
Deployed by via 0x3b75995d at 19555888
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $30.65
ERC-20
Value $27.36
0xee0af88884e58784a0b5c0017be497a44737c03573a31eeab9fc9a2257427e9c
0x149469ec3eca68023e1dc5ea8a4f9becb234435afdf8125b50b4f4bea8c4be21
0x5380aa2c6ba274f04d7aa723f100e7af77b70be7bbb06c37f339a87cc5724da6
0xf4d5d1b321c4c8e6220c35f5e01ee9795043417cd20b7d7e9bf1b5a0d9eca29c
0x5a16ff5671f05dc0147a8df339fc2ba8c83b84df8d52086dfbc376e0b41c1f2b
0xa48cbce016aa2de278f0bd10cb3600c836571a5ba06fa54a5ce379b5d2f627ae
0x84423094ff9bcafbf772bffba26c1b0b653c17c93488508395917a95dcbf7b21
0xc4a0eedcb77ef3bf6b21ca3cd288247743923c686970b6757ee32cdc64d5fada
0x67bb8c215fe570ec9fbb7fbf9a9fa36b45bc8ea91ba36d15ee2734567aef7445
0x953e4b735d709823e41486c39129bc8947738ee0bccc50c9e4caab4e1c251ecc

Functions
Getter at block 21218733
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)
 
getArbitrageData(view returns (bool isPriceAboveTargetbool isExcessOfReservesuint256 reserveDiffuint256 discount)
maxMintPriceDiff(view returns (uint256)
7000000
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)
State-modifying
claimRewards(address[] tokens
executeArbitrage(returns (uint256)
mint(payable returns (uint256)
mintWithStETH(uint256 stETHAmountreturns (uint256)
mintWithWETH(uint256 wethAmountreturns (uint256)
renounceOwnership(
setMaxMintPriceDiff(uint256 _maxMintPriceDiff
setPriceTolerance(uint16 _priceTolerance
transferOwnership(address newOwner
updateArbitrager(address arbitragerbool status
Events
ExecuteArbitrage(address indexed accountuint256 indexed arbNumuint256 deltaUsduint256 reserveDiffuint256 ethPriceuint256 rewardValue
Mint(address indexed accountaddress tokenuint256 amountuint256 uscAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetMaxMintPriceDiff(uint256 maxMintPriceDiff
SetPriceTolerance(uint16 priceTolerance
UpdateArbitrager(address indexed accountbool status
Constructor
constructor(address _USCaddress _CHIaddress _rewardControlleraddress _priceFeedAggregatoraddress _reserveHolder
Fallback and receive
receive(
Errors
DeltaBiggerThanAmountReceivedETH(uint256 deltaETHuint256 receivedETH
NotArbitrager(address account
PriceSlippageTooBig(
ToleranceTooBig(uint16 _tolerance