Skip to content

rolandkofler/matthew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARNING: While the whale looks friendly, Matthew is a nasty animal. Because of human Loss Aversion, people might play higher and higher stakes. THIS IS AN EXPERIMENT IN BEHAVIORAL ECONOMICS. Do not stake Ether you will miss later! THIS CONTRACT IS NOT SECURE AND COULD BE HACKED. BY USING IT YOU AGREE THAT ANY RISK IS ON YOU.

Matthew - a contract for increasing "whaleth"

The rich get richer,
the WHALE get WHALER

╭━━━━━━━━╮┏━╮╭━┓
┃┈┈┈┈┈┈┈┈┃╰╮╰╯╭╯
┃╰╯┈┈┈┈┈┈╰╮╰╮╭╯┈
┣━━╯┈┈┈┈┈┈╰━╯┃┈┈
╰━━━━━━━━━━━━╯┈┈

In sociology, the Matthew effect (or accumulated advantage) is the phenomenon where "the rich get richer and the poor get poorer. --https://en.wikipedia.org/wiki/Matthew_effect

This contract helps with this process by rewarding the richest player.

Description

  1. A player sends ether to the contract address

  2. Flow:

  3. If the amount is too low it fails

  4. If the new amount is at least equal to the STAKE + 0.1 ETH and send within PERIOD (200 blocks) since the last pay-in then the sender receives the last STAKE but pays in his STAKE.

        
                         1ΞΞΞΞΞΞΞΞΞ*Period over
                 1ΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞ
              2ΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞ      1ΞΞΞΞΞΞΞΞΞ*Period over
              ΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞ  1ΞΞΞΞΞΞΞΞΞΞΞΞΞ
         1ΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞ1ΞΞΞΞΞΞΞΞΞΞΞΞΞΞΞ1ΞΞΞΞΞ...
    

    Figure: The STAKE gets higher until nobody pays in for > PERIOD

  5. If the grace PERIOD is over and nobody increased the STAKE, the last STAKE wins all the Ether, except one.

  6. This one Ether is the basis for a new round. GOTO 1.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages