Skip to content

Commit

Permalink
contract description
Browse files Browse the repository at this point in the history
  • Loading branch information
santisiri committed Feb 24, 2021
1 parent a448c67 commit 65ffde8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions contracts/UBI.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ interface IProofOfHumanity {
);
}

/**
* @title Universal Basic Income
* @dev UBI is an ERC20 compatible token that is connected to a Proof of Humanity registry.
*
* Tokens are issued and drip over time for every verified submission on a Proof of Humanity registry.
* The accrued tokens are updated directly on every wallet using the `balanceOf` function.
* The tokens get effectively minted and persisted in memory when someone interacts with the contract doing a `transfer` or `burn`.
*/
contract UBI is Initializable {

/* Events */
Expand Down Expand Up @@ -257,6 +265,4 @@ contract UBI is Initializable {
function balanceOf(address _human) public view returns (uint256) {
return getAccruedValue(_human).add(balance[_human]);
}


}

0 comments on commit 65ffde8

Please sign in to comment.