XToken 1

Verified contract

Active on Ethereum with 1,465 txns
Deployed by via 0xcd2cc4bb at 11040225
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $3,848.09
ERC-20
Value $0.32
ERC-20
--
ERC-20
--
ERC-20
--
0xbc241d40eeccc9e5a131994ca8cbf1dbb67eca9e3429c3a69e01a63ac4dea5e6
0x63a168b742d78fa50aabafc08eadd18b46d1d3d51151d612748ca8da4445a9e8
0x2b151bcd8104d97b2344c8a08106f11d774b2f38d5dbd3a1b9d9332a6cca8def
0x8adbb610baf41097108d13f989c191613916f819dc5afa1cee46c1b95bbf6964
0xccba100fad266700b4e88d9bb2590605e7dc624f7cd7c36abcb4d68b0e408957
0x244e3427e79689771d26823ae434b1bcd855fe595f9b8628437b4e943eb660ea
0xf3bcb6d32f6a42812237b731df9842ae417d88dba14f58e98972bf7a76080da7
0x781c0e880ac4371cbf1e1117e8dd08a72ee4e4f527fb2b128fa4bd0531bef14c
0x5a7c1899d7bb72a799d701ad5b15aae3ca522534b47852d0c4a757b1d9e2ad86
0x94ce1a3c4bf2aead2a14e8585e8081927591e5047ca6a66bbced730447600654

Functions
Getter at block 21321878
DOMAIN_SEPARATOR(view returns (bytes32)
0x7225338e3138bcd2fad45c9854f5ffa0ae2c82ee1ba478123499e35271436e4f
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=1066785370843719605, _reserve1=322692)
name(view returns (string)
XToken 1
nameForDomain(view returns (string)
CoFiX Pool Token
symbol(view returns (string)
XT-1
token0(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
token1(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
totalSupply(view returns (uint256)
1080246676408283294040
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.