This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
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.
[Uniques V2] Minting options #12483
[Uniques V2] Minting options #12483
Changes from 80 commits
97a7e30
a85608f
6db840a
fa3a2a7
472a753
2611dd4
52d7d38
46a6b7e
5ff7048
f7ddfed
d0d1d60
7d4b31f
dd84637
4920a0c
7456e73
9ff45b8
c41a48c
fee3ade
a9ab6f8
254816d
5878197
95e21fb
17b7c9e
dc6d2f0
cc64873
5153080
08a2048
1551714
8830a4c
f8800df
3ccf04e
f83fb73
df97cce
3bb6eb5
8563a31
09aca13
114e519
d6536fc
09a4ed6
d408b32
fd86e41
c002f8b
b16435a
d0ee824
0eb568e
998691e
b8c6f5e
8bef776
ddaa884
4c01fc5
30d2bde
9449641
443578d
0efc4ec
2ab076f
ad083ce
4ca6f00
340cb81
025cfdd
50b617c
6b96856
45227f5
f36d4b9
277d1a6
9d1d11b
8ffe4fd
c7dcdb0
e1195c5
1ab5043
387bf2c
1c51efd
9e9b969
b82fbe9
e495da6
670bb28
5093b89
c376b43
7fe301a
f246c52
cfa90dd
d667fb7
0ef95b7
820891c
51328b0
c1e71a2
011db15
67d5643
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.
I dont get the design here why this callback is needed. You can just do the checks later and rollback the changes since we have transactional layers?
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.
That callback and another one in
do_transfer
allow calling those methods from different places and have different extra checks/actions tied to the upper method. For e.g. when we calldo_mint
from theforce_mint
, the only check we do is if a caller has the Issuer role.