Algorithm 1 Smart Contract Pseudo Code
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: function initLedger () config LedgerStandarts () function CreateAsset (ctx, params) ←obj if exist (ctx) = = true then return error else return (obj ⸧ [params]) function GetAllAsset (ctx, id) const allResult = [] while! result.done then allResult.Push → Key: result.value.key, Record: record result ← await.iterator.next() return allResult end