X2ETHMarket

Verified contract

Active on Ethereum with 482 txns
Deployed by via 0xea1412fd at 11594618
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $12,964.58
0x27eb7f1f20ec75bca2f7b950a9524636883b032bb9be07940845494d74d83fe9
0x7b13853ea4d3513aab086ef536c32c9f78a070342b0fae167b9ef8b9de90b144
0x90396bf2e2386dea3da937e08ef3288f94478598e3c156a8fc4496de76f830cb
0x253643af4175dcd12b1a80a24bed51d0819662a1ce2a0a2bf59d1e258e10dc04
0x75bc1660f870dd90a112736ef313bd96c9087c11b12da169a77be7bddd2c4137
0x8727708a6873f86763365ba588548ebefb979446b297f5174d0a02b30abfa7ce
0x2b10d4c7090f480c5a570cb50a8e9d7f378879d20d508775c712f03a4e9d3a03
0x09d06252167c3048a08cceba6142c5dc08ecb4599a9010d3bedfbc6f5ac89f50
0x186ace25b2f6ea87878714c274c730d89829cdf5ae59962e98661ff2b034d2af
0x138ff471b838281ec156e01934268aa74b6e12b38b69546169726632e71bf4f5

Functions
Getter at block 21291125
BASIS_POINTS_DIVISOR(view returns (uint256)
10000
FUNDING_POINTS_DIVISOR(view returns (uint256)
100000
INITIAL_REBASE_DIVISOR(view returns (uint64)
10000000000
MAX_DIVISOR(view returns (uint256)
18446744073709551615
MAX_FUNDING_POINTS(view returns (uint256)
100
MAX_PRICE(view returns (int256)
95780971304118053647396689196894323976171195136475135
MIN_FUNDING_INTERVAL(view returns (uint256)
1800
bearToken(view returns (address)
0x24afec6b30883e7ad6fbfe0c73f020a94fb6319b
bullToken(view returns (address)
0x768ca31d89ee8f3cffcb8b73f217cc2ca052c068
cachedBearDivisor(view returns (uint64)
911755855339
cachedBullDivisor(view returns (uint64)
6075178571
chi(view returns (address)
0x0000000000000000000000000000000000000000
factory(view returns (address)
0x8087a341d32d445d9ac8acc9c14f5781e04a26d2
feeReserve(view returns (uint256)
187714867245171351
fundingInterval(view returns (uint256)
0
fundingPoints(view returns (uint256)
0
interestReserve(view returns (uint256)
1125607487830390187
isInitialized(view returns (bool)
true
lastFundingTime(view returns (uint256)
0
lastPrice(view returns (uint176)
232512856130
lastRound(view returns (uint80)
92233720368547761366
latestPrice(view returns (uint256)
356871700000
latestRound(view returns (uint80)
129127208515966864358
maxProfitBasisPoints(view returns (uint256)
9000
multiplierBasisPoints(view returns (uint256)
30000
previousBearDivisor(view returns (uint64)
903388804802
previousBullDivisor(view returns (uint64)
6076452518
priceFeed(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
Read-only
getDivisor(address _tokenview returns (uint256)
getDivisors(uint256 _lastPriceuint256 _nextPriceview returns (uint256uint256)
getRoundPrice(uint80 roundview returns (booluint256)
State-modifying
buy(address _tokenaddress _receiverpayable returns (uint256)
buyUsingChi(address _tokenaddress _receiverpayable returns (uint256)
distributeFees(returns (uint256)
distributeInterest(returns (uint256)
initialize(address _factoryaddress _priceFeeduint256 _multiplierBasisPointsuint256 _maxProfitBasisPoints
rebase(returns (bool)
sell(address _tokenuint256 _amountaddress _receiverreturns (uint256)
sellAll(address _tokenaddress _receiverreturns (uint256)
sellAllUsingChi(address _tokenaddress _receiverreturns (uint256)
sellUsingChi(address _tokenuint256 _amountaddress _receiverreturns (uint256)
sellWithoutDistribution(address _tokenuint256 _amountaddress _receiverreturns (uint256)
setBearToken(address _bearToken
setBullToken(address _bullToken
setChi(address _chi
setFunding(uint256 _fundingPointsuint256 _fundingInterval
Events
DistributeFees(address feeReceiveruint256 amount
DistributeInterest(address feeReceiveruint256 amount
Rebase(uint256 priceuint64 bullDivisoruint64 bearDivisor
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.