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.
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: Erc20Wrapper extension #498
base: main
Are you sure you want to change the base?
feat: Erc20Wrapper extension #498
Changes from all commits
1944622
0cca59f
3bab6ac
038020b
7587d34
961353e
a347f69
9c66630
bd69a58
1bedc16
9d5419c
2d6a02f
398da73
3405bf2
dfc1e00
4274d2b
fd1de52
fb6a894
102611b
1f450b2
fae5882
f8d684a
d13ad47
ab401e2
4070411
4ac2b5c
104c45a
b6e1d6e
1b15a10
1114ccf
2a1cd43
c22a404
0124a8d
d680703
9781c4e
a99faa4
afc75a3
cd0259a
293b12f
2535fef
0b92aab
7a31409
bc8aa8f
c9a1711
6fd4866
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Please apply this #511 Rust docs layout in this contract.
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.
Adjust the docs to the current implementation. We do not have
balanceOf
function.Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / nightly / coverage
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / stable / clippy
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / Gas usage report
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / Gas usage report
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / tests
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / tests
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / wasm32-unknown-unknown
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / Check WASM binary
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / macos-latest / stable
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / nightly / doc
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / beta
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / beta
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / ubuntu / stable / features
Check warning on line 27 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / beta / clippy
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.
I believe there is sth wrong with this docs...
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.
I believe there is sth wrong with this docs...
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.
I believe there is sth wrong with this docs...
Check warning on line 95 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / stable / clippy
Check warning on line 95 in contracts/src/token/erc20/extensions/wrapper.rs
GitHub Actions / beta / clippy
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.
We should have motsu version that support calling external contracts tomorrow :)
It is already merged into main branch of mostu. You can implement these test cases.