GoatTradingV1: Wrapped Ether/CakeEater

Verified contract

Active on Base with 15 txns
Deployed by via 0x95339e73 at 14195203
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $691.18
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x278a3a05636f18e4498e1e3bcf3567772c2d09b2a243b1a87687bb68931520f7
0x170f452c51ceae8a3b456754e7c49e3b71dcdafb4a8de6860fd7fca8397eb064
0xe9e7e4ac0f0b96c8e17922c83291a0ddf59640af6e384ce6c9b0cea209d667c1
0xc270e33ffd2e39207e1d10cd59090e90aaddbeef92de6323c02061a8bc788da0
0x861532034e1928e2bc0e0b0ec3a5719f0c1c901e8248743194f9322cb5a8372a
0x208ed1caf18b7964839edb287ab463b9c04e31997fa920638ae30be2b068f5bf
0xf0752f44800e50f39af95f79c269296abead7e2b9921be361b50bd12c355081a
0x6e8b199061ef84c19f28e5f66dbd5df731f3536e995421c3ef2ceeea86520961
0x6f724802e64bf9454e8e79511a14fafe81c3b9dcddc2baede5d2db62ef0a1f50
0x45d754801e1f3bbc715e19cb46851e959747ec2fd5a1c6e8fd32ea99e1b35826

Functions
Getter at block 23598710
MINIMUM_LIQUIDITY(view returns (uint256)
1000
VESTING_PERIOD(view returns (uint32)
172800
decimals(view returns (uint8)
18
factory(view returns (address)
0x991de6bdc788bb0ba5594ed7fbf9f4f52711d3f4
feesPerTokenStored(view returns (uint184)
10554706635860
getFeesPerTokenStored(view returns (uint256)
10554706635860
getInitialLPInfo(view returns (struct GoatTypesInitialLPInfo)
(0x5a92e5923541a513a6197273ba4878ee2f66fa47, 265170198679420023, 2546979092397494608129, 1731691905, 3)
getPendingLiquidityFees(view returns (uint112)
152529306052563
getPendingProtocolFees(view returns (uint72)
59956952486983681
getReserves(view returns (uint112 reserveEthuint112 reserveToken)
(reserveEth=115564036640947359, reserveToken=505208403678266447325213076)
getStateInfoAmm(view returns (uint112uint112)
(115564036640947359, 505208403678266447325213076)
getStateInfoForPresale(view returns (uint112 reserveEthuint112 reserveTokenuint112 virtualEthuint112 initialTokenMatchuint112 bootstrapEthuint256 virtualToken)
(reserveEth=115564036640947359, reserveToken=505208403678266447325213076, virtualEth=5000000000000000000, initialTokenMatch=1320000000000000000000000000, bootstrapEth=5000000000000000000, virtualToken=330000000000000000000000000)
name(view returns (string)
GoatTradingV1: Wrapped Ether/CakeEater
symbol(view returns (string)
GoatV1-Wrapped Ether-CakeEater
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0xaa688be1c8316c90f914addebb19f3868befc26f
totalSupply(view returns (uint256)
7640937277192483825390
vestingUntil(view returns (uint32 vestingUntil_)
1716127993
Read-only
allowance(address _owneraddress _spenderview returns (uint256 remaining)
balanceOf(address _ownerview returns (uint256 balance)
earned(address lpview returns (uint256)
feesPerTokenPaid(addressview returns (uint256)
getPresaleBalance(address userview returns (uint256)
lockedUntil(address userview returns (uint32)
lpFees(addressview returns (uint256)
State-modifying
approve(address _spenderuint256 _valuereturns (bool success)
burn(address toreturns (uint256 amountWethuint256 amountToken)
initialize(address tokenaddress wethstring baseNamestruct GoatTypesInitParams params
mint(address toreturns (uint256 liquidity)
swap(uint256 amountWethOutuint256 amountTokenOutaddress to
sync(
takeOverPool(struct GoatTypesInitParams initParams
transfer(address _touint256 _valuereturns (bool success)
transferFrom(address _fromaddress _touint256 _valuereturns (bool success)
withdrawExcessToken(
withdrawFees(address to
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed senderuint256 amountWethuint256 amountTokenaddress indexed to
Mint(address indexed senderuint256 amountWethuint256 amountToken
Swap(address indexed senderuint256 amountWethInuint256 amountTokenInuint256 amountWethOutuint256 amountTokenOutaddress indexed to
Sync(uint112 reserveEthuint112 reserveToken
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ActionNotAllowed(
BurnLimitExceeded(
CannotWithdrawFeesForPair(
GoatV1Forbidden(
IncorrectTakeoverInitialEth(
IncorrectTokenAmount(
IncorrectWethAmount(
InsufficientAmountOut(
InsufficientLiquidityBurned(
InsufficientOutputAmount(
InsufficientTakeoverTokenAmount(
InsufficientTokenAmount(
KInvariant(
LiquidityLocked(
MultipleOutputAmounts(
NewVirtualEthGreaterThanOld(
PresaleDeadlineActive(
PresalePeriod(
ShouldWithdrawAllBalance(
SupplyMoreThanBootstrapEth(
TransferFromInitialLpRestricted(
TransferToInitialLpRestricted(
Unauthorized(
WithdrawalCooldownActive(