Squash

Unverified contract

Proxy

Active on Base with 1,210 txns
Deployed by via 0xea3167c2 at 22091346
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
)
ERC-721
--
0x2416d57feffc295213ef4cab7bca225150ef101273a3cbd30b6239d31ac64a5f
0x38b341a303699755afdf2a78b27ab68dfd05cf33ecaa2545147d5e9a8331b830
0x67dec69136468f1f92da2f0b0c8ad6eb44774cf1dba9438949b2a2eae92eed7b
0xd9e266d47f18d9d4f99bbf6f777a7f31a19921b5f79dfef1f9d0c0781b4f3464
0x3b68d2c2fc055f9896c7d27a2121c85b915106006b9213e19a40881459594f26
0x938988acf5a82382ebf03d547021c06a9b3a2f400934d23fb5a81ef84d4217e5
0xe9a6bb3f4d2ba6b5bc7081e74caf4e409578d6a77bde4f719c677080f740f116
0xebe455d3f48e13382bf6f55be4f22847254a53bd2e1fe553e5040bb16b8ab619
0x2b9a9a28d80549e6c13412f2449b8fa92e9835970ac8464bd31c78b571d5c064
0xdf55ec59a1a8de1f50b809bcfc9568076cb10f8c30eccadac6c1d345815e9fb8

Functions
Getter at block 22924079
MAX_TOTAL_SUPPLY(view returns (uint256)
1000000000000000000000000000
MIN_ORDER_SIZE(view returns (uint256)
100000000000
ORDER_REFERRER_FEE_BPS(view returns (uint256)
1500
PLATFORM_REFERRER_FEE_BPS(view returns (uint256)
1500
PROTOCOL_FEE_BPS(view returns (uint256)
2000
TOKEN_CREATOR_FEE_BPS(view returns (uint256)
5000
TOTAL_FEE_BPS(view returns (uint256)
100
WETH(view returns (address)
0x4200000000000000000000000000000000000006
bondingCurve(view returns (address)
0x91c1863ed54809c45b53bb6090eb437036c792c4
 
currentExchangeRate(view returns (uint256)
decimals(view returns (uint8)
18
marketType(view returns (uint8)
1
name(view returns (string)
Squash
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
platformReferrer(view returns (address)
0xc1f98958fd29e9f2a5a4a01e9330263944c9b6d2
poolAddress(view returns (address)
0xecdccbd2bda4d97bbb0def8bd76b126f15122166
protocolFeeRecipient(view returns (address)
0xc1f98958fd29e9f2a5a4a01e9330263944c9b6d2
protocolRewards(view returns (address)
0x7777777f279eba3d3ad8f4e708545291a6fdba8b
state(view returns (struct IWowMarketState)
(1, 0xecdccbd2bda4d97bbb0def8bd76b126f15122166)
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
symbol(view returns (string)
SQUASH
tokenCreator(view returns (address)
0x387a161c6b25aa854100abaed39274e51aaffffd
tokenURI(view returns (string)
ipfs://bafybeieuhvdx6rnenxpq2ph4bzg7ncv6xnrr22hgzlbqq45quyzpp7apau
totalSupply(view returns (uint256)
1000000000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getEthBuyQuote(uint256 ethOrderSizeview returns (uint256)
getEthSellQuote(uint256 ethOrderSizeview returns (uint256)
getTokenBuyQuote(uint256 tokenOrderSizeview returns (uint256)
getTokenSellQuote(uint256 tokenOrderSizeview returns (uint256)
onERC721Received(addressaddressuint256bytesview returns (bytes4)
State-modifying
approve(address spenderuint256 valuereturns (bool)
burn(uint256 tokensToBurn
buy(address recipientaddress refundRecipientaddress orderReferrerstring commentuint8 expectedMarketTypeuint256 minOrderSizeuint160 sqrtPriceLimitX96payable returns (uint256)
initialize(address _tokenCreatoraddress _platformReferreraddress _bondingCurvestring _tokenURIstring _namestring _symbolpayable 
sell(uint256 tokensToSelladdress recipientaddress orderReferrerstring commentuint8 expectedMarketTypeuint256 minPayoutSizeuint160 sqrtPriceLimitX96returns (uint256)
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Initialized(uint64 version
Transfer(address indexed fromaddress indexed touint256 value
WowMarketGraduated(address indexed tokenAddressaddress indexed poolAddressuint256 totalEthLiquidityuint256 totalTokenLiquidityuint256 lpPositionIduint8 marketType
WowTokenBuy(address indexed buyeraddress indexed recipientaddress indexed orderReferreruint256 totalEthuint256 ethFeeuint256 ethSolduint256 tokensBoughtuint256 buyerTokenBalancestring commentuint256 totalSupplyuint8 marketType
WowTokenFees(address indexed tokenCreatoraddress indexed platformReferreraddress indexed orderReferreraddress protocolFeeRecipientuint256 tokenCreatorFeeuint256 platformReferrerFeeuint256 orderReferrerFeeuint256 protocolFee
WowTokenSell(address indexed selleraddress indexed recipientaddress indexed orderReferreruint256 totalEthuint256 ethFeeuint256 ethBoughtuint256 tokensSolduint256 sellerTokenBalancestring commentuint256 totalSupplyuint8 marketType
WowTokenTransfer(address indexed fromaddress indexed touint256 amountuint256 fromTokenBalanceuint256 toTokenBalanceuint256 totalSupply
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AddressZero(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
EthAmountTooSmall(
EthTransferFailed(
FailedInnerCall(
InitialOrderSizeTooLarge(
InsufficientFunds(
InsufficientLiquidity(
InvalidInitialization(
InvalidMarketType(
MarketAlreadyGraduated(
MarketNotGraduated(
NotInitializing(
OnlyPool(
OnlyWeth(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
SlippageBoundsExceeded(