Sun On Base

Unverified contract

Proxy

Active on Base with 6 txns
Deployed by via 0x8f1e724d at 22425334
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
0x51a0e716032039b8c888e9a95559a6e095b39c1ce6cb35366c53f9e6d534b021
0x1e2ea480ffece458e065b02f096d941d5b6ddcbb7a4f93515a3797d08c35d960
0xb44f4c7ca3aecbe81b4bbaab006edd7c90c26e0f6c062d3fbb611d16eb7f3e3e
0xe8daf1342ff4a6b5a6a9483ac7bb8c2c50816bd7d5c29578e687dc683b12e482
0x3d4aab70092e20a19e7999c909c247cf6d0bec93d0b2a6eaf19069c3d9c7b621
0x436f3453439f8b57c22026cbb536fc05ca67125c278bbe3aae2ba54145528c31

Functions
Getter at block 22732657
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)
0
decimals(view returns (uint8)
18
marketType(view returns (uint8)
0
name(view returns (string)
Sun On Base
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
platformReferrer(view returns (address)
0xc204af95b0307162118f7bc36a91c9717490ab69
poolAddress(view returns (address)
0x59a33796d7493b960bb5b9901c4bf1a49cf51d57
protocolFeeRecipient(view returns (address)
0xc1f98958fd29e9f2a5a4a01e9330263944c9b6d2
protocolRewards(view returns (address)
0x7777777f279eba3d3ad8f4e708545291a6fdba8b
state(view returns (struct IWowMarketState)
(0, 0xf2e3420439deac4c754a7156c5f9890f0a5ba3b6)
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
symbol(view returns (string)
SOB
tokenCreator(view returns (address)
0x7a5f2707ea891ffaa284e8129973bc26e048bb36
tokenURI(view returns (string)
ipfs://bafybeieidl4crrxnusstrtbyya345th5vzlcnaeuisxxxfudxuzszd7vhu
totalSupply(view returns (uint256)
1916623513921106761
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(