Cto All Chain

Verified contract

Active on Ethereum with 46 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
2 additional variables
ERC-20
--
0xaeb9d8411d3a1de6afcdd4993364792dbfaae5875686565e6508cc1c6b290e65
0xb01eabc0eed9508f94e563dda2850103e06f80ba3db6e54fa06fea3986e2487e
0xf9e27cfa4ad8596617e750f636cae9c346ef144844fb454c63ec9fde82e029d2
0x75d2c21d22ba2b9add49aa0b8220954d54c4201856f3696ccceda9db69ecbe7a
0x859cf07e8ae27c50b559ea31ec7c2aed0973c410b99be16358daa609e7befbc5
0x3a0d04c55644588e640c327c7f81b3e9e7430bb11cc9a20d7464fcb1a1aedb0f
0x888bb94268cb2f8c9bf009285c20b7ce80f31ceebf07552eda99a255adf4c2f2
0xdc51643ea7a1cae18407fca89d55e9e62f607b0ec708c9fbee2c1f1ac89ede51
0xc47cb0854fa09280d1486eef1d13206c6bd13cad423bb324407b694946327f3a
0xa2baa15dc25e9f07ebeab2ed8394b5929d81765f31462d1e4e8bb9b2b8d26e0a

Functions
Getter at block 21245903
alpha(view returns (uint256)
2878000000
creator(view returns (address)
0xde5ab049137111b9df9b1c68ff41a050e0d06050
creatorshare(view returns (uint8)
4
decimals(view returns (uint8)
18
factory(view returns (address)
0xdd218bd2b591ce02782a1028dad9d314a5e1e7ea
feePercent(view returns (uint256)
2
feeWallet(view returns (address)
0xc07dff4c8c129aa8fa8b91cc67d74aed77e4fef1
 
getAllHistoricalData(view returns (struct EtherfunSaleHistoricalData[])
 
getAllTokenHolders(view returns (address[])
getShare(view returns (uint256)
3199830054273601
getTokenHoldersCount(view returns (uint256)
17
k(view returns (uint256)
222000000000000000
launched(view returns (bool)
true
maxContribution(view returns (uint256)
0
name(view returns (string)
Cto All Chain
saleGoal(view returns (uint256)
1500000000000000000
status(view returns (bool)
true
symbol(view returns (string)
CTO
tokensSold(view returns (uint256)
715614161881830989923558026
totalRaised(view returns (uint256)
1519000000000000000
totalSupply(view returns (uint256)
1000000000000000000000000000
totalTokens(view returns (uint256)
1000000000000000000000000000
vistaFactoryAddress(view returns (address)
0x9a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4
wethAddress(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getEthIn(uint256 tokenAmountview returns (uint256)
getTokenIn(uint256 ethAmountview returns (uint256)
historicalData(uint256view returns (uint256 timestampuint256 totalRaised)
isTokenHolder(addressview returns (bool)
tokenBalances(addressview returns (uint256)
tokenHolders(uint256view returns (address)
State-modifying
approve(address spenderuint256 valuereturns (bool)
buy(address useruint256 minTokensOutpayable returns (uint256uint256)
claimTokens(address user
launchSale(address _launchContractuint8 buyLpFeeuint8 sellLpFeeuint8 buyProtocolFeeuint8 sellProtocolFeeaddress firstBuyeraddress saleInitiator
sell(address useruint256 tokenAmountuint256 minEthOutreturns (uint256uint256)
takeFee(address lockFactoryOwner
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
TokensPurchased(address indexed buyeruint256 ethAmountuint256 tokenAmountuint256 timestamp
TokensSold(address indexed selleruint256 tokenAmountuint256 ethAmountuint256 timestamp
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string namestring symboladdress _creatoraddress _factoryuint256 _totalTokensuint256 _kuint256 _alphauint256 _saleGoaluint8 _creatorshareuint256 _feePercent
Fallback and receive
receive(
Errors
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
PRBMath_MulDiv18_Overflow(uint256 xuint256 y
PRBMath_MulDiv_Overflow(uint256 xuint256 yuint256 denominator
PRBMath_UD60x18_Exp2_InputTooBig(uint256 x
PRBMath_UD60x18_Exp_InputTooBig(uint256 x
PRBMath_UD60x18_Log_InputTooSmall(uint256 x