No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Interfaces
Main
Math
Ownership
Audit.md
README.md

README.md

Fynance-Ethereum

Fynance-Ethereum is a set of contracts that enables holders of the Fynance token (FYG) to receive dividends, depending on how many tokens they hold, when the owners deposit Ether to disburse.

Token Contract: 0x359226825f5b8fc6d2b173e4079469ca2f9dead8
Individual Crowdsale: 0x96dcac68faf57d4c0e825afe8f28f1e65495bfc8
Institutional Crowdsale: 0xbb4410d830a26238c465185702ffe321115261eb
PoS Contract: 0x641cf73f9da3dc81bc815ce2e9b8dbc6f3d7612a

Token

The token contract is a fairly normal ERC20 contract except that every time a user's balance changes, the proof-of-stake contract is notified and the user's owed balance from the proof-of-stake contract is updated.

Proof-of-Stake

This contract keeps track of all deposits of Ether made by the owners and, when a user's token balance is changed, calculates how much Ether is owed to the user for the amount of coins they were previously holding. The contract can then be used directly or from the token contract by a user to withdraw owed funds.

Crowdsale

This contract is written to allow for both the individual investor and institutional investor crowdsale contracts to be launched from it. The individual investor contract will include a presale and discounts for different periods whereas the institutional investor contract will have no presale, a minimum purchase value (of 30 Ether), and a consistent discount (1280 tokens per Ether). These contracts will also have a cap of 67 million and 100 million respectively. They are separate instead of both in one because they have different caps and different time periods, making splitting them up simpler and safer.