Is it possible to restrict the asset value on some rules ?

+2 votes
Hi,

I am new to multichain/blockchain technology. Please ignore this question if irrelevant.

I have issued an asset 'GBP' today (26th Oct) with initial quantity of 5000000 from one address. Now, I want that more quantity can't be re-issued to this asset till 7th Nov, even if the address has the permission to do so. And if any address tries to issue more quantity, error should be thrown.

Is there any possibility to add some rule or config changes which can support the above use-case ?

Thanks

Anuj Gupta
asked Oct 26, 2018 by anujg

1 Answer

0 votes
This kind of thing can be achieved in MultiChain 2.0 with smart filters, where you have a time-based rule on the presence of an asset reissuance. More information here:

https://www.multichain.com/developers/smart-filters/
answered Oct 29, 2018 by MultiChain
I have the below json stored in a stream :

{
   "riskModuleId":2,
   "hash":"6cb262dc30393dd75d8c28ff7faf7e68e0dda124883a1ab510cfa1891703c6d4",
   "previousHash":"AACCXSDAA",
   "riskEvaluationId":1,
   "riskSeverity":"Critical",
   "description":"risk description",
   "isActive":true,
   "riskCatalogId":11,
   "ownerAdUserId":"vishalr",
   "systemProcessingComments": "some comments",
   "isInvalidBlockchainElement":false,
   "lastUpdatedDate":1540375035569,
   "nonce": 12112111
}

How can I apply the rules which does not allow any change in the elements and reject if any-one tries to change the item value ?

Thanks
Anuj Gupta
The blockchain itself protects against changing information in streams, so I'm not sure what exactly you're intending? When retrieving the data from a stream, you have the option of retrieving the first item, or the first item for a key, so that any subsequent changes are simply ignored.
...