Bitcoin Forum
April 26, 2024, 05:22:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ETH] Smart Revshare  (Read 773 times)
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 01:06:42 PM
Last edit: April 12, 2016, 06:41:25 PM by gkucmierz
 #1

Hello,

This is new revshare/ponzi program, here are the details:

http://jsfiddle.net/ju0bss7f/9/embedded/result/

Basicaly this programs pays every day from 110% up to 130%

Minimum investment is 0.1 ETH

Contract code is finally verificated here:
http://etherscan.io/address/0xBa69e7C96E9541863f009E713CaF26d4Ad2241a0#code
1714152154
Hero Member
*
Offline Offline

Posts: 1714152154

View Profile Personal Message (Offline)

Ignore
1714152154
Reply with quote  #2

1714152154
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Sileniced
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 12, 2016, 03:09:33 PM
Last edit: April 12, 2016, 06:52:40 PM by Sileniced
 #2

Heeeey BetGod... You mastermind you Wink

4/12/2016 gkucmierz has updated his website to reflect the below warning.

!WARNING!

Code in question:

Code:
  // calculate ROI based on investor value
  function calculateROI() internal returns (uint8) {
    if (msg.value <=   1 ether) return 110; // 110%
    if (msg.value <=  10 ether) return 120; // 120%
    if (msg.value <= 100 ether) return 130; // 130%
    return 0;
  }

gkucmierz does not mention here that anything above 100 ether does not count as an investment
http://imgur.com/Zu4crlx - 4/12/2016

TESTING CONTRACT: http://etherscan.io/address/0x49C3019b7A83B3c77A823255533975969027308D#code
In this testing contract 4 finney acts like inputs above 100 ether.

It does not show in the mist browser that the input of 4 finney has any days left of pay out
http://imgur.com/tIT6vk2
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 03:11:54 PM
 #3

Heeeey BetGod... You mastermind you Wink

what? Cheesy
Sileniced
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 12, 2016, 03:22:21 PM
 #4

I'm just kidding, don't worry. Your code seems interesting. Do you have an address where I can see that you have tested it yourself? A testing contract?
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 03:24:39 PM
 #5

I'm just kidding, don't worry. Your code seems interesting. Do you have an address where I can see that you have tested it yourself? A testing contract?

Unfortunately no
This is test battlefield  Wink
Sileniced
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 12, 2016, 03:54:22 PM
 #6

I'm just kidding, don't worry. Your code seems interesting. Do you have an address where I can see that you have tested it yourself? A testing contract?

Unfortunately no
This is test battlefield  Wink

So you're basically giving others incentives to deploy your code themselves to test it out on their own.
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 03:58:45 PM
 #7

So you're basically giving others incentives to deploy your code themselves to test it out on their own.

My mind is like turing machine.

I was testing whole code few times in my mind and thats is enough for such simple contract  Roll Eyes
Sileniced
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 12, 2016, 04:01:18 PM
 #8

So you're basically giving others incentives to deploy your code themselves to test it out on their own.

My mind is like turing machine.

I was testing whole code few times in my mind and thats is enough for such simple contract  Roll Eyes

I will definitely count that as empirical truth... /sarcasm

I will test your contract and post results here.

If anyone has arguments to stop me from doing this.
Now is your time.

EDIT: I don't even know how lol. I can deploy three contracts.. Which one should I deploy? Is it the last one because that would trigger the others?
Tdecha
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile WWW
April 12, 2016, 04:05:14 PM
 #9

So you're basically giving others incentives to deploy your code themselves to test it out on their own.

My mind is like turing machine.

I was testing whole code few times in my mind and thats is enough for such simple contract  Roll Eyes

I will definitely count that as empirical truth... /sarcasm

I will test your contract and post results here.

If anyone has arguments to stop me from doing this.
Now is your time.

Don't
Katatsuki
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile WWW
April 12, 2016, 04:10:40 PM
 #10

So you're basically giving others incentives to deploy your code themselves to test it out on their own.

My mind is like turing machine.

I was testing whole code few times in my mind and thats is enough for such simple contract  Roll Eyes
As a developer, that's pretty hilarious to read. No matter how simple the project or how smart the developer, testing and re-testing are always a must.

Sileniced
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 12, 2016, 04:11:40 PM
 #11


I will definitely count that as empirical truth... /sarcasm

I will test your contract and post results here.

If anyone has arguments to stop me from doing this.
Now is your time.

