XToken 2

Verified contract

Active on Ethereum with 373 txns
Deployed by via 0x39be7194 at 11040227
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $25,717.52
ERC-20
Value $0.28
0x56d6c3b20d29e30bc23cb660826e65bea1b12f088cccca42b388305e8a8ef922
0x73434a195c09b92f58171b5abcca522e0d9d1f688326368ac3567ff8b8c69ed5
0xe8c89796a1c293d8017e172bd04b34e69df73af3ff53451ee32b48fdc3f9b214
0xa6ce686bb581c133429f26a1ab550a7e1673a9b97b60d65b7ddfc9b5825b492f
0x26aa299117a1fdb6891e85a37fb4518b5035266cd29a5d9d8b0fa8c9dc8b9c29
0xbf056fedeec1e491f4f777b863ef501d26d7249bef0ae47d609df7c00408e575
0x3fbda38bb8fbad7ccb739b31233cecbdfbfb8b7882ad463a2c998b05c1dd64f1
0x993b9586f3ff8269af95220f3029704aa1e9387b1e93e4cd62820faa99e4ca6e
0xb415f4419abb452615f5be5682178cd969e7917cb1165b331d2e933f3dfdba73
0x1b829af14b6c1b3e3e15d4eceb6c1af31247df8747ea30c7af1a51a31f122c07

Functions
Getter at block 21065297
DOMAIN_SEPARATOR(view returns (bytes32)
0x0189485f5aa53b91d84a3bd31f7ab6a5e5bb84386a5ffcc155124eca07b3f22a
K_BASE(view returns (uint256)
100000000
MINIMUM_LIQUIDITY(view returns (uint256)
1000000000
NAVPS_BASE(view returns (uint256)
1000000000000000000
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
THETA_BASE(view returns (uint256)
100000000
decimals(view returns (uint8)
18
factory(view returns (address)
0x66c64ecc3a6014733325a8f2ebee46b4ca3ed550
getReserves(view returns (uint112 _reserve0uint112 _reserve1)
(_reserve0=10240270402633589698, _reserve1=56293105931532)
name(view returns (string)
XToken 2
nameForDomain(view returns (string)
CoFiX Pool Token
symbol(view returns (string)
XT-2
token0(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
token1(view returns (address)
0x0316eb71485b0ab14103307bf65a021042c6d380
totalSupply(view returns (uint256)
41834015801886970582
Read-only
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
calcInNeededToken0(uint256 amountOutstruct ICoFiXPairOraclePrice _oppure returns (uint256 amountInNeededuint256 fee)
calcInNeededToken1(uint256 amountOutstruct ICoFiXPairOraclePrice _oppure returns (uint256 amountInNeededuint256 fee)
calcLiquidity(uint256 amount0uint256 amount1uint256 navpsstruct ICoFiXPairOraclePrice _oppure returns (uint256 liquidity)
calcNAVPerShare(uint256 balance0uint256 balance1uint256 ethAmountuint256 erc20Amountview returns (uint256 navps)
calcNAVPerShareForBurn(uint256 balance0uint256 balance1struct ICoFiXPairOraclePrice _opview returns (uint256 navps)
calcNAVPerShareForMint(uint256 balance0uint256 balance1struct ICoFiXPairOraclePrice _opview returns (uint256 navps)
calcOutToken0(uint256 amountInstruct ICoFiXPairOraclePrice _oppure returns (uint256 amountOutuint256 fee)
calcOutToken0ForBurn(uint256 liquiditystruct ICoFiXPairOraclePrice _opview returns (uint256 amountOutuint256 fee)
calcOutToken1(uint256 amountInstruct ICoFiXPairOraclePrice _oppure returns (uint256 amountOutuint256 fee)
calcOutToken1ForBurn(uint256 liquiditystruct ICoFiXPairOraclePrice _opview returns (uint256 amountOutuint256 fee)
getLiquidity(uint256 amount0uint256 amount1struct ICoFiXPairOraclePrice _opview returns (uint256 liquidity)
getNAVPerShare(uint256 ethAmountuint256 erc20Amountview returns (uint256 navps)
getNAVPerShareForBurn(struct ICoFiXPairOraclePrice _opview returns (uint256 navps)
getNAVPerShareForMint(struct ICoFiXPairOraclePrice _opview returns (uint256 navps)
nonces(addressview returns (uint256)
State-modifying
approve(address spenderuint256 valuereturns (bool)
burn(address outTokenaddress topayable returns (uint256 amountOutuint256 oracleFeeChange)
initialize(address _token0address _token1string _namestring _symbol
mint(address topayable returns (uint256 liquidityuint256 oracleFeeChange)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
skim(address to
swapForExact(address outTokenuint256 amountOutExactaddress topayable returns (uint256 amountInuint256 amountOutuint256 oracleFeeChangeuint256[4] tradeInfo)
swapWithExact(address outTokenaddress topayable returns (uint256 amountInuint256 amountOutuint256 oracleFeeChangeuint256[4] tradeInfo)
sync(
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed senderaddress outTokenuint256 outAmountaddress indexed to
Mint(address indexed senderuint256 amount0uint256 amount1
Swap(address indexed senderuint256 amountInuint256 amountOutaddress outTokenaddress indexed to
Sync(uint112 reserve0uint112 reserve1
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(
Fallback and receive
receive(
Errors

This contract contains no error objects.