|
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 | | -### Deployment |
| 6 | +## Deployment |
| 7 | + |
| 8 | +### Debt Token |
7 | 9 |
|
8 | 10 | #### Parameters |
9 | 11 |
|
|
13 | 15 | |* |_tokenSymbol: | Symbol for the token | |
14 | 16 | |* |_initialAmount: | Actual amount of Ether requested in WEI | |
15 | 17 | |* |_exchangeRate: | Amount of tokens per Ether | |
16 | | -|* |_decimalUnits: | Number of Decimal places | |
17 | 18 | |* |_dayLength: | Number of seconds in a day | |
18 | 19 | |* |_loanTerm: | Number of days for Loan maturity; before interest begins | |
19 | 20 | |* |_loanCycle: | Number of days per loan cycle | |
20 | 21 | |* |_interestRate: | Interest rate (Percentage) | |
21 | | -|* |_debtOwner: | Lender address | |
| 22 | +|* |_lender: | Lender address | |
| 23 | +|* |_borrower: | Borrower address | |
22 | 24 |
|
23 | 25 | #### Deployed values |
24 | 26 | * _tokenName: Performance Global Loan |
25 | 27 | * _tokenSymbol: PGLOAN |
26 | 28 | * _initialAmount: 500000000000000000000 |
27 | 29 | * _exchangeRate: 1 |
28 | | - * _decimalUnits: 18 |
29 | 30 | * _dayLength: 86400 |
30 | 31 | * _loanTerm: 60 |
31 | 32 | * _loanCycle: 30 |
32 | 33 | * _interestRate: 2 |
33 | | - * _debtOwner: address |
| 34 | + * _lender: address |
| 35 | + * _borrower: address |
34 | 36 |
|
35 | 37 | #### 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 | + |
39 | 62 |
|
40 | | -### Tests |
| 63 | +## Tests |
41 | 64 | * Test actual functionality of debt-smart-contract |
42 | 65 | ~~~ |
43 | | - truffle test test/debtToken.js |
| 66 | + truffle test test/1_debtToken.js |
44 | 67 | ~~~ |
45 | | - * Test that resricted Token functions are restricted : |
| 68 | + * Test that actual functionality of debt-smart-contract deployer : |
46 | 69 | ~~~ |
47 | | - truffle test test/standardToken.js |
| 70 | + truffle test test/2_debtTokenDeployer.js |
48 | 71 | ~~~ |
0 commit comments