-
Notifications
You must be signed in to change notification settings - Fork 1
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
GSW-1144 feat: emission contract that calls gns mint #248
GSW-1144 feat: emission contract that calls gns mint #248
Conversation
"gno.land/r/demo/gnoswap/consts" | ||
"gno.land/r/demo/gns" | ||
) | ||
|
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.
// emissionAddr is the address from which GNS tokens will be emitted.
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.
) | ||
|
||
var emissionAddr std.Address = consts.EMISSION_ADDR | ||
|
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.
// EmitGns mints new GNS tokens to the emission address.
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.
@@ -120,3 +120,12 @@ func Mint(address pusers.AddressOrName) { | |||
// println("height:", i, "minted:", amount) | |||
} | |||
} | |||
|
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.
XXX: Remove this
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 pr commits are included in #249, therefor close this pr. |
feat
gns.Mint()
to receive pre-calculated amount of uGNS