Skip to content

Commit 5a2dff7

Browse files
authored
Merge pull request #290 from AugustoL/update-readme
Add SmartToken to readme
2 parents 1669907 + 1c2c9fc commit 5a2dff7

File tree

2 files changed

+11
-30
lines changed

2 files changed

+11
-30
lines changed

README.md

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Líf
1+
# Líf Token
22

33
Líf is the token of the Winding Tree platform.
44

5-
Líf is based on the ERC20 token protocol, with the option to also send information between token holders
6-
via the added methods transferData and transferDataFrom.
5+
Líf is a SmartToken, based in the ERC20 standard with extra methods to send value and data on transfers and approvals, allowing the execution of calls in those methdos too.
6+
7+
This repository also has all the contracts related with the Token Generation Event (TGE), an strategy that combines a crowdsale, a market validation mechanism and vested payments.
78

89
[![Build Status](https://travis-ci.org/windingtree/LifToken.svg?branch=master)](https://travis-ci.org/windingtree/LifToken)
910
[![Coverage Status](https://coveralls.io/repos/github/windingtree/LifToken/badge.svg?branch=master)](https://coveralls.io/github/windingtree/LifToken?branch=master)
@@ -18,10 +19,11 @@ Node v7.6 or higher (versions before 7.6 do not support async/await that is used
1819
npm install
1920
```
2021

21-
## Main Contracts
22+
## Contracts
2223

23-
- [LifToken](blob/master/contracts/LifToken.sol): ERC20 token for the Winding Tree platform, with extra methods
24-
to transfer value and data and execute a call on transfer. Uses OpenZeppelin MintableToken and Pausable contracts.
24+
- [SmartToken](blob/master/contracts/SmartToken.sol): Token based in the ERC20 standard with extra methods to transfer value and data and execute a call on transfer. Uses OpenZeppelin StandardToken.
25+
- [LifToken](blob/master/contracts/LifToken.sol): Smart token for the Winding Tree platform.
26+
Uses SmartToken and OpenZeppelin MintableToken and Pausable contracts.
2527
- [LifCrowdsale](blob/master/contracts/LifCrowdsale.sol): Implementation of the Lif Token Generation Event (TGE)
2628
Crowdsale: A 2 week fixed price, uncapped token sale, with a discounted rate for contributions during the private
2729
presale and a Market Validation Mechanism that will receive the funds over the USD 10M soft cap.
@@ -34,27 +36,6 @@ npm install
3436
that the foundation receives for long-term funding (starts after the MVM finishes, with same duration as the MVM: 2 or 4 years)
3537
and the 12.8% extra tokens that the founders receive (1y cliff, 4y total). Both are created during the Crowdsale finalization.
3638

37-
## New Token Methods
38-
39-
Líf token is ERC20 compatible but it also has two more methods to allow the transfer of data and execution of calls between users/contracts.
40-
41-
### transferData
42-
43-
Transfer tokens from one address to another and execute a call with the sent data on the same transaction.
44-
```
45-
transferData(address to, uint value, bytes data, bool doCall) => void
46-
```
47-
48-
Returns true if the call execution was successful
49-
50-
### transferDataFrom
51-
52-
Transfer an allowed amount of tokens from one address to another and execute a call with the sent data on the same transaction.
53-
```
54-
transferDataFrom(address from, address to, uint value, bytes data, bool doCall) => void
55-
```
56-
Returns true if the call execution was successful
57-
5839
## Test
5940

6041
* To run all tests: `npm test`
@@ -67,7 +48,7 @@ There are also two environment variables (`GEN_TESTS_QTY` and `GEN_TESTS_TIMEOUT
6748
GEN_TESTS_QTY=50 GEN_TESTS_TIMEOUT=300 npm test
6849
```
6950

70-
will make the property-based tests in `test/CrowdsaleGenTest.js` to run 50 examples in a maximum of 5 minutes
51+
Will make the property-based tests in `test/CrowdsaleGenTest.js` to run 50 examples in a maximum of 5 minutes
7152

7253

7354
## License

contracts/SmartToken.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import "zeppelin-solidity/contracts/token/StandardToken.sol";
55
/**
66
@title SmartToken, an extension of ERC20 token standard
77
8-
Implementation the SmartToken, following the ERC20 standard but with extra
9-
methods to transfer value and data to execute a calls in transfers and
8+
Implementation the SmartToken, following the ERC20 standard with extra
9+
methods to transfer value and data and execute calls in transfers and
1010
approvals.
1111
Uses OpenZeppelin StandardToken.
1212
*/

0 commit comments

Comments
 (0)