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
Nft bridge #291
base: master
Are you sure you want to change the base?
Nft bridge #291
Changes from 49 commits
5bdf8bf
f0296ef
596fe4a
4dc874c
19f3ada
a370585
847cc31
52e1a43
63ef608
1aa9eb0
869e81a
eafca9e
86e68f7
202c05e
d0668a6
4936461
69463ee
271abda
c3b5ce0
27c6167
0ab5406
1288f97
b845e70
217a526
4355353
6559576
cfe88ae
a5d6705
a10c6ba
469c372
281be8f
5c2c0b3
ad48137
3473dd6
1ae3752
aa7049e
746f595
0e9ead3
055c399
cdfacf9
41004f2
623725e
55031c9
32214eb
ae33651
a4dbf00
39984bd
d0b3cef
8367e39
b6e18ea
249a917
55f3064
82f7617
7002556
22588ab
4e937c8
7741364
73124ef
f6d8757
4f91cf8
62f2f20
d65c41c
625f166
e00d25a
e00d03d
5420aed
586ef5d
9f7be07
c50d702
f9fd54e
e21dd63
7feeec7
7cef40c
54833bd
a4e70ca
c5fd393
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Do you need full
uint256
? If you can handle all expect token ids with auint96
theNftAsset
structure can be packed into one storage slot saving you asstore
.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.
tokenId is typically of type
uint256
in erc721 contracts and since this contract is generic and should work with all erc721 contract, and we don't know what the possible range of tokenIds will be for a given erc721 contract I figured I should useuint256