BRAT

Unverified contract

Proxy

Active on Base with 129 txns
Deployed by via 0x8a531a8b at 22624809
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $4.66
0xf919e5137c69fca4c84c02d7a0045637cf383716651260a9adfb0ab9127bb0ab
0x8fe985778ea146f7520e687063da3f274f2c6d75256abc6bea445676c3c36171
0xe08daf9c878cfb8760c675eb0eaf144f59cf6387ed718cdc65d68efedb4faf4e
0x87ea68bfedb2d1dd6f3690c5f9a17feb961305af47669a6b280954f0fcbb6b0b
0xfe0f4c70555a56804b322ee3575c4caea4367bd98ee1f992c52b7676805d652f
0x728bc91c36a9f9766a60fc07018e1106ab70ad7511846e9010ef8a2909fa02f5
0xd77a12b24f54fd6a8fde298556725f1cc9deb2b6be28c5915679b361e2ce037f
0x607633544f338682ab5ffe4f6b8d5ed8d9062e104ad630f32597207ba5f96c27
0xb9056c1bd7cc99c0b2dada00a74d11426ca762cbf8df5b9edbef792f2e060933
0xfdc4064a709025463b9cd164602eca6ea4c33b6462ca8849cc5b62cd5d4805b8

Functions
Getter at block 22764409
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)
BRAT
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
platformReferrer(view returns (address)
0xc1f98958fd29e9f2a5a4a01e9330263944c9b6d2
poolAddress(view returns (address)
0xf4c284e33bef88332e3b76737a6ded48ca3fa82f
protocolFeeRecipient(view returns (address)
0xc1f98958fd29e9f2a5a4a01e9330263944c9b6d2
protocolRewards(view returns (address)
0x7777777f279eba3d3ad8f4e708545291a6fdba8b
state(view returns (struct IWowMarketState)
(0, 0x1c95a2e6191d16892cc93cd3e6afe6d3f3de4b13)
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
symbol(view returns (string)
BRAT
tokenCreator(view returns (address)
0x58d6badf4c0772c1455711e4c3deb0a0360a4c17
tokenURI(view returns (string)
ipfs://bafybeif73wrbgtyno2vawswg3rnegowmgcvslbb5p5jvrvicagzvinluy4
totalSupply(view returns (uint256)
1322282135655585463380447
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(