Thanks for this SCAM.
Why do you say it's a scam ? Is there some evidences of that ?
If not, you can't come here and just scream : it's a scam. You need to give some proof :/
Yes.
You can check te Telegram Unoficial group, and talk whit all the People:
https://web.telegram.org/#/im?p=s1274307874_12163448645806389719This is the first contract. I receive a small piece of tokens...
https://etherscan.io/tx/0x2aafc6e2e2437871d779ca29fb2db38931596fe8959b0106679e2fb608fe52e4The "dai" support, say they will resend the correct value:
From: DAI Investor [mailto:[email protected]]
Sent: Wednesday, January 17, 2018 1:43 PM
To: Rafael Carvalho
Subject: Re: RES: RES: RES: RES: Small amount of CELL Token
Hi,
If you added the new adress: 0x6eaeB67B455157A879227AAA73a8E4E27CB32E15 correctly, you have no reason to worry.
You are right, it just seems like your CELL tokens have not arrived yet.
We manually sent out the missing CELL tokens to all owners that bought during the security issue two days ago, including yours (I just checked our list).
Due to the slow ETH network currently, transactions with <20 Gwei take a long time.
I must therefore continue to ask for your patience, many in the community have already received their CELL tokens, yours are still on their way and will surely reach you.
Thank you,
DAI TeamI try a lot of times, make contact and no return.
After this they change the contract to a new one, you can check with the telegram group.
You can contact:
@WarrenMoon
@Krampat
@iAmMarvinL
@Dynsh
@madkang
@vidor
The transcript of @vidor with the scammer:
Zysus [2:01 PM]
https://etherscan.io/address/0x67793426747f8c79332520c1291c4fc6443c8407[2:01]
Why is only such a low amount of tokens sent to the users that bought it
[2:01]
and why are all the transactions being failed
[2:01]
cancelled
[2:01]
if you fix it I will pay you more than 1 ETH
vidor [2:02 PM]
I can help you, no stress
[2:02]
just let me read over the contract
Zysus [2:02 PM]
yes look at the Token transfers, it should be 700 per ETH not 0,00000000000
vidor [2:05 PM]
so 1 ETH = 700 CELL
[2:05]
right?
Zysus [2:05 PM]
yes
[2:05]
should be
[2:05]
but its not
vidor [2:06 PM]
So what you should have done is
uint256 cellAmount = msg.value * 700;
Zysus [2:06 PM]
what can I do right now to fix it?
vidor [2:06 PM]
Easiest would be to deploy a new contract
Zysus [2:07 PM]
can't I just change the price?
vidor [2:07 PM]
Also you should have used openzeppelin
[2:07]
Let me check if you can do something like that
[2:08]
Well, sadly you can’t
[2:08]
because
[2:08]
you are overriding the price variable in every step
[2:08]
price = 700;
[2:08]
price = 625;
[2:08]
etc
[2:08]
Let me check if we can do something
[2:08]
with the amount
Zysus [2:09 PM]
We just have to fix, the CELL price and that the transactions don't fail. and that asap, if we get this done now I will pay you immediatly
vidor [2:10 PM]
You should test these things because you can loose money, give me a few minutes
[2:10]
I’m looking at the code
Zysus [2:10 PM]
I can set price:
http://prntscr.com/i0paitLightshot
Screenshot
Captured with Lightshot (304 kB)
vidor [2:11 PM]
Yes but that wouldn’t do anything to the contract
[2:11]
do you understand why?
Zysus [2:11 PM]
because of the stages
[2:11]
yes
[2:11]
fuck
[2:11]
need to redeploy
[2:11]
so If I add "uint256 cellAmount = msg.value * 700;"
[2:11]
everything will work?
vidor [2:11 PM]
You need to set a rate also based on stages of the sale
[2:12]
I can create a crowdsale with the params you want
[2:12]
Depends how urgent it is
Zysus [2:12 PM]
... its pretty damn urgent
[2:12]
can't take longer than 10mins
vidor [2:12 PM]
Fix code and redeploy contract to a new address, it would take I’d say arround 90 minutes
[2:13]
Take the contract address down from everywhere
[2:13]
To stop investments
Zysus [2:13 PM]
you write the fix?
vidor [2:13 PM]
I can write new contracts that would handle everything
[2:13]
Bonuses, rates etc
Zysus [2:14 PM]
if you can do that in not longer than 60min your in, but you are not creating a new CELL token are you?
[2:14]
well you could
vidor [2:14 PM]
Everything needs to be new
[2:14]
Because your code isn’t secure
[2:14]
You are using the transfering instead of the minting strategy which is bad
[2:15]
A crowdsale shouldn’t own all the tokens
[2:15]
It should be able to mint new tokens
Zysus [2:15 PM]
ok, you know what do it, you are in, I will take down the adress
[2:15]
we need it as fast as possible
vidor [2:16 PM]
I can start now, and can last around 60-90 minutes, it will utilize open zeppelin
[2:16]
which is very tested and audited
Zysus [2:16 PM]
I know open zeppelin
vidor [2:16 PM]
Can you write down all the crowdsale and token params
[2:16]
i will tell you which i need
Zysus [2:17 PM]
Token Symbol: CELL
Token Name: CELL
Decimals: 18
Hard Cap: 50,000,000 Tokens
1 ETH = 500 Tokens (Standard Price)
The minimum required contribution is 0,05 ETH
The Crowdsale has 5 Steps:
Step 1 (15.01. - 12.02.) - 40% BONUS (1 ETH = 700 Tokens)
Step 2 (12.02. - 19.02.) - 25% BONUS (1 ETH = 625 Tokens)
Step 3 (19.02. - 26.02.) - 15% BONUS (1 ETH = 575 Tokens)
Step 4 (26.02. - 05.03.) - 10% BONUS (1 ETH = 550 Tokens)
ALL ETH Funds collected go to this Wallet:
0x81Ae4b8A213F3933B0bE3bF25d13A3646F293A64
vidor [2:17 PM]
There is no soft cap and the crowdsale isn’t refundable right?
Zysus [2:17 PM]
yes
vidor [2:18 PM]
Ok, I’m setting up a project as we speak
Zysus [2:21 PM]
total supply is: 68,750,000 CELL
[2:21]
the 18,750,000 CELL are preserved
[2:22]
and go to the address: 0x2032e394684e706048e95a3C76f95928704bd13F
vidor [2:24 PM]
Ok working on it
[2:27]
I must redeploy the token also
Zysus [2:29 PM]
Yes, but you got to send me the code so that I deploy it or give me the ownership of the contracts
vidor [2:29 PM]
Ok i will give you the code when i’ve done everything
[2:30]
what is the guarantee that you will pay me?
Zysus [2:30 PM]
I will 100% pay you, how can I guarantee it? I don't want to send it now already but you will get it
[2:31]
I don't have no reason to not pay you
vidor [2:32 PM]
Crowdsale is starting 15.01 right?
Zysus [2:32 PM]
its already started
[2:32]
yes
[2:32]
12:00 UTC
vidor [2:32 PM]
Can you give me a timestamp of that
Zysus [2:33 PM]
is it okay for the contract if that timestamp is in the past?
vidor [2:33 PM]
I will bypass that
Zysus [2:33 PM]
1516014000
vidor [2:34 PM]
minimum investment 0.05 ETh
Zysus [2:34 PM]
yes
vidor [2:34 PM]
give me ico end timestamp
Zysus [2:35 PM]
total end or step 1 pre-ico?
vidor [2:35 PM]
total end
Zysus [2:35 PM]
152020440
vidor [2:35 PM]
Step 1 (15.01. - 12.02.) - 40% BONUS (1 ETH = 700 Tokens)
Step 2 (12.02. - 19.02.) - 25% BONUS (1 ETH = 625 Tokens)
Step 3 (19.02. - 26.02.) - 15% BONUS (1 ETH = 575 Tokens)
Step 4 (26.02. - 05.03.) - 10% BONUS (1 ETH = 550 Tokens)
[2:36]
152020440 is 05.03 right?
Zysus [2:36 PM]
yes
vidor [2:36 PM]
Ok can you give me timestamps of ENDS of all these steps
[2:36]
copy the whole text and write the timestamp besdies it
Zysus [2:36 PM]
yes
[2:37]
Step 1 END: 1518390000
[2:37]
Step 2 END: 1518994800
[2:37]
Step 3 END: 1519599600
[2:38]
Step 4 END is as already said total end 152020440
vidor [2:38 PM]
this doesn’t add up
[2:38]
because in your step4
[2:38]
price = 500;
Zysus [2:38 PM]
why?
vidor [2:39 PM]
Sorry
[2:39]
in your step4 it is 10% bonus
Zysus [2:39 PM]
yes
vidor [2:39 PM]
but you have step5 here
[2:39]
in the code
Zysus [2:39 PM]
screw that shit
vidor [2:39 PM]
So the crowdsale never ends?
Zysus [2:39 PM]
no it ends
[2:39]
but it was on hardcap
[2:39]
just make it end on 152020440
[2:39]
and step 4
vidor [2:40 PM]
And at that period the bonus will be 10%?
Zysus [2:40 PM]
yes
vidor [2:40 PM]
and rate will be 550
Zysus [2:40 PM]
yes
vidor [2:40 PM]
and at no point will tha rate be 500
[2:40]
right?
Zysus [2:40 PM]
yes
vidor [2:40 PM]
on it
vidor [2:46 PM]
through the crowdsale
[2:46]
you are going to sell a max of 50.000.000 CELL?
Zysus [2:47 PM]
yes
[2:49]
people are still sending their ETH but all transactions get cancelled
[2:49]
luckily
vidor [2:49 PM]
Hide the address
Zysus [2:49 PM]
I did
vidor [2:49 PM]
Do you have a pausable mechanism
Zysus [2:50 PM]
no
vidor [2:50 PM]
Ok the rest of
[2:50]
18,750,000
Zysus [2:50 PM]
go to the address: 0x2032e394684e706048e95a3C76f95928704bd13F
vidor [2:50 PM]
do you want it to be sent to the address at the end of the crowdsale?
[2:50]
or begining
Zysus [2:50 PM]
at the end
[2:51]
but its not being subtracted by the 50m
vidor [2:51 PM]
i understand
Zysus [2:51 PM]
its total 68,76m
[2:51]
68,75m *
[2:51]
we need a send mechanism so that I can send the new tokens to all the old token buyer
vidor [2:51 PM]
How many of those are there?
Zysus [2:52 PM]
total a little bit over 10 ethm
[2:52]
eth*
vidor [2:52 PM]
How many investors
Zysus [2:52 PM]
22
vidor [2:53 PM]
Do you want that mechanism or do you want to refund their ETH manualy and wait for them to invest again?
Zysus [2:53 PM]
no we need the mechanism
[2:53]
because
[2:53]
I will have to pay those who made btc purchases also manually
vidor [2:53 PM]
yea, that one doesn’t fit in the 90 minute timeframe :slightly_smiling_face:
Zysus [2:54 PM]
why? just the simple possibility to sendToken ?
vidor [2:54 PM]
Lets put it shortly, your current contract is vulnarable
[2:54]
We need to do stuff by pre-set best practices (edited)
[2:55]
Currently the best practice is that the crowdsale contract owns the token contract
[2:55]
and only the crowdsale contract can invoke the minting function from the token
Zysus [2:56 PM]
can't you just give another adress the permission to mint swell?
[2:56]
aswell
vidor [2:56 PM]
with OZ bootstrap code, no
[2:56]
Would need additional development
Zysus [2:57 PM]
damn
[2:57]
what now?
vidor [2:57 PM]
I can hack something up but that wouldn’t follow best practices
[2:58]
I will think of something
[2:58]
wait a moment
[2:59]
can you check the timestamps here
[2:59]
``` if ( now <= 1516014000 )
return rate.mul(140).div(100);
else if ( now <= 1518994800 )
return rate.mul(125).div(100);
else if ( now <= 1519599600 )
return rate.mul(115).div(100);
else
return rate.mul(110).div(100);
```
Zysus [3:00 PM]
they are correct
vidor [3:00 PM]
start and end
[3:00]
1516014000, 152020440
[3:00]
base rate 500
[3:01]
wallet for forwarding ETH 0x81Ae4b8A213F3933B0bE3bF25d13A3646F293A64
Zysus [3:01 PM]
end time is not correct
[3:01]
152020440
vidor [3:02 PM]
give me end time
Zysus [3:02 PM]
1520247600
[3:02]
my bad
[3:02]
replace end time with: 1520247600
vidor [3:02 PM]
then there are only 3 stages and a minimum of 15% bonus?
Zysus [3:04 PM]
10%
[3:04]
and 4 stages
[3:05]
step one 40%, step two 25%, step three 15%, Step four 10%
[3:05]
the code you sent was correct
vidor [3:05 PM]
step one ends at 1516014000
step two ends at 1518994800
step three ends at 1519599600
step four and crowdsale ends at 152020440
[3:05]
confirm this is right please
Zysus [3:06 PM]
yes
[3:06]
correct
vidor [3:06 PM]
when bonus is 40% the rate is 700
[3:06]
because you are selling
[3:06]
50.000.000 CELL
[3:07]
Your ETHEREUM hard-cap is
[3:07]
71,428.5714285714
Zysus [3:07 PM]
okay
vidor [3:07 PM]
Lets round that one to 71 428
Zysus [3:07 PM]
yes
vidor [3:07 PM]
because division by 7 is stupid :slightly_smiling_face:
Zysus [3:08 PM]
yes
vidor [3:09 PM]
All token operations will be paused until crowdsale ends
[3:09]
is that ok/
[3:09]
?
[3:09]
Or you don’t want that
Zysus [3:10 PM]
what does that mean?
vidor [3:10 PM]
You can’t transfer CELL between accounts during crowdsale
Zysus [3:10 PM]
we need that to be enabled
vidor [3:10 PM]
Ok no problem
[3:11]
Do you want CELL tokens to be burnable by their holders
Zysus [3:11 PM]
no
vidor [3:12 PM]
Do you want the CellToken to be paused if something goes wrong?
Zysus [3:12 PM]
what could go wrong?
vidor [3:13 PM]
If something similar to the DAO Hack happens
[3:13]
It is usefull to have a mechanism like that could pause all token transfers
Zysus [3:13 PM]
yes
[3:14]
implement it
vidor [3:14 PM]
It can be paused only by the owner
Zysus [3:14 PM]
yes
vidor [3:14 PM]
The owner of the token will be the crowdsale contract
[3:14]
during the crowdsale
[3:14]
After that
[3:15]
It will be transfered to an adress you give me
[3:15]
or do you want it to be the address from which the crowdsale was deployed
Zysus [3:15 PM]
0xa38b60a2312dA55e4dE3D852a8B056a4b5A7Bb94
vidor [3:15 PM]
That is your address right?
Zysus [3:15 PM]
or make it
[3:15]
the one that the crowdsale is deployed
[3:15]
from
vidor [3:15 PM]
Ok
[3:16]
When crowdsale ends
[3:17]
Should creating of new CELL be disabled?
Zysus [3:17 PM]
yes
vidor [3:17 PM]
Great
[3:18]
How will we migrate the existing investors
[3:18]
You say yu need to have a mechanism
[3:18]
to give tokens to specific addresses right?
Zysus [3:18 PM]
to mint Tokens and send them during the crowdsale
[3:18]
yes
vidor [3:18 PM]
Are you 10000% sure?
[3:18]
Because that partialy destroys the users trust in the contract
[3:18]
The owner can do anything
Zysus [3:18 PM]
but, how are we going to pay them the tokens else?
[3:19]
there has been already btc payments made
[3:19]
its needed
[3:19]
its all documented
[3:19]
and transparent
vidor [3:19 PM]
I can provide a function something like
[3:19]
``` function mintTo(address beneficiary, uint256 tokens) public onlyOwner {
token.mint(beneficiary, tokens);
}
```
[3:19]
and you can invoke this method of the crowdsale to delegate tokens
[3:20]
but that math doesn’t add up with the limits of the sales, what are the chances of the crowdsale hitting 71428 ether
[3:20]
?
Zysus [3:20 PM]
how is that colliding the math of the limit of the sales
[3:21]
I know how we can solve this
[3:21]
make the crowdsale finalizeable
vidor [3:21 PM]
I know also, i will migrate all limits to CELL instead of ETC
[3:21]
It is finalizable already :slightly_smiling_face:
Zysus [3:21 PM]
or that
[3:21]
yeah limits to cell was what I originally planned too
vidor [3:22 PM]
hmm
Zysus [3:22 PM]
thats why I wrote hard cap 50m but the other way around would be
vidor [3:22 PM]
wait wait, i wouldn’t do taht
[3:22]
let me think for a mometn
Zysus [3:22 PM]
that the owner just shuts the crowdsale once a total 50m has been reached?
vidor [3:23 PM]
okay
[3:23]
i can do that
Zysus [3:23 PM]
its the easiest solution
vidor [3:23 PM]
but then crowdsale can be ended before time
Zysus [3:23 PM]
yes
[3:24]
thats not a problem? if the hard cap is reached crowdsale ends
vidor [3:26 PM]
Okay lets go through everyting once more
[3:26]
I think i finished
Zysus [3:27 PM]
Okay perfect lets go
[3:27]
lets go over everything
vidor [3:28 PM]
Cell token
==============
name CELL
symbol CELL
decimals 18
has a cap of 68.750.000 * 10^19
Zysus [3:28 PM]
correct
vidor [3:28 PM]
Cell crowdsale is a capped finalizable crowdsale
[3:29]
The crowdsale starts at 1516014000 and ends at 152020440
[3:29]
The base rate is 500
[3:29]
and the address where ETH are forwarded is 0x81Ae4b8A213F3933B0bE3bF25d13A3646F293A64
Zysus [3:29 PM]
End time is wrong, you have to replace it with: 1520247600
vidor [3:30 PM]
You are not right
[3:30]
Oh sorry
[3:30]
wait
[3:30]
step one ends at 1516014000
step two ends at 1518994800
step three ends at 1519599600
step four and crowdsale ends at 152020440
[3:30]
You said this was correct
[3:30]
?
Zysus [3:30 PM]
only the end time
[3:30]
1520247600
[3:31]
make 152020440 to 1520247600
[3:31]
152020440 is 26.10.1974 I dont't know how that happened
[3:31]
1520247600 is 05.03.2018 and correct
vidor [3:32 PM]
step one starts with crowdsale at 1516014000 AND ends at 1516014000
step two ends at 1518994800
step three ends at 1519599600
step four and crowdsale ends at 152020440
[3:32]
please edit the numbers in this message
Zysus [3:34 PM]
step one starts with crowdsale at 1516014000 AND ends at 1518390000
step two ends at 1518994800
step three ends at 1519599600
step four and crowdsale ends at 1520247600
vidor [3:35 PM]
and the bonuses are
[3:35]
40 25 15 10
Zysus [3:35 PM]
correct
vidor [3:36 PM]
ok
[3:36]
at the end of the crowdsale
[3:36]
0x2032e394684e706048e95a3C76f95928704bd13F receives 18750000 CELL
Zysus [3:37 PM]
correct
vidor [3:37 PM]
the contract disables minting of additional tokens
[3:37]
and transfers the ownership to the address that deployed the crowdsale contract
Zysus [3:38 PM]
disables minting of additional tokens? but I thought you put in
``` function mintTo(address beneficiary, uint256 tokens) public onlyOwner {
token.mint(beneficiary, tokens);
} ```
vidor [3:38 PM]
For custom minting an additional mintTo function is provided that will mint a certain amount of tokens to a given beneficiary
Zysus [3:38 PM]
ah yeah
vidor [3:38 PM]
That function is valid only DURING the crowdsale
Zysus [3:38 PM]
correct (edited)
vidor [3:38 PM]
after invoking finalize() it isn’t any more
Zysus [3:38 PM]
correct
vidor [3:39 PM]
Early finalization is possible by
``` // Removed because recovering crowdsale
// require(hasEnded());
```
Zysus [3:39 PM]
correct
vidor [3:39 PM]
And deployment of a crowdsale with start time in the past is possible by
``` // Removed because recovering crowdsale
// require(_startTime >= now);
```
Zysus [3:39 PM]
correct
[3:39]
thats all?
[3:39]
we got it?
vidor [3:40 PM]
let me just glance one more time to be sure
[3:40]
it compiles and deploys to a testnet
[3:40]
and i will send proof of work so you can transfer the ETH you mentioned
Zysus [3:41 PM]
ok, you compile and deploy it on testnet
[3:41]
then send the proof
[3:42]
then I will send you 0,5 eth then you send me the contract help me deploy it on main net and then I will send another 0,5 eth
vidor [3:42 PM]
ok
Zysus [3:42 PM]
ok perfect seems fair for both
vidor [3:45 PM]
Think i will make the token burnable
[3:45]
It can’t hurt
[3:45]
It can only help you
[3:45]
For example if you sell only 1M tokens
[3:45]
and you have your 18.750.000
[3:46]
That is too much and you will be the most-token holde
[3:46]
And then you can burn for example everything of your coins except 1M and you can make the token economy more healthy
[3:46]
do you understand me?
Zysus [3:46 PM]
yes
[3:47]
its better
[3:47]
for the token
[3:47]
do that
[3:48]
Got it all?
vidor [3:48 PM]
compile works
[3:48]
just trying to migrate on ganache now
[3:48]
to see if everything works
Zysus [3:48 PM]
yep
[3:49]
make sure the mintTo works
vidor [3:49 PM]
https://d.pr/i/ol9QxW/IEnWL4NN2aShared with Droplr (21 kB)
[3:50]
I’ll need to write a test for mintTo
Zysus [3:50 PM]
I can't view the screenshot
vidor [3:50 PM]
but it’s a one-liner it has got no reason not wo work
Zysus [3:51 PM]
can't view the screenshot
vidor [3:51 PM]
uploaded this image: image.png
Add Comment
Zysus [3:51 PM]
okay
[3:51]
and that is deployable with remix?
[3:51]
on the main net?
[3:51]
or how am I going to deploy that on the main net
vidor [3:51 PM]
i will give you a flattened file
[3:52]
with prefilled deploy params
[3:52]
you just copy paste and deploy
[3:52]
let me just test the mintTo
[3:52]
if you insist :slightly_smiling_face:
Zysus [3:52 PM]
yep, and make that file ready, then send me your ETH Adress :slightly_smiling_face: (edited)
vidor [3:58 PM]
mintTo works like a charm
Zysus [3:58 PM]
perfect
[3:58]
lets do it now
vidor [3:58 PM]
0x718C883F8ee666358124E76fEF8EfC83440A552d
Zysus [4:01 PM]
done
vidor [4:01 PM]
can you give me tx hash
Zysus [4:01 PM]
0x21ab59257b1ec6fe45cea7299168e041d894b514e5e9ddf00e9157a7b0ed2bb9
vidor [4:02 PM]
What node did you go through, infura or?
Zysus [4:02 PM]
sent with 41000 gas limit
vidor [4:02 PM]
https://etherscan.io/tx/0x21ab59257b1ec6fe45cea7299168e041d894b514e5e9ddf00e9157a7b0ed2bb9etherscan.io
Ethereum Transaction 0x21ab59257b1ec6fe45cea7299168e041d894b514e5e9ddf00e9157a7b0ed2bb9
The Ethereum BlockChain Explorer, API and Analytics Platform
Zysus [4:03 PM]
takes some time
vidor [4:03 PM]
Where did you submit the transaction from?
Zysus [4:03 PM]
MEW
[4:03]
http://prntscr.com/i0r305Lightshot
Screenshot
Captured with Lightshot (172 kB)
vidor [4:04 PM]
It should be pending
[4:05]
on etherscan
Zysus [4:07 PM]
wasn't 41k gas limit enough?
vidor [4:08 PM]
What was gas price set to
Zysus [4:08 PM]
http://prntscr.com/i0r5svLightshot
Screenshot
Captured with Lightshot (331 kB)
vidor [4:09 PM]
Can you give me that link
[4:09]
https://etherscan.io/tx/0x21ab59257b1ec6fe45cea7299168e041d894b514e5e9ddf00e9157a7b0ed2bb9Zysus [4:09 PM]
what link?
[4:10]
its not showing in etherscan yet
[4:11]
we have to wait
vidor [4:12 PM]
gas price is 52 gwei you put lower
[4:12]
Lets wait a few minutes just the transaction to be pending at least, don’t care about the confirmations
Zysus [4:13 PM]
yeah
vidor [4:14 PM]
So where are you from
Zysus [4:14 PM]
why is etherscan taking so long?
[4:14]
Switzerland
vidor [4:14 PM]
https://ethstats.net/[4:15]
Eth network seems pretty fast, but the gas price is 52 gwei, that doesn’t really matter it should show either way
[4:15]
https://ethplorer.io/tx/0x21ab59257b1ec6fe45cea7299168e041d894b514e5e9ddf00e9157a7b0ed2bb9[4:15]
http://gastracker.io/search?q=0x21ab59257b1ec6fe45cea7299168e041d894b514e5e9ddf00e9157a7b0ed2bb9[4:15]
also fail to detect the transaction
Zysus [4:16 PM]
strange
[4:16]
in MEW I can see it pending, but can't even cancel it
[4:16]
just change the adress
[4:17]
I will cancel it and resend with higher gwei
[4:17]
once its possible
vidor [4:17 PM]
Ok in faith of good business and the risk you are undertaking with your ICO and the risk that I’m undertaking regarding payment
[4:17]
i will send you the complete code i wrote
Zysus [4:18 PM]
Honestly, thank you man
[4:18]
I won't run away till you got your 1 ETH
[4:18]
lol
vidor [4:18 PM]
I hope so :slightly_smiling_face:
Zysus [4:18 PM]
but its nice so that the ICO can begin faster been 2 hours.. :confused:
vidor [4:19 PM]
If there are some other developer/consultancy/audit engagments i would be glad to particpate
vidor [4:19 PM]
added this Plain Text snippet: flat.sol
pragma solidity ^0.4.18;
// File: node_modules/zeppelin-solidity/contracts/math/SafeMath.sol
/**
Add Comment Click to expand inline 675 lines
Zysus [4:19 PM]
of course
[4:20]
I will deploy it using Remix right?
[4:20]
with version 18
[4:20]
should make no problems
vidor [4:21 PM]
Yes, you can, just under compile select the optimize
[4:21]
Also do you have a website for your ico?
[4:21]
Would like to take al ook
[4:21]
a look how you managed to get that many funds in such short time :slightly_smiling_face:
Zysus [4:22 PM]
well, its not my ICO but I found about it very early and wanted to participate so I joined as the crowdsale token guy that has a "lot of experience and knowledge" in that area and wants to help
[4:22]
so basically I lied, when I joined, and you just saved my ass
vidor [4:22 PM]
omg you didn’t listen to my advice
Zysus [4:22 PM]
so I will need you
[4:22]
till the end
vidor [4:22 PM]
that i gave youbefore :joy:
Zysus [4:23 PM]
dude I was already half way through
[4:23]
I couldn't just go out, I talked way to much shit
[4:23]
Btw how old are you
Zysus [4:23 PM]
19
vidor [4:23 PM]
hahaha great
[4:23]
I’m 23
Zysus [4:24 PM]
How do I call the .sol ?
[4:24]
just CELL ?
vidor [4:24 PM]
You can do CELL.sol
[4:24]
whatever
[4:24]
i called it flat because it uses solidity flattener
Zysus [4:24 PM]
compiler versin 18
vidor [4:24 PM]
yep
Zysus [4:25 PM]
and optimisation enabled?
vidor [4:25 PM]
yes
[4:25]
because the contract is huge
Zysus [4:25 PM]
do I compile/run it before hand?
vidor [4:25 PM]
You just deploy the
[4:25]
CellCrowdsale contract
Zysus [4:27 PM]
http://prntscr.com/i0rge6Lightshot
Screenshot
Captured with Lightshot (104 kB)
[4:27]
http://prntscr.com/i0rgjfLightshot
Screenshot
Captured with Lightshot (55 kB)
[4:27]
everything fine, just checking to make sure
[4:27]
?
vidor [4:27 PM]
ok
[4:28]
Can you give me a website of the ICO you are participating in
Zysus [4:29 PM]
wait I'll send you all once im finished a little bit confused right now
[4:31]
http://prntscr.com/i0ris3Lightshot
Screenshot
Captured with Lightshot (774 kB)
[4:31]
whats wrong?
vidor [4:32 PM]
moment
[4:33]
it takes
[4:33]
1904205
[4:33]
gas to deploy with optimization
[4:33]
DO you have enough ether in metamask
Zysus [4:33 PM]
got like 0,01 eth in metamask
[4:33]
= 13$
[4:34]
0,017
[4:34]
= 17$
vidor [4:34 PM]
0.097114455
[4:34]
You need this much
Zysus [4:34 PM]
is optimization needed?
vidor [4:34 PM]
yes it is because it would cost even more
[4:34]
so basically
[4:35]
to be on the safe side
[4:35]
you need at least
[4:35]
3000000 gas to have on your account
[4:35]
at 51 gwei
Zysus [4:36 PM]
0,1 eth
[4:36]
should be enough?
[4:38]
your tx is pending btw
[4:38]
https://etherscan.io/tx/0x21ab59257b1ec6fe45cea7299168e041d894b514e5e9ddf00e9157a7b0ed2bb9vidor [4:39 PM]
sorry was afk
[4:39]
so
[4:39]
basically
[4:39]
all not used up gas will be refunded
[4:40]
so on the safe side it’s 3000000 * 51 gwei
[4:41]
wait
[4:41]
did you send the contract
Zysus [4:41 PM]
no
[4:41]
I am waiting for the ETH
[4:41]
what?
vidor [4:42 PM]
It’s not pending for me yet :disappointed:
[4:42]
Wait
[4:42]
lets make a calculation
Zysus [4:42 PM]
I got the ether instantly with 61gwei btw gonna send your rest 0.5 with 61 also after this
[4:43]
so should I deploy now?
vidor [4:43 PM]
1904205 is gas needed to deploy the contract
[4:43]
on testnet
[4:43]
to keep on the safe side
[4:43]
I’d do 3 000 000
[4:43]
3 000 000with gas price of 51 Gwei
[4:43]
would be
Zysus [4:43 PM]
yes
[4:43]
CellCrowdsale
[4:43]
Create
vidor [4:43 PM]
153,000,000 Gwei
[4:44]
which is 0.153 ether
Zysus [4:44 PM]
fuck
vidor [4:44 PM]
That is the optimal cost
[4:44]
but since deployment costs 2/3 of that
Zysus [4:44 PM]
0.1 is enough?
vidor [4:44 PM]
0.102
[4:44]
But if it fails for not enough gas
[4:44]
you loose the 0.1
[4:45]
better to send more because the rest that is not used will be refunded
Zysus [4:45 PM]
I just tried again
[4:45]
0xb0c2d3f74413b1d79873c866d498dbf2bb412ffc6e85115be854a60b8e48ed25
[4:45]
oops
[4:45]
didn't mean to post that,
[4:45]
but it failed again
vidor [4:46 PM]
how did it fail
Zysus [4:46 PM]
same error
[4:46]
error
[4:46]
http://prntscr.com/i0rrnuLightshot
Screenshot
Captured with Lightshot (68 kB)
vidor [4:47 PM]
Send like 1 ETh and then try to deploy
[4:47]
This doesn’t make sense
[4:47]
and then return the rest to that waillet
Zysus [4:49 PM]
I don't have to compile anything?
[4:49]
right
[4:49]
?
vidor [4:49 PM]
It’s compiled automaticaly
Zysus [4:49 PM]
AutoCompile is deactivated
vidor [4:50 PM]
then compile just CellCrowdsale
[4:50]
https://d.pr/i/3k8Uee/HsebsLVKfXShared with Droplr (9 kB)
[4:51]
https://d.pr/i/LR20Lh/Qi3gfa3ShLShared with Droplr (16 kB)
Zysus [4:51 PM]
http://prntscr.com/i0ruimLightshot
Screenshot
Captured with Lightshot (51 kB)
[4:52]
can't see the screenshots
vidor [4:52 PM]
click on the links
Zysus [4:52 PM]
they are just loading forever
vidor [4:53 PM]
uploaded this image: image.png
Add Comment
vidor [4:53 PM]
uploaded this image: image.png
Add Comment
Zysus [4:53 PM]
Solidity 0.4.19?
vidor [4:53 PM]
It doesn’t matter
[4:53]
it matters that it’s higher than 0.4.18
[4:54]
so don’t cherry pick a version
[4:54]
use the latest
Zysus [4:54 PM]
http://prntscr.com/i0rw7qLightshot
Screenshot
Captured with Lightshot (724 kB)
[4:54]
if I click compile CellCrowdsale this happens
[4:55]
http://prntscr.com/i0rwhzLightshot
Screenshot
Captured with Lightshot (345 kB)
[4:55]
so everything works?
vidor [4:55 PM]
For me everything works 100%
[4:55]
it can be that you don’t have $$
Zysus [4:55 PM]
now got 1,1 eth on that account
[4:55]
still the same error
[4:56]
" gas required exceeds allowance or always failing transaction"
[4:56]
maybe it exceeds the allowance?
vidor [4:56 PM]
give me a few mins to see what i can do
[4:57]
Are you sure
[4:57]
you are selecting
[4:57]
CellCrowdsale
[4:57]
in the dropdowns everywhere
Zysus [4:57 PM]
yes
[4:57]
and then I just click on create
vidor [4:58 PM]
you can send me ether so i can deploy it and i can transfer the ownership to you
Zysus [4:59 PM]
wait
[4:59]
can you open up remix
[4:59]
paste the code
[4:59]
and then just compile it
[4:59]
what does it show to you
vidor [5:00 PM]
nothing, it compiles
Zysus [5:01 PM]
can you screenshot it?
[5:01]
have you selected auto compile?
vidor [5:01 PM]
yes
[5:01]
it doesn’t make any difference
[5:01]
I’ve sent screenshots of the deployed crowdsale
[5:01]
In ganache and in JVM
[5:02]
Do you want me to deploy it on ropsten/kovan to see that it works?
Zysus [5:02 PM]
do I have to put anything in here?
http://prntscr.com/i0s0vmLightshot
Screenshot
Captured with Lightshot (77 kB)
vidor [5:02 PM]
NO
[5:02]
you are selling 51 gwei TO THE CONTRACT
Zysus [5:03 PM]
well then I really am not making anything wrong
vidor [5:03 PM]
put 0 there
[5:03]
omg
Zysus [5:03 PM]
there is nothing already?
vidor [5:03 PM]
put value 0
[5:03]
And then create
Zysus [5:04 PM]
lol
vidor [5:04 PM]
works?
Zysus [5:04 PM]
contract published
vidor [5:04 PM]
what a rollercoaster
Zysus [5:04 PM]
damn
[5:05]
wtf hahaha
[5:05]
you are so right
[5:06]
hallelujah
vidor [5:07 PM]
glad it worked
Zysus [5:08 PM]
legit
[5:08]
every second is a pain, still waiting for pending
vidor [5:09 PM]
this took quite some time longer than anticipated
Zysus [5:10 PM]
I only need to sign one contract right?
[5:10]
on etherscan
vidor [5:11 PM]
try it
Zysus [5:11 PM]
what does that mean now?
[5:11]
lol
vidor [5:11 PM]
Confirm the crowdsale one
[5:12]
and when the abi appears we will see if the token is also confirmed
[5:12]
Sometime it is sometime it’s not
Zysus [5:14 PM]
Sorry! The Compiled Contract ByteCode for 'CELL' does NOT match the Contract Creation Code for
vidor [5:14 PM]
I did it for you
[5:14]
:slightly_smiling_face:
Zysus [5:14 PM]
Contract name(s) found: 'BasicToken' , 'BurnableToken' , 'CappedCrowdsale' , 'CappedToken' , 'CellCrowdsale' , 'CellToken' , 'Crowdsale' , 'ERC20' , 'ERC20Basic' , 'FinalizableCrowdsale' , 'MintableToken' , 'Ownable' , 'Pausable' , 'PausableToken' , 'SafeMath' , 'StandardToken' , 'BasicToken' , 'BurnableToken' , 'CappedCrowdsale' , 'CappedToken' , 'CellCrowdsale' , 'CellToken' , 'Crowdsale' , 'ERC20' , 'ERC20Basic' , 'FinalizableCrowdsale' , 'MintableToken' , 'Ownable' , 'Pausable' , 'PausableToken' , 'SafeMath' , 'StandardToken'
Unable to Verify Contract source code.
vidor [5:14 PM]
https://etherscan.io/address/0xe46340f794e95775a41d40d5031bb716f99120b3#codeZysus [5:15 PM]
ah thanks
vidor [5:15 PM]
Second one is comming
Zysus [5:15 PM]
wich?
vidor [5:15 PM]
The token one
[5:15]
Ouch
[5:15]
i must hop out for 40 mins
Zysus [5:16 PM]
where do you see the token one?
[5:16]
Crowdsale Adress is now safe?
vidor [5:17 PM]
crowdsale address now safe
Zysus [5:17 PM]
0xe46340F794E95775a41d40d5031Bb716F99120B3
[5:17]
doesn't the crowdsale contain the token?
vidor [5:17 PM]
crowdsale deploys separate token
[5:17]
contract
Zysus [5:18 PM]
ah, why its not there yet
vidor [5:18 PM]
you can go into read contract
[5:18]
and find token addresss
Zysus [5:18 PM]
ah I see it
[5:18]
verifying it now with the same code?
vidor [5:18 PM]
Yep but it needs ABI encoding of constructor
Zysus [5:19 PM]
We got that?
[5:20]
Error! Unable to verify source code
Missing Constructor Arguments for function CellToken(uint256 _cap)
vidor [5:20 PM]
Can you take care of the payment and i will confirm that one
Zysus [5:21 PM]
yep, the first 0,5 I will just not cancel and the second 0,5 I send now with 51 gwei
[5:21]
can you put your adress in here again
[5:21]
pls
vidor [5:21 PM]
0x718C883F8ee666358124E76fEF8EfC83440A552d
Zysus [5:22 PM]
https://etherscan.io/tx/0x20d86eb60b1301f15d55c37b2f8f75ef782de697c226c53208d949c05d49ed32etherscan.io
Ethereum Transaction 0x20d86eb60b1301f15d55c37b2f8f75ef782de697c226c53208d949c05d49ed32
The Ethereum BlockChain Explorer, API and Analytics Platform
[5:23]
sent with 65 Gwen even
[5:23]
gwei
vidor [5:24 PM]
Nothing shows up
Zysus [5:24 PM]
wait 1 min
vidor [5:25 PM]
yeah this one is pending
Zysus [5:26 PM]
yep bc I did 65 Gwei instead of 20 lol
[5:26]
now can you verify the token one real quick please?
[5:26]
tx successful so fast
[5:29]
you got it?
vidor [5:29 PM]
sorry
[5:29]
confirming
[5:29]
token nos
[5:29]
now
Zysus [5:30 PM]
perfect man
[5:31]
gonna hand it over to them, lets talk later again
vidor [5:31 PM]
https://etherscan.io/address/0x6eaeb67b455157a879227aaa73a8e4e27cb32e15#internaltx[5:31]
Okay, going afk now, please take care of the first transaction
Zysus [5:31 PM]
yes I will we will write in an hour/later
vidor [5:31 PM]
great
[5:31]
had a nice time saving your ass :wink:
Zysus [5:31 PM]
damn dude you are the angel that was here at the right time
vidor [8:18 PM]
What happened with the first transaction :disappointed:
Zysus [8:19 PM]
its still pending for me
[8:19]
we have to wait, bc I can't cancel it
vidor [8:20 PM]
Wow your crowdsale is going awesome
Zysus [8:21 PM]
btw why cant we see in the internal transactions the sent CELL tokens?
vidor [8:24 PM]
https://etherscan.io/token/0xc42de4250ca009c767818ec6f8fb1eacba859f38[8:26]
Wrong lik wait
[8:26]
https://etherscan.io/token/0x6eaeb67b455157a879227aaa73a8e4e27cb32e15[8:27]
WAIT
[8:27]
you are minting tokens wrong
vidor [8:33 PM]
when you are using mintTo
[8:33]
in the amount
[8:33]
you must
[8:34]
if you mint for example
[8:34]
200 tokens
[8:34]
to somebody
[8:34]
you need to add 18 zeros after that
[8:34]
so
[8:34]
200000000000000000000
[8:34]
You need to triple check that because it’s error prone, if you enter a higher amount it can’t be undone
Zysus [8:45 PM]
shit
[8:46]
but there are only the ones I minted
vidor [8:46 PM]
It’s no problem if you sent less
[8:46]
It’s proble mif you send more
[8:46]
:smile:
[8:46]
Only those that you invoked mintTo on
Zysus [8:46 PM]
yes
[8:46]
where can I see the ones that went out automatically
vidor [8:46 PM]
https://etherscan.io/token/0x6eaeb67b455157a879227aaa73a8e4e27cb32e15Zysus [8:47 PM]
ah nice
[8:47]
so whatever they bought
[8:47]
like 400 cell tokens +18 zeros
vidor [8:48 PM]
Sorry what is the question
[8:49]
if you want to give somebody with the address 0x01 400 tokens
[8:49]
you will invoke
[8:49]
mintTo(0x01, 400 000 000 000 000 000 000 )
[8:49]
without spaces
vidor [9:17 PM]
Hey can you give me the link of your ICO
Zysus [9:22 PM]
Its still not my ICO, I am just in it because I talked shit about being a well known blockchain dev, at that time I think they didn't even had planned on doing an ICO, found out about it on a deepweb shoutbox originally, however just google CELL ICO I guess
[9:22]
btw. the example you sent, its only 15 zeros after the 400 right?
vidor [9:23 PM]
18 zeros because the token has 18 decimals!
Zysus [9:23 PM]
but you wrote 400 and then 15 zeroes
[9:23]
its total 18 decimals
vidor [9:24 PM]
please count the zeros again…
Zysus [9:24 PM]
oops lol
[9:24]
sorry bro
vidor [9:35 PM]
Honestly i don’t like the idea about the dark web and you not wanting to supply the link of the ICO you are working for
[9:36]
I don’t have any guarantees about the other part of the payout do i?
[9:36]
So we can solve this in the following way, you can send me an additional 0.5 ETH and when i receive the lost 0.5 ETH i will refund them to you
[9:36]
I am here by my first and last name and am a reputable member here
[9:37]
I have a lot more to lose if i scam you than you could lose here because your identity is annonymous
Zysus [9:41 PM]
No worries dude, you will 100% get your rest 0,5 eth
[9:41]
I hold my promises
vidor [9:42 PM]
I gave reasoning and a proposal
Zysus [9:43 PM]
Yes, but I have no reason for "them" to take ETH right now, we have to wait at least the 24h til the transaction is showing up. You know I won't scam you I have no incentive, you delivered and I will need you in the future.
[9:43]
Just let us wait 24h if its not there I will get it sorted for you. Is that Okay?
vidor [9:44 PM]
Sounds okay
[9:44]
Reasonable
----- Yesterday January 16th, 2018 -----
vidor [4:46 PM]
Hey bud, where you at (edited)