Skip to content

Commit f8edc5a

Browse files
authored
Merge pull request #14 from chronologic/push-resolver
Merging temporary branch to master
2 parents 7509118 + e4d68d6 commit f8edc5a

12 files changed

Lines changed: 976 additions & 397 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
node_modules
2+
3+
.idea/

README.md

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44

55

6-
### Deployment
6+
## Deployment
7+
8+
### Debt Token
79

810
#### Parameters
911

@@ -13,36 +15,57 @@
1315
|* |_tokenSymbol: | Symbol for the token |
1416
|* |_initialAmount: | Actual amount of Ether requested in WEI |
1517
|* |_exchangeRate: | Amount of tokens per Ether |
16-
|* |_decimalUnits: | Number of Decimal places |
1718
|* |_dayLength: | Number of seconds in a day |
1819
|* |_loanTerm: | Number of days for Loan maturity; before interest begins |
1920
|* |_loanCycle: | Number of days per loan cycle |
2021
|* |_interestRate: | Interest rate (Percentage) |
21-
|* |_debtOwner: | Lender address |
22+
|* |_lender: | Lender address |
23+
|* |_borrower: | Borrower address |
2224

2325
#### Deployed values
2426
* _tokenName: Performance Global Loan
2527
* _tokenSymbol: PGLOAN
2628
* _initialAmount: 500000000000000000000
2729
* _exchangeRate: 1
28-
* _decimalUnits: 18
2930
* _dayLength: 86400
3031
* _loanTerm: 60
3132
* _loanCycle: 30
3233
* _interestRate: 2
33-
* _debtOwner: address
34+
* _lender: address
35+
* _borrower: address
3436

3537
#### Ropsten Test deployment
36-
Most recent version of the code is deployed at:
37-
https://ropsten.etherscan.io/token/0x4dd86d50fa0ce7b25274406b985e509ed599d76b
38-
https://ropsten.etherscan.io/address/0x4dd86d50fa0ce7b25274406b985e509ed599d76b
38+
Most recent version of the code is deployed at:
39+
40+
https://ropsten.etherscan.io/token/0x126c694e085517c257ecdad8f46455cf0403008c
41+
https://ropsten.etherscan.io/address/0x126c694e085517c257ecdad8f46455cf0403008c
42+
____
43+
44+
### Debt Token Deployer
45+
46+
#### Parameters
47+
48+
|--|--------|--------------|
49+
|--|--------|--------------|
50+
|* | _dayTokenAddress: | Address of DAY Tokens |
51+
|* |_dayTokenFees: | Number of DAY tokens, required as fees |
52+
53+
#### Deployed values
54+
* _dayTokenAddress: 0x7941bc77e1d6bd4628467b6cd3650f20f745db06
55+
* _dayTokenFees: 100000000000000000000
56+
57+
#### Ropsten Test deployment
58+
Most recent version of the code is deployed at:
59+
60+
https://ropsten.etherscan.io/address/0x9d396156594b6a665fe28397e7bff3679dc24283
61+
3962

40-
### Tests
63+
## Tests
4164
* Test actual functionality of debt-smart-contract
4265
~~~
43-
truffle test test/debtToken.js
66+
truffle test test/1_debtToken.js
4467
~~~
45-
* Test that resricted Token functions are restricted :
68+
* Test that actual functionality of debt-smart-contract deployer :
4669
~~~
47-
truffle test test/standardToken.js
70+
truffle test test/2_debtTokenDeployer.js
4871
~~~

0 commit comments

Comments
 (0)