GoatTradingV1: Wrapped Ether/Disappointed Ernie

Verified contract

Active on Base with 6 txns
Deployed by via 0xb8920ca0 at 14195253
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 $5,058.44
ERC-20
Value $0.06
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x82f06822bd7c5d84f1a630e9a8f4f117f5326cce60b9bc2957e85fc45e3bcd3a
0xb7cf42a4b90666f29f00e97d55b9037be9949d2e6e3740ae0fd03658dbae8b93
0x283b8164c6edc2cb2d78377ed700d5f10f859d807a49f58b79e291f063d6ee7e
0xcc949aa333d0ad7302f383badb15e2b6a9cbd89a74f19833562d16b072ace63a
0xdea595209cb2da386e23f5a65ae163242e2dc9c66ccc9c73da33f4c078486104
0x1309e052ad15df0ddb9052e9383a0735cd7a6af3f8519076ae98f158be7f0557

Functions
Getter at block 21855515
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)
10187889573960
getFeesPerTokenStored(view returns (uint256)
10187889573960
getInitialLPInfo(view returns (struct GoatTypesInitialLPInfo)
(0xfa760444a229e78a50ca9b3779f4ce4cce10e170, 0, 10033068466637207660523, 1729041627, 3)
getPendingLiquidityFees(view returns (uint112)
2899354379731626
getPendingProtocolFees(view returns (uint72)
42774528253501544
getReserves(view returns (uint112 reserveEthuint112 reserveToken)
(reserveEth=1972898277511034580, reserveToken=459203688316364284737380008)
getStateInfoAmm(view returns (uint112uint112)
(1972898277511034580, 459203688316364284737380008)
getStateInfoForPresale(view returns (uint112 reserveEthuint112 reserveTokenuint112 virtualEthuint112 initialTokenMatchuint112 bootstrapEthuint256 virtualToken)
(reserveEth=1972898277511034580, reserveToken=459203688316364284737380008, virtualEth=10000000000000000000, initialTokenMatch=1439999998560000000000000000, bootstrapEth=5000000000000000000, virtualToken=639999999360000000000000000)
name(view returns (string)
GoatTradingV1: Wrapped Ether/Disappointed Ernie
symbol(view returns (string)
GoatV1-Wrapped Ether-Disappointed Ernie
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0xc952e63602c619a7afbd4e48efbdeb32c4e2f5b2
totalSupply(view returns (uint256)
30099205399911622982569
vestingUntil(view returns (uint32 vestingUntil_)
1725470867
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(