boomcrypto / boom-contracts Goto Github PK
View Code? Open in Web Editor NEWNew home for clarity-boom-pool
New home for clarity-boom-pool
Boomboxes should use the same listing and selling as boom-300.
This option provides some more flexibility compared to hard coding the uri yet still makes it immutable after you've checked everything is in order.
Just like in the SP3D6PV2ACBPEKYJTCMH7HEN02KP87QSP8KTEH335.megapont-ape-club-nft (see from line 142 and 150 (and line 019, 037))
Add error
(define-constant ERR-METADATA-FROZEN (err u505))
Add variable
(define-data-var metadata-frozen bool false)
assumes:
(define-data-var base-uri (string-ascii 80) "ipfs://Qmad43sssgNbG9TpC6NfeiTi9X6f9vPYuzgW2S19BEi49m/{id}")
add set base uri
;; Set base uri (define-public (set-base-uri (new-base-uri (string-ascii 80))) (begin (asserts! (is-eq tx-sender CONTRACT-OWNER) ERR-NOT-AUTHORIZED) (asserts! (not (var-get metadata-frozen)) ERR-METADATA-FROZEN) (var-set base-uri new-base-uri) (ok true)))
add Freeze metadata
;; Freeze metadata (define-public (freeze-metadata) (begin (asserts! (is-eq tx-sender CONTRACT-OWNER) ERR-NOT-AUTHORIZED) (var-set metadata-frozen true) (ok true)))
make categories an optional parameter for the mint-series
function
get-boombox-list
)get-boombox-by-contract
, get-boombox-by-id
, halt-boombox
, etc) to lookup from listI tried the new template for b-32, and the deploy failed.
cc @amrro
We need tests to validate the boombox functions when we update.
Owners of boomboxes should have the option to burn the nft, if they wish.
Owners of boombox-28 should get 4 moonboxes airdropped to them. ID/Serial number of the moonboxes should be randomly assigned.
We need to get @friedger's distribution list and drop to those addresses. I'll add Moonbox details to this issue.
Create a contract that manage the minting of Boomboxes.
The contract should
The contract does not handle payout
The boombox contract must implement the boombox trait and can define
We're collaborating with Zero Authority DAO to celebrate Bitcoin Pizza day with Boombox 34. ZA will provide assets, traits, metadata for the collection.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.