Closed DenisCarriere closed 3 years ago
recipe_id
name
uint64_t
blend_id
template_id
<collection_name>:<template_id>
blends
param
index_position
key_type
bycollection
{atomic::nft} id
{set<uint64_t>} recipe_ids
{string} description
{time_point_sec} [start_time=null]
{time_point_sec} [end_time=null]
{ "id": {"collection_name": "mycollection", "template_id": 21883}, "recipe_ids": [1, 2], "description": "My Blend", "start_time": "2021-07-01T00:00:00", "end_time": "2021-10-01T00:00:00" }
recipes
{uint64_t} id
{vector<atomic::nft>} templates
{ "id": 1, "templates": [{"collection_name": "mycollection", "template_id": 21883}] }
status
{vector<uint32_t>} counters
{uint32_t} counters[0]
{uint32_t} counters[1]
{uint32_t} counters[2]
{time_point_sec} last_updated
{ "counters": [10, 1234, 300], "last_updated": "2021-04-12T12:23:42" }
Goals
Changes
recipe_id
(name
=>uint64_t
)recipe_id
uses auto incremental ID, instead of user definedblend_id
, instead use blend'stemplate_id
<collection_name>:<template_id>
Tables
TABLE
blends
param
index_position
key_type
bycollection
params
{atomic::nft} id
- output AtomicAsset NFT template{set<uint64_t>} recipe_ids
- one or many input recipes ID's{string} description
- blend description{time_point_sec} [start_time=null]
- (optional) start time (ex: "2021-07-01T00:00:00"){time_point_sec} [end_time=null]
- (optional) end time (ex: "2021-08-01T00:00:00")example
TABLE
recipes
params
{uint64_t} id
- (auto-incremental primary key) recipe ID{vector<atomic::nft>} templates
- AtomicAsset NFT templatesexample
TABLE
status
{vector<uint32_t>} counters
- counters{uint32_t} counters[0]
- recipes counter{uint32_t} counters[1]
- total mint{uint32_t} counters[2]
- total burn{time_point_sec} last_updated
- last updatedexample