-
Notifications
You must be signed in to change notification settings - Fork 95
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
Otoken: Burn and Mint #31
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
cc5cdc1
Rearrange oz folders and init commit on oToken.sol
antoncoding 0def9c7
Merge branch 'master' into otoken
antoncoding 1afd524
Add descriptions for function parameters
antoncoding d81de7c
Add layout for otoken tests
antoncoding 8a270dc
Remove ERC20 operation from this branch
antoncoding e2b37bb
Add BokkyPooBahsDateTimeLibrary and convert timestamp to date string.
antoncoding efdefeb
Add tests for Otoken.sol.
antoncoding 1416525
Merge branch 'master' into otoken-init
antoncoding c85a46f
Merge with master
antoncoding 80b1fc3
Remove unused function in DateTimeLibrary.
antoncoding d8547fe
Add comments, test different name/symbol strings
antoncoding 0f012d0
Merge with interface change
antoncoding 115b2ef
Add non-eth asset test
antoncoding 59961e7
Rearrange test orders and add expiry test for now + 3000 years
antoncoding f35feda
Add 0 expiry and max uint256 expiry test
antoncoding 643de3c
Use new name and symbol
antoncoding d3ece87
Remove mapping, refactor optino type and month string getters.
antoncoding 3aee134
Remove args for getNameAndSymbol function
antoncoding 59e88a0
Make test coverage 100%
antoncoding b7857a5
Add test for init twice with different parameters
antoncoding 85dca18
Add mintOtoken and burnOtoken functions and tests
antoncoding 1bcec75
Add comments
antoncoding bca1d5a
Rearrange function orders
antoncoding 526805c
Simplify otoken test syntax.
antoncoding c3bf565
Add more comments
antoncoding d21b751
Merge with new test file.
antoncoding 967b64b
Fix typos
antoncoding c33204f
Merge branch 'master' into otoken-erc20
antoncoding 7096c07
Merge with master
antoncoding File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
where are the decimals set?
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.
is set in the
__ERC20_init_unchained
function