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