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

Build SQTGift NFT contract #309

Merged
merged 16 commits into from
Jan 4, 2024
Merged

Build SQTGift NFT contract #309

merged 16 commits into from
Jan 4, 2024

Conversation

mzxyz
Copy link
Member

@mzxyz mzxyz commented Dec 18, 2023

Changes

  • Add SQTGift contract
  • Add SQTRedeem contract

TODO

  • Add tests for SQTGift and SQTRedeem

@mzxyz mzxyz requested a review from ianhe8x December 18, 2023 22:54
contracts/SQTGift.sol Outdated Show resolved Hide resolved
contracts/SQTGift.sol Outdated Show resolved Hide resolved
contracts/SQTGift.sol Outdated Show resolved Hide resolved
contracts/SQTGift.sol Outdated Show resolved Hide resolved
@ianhe8x ianhe8x merged commit e3568ac into develop Jan 4, 2024
2 checks passed
@ianhe8x ianhe8x deleted the feat/sqt-gift-nft branch January 4, 2024 07:42
ianhe8x added a commit that referenced this pull request Jan 16, 2024
* Build `SQTGift` NFT contract

* Add `SQTRedeem` contract

* Update `redeem` function

* Update gift contracts

* Add extra condition to redeem

* Add more events

* Update contracts/SQTGift.sol

Co-authored-by: Ian He <[email protected]>

* Update contracts/SQTGift.sol

Co-authored-by: Ian He <[email protected]>

* Update revert codes for `SQTGift`

* Update revert code for `SQTRedeem`

* remove redeem logic from SQTGift

* improve test

* clean up

* add sqtGift to ts

* add batchMint() and publish to testnet

---------

Co-authored-by: Ian He <[email protected]>
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