SkaraToken crowdsale smart contract project
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with fraylopez:master.
Latest commit 80825e2 Jan 29, 2018

README.md

Skara Token Crowdsale

Presentation

SKARA is a new entertainment universe that includes a multiplayer competitive eSports platform, narrative role playing (RPG) games and mobile apps in a rich fantasy world described in a series of novels to be published January 2018.

We propose embedding blockchain at the heart of the SKARA ecosystem, in order to decentralize the benefits of participating in the games, both casually and competitively. Connecting the rewards for participating in the SKARA community to the larger community is a huge benefit to everyone. We believe this is the future for gaming.

Technical definition

SkaraToken:

At the technical level SkaraToken is a ERC20-compliant token, derived from OpenZeppelin's StandardToken that allows for token burning, which is a condition for our game economy flow. A draft of the burning process can be found at the SkaraEconomyDriver contract.

SkaraCrowdsale

The token allocation is managed through the SkaraCrowdsale contract. The contract derives from OpenZeppelin's Crowdsale an adds some logic to handle the following features:

  • CappedCrowdsale: The absolute maximum amount of ether the crowdsale will receive. Capped at 10 M€ at the contract deployment date.
  • VestingManager: A Manager that controls the transferability of some of the tokens. On certain conditons, the token purchase flow deploys to the blockchain a custom TokenVesting contract as a token holder attached to a beneficiary. Those tokens will be partially releasable only after the cliff period is over and totally releasable at the end of the vesting period.
  • CappedPreSale: Some investors are allowed to purchase tokens before the public token sale begins if certain conditions are met. This contract manages this pre-sale list and conditions. I also has a cap for the amount raised during the presale.
  • PostSale: Some actors (team members, advisors, bounty program members) are beneficiaries of tokens allocated after the public token sale finishes. This contract manages this post-sale list and conditions.
  • FinalizableCrowdsale: Allows some finalization conditions to be executed after the sale ends such as extra token allocations to be used by the game as well as to be retained by team members, advisors, etc.
  • Whitelist: The crowdsale includes a whitelist period in which only whitelisted investors will be able to buy tokens. The whitelist has been populated during the pre-sale campaign.
  • Bonificated: In certain conditions a bonus will be applied, this contract manages the fixed and the custom bonuses.
  • Destructible: The contract can be destroyed by owner. All funds in contract will be sent to the owner. This feature will only be invoked in extreme scenarios such as malicious attacks.

Contracts

Token:

Sale:

Game:

  • SkaraEconomyDriver.sol: A draft for the future game economy manager. Currently shows the token burning feature BonificatedBonificated

Audit

The contract code involved in the Skara Token crowdsale have been audited by ICORating. Find the report here