Don't

Not an argument.

EDIT: I don't even know how lol. I can deploy three contracts.. Which one should I deploy? Is it the last one because that would trigger the others?
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 04:35:48 PM
 #12


I will definitely count that as empirical truth... /sarcasm

I will test your contract and post results here.

If anyone has arguments to stop me from doing this.
Now is your time.

Don't

Not an argument.

EDIT: I don't even know how lol. I can deploy three contracts.. Which one should I deploy? Is it the last one because that would trigger the others?

Thats right.
You should deploy last contract.

I needed to ask crew from etherscan.io to provide that functionality in contract validation tool.
Sileniced
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 12, 2016, 05:29:14 PM
Last edit: April 12, 2016, 06:06:39 PM by Sileniced
 #13

Thank you for your reply gkucmierz. Let's put your turing mind to the test shall we  Wink?

I've changed the parameters of the contract minimum of 1 finney to a maximum of 4 finney. disables fees as well.

4 finney (above 100 eth in real contract) == 0 days of payout??  <- I don't understand why you have that in there in function calculateROI
1 finney == 110 days of payout
2 finney == 120 days of payout
3 finney == 130 days of payout


What happens in your actual contract when I put in less then 1 ether?
ROI returns 0? so then I have 0 days left in leftPayDays?
But I can see that it does work in your invoked transactions. Can you explain how this works exactly?

And I've added a
Code:
currentOwner.send(this.balance)
And to do that I had to change uint balance to uint balanc


Also next time it's proper manners to use

Code:
  function() {
    throw;
  }

EDIT: I've also added some more uint public about stuff I'm generally curious for
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 05:40:25 PM
 #14


https://gist.github.com/gkucmierz/9cbc39d05102268f0b95272cf988cdc1/53867eb47a593f345e32e16225c389855e5856bc

Can you ask your questions on github, for each line of code?

I will respond them
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 06:37:17 PM
 #15

Heeeey BetGod... You mastermind you Wink

!WARNING SUSPICIOUS CODE!

Code in question:

Code:
  // calculate ROI based on investor value
  function calculateROI() internal returns (uint8) {
    if (msg.value <=   1 ether) return 110; // 110%
    if (msg.value <=  10 ether) return 120; // 120%
    if (msg.value <= 100 ether) return 130; // 130%
    return 0;
  }

I am not trying to hide it.

It is very clear visible in code.

If your investment is 100 ether + 1 wei or more than your ROI => 0

This is limit which is here to not block whole system too early and let it work for months.

EDIT:

I did updated the page to make it clear -> http://jsfiddle.net/ju0bss7f/9/embedded/result/
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 12, 2016, 06:49:14 PM
 #16

What happens in your actual contract when I put in less then 1 ether?

In answer to your question it is very clear visible in code:
http://imgur.com/Avka2zY

If your deposit is less than 100 finney than contract will produce error and your deposit wil never happen.

4/12/2016 gkucmierz has updated his website to reflect the below warning.

Thank you for being so suspicious. I appreciate your work man Smiley
Katatsuki
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile WWW
April 12, 2016, 07:50:26 PM
 #17

Oh, so if the deposit is more than 100 ethers the person loses all the money, and said money is used to pay everyone else. That seems perfectly reasonable. NOT. What the fuck, people? How do you dare to release shit like this?

gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 13, 2016, 01:49:15 PM
 #18

Oh, so if the deposit is more than 100 ethers the person loses all the money, and said money is used to pay everyone else. That seems perfectly reasonable. NOT. What the fuck, people? How do you dare to release shit like this?

If user is dumb and cant understand this rule (max limit), than in fact its real problem.

After all this feature is giving users possibility to support this contract.
askolein
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
April 13, 2016, 05:52:18 PM
 #19

Oh, so if the deposit is more than 100 ethers the person loses all the money, and said money is used to pay everyone else. That seems perfectly reasonable. NOT. What the fuck, people? How do you dare to release shit like this?

If user is dumb and cant understand this rule (max limit), than in fact its real problem.

After all this feature is giving users possibility to support this contract.

So you don't know that you can refund the surplus ? Or you just don't care, 100 eth is a lot..
Such code is not secure, shame !
gkucmierz (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10



View Profile
April 29, 2017, 04:44:23 AM
 #20

It is funny.
On this contract there are still 30 ETH and nobody takes it.
It is still possible to take part of them cause there was first bonus transaction.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!