XToken 1
Verified contract
Active on
Ethereum with 1,465 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($3,848.41)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 1.066785 | $3,607.18 |
$3,848.09 | |
USDT | ERC-20 | 0.322692 | $1.00 |
$0.32 | |
RAMP | ERC-20 | 200 | -- | -- | |
RUSD | ERC-20 | 10 | -- | -- | |
YBULL | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21256926 | 9 days ago | | | 0 | 0.00017948996 | |
| 21256926 | 9 days ago | | | 0 | 0.00019010236 | |
| 20842308 | 2 months ago | | | 0 | 0.00043192713 | |
| 20842307 | 2 months ago | | | 0 | 0.00046798431 | |
| 20381865 | 4 months ago | | | 0 | 0.000087907860 | |
| 19597013 | 8 months ago | | | 0 | 0.00042873925 | |
| 19596937 | 8 months ago | | | 0 | 0.00044351970 | |
| 17016802 | 2 years ago | | | 0 | 0.00050182057 | |
| 17016801 | 2 years ago | | | 0 | 0.00046767214 | |
| 17016757 | 2 years ago | | | 0 | 0.00048573679 |
ABI
ABI objects
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 _reserve0, uint112 _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(address, address) view returns (uint256)
balanceOf(address) view returns (uint256)
calcInNeededToken0(uint256 amountOut, struct ICoFiXPairOraclePrice _op) pure returns (uint256 amountInNeeded, uint256 fee)
calcInNeededToken1(uint256 amountOut, struct ICoFiXPairOraclePrice _op) pure returns (uint256 amountInNeeded, uint256 fee)
calcLiquidity(uint256 amount0, uint256 amount1, uint256 navps, struct ICoFiXPairOraclePrice _op) pure returns (uint256 liquidity)
calcNAVPerShare(uint256 balance0, uint256 balance1, uint256 ethAmount, uint256 erc20Amount) view returns (uint256 navps)
calcNAVPerShareForBurn(uint256 balance0, uint256 balance1, struct ICoFiXPairOraclePrice _op) view returns (uint256 navps)
calcNAVPerShareForMint(uint256 balance0, uint256 balance1, struct ICoFiXPairOraclePrice _op) view returns (uint256 navps)
calcOutToken0(uint256 amountIn, struct ICoFiXPairOraclePrice _op) pure returns (uint256 amountOut, uint256 fee)
calcOutToken0ForBurn(uint256 liquidity, struct ICoFiXPairOraclePrice _op) view returns (uint256 amountOut, uint256 fee)
calcOutToken1(uint256 amountIn, struct ICoFiXPairOraclePrice _op) pure returns (uint256 amountOut, uint256 fee)
calcOutToken1ForBurn(uint256 liquidity, struct ICoFiXPairOraclePrice _op) view returns (uint256 amountOut, uint256 fee)
getLiquidity(uint256 amount0, uint256 amount1, struct ICoFiXPairOraclePrice _op) view returns (uint256 liquidity)
getNAVPerShare(uint256 ethAmount, uint256 erc20Amount) view returns (uint256 navps)
getNAVPerShareForBurn(struct ICoFiXPairOraclePrice _op) view returns (uint256 navps)
getNAVPerShareForMint(struct ICoFiXPairOraclePrice _op) view returns (uint256 navps)
nonces(address) view returns (uint256)
State-modifying
Events approve(address spender, uint256 value) returns (bool)
burn(address outToken, address to) payable returns (uint256 amountOut, uint256 oracleFeeChange)
initialize(address _token0, address _token1, string _name, string _symbol)
mint(address to) payable returns (uint256 liquidity, uint256 oracleFeeChange)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
skim(address to)
swapForExact(address outToken, uint256 amountOutExact, address to) payable returns (uint256 amountIn, uint256 amountOut, uint256 oracleFeeChange, uint256[4] tradeInfo)
swapWithExact(address outToken, address to) payable returns (uint256 amountIn, uint256 amountOut, uint256 oracleFeeChange, uint256[4] tradeInfo)
sync()
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
Approval(address indexed owner, address indexed spender, uint256 value)
Burn(address indexed sender, address outToken, uint256 outAmount, address indexed to)
Mint(address indexed sender, uint256 amount0, uint256 amount1)
Swap(address indexed sender, uint256 amountIn, uint256 amountOut, address outToken, address indexed to)
Sync(uint112 reserve0, uint112 reserve1)
Transfer(address indexed from, address indexed to, uint256 value)
constructor()
receive()
This contract contains no error objects.