Skip to content
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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

DZariusz
Copy link
Contributor

@DZariusz DZariusz commented Mar 1, 2019

Add Salable contract that uses ERC20 token standard.

Salable.sol contract has same top interface as Sales.sol but instead HumanStandardToken it uses open source ERC20 standard. This contract can be used as standalone (same as Sales) and it can be used by StakingBank to manage staking tokens, which is basically a reason why we need Salable in in a first place.

LIT-195

contracts/Salable.sol Outdated Show resolved Hide resolved
'address',
'uint256',
'string',
'uint8',
Copy link
Contributor

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?

Copy link
Contributor Author

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.

wallet,
config['total'],
config['name'],
config['decimals'],
Copy link
Contributor

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?

Copy link
Contributor Author

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants