emblem-vault-sdk 3.0.0-experimental → 3.0.1-experimental

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+
2
+ _this == "Collection Record"
3
+ data == balances: Arr
4
+
5
+ recordName = _this.name
6
+ firstAsset = data[0]
7
+ balanceQty = this.balanceQty
8
+ assetName = firstAsset.name
9
+
10
+ if balanceQty && balanceQty > 0
11
+ {
12
+ firstAsset.balance == balanceQty
13
+ }
14
+
15
+
16
+
17
+ always allow (recordName == embels)
18
+ otherwise
19
+
20
+ zero balance = false
21
+
22
+