You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-28Lines changed: 9 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
-
# Líf
1
+
# Líf Token
2
2
3
3
Líf is the token of the Winding Tree platform.
4
4
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.
@@ -18,10 +19,11 @@ Node v7.6 or higher (versions before 7.6 do not support async/await that is used
18
19
npm install
19
20
```
20
21
21
-
## Main Contracts
22
+
## Contracts
22
23
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.
25
27
-[LifCrowdsale](blob/master/contracts/LifCrowdsale.sol): Implementation of the Lif Token Generation Event (TGE)
26
28
Crowdsale: A 2 week fixed price, uncapped token sale, with a discounted rate for contributions during the private
27
29
presale and a Market Validation Mechanism that will receive the funds over the USD 10M soft cap.
@@ -34,27 +36,6 @@ npm install
34
36
that the foundation receives for long-term funding (starts after the MVM finishes, with same duration as the MVM: 2 or 4 years)
35
37
and the 12.8% extra tokens that the founders receive (1y cliff, 4y total). Both are created during the Crowdsale finalization.
36
38
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.
0 commit comments