FarToken
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
32
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "FarToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "FarToken"
ABI
ABI objects
Getter at block 23890149
MAX_ORDER_REFERRER_FEE_BPS() view returns (uint256)
1500
MAX_PLATFORM_REFERRER_FEE_BPS() view returns (uint256)
1500
MAX_TOTAL_SUPPLY() view returns (uint256)
1000000000000000000000000000
MIN_ORDER_SIZE() view returns (uint256)
100000000000
ORDER_REFERRER_FEE_BPS() view returns (uint256)
1000
PROTOCOL_FEE_BPS() view returns (uint256)
7500
TOKEN_CREATOR_FEE_BPS() view returns (uint256)
0
TOTAL_FEE_BPS() view returns (uint256)
100
WETH() view returns (address)
0x4200000000000000000000000000000000000006
bondingCurve() view returns (address)
0x0000000000000000000000000000000000000000
currentExchangeRate() view returns (uint256)
0
decimals() view returns (uint8)
18
marketType() view returns (uint8)
0
name() view returns (string)
nonfungiblePositionManager() view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
orderReferrerFeeBps() view returns (uint256)
0
platformReferrer() view returns (address)
0x0000000000000000000000000000000000000000
platformReferrerFeeBps() view returns (uint256)
0
poolAddress() view returns (address)
0x0000000000000000000000000000000000000000
protocolFeeRecipient() view returns (address)
0xa679568586ab40ce14b187bc1993dac1ba1372c6
protocolRewards() view returns (address)
0x47604ee7c659dcbcd5c2c5ef56588a4f5f2539b4
state() view returns (struct IFarTokenMarketState)
(0, 0x4e2d3199e96d98fe3c28511a0c9d77e8e8988349)
swapRouter() view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
symbol() view returns (string)
tokenCreator() view returns (address)
0x0000000000000000000000000000000000000000
tokenURI() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getEthBuyQuote(uint256 ethOrderSize) view returns (uint256)
getEthSellQuote(uint256 ethOrderSize) view returns (uint256)
getTokenBuyQuote(uint256 tokenOrderSize) view returns (uint256)
getTokenSellQuote(uint256 tokenOrderSize) view returns (uint256)
onERC721Received(address, address, uint256, bytes) view returns (bytes4)
State-modifying
Events approve(address spender, uint256 value) returns (bool)
burn(uint256 tokensToBurn)
buy(address recipient, address refundRecipient, address orderReferrer, string comment, uint8 expectedMarketType, uint256 minOrderSize, uint160 sqrtPriceLimitX96) payable returns (uint256)
initialize(address _tokenCreator, address _platformReferrer, address _bondingCurve, string _tokenURI, string _name, string _symbol, uint256 _platformReferrerFeeBps, uint256 _orderReferrerFeeBps) payable
sell(uint256 tokensToSell, address recipient, address orderReferrer, string comment, uint8 expectedMarketType, uint256 minPayoutSize, uint160 sqrtPriceLimitX96) returns (uint256)
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes)
Approval(address indexed owner, address indexed spender, uint256 value)
FarTokenBuy(address indexed buyer, address indexed recipient, address indexed orderReferrer, uint256 totalEth, uint256 ethFee, uint256 ethSold, uint256 tokensBought, uint256 buyerTokenBalance, string comment, uint256 totalSupply, uint8 marketType)
FarTokenFees(address indexed tokenCreator, address indexed platformReferrer, address indexed orderReferrer, address protocolFeeRecipient, uint256 tokenCreatorFee, uint256 platformReferrerFee, uint256 orderReferrerFee, uint256 protocolFee)
FarTokenMarketGraduated(address indexed tokenAddress, address indexed poolAddress, uint256 totalEthLiquidity, uint256 totalTokenLiquidity, uint256 lpPositionId, uint8 marketType)
FarTokenSell(address indexed seller, address indexed recipient, address indexed orderReferrer, uint256 totalEth, uint256 ethFee, uint256 ethBought, uint256 tokensSold, uint256 sellerTokenBalance, string comment, uint256 totalSupply, uint8 marketType)
FarTokenTransfer(address indexed from, address indexed to, uint256 amount, uint256 fromTokenBalance, uint256 toTokenBalance, uint256 totalSupply)
Initialized(uint64 version)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(address _protocolFeeRecipient, address _protocolRewards, address _weth, address _nonfungiblePositionManager, address _swapRouter)
receive()
AddressZero()
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
EthAmountTooSmall()
EthTransferFailed()
InitialOrderSizeTooLarge()
InsufficientFunds()
InsufficientLiquidity()
InvalidInitialization()
InvalidMarketType()
MarketAlreadyGraduated()
MarketNotGraduated()
NotInitializing()
OnlyPool()
OnlyWeth()
OrderReferrerFeeTooHigh()
PlatformReferrerFeeTooHigh()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)
SlippageBoundsExceeded()