-
Notifications
You must be signed in to change notification settings - Fork 103
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
premint v2 sdk #387
premint v2 sdk #387
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
keccak256( | ||
abi.encode(ATTRIBUTION_DOMAIN_V1, _hashToken(premintConfig.tokenConfig), premintConfig.uid, premintConfig.version, premintConfig.deleted) | ||
); | ||
function hashPremint(TokenCreationConfig memory tokenConfig, PremintSettings memory settings) internal pure returns (bytes32) { |
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.
this file change doens't belong in this PR
2c95d26
to
be9a0ed
Compare
6f54b28
to
cc652d1
Compare
d36f3da
to
0c43bbf
Compare
0c43bbf
to
71dfef9
Compare
.github/workflows/lint.yml
Outdated
@@ -2,7 +2,7 @@ name: Lint | |||
on: [pull_request] | |||
|
|||
jobs: | |||
inspect-storage: | |||
lint: |
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.
should this be another PR?
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.
yes - will do
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.
done in #391
71dfef9
to
3acfe3f
Compare
3acfe3f
to
ed22deb
Compare
ed22deb
to
27d18e7
Compare
4a70aaf
to
0a5abb4
Compare
0a5abb4
to
833f1ba
Compare
038bc74
to
702ad19
Compare
ba73d27
to
c37cf99
Compare
c9c9fc8
to
9025ddf
Compare
ef246c2
to
f753072
Compare
export type PremintConfigV2 = PremintV2HashDataTypes[1]; | ||
export type TokenCreationConfigV2 = PremintConfigV2["tokenConfig"]; | ||
|
||
const v1Types = { |
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.
nit: Should we put this into another file?
Premint sdk now supports premint v2. See the added changeset for a summary of changes.
ToDo: