Releases: dapperlabs/nba-smart-contracts
v1.2.0
What's Changed
- dependencies by @joshuahannan in #53
- Contract Updates: private fields, getters, and borrowMoment by @joshuahannan in #54
- market template variables by @rrrkren in #57
- tidying up mod by @rrrkren in #58
- use example token in market contract by @rrrkren in #59
- added template transactions and scripts for TopShot additions by @joshuahannan in #56
- market templates and tests by @joshuahannan in #60
- update play meta data by @rrrkren in #61
- topshot events by @rrrkren in #62
- Docs and tests for Market by @joshuahannan in #63
- refactored create sale tx by @joshuahannan in #64
- market updates and forwarding tests by @joshuahannan in #66
- Add a testnet client implementation of blockchain API by @Kay-Zee in #65
- Reorganizing the repo by @joshuahannan in #67
- argument for market templates by @joshuahannan in #68
- first draft of open sourcing change by @joshuahannan in #70
- removing DUC from the market to make it token agnostic by @joshuahannan in #72
- Fixing templates so they represent the correct behavior by @joshuahannan in #71
- readme reorg by @joshuahannan in #78
- feedback comments by @joshuahannan in #79
- Adds edits. by @10thfloor in #80
- updating dependencies by @joshuahannan in #81
- Upgrade to v0.7.0 emulator by @jordancoblin in #82
- SetPlaysOwnedByAddress Script by @jordancoblin in #83
- documentation for transactions (market, admin, user) by @chaotic-justice in #89
- remove CurrentTeam and CurrentTeamID from go templates by @zamai in #90
- Use open-sourced emulator, enable tests on CI by @joshuahannan in #91
- Update to Cadence v0.12.3, SDK v0.14.0, and Emulator v0.14.0 by @joshuahannan in #92
- cleaning up tests and updating versions by @joshuahannan in #94
- Adds parameterized transactions and scripts by @joshuahannan in #96
- updated documentation by @joshuahannan in #97
- Update variable name in topshot_admin_templates.go by @marcusmolchany in #98
- Fix broken
kitty items marketplace contract
link in README.md by @calebcordry in #101 - Fixes issue #75 : changed transactions to use prepare/execute by @timongll in #103
- added doc description/parameters/return values to transactions and sc… by @timongll in #105
- Fix Damian Lillard typo in
destroy
function's documentation by @danielhour in #104 - fixing a typo in the README by @alicht in #110
- Added post conditions to some transactions by @timongll in #107
- fix broken link in README by @phi-line in #112
- Changes market to use capabilities by @joshuahannan in #84
- Adds pre-condition for changing cut percentage by @joshuahannan in #115
- Adds V3 Market Contract and transactions by @joshuahannan in #118
- Code Scanning by @jkan2 in #121
- Sadie/test hotfix by @sadief in #122
- revert DUC removal by @sadief in #124
- Map moment destroyed event by @fkenji in #127
- Add events from nba api with unit tests by @Deewai in #128
- Add revealed event by @qhou in #129
- Improvements to the Top Shot Contracts by @joshuahannan in #125
- Getters for query set data by @joshuahannan in #131
- Update versions in lib/go/test by @HouseOfHufflepuff in #136
- Add contract improvements to readme by @Deewai in #135
- README Update : Transaction Examples by @HouseOfHufflepuff in #137
- Implementation of FLIP-0636 - NFT Metadata by @HouseOfHufflepuff in #140
- README Update for Off-Chain Packs by @HouseOfHufflepuff in #142
- Added thumbnail url for Display view and destroy_moments transaction by @Deewai in #143
- update setup transaction to include metadata views by @joshuahannan in #146
- add autograph fields to play metadata by @yeukovichd in #145
- Delist moments before destroying them by @Deewai in #147
- Secure cadence updates by @fkenji in #148
- Feat: Moment Locking by @tpetrychyn in #150
- Fix: TopShot Locking use nft.id for lock key by @tpetrychyn in #151
- add override headline to playMetadata type by @jrkhan in #160
- Feature/core nft views by @jrkhan in #161
- Removed dead code by @jrkhan in #166
- Add test abstraction to speed building tests by @jrkhan in #168
- Fix: typos by @omahs in #169
- Update CODEOWNERS to notify SC Eng by @franklywatson in #171
- Support Team Plays and Tagline in play metadata by @zihehuang in #175
- Add remix (#163) by @anatoly256 in #177
- Backfill play tagline for NFT Catalog by @zihehuang in #180
- Fix unit tests by @jrkhan in #205
- Add borrowNFTSafe impl and test by @jrkhan in #206
- chore: add event models for moment locking by @tpetrychyn in #208
- fix: moment lock event use UFix64 for times by @tpetrychyn in #209
- Use correct interface types in linking by @joshuahannan in #210
- add moment data to moment purchase event by @rrrkren in #213
- feat: add burnMoments collection function by @tpetrychyn in #215
- feat: TopShotLocking - admin set lock expiry func by @tpetrychyn in #217
- test: fix tests to use new MetadataViews imports by @tpetrychyn in #223
- Typo by @ppichier in #154
- add Locked trait by @austinkline in #222
- Fixing Sharded Collection Contract by @javiersoto15 in #227
- dependency: upgrade btcd by @tpetrychyn in #231
- Fix user account set up transaction by @judezhu in #228
- Bump github.com/cloudflare/circl from 1.3.1 to 1.3.3 in /lib/go/test by @dependabot in #214
- Bump github.com/libp2p/go-libp2p from 0.24.2 to 0.27.8 in /lib/go...
lib/go/events/v1.1.2-pre-rc5
What's Changed
- Use correct interface types in linking by @joshuahannan in #210
- add moment data to moment purchase event by @rrrkren in #213
- feat: add burnMoments collection function by @tpetrychyn in #215
Full Changelog: lib/go/events/v1.1.2-rc4...lib/go/events/v1.1.2-rc5
Add Moment lock event go model to lib
What's Changed
- fix: moment lock event use UFix64 for times by @tpetrychyn in #209
Full Changelog: lib/go/events/v1.1.2-rc3...lib/go/events/v1.1.2-rc4
lib/go/events/v1.1.2-rc3
Add moment locked and unlocked Go models
What's Changed
- Fix unit tests by @jrkhan in #205
- Add borrowNFTSafe impl and test by @jrkhan in #206
- chore: add event models for moment locking by @tpetrychyn in #208
Full Changelog: lib/go/events/v1.1.2-rc2...lib/go/events/v1.1.2-rc3
Adding Tagline on Play Metadata struct
Adding the field Tagline to Play metadata to allow a TopShot NFT's description to be accessible on chain. Also make several Play Metadata fields optional to support the concept of Team Plays
What's Changed
- Feature/core nft views by @jrkhan in #161
- Removed dead code by @jrkhan in #166
- Add test abstraction to speed building tests by @jrkhan in #168
- Fix: typos by @omahs in #169
- Update CODEOWNERS to notify SC Eng by @franklywatson in #171
- Support Team Plays and Tagline in play metadata by @zihehuang in #175
- Add remix (#163) by @anatoly256 in #177
New Contributors
- @omahs made their first contribution in #169
- @franklywatson made their first contribution in #171
- @zihehuang made their first contribution in #175
Full Changelog: lib/go/templates/v1.1.1...lib/go/templates/v1.1.2
Adding overrideHeadline on play Metadata
Adding the field overrideHeadline to play metadata to support cases where we may wish to override the playerName or team name as the moments primary title. Stay tuned for an update to the contract that will expose the headline
trait.
What's Changed
- Secure cadence updates by @fkenji in #148
- Feat: Moment Locking by @tpetrychyn in #150
- Fix: TopShot Locking use nft.id for lock key by @tpetrychyn in #151
- add override headline to playMetadata type by @anatoly256 in #160
New Contributors
- @tpetrychyn made their first contribution in #150
Full Changelog: lib/go/templates/v1.0.3...lib/go/templates/v1.1.1
Player autograph fields in play metadata
What's Changed
- Improvements to the Top Shot Contracts by @joshuahannan in #125
- Getters for query set data by @joshuahannan in #131
- Update versions in lib/go/test by @HouseOfHufflepuff in #136
- Add contract improvements to readme by @Deewai in #135
- README Update : Transaction Examples by @HouseOfHufflepuff in #137
- Implementation of FLIP-0636 - NFT Metadata by @HouseOfHufflepuff in #140
- README Update for Off-Chain Packs by @HouseOfHufflepuff in #142
- Added thumbnail url for Display view and destroy_moments transaction by @Deewai in #143
- update setup transaction to include metadata views by @joshuahannan in #146
- add autograph fields to play metadata by @yeukovichd in #145
- Delist moments before destroying them by @Deewai in #147
New Contributors
- @HouseOfHufflepuff made their first contribution in #136
- @yeukovichd made their first contribution in #145
Full Changelog: lib/go/events/v1.0.5...lib/go/templates/v1.0.3
Mapped PackRevealed event
Maps PackRevealed event
Consolidate nba-api events
This moves cadence events in nba-api
repo here and adds event validation when decoding events. Also, adds unit tests
Mapped MomentDestroyed event
- Mapped MomentDestroyed event