-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(*): add ERC20 standard #5
base: develop
Are you sure you want to change the base?
Conversation
migrations/deployers/Salable.js
Outdated
'address', | ||
'uint256', | ||
'string', | ||
'uint8', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already present in Sales
contract, this is nice feature that might help us to automatically deploy contract... that's why I kept it.
migrations/deployers/Salable.js
Outdated
wallet, | ||
config['total'], | ||
config['name'], | ||
config['decimals'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as #5 (comment)
Add `Salable` contract that uses ERC20 token standard. LIT-195
- unit tests for `Salable` contract - change a way how configuration is stored - deployer script that can be used outside repository - add changelog LIT-195
b5959c2
to
9225862
Compare
Add
Salable
contract that uses ERC20 token standard.Salable.sol
contract has same top interface asSales.sol
but insteadHumanStandardToken
it uses open sourceERC20
standard. This contract can be used as standalone (same asSales
) and it can be used byStakingBank
to manage staking tokens, which is basically a reason why we needSalable
in in a first place.LIT-195