Coder Social home page Coder Social logo

noflake's Introduction

This is a smart contract that forces people to stake ETH on scheduling commitments, facing potential penalty for cancellations or rescheduling. Its goal is to overcome the innate awkwardness of holding your peers accountable to their scheduling commitments by substituting social capital lost/gained from good scheduling etiquette with actual financial capital. It follows the following incentive system:

User Interactions:

  • Users set a default ETH per minute rate for inviting them to a meeting

  • Meeting inviter pays that amount to get a meeting with the user, and can raise the stake size based on the meetings importance; the recipient will match them to accept

Outcomes:

  • Inviter cancels before recipient accepts, or recipient rejects: ETH returns to inviter

  • Recipient accepts and meeting proceeds as planned: ETH returns to both parties equally

  • Recipient accepts but cancels: Inviter gets their ETH back, plus a hard-coded portion of the recipients

  • Recipient accepts but reschedules: Inviter gets their ETH back, plus a configurable portion of the recipients

  • Inviter cancels after recipient accepts: Recipient gets their ETH back, plus a hard-coded portion of the inviters; likely a higher portion than when the recipient cancels, since the inviter cancelling is ruder

  • Inviter reschedules after recipient accepts: Recipient gets their ETH back, plus a configurable portion of the recipients

You'll notice that this contract also elegantly allows people to configure the importance of an invitation, a nice side-feature that could be expanded to create a system of financially backed social interactions as investments.

noflake's People

Contributors

flanagansteve avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.