Skip to content

Commit

Permalink
Merge pull request #14 from chronologic/push-resolver
Browse files Browse the repository at this point in the history
Merging temporary branch to master
  • Loading branch information
adibas03 committed Jan 22, 2018
2 parents 7509118 + e4d68d6 commit f8edc5a
Show file tree
Hide file tree
Showing 12 changed files with 976 additions and 397 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules

.idea/
47 changes: 35 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@



### Deployment
## Deployment

### Debt Token

#### Parameters

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

#### Deployed values
* _tokenName: Performance Global Loan
* _tokenSymbol: PGLOAN
* _initialAmount: 500000000000000000000
* _exchangeRate: 1
* _decimalUnits: 18
* _dayLength: 86400
* _loanTerm: 60
* _loanCycle: 30
* _interestRate: 2
* _debtOwner: address
* _lender: address
* _borrower: address

#### Ropsten Test deployment
Most recent version of the code is deployed at:
https://ropsten.etherscan.io/token/0x4dd86d50fa0ce7b25274406b985e509ed599d76b
https://ropsten.etherscan.io/address/0x4dd86d50fa0ce7b25274406b985e509ed599d76b
Most recent version of the code is deployed at:

https://ropsten.etherscan.io/token/0x126c694e085517c257ecdad8f46455cf0403008c
https://ropsten.etherscan.io/address/0x126c694e085517c257ecdad8f46455cf0403008c
____

### Debt Token Deployer

#### Parameters

|--|--------|--------------|
|--|--------|--------------|
|* | _dayTokenAddress: | Address of DAY Tokens |
|* |_dayTokenFees: | Number of DAY tokens, required as fees |

#### Deployed values
* _dayTokenAddress: 0x7941bc77e1d6bd4628467b6cd3650f20f745db06
* _dayTokenFees: 100000000000000000000

#### Ropsten Test deployment
Most recent version of the code is deployed at:

https://ropsten.etherscan.io/address/0x9d396156594b6a665fe28397e7bff3679dc24283


### Tests
## Tests
* Test actual functionality of debt-smart-contract
~~~
truffle test test/debtToken.js
truffle test test/1_debtToken.js
~~~
* Test that resricted Token functions are restricted :
* Test that actual functionality of debt-smart-contract deployer :
~~~
truffle test test/standardToken.js
truffle test test/2_debtTokenDeployer.js
~~~
Loading

0 comments on commit f8edc5a

Please sign in to comment.