From f5e400a2be1daeed19a7b4cd2bfd2ad19bf51025 Mon Sep 17 00:00:00 2001 From: J-Dog Date: Wed, 23 Aug 2023 12:48:13 -0700 Subject: [PATCH] v0.10.1 release --- docs/actions/ISSUE.md | 3 ++- indexer/CHANGELOG.md | 7 +++++++ indexer/includes/config.php | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/actions/ISSUE.md b/docs/actions/ISSUE.md index 8bbc661..fd239ac 100644 --- a/docs/actions/ISSUE.md +++ b/docs/actions/ISSUE.md @@ -103,7 +103,8 @@ This example issues a TEST token with a max supply of 100, and a maximum mint of - Additional `TICK` `ISSUE` transactions after first valid `TICK` `ISSUE`, will be considered invalid and ignored, unless broadcast from `token` owners address - `DECIMALS` can not be changed after `token` supply is issued and/or minted - `MAX_SUPPLY` max value is 1,000,000,000,000,000,000,000 (1 Sextillion) -- `LOCK_SUPPLY` can not be set to `1` and permanently locked unless `MAX_SUPPLY` is set to a non-zero number. +- `MAX_SUPPLY` can not be set below existing supply +- `LOCK_SUPPLY` can not be set to `1` and permanently locked until `MIN_TOKEN_SUPPLY` supply exists. ## Notes - `ISSUE` `TICK` with `MAX_SUPPLY` and `MINT_SUPPLY` set to any non `0` value, to mint supply until `MAX_SUPPLY` is reached (owner can mint beyond `MAX_MINT`) diff --git a/indexer/CHANGELOG.md b/indexer/CHANGELOG.md index ca09e2c..d3aaf6a 100644 --- a/indexer/CHANGELOG.md +++ b/indexer/CHANGELOG.md @@ -1,5 +1,12 @@ CHANGELOG --- +0.10.1 +- set MIN_TOKEN_SUPPLY to 0.000000000000000001 +- Prevent LOCK_SUPPLY if no supply is issued +- Prevent setting MAX_SUPPLY below current SUPPLY +- Updated getTokenSupply() to use CAST in sql queries +- Updated getAssetInfo() to only lookup assets using name + 0.10.0 - Initial Release - ISSUE support - LIST support diff --git a/indexer/includes/config.php b/indexer/includes/config.php index bd0d05e..7bcc77a 100644 --- a/indexer/includes/config.php +++ b/indexer/includes/config.php @@ -10,7 +10,7 @@ // BTNS Indexer Version define("VERSION_MAJOR", 0); define("VERSION_MINOR", 10); -define("VERSION_REVISION",0); +define("VERSION_REVISION",1); define("VERSION_STRING", VERSION_MAJOR . '.' . VERSION_MINOR . '.' . VERSION_REVISION); // TICK constants