Skip to content
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

Closed

Conversation

r3v4s
Copy link
Member

@r3v4s r3v4s commented Jul 3, 2024

feat

  1. emission contract
  • calls gns.Mint() to receive pre-calculated amount of uGNS

@r3v4s r3v4s self-assigned this Jul 3, 2024
dongwon8247
dongwon8247 previously approved these changes Jul 3, 2024
"gno.land/r/demo/gnoswap/consts"
"gno.land/r/demo/gns"
)

Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

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.

Copy link
Member Author

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)
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XXX: Remove this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@r3v4s
Copy link
Member Author

r3v4s commented Jul 4, 2024

this pr commits are included in #249, therefor close this pr.

@r3v4s r3v4s closed this Jul 4, 2024
@r3v4s r3v4s deleted the GSW-1144-feat-emission-contract-that-calls-gns-minting branch July 9, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants