0x29751d5932cc2cfccd86fae37265a513ae9dd72d

Unverified contract

Proxy

Active on Base with 0 txns
Deployed by via 0x6115549e at 19739417
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--

No transactions found for "0x29751d5932cc2cfccd86fae37265a513ae9dd72d"


Functions
Getter at block 22944278
BASE_TOKEN_TARGET_RECEIVE_AMOUNT(view returns (uint256)
3500000000000000000
BUY_QUOTE_TYPE(view returns (uint256)
1
INITIAL_BUY_LIMIT(view returns (uint256)
300000000000000000
IsPoolEnd(view returns (bool)
true
MAX_AMOUNT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
NATIVE_TOKEN(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
POOL_END_TYPE(view returns (uint256)
1
POOL_NOT_END_TYPE(view returns (uint256)
0
QUOTE_TERMINAL_LEFT_AMOUNT(view returns (uint256)
60000000000
QUOTE_TOKEN_TOTAL_AMOUNT_FOR_REWARD(view returns (uint256)
50000000000000000
QUOTE_TOKEN_TOTAL_AMOUNT_IN_DEX(view returns (uint256)
250000000000000000
QUOTE_TOKEN_TOTAL_AMOUNT_IN_POOL(view returns (uint256)
700000000000000000
SELL_QUOTE_TYPE(view returns (uint256)
0
UNISWAP_POOL_FACTORY_(view returns (address)
0x8909dc15e40173ff4699343b6eb8132c65e18ec6
UNISWAP_ROUTER_ADDRESS(view returns (address)
0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24
WETH(view returns (address)
0x4200000000000000000000000000000000000006
X_OFFSET_AMOUNT(view returns (uint256)
1950000000000000000
Y_OFFSET_AMOUNT(view returns (uint256)
390000000000000000
baseToken(view returns (address)
0x4200000000000000000000000000000000000006
factory(view returns (address)
0xaab1eae42b747cb42a1f34443992aa05739c6ca7
getPoolFee(view returns (address)
0x6a2f0eb41c9291ec9d8f6efbc4cd91535c3f20c5
getPoolFeeRate(view returns (uint256)
100
getPoolState(view returns (addressaddressuint256uint256)
(0x4200000000000000000000000000000000000006, 0x3731e2c155171597db0201bf6a0836e8dab68911, 3500000000000000000, 98)
getTargetReceiveAmount(view returns (uint256)
3500000000000000000
isPoolEnded(view returns (bool)
true
quoteToken(view returns (address)
0x3731e2c155171597db0201bf6a0836e8dab68911
reserveX(view returns (uint256)
3500000000000000000
reserveY(view returns (uint256)
98
router(view returns (address)
0x3280d66b799209c3792eece8023fe336ef25400f
vault(view returns (address)
0x1577b3aa09a8a34cb53cc8811fc980de1a05a8bb
Read-only
getBuyPrice(uint256 amountview returns (uint256 amountYOut)
getSellPrice(uint256 amountview returns (uint256 amountXOut)
State-modifying
initialize(address _baseTokenaddress _quoteTokenaddress _routeraddress _vault
swap(uint256 amountXInuint256 amountYInuint256 amountXOutuint256 amountYOutaddress to
Events
Fees(address senderuint256 amount
PoolInit(address baseTokenaddress quoteTokenaddress factoryuint256 quoteTokenTotalAmount
PoolStateChange(uint256 oldBaseTokenReceiveuint256 newBaseTokenReceiveuint256 oldQuoteTokenSupplyuint256 newQuoteTokenSupply
Sync(uint256 reserve0uint256 reserve1
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
BaseTokenNotEnough(
FailedInnerCall(
InsufficientAmountOut(
InsufficientInputAmount(
InsufficientLiquidity(
InsufficientOutputAmount(
InsufficientPayment(
InvalidTo(
IsPaused(
K(
K2(
LaunchPoolhHasBeenInited(
MinBuyInNotReach(
OnlyRouter(
PoolIsEnd(
PoolIsNotEnd(
QuoteTokenNotEnough(
SafeERC20FailedOperation(address token
TransferAmountOutFailed(
supplyNotEnough(