tx · 3d4wAXwBmh6xisSe1aYTFdZzFNFh8geYsS1ctPMrH4qc 3MvtnRD5xfCdnvEmTSGt6qtWWq7aMfjGzZd: -0.01400000 Waves 2021.02.02 18:55 [1380751] smart account 3MvtnRD5xfCdnvEmTSGt6qtWWq7aMfjGzZd > SELF 0.00000000 Waves
{ "type": 13, "id": "3d4wAXwBmh6xisSe1aYTFdZzFNFh8geYsS1ctPMrH4qc", "fee": 1400000, "feeAssetId": null, "timestamp": 1612281467847, "version": 2, "chainId": 84, "sender": "3MvtnRD5xfCdnvEmTSGt6qtWWq7aMfjGzZd", "senderPublicKey": "B1WfWcxSgmqwtCovPFXz78QoMVqRT2nB3QyeKT8PjtL8", "proofs": [ "2QEyJ2XwKmAgKLAJd8SVN63tCZWeMLDnmkoMiarR3HAfW6vKGQt6CjmmkX6CVbAr6XNNV9rP36GwgSjadqWRGYjr" ], "script": "base64:AAIEAAAAAAAAABEIAhIDCgEIEgMKAQgSAwoBGAAAAAwAAAAABE5PTkUCAAAABG5vbmUAAAAABkFDVElWRQIAAAAGYWN0aXZlAAAAAAdkYXBwS2V5AgAAAARkYXBwAAAAAAhvd25lcktleQIAAAAFb3duZXIBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAABAAAAC2dldFN0ckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEFAAAABE5PTkUBAAAAEWdldEV4dE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5A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AAAAAAAAANBQAAAA4kYWNjMTMzNzMwMzc1NwQAAAAOJGFjYzE0MzczMDM3NTcJAQAAAAd1cGREYXRhAAAAAgUAAAAOJGFjYzEzMzczMDM3NTcJAAGRAAAAAgUAAAANJGxpc3QzNzMwMzc1NwAAAAAAAAAADQMJAAAAAAAAAgUAAAANJHNpemUzNzMwMzc1NwAAAAAAAAAADgUAAAAOJGFjYzE0MzczMDM3NTcEAAAADiRhY2MxNTM3MzAzNzU3CQEAAAAHdXBkRGF0YQAAAAIFAAAADiRhY2MxNDM3MzAzNzU3CQABkQAAAAIFAAAADSRsaXN0MzczMDM3NTcAAAAAAAAAAA4DCQAAAAAAAAIFAAAADSRzaXplMzczMDM3NTcAAAAAAAAAAA8FAAAADiRhY2MxNTM3MzAzNzU3BAAAAA4kYWNjMTYzNzMwMzc1NwkBAAAAB3VwZERhdGEAAAACBQAAAA4kYWNjMTUzNzMwMzc1NwkAAZEAAAACBQAAAA0kbGlzdDM3MzAzNzU3AAAAAAAAAAAPCQAAAgAAAAECAAAAE0xpc3Qgc2l6ZSBleGNlZWQgMTUAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQnd7Io=", "height": 1380751, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let NONE = "none" | |
5 | + | ||
6 | + | let ACTIVE = "active" | |
7 | + | ||
8 | + | let dappKey = "dapp" | |
9 | + | ||
10 | + | let ownerKey = "owner" | |
11 | + | ||
12 | + | func getNumberByKey (key) = match getInteger(this, key) { | |
13 | + | case a: Int => | |
14 | + | a | |
15 | + | case _ => | |
16 | + | 0 | |
17 | + | } | |
18 | + | ||
19 | + | ||
20 | + | func getStrByKey (key) = match getString(this, key) { | |
21 | + | case a: String => | |
22 | + | a | |
23 | + | case _ => | |
24 | + | NONE | |
25 | + | } | |
26 | + | ||
27 | + | ||
28 | + | func getExtNumberByKey (key) = match getInteger(this, key) { | |
29 | + | case a: Int => | |
30 | + | a | |
31 | + | case _ => | |
32 | + | 0 | |
33 | + | } | |
34 | + | ||
35 | + | ||
36 | + | func getExtStrByKey (addr,key) = match getString(addr, key) { | |
37 | + | case a: String => | |
38 | + | a | |
39 | + | case _ => | |
40 | + | NONE | |
41 | + | } | |
42 | + | ||
43 | + | ||
44 | + | func nftKey (nft) = ("key_" + nft) | |
45 | + | ||
46 | + | ||
47 | + | func nftValue (nft) = getStrByKey(nftKey(nft)) | |
48 | + | ||
49 | + | ||
50 | + | func getAssetInfo (asset) = match assetInfo(asset) { | |
51 | + | case t: Asset => | |
52 | + | t | |
53 | + | case _ => | |
54 | + | throw("Not a key") | |
55 | + | } | |
56 | + | ||
57 | + | ||
58 | + | func updData (acu,item) = { | |
59 | + | let expl = split(item, "#") | |
60 | + | if ((expl[0] == "set")) | |
61 | + | then if ((expl[1] == "string")) | |
62 | + | then StringEntry(expl[2], expl[3]) :: acu | |
63 | + | else IntegerEntry(expl[2], parseIntValue(expl[3])) :: acu | |
64 | + | else DeleteEntry(expl[1]) :: acu | |
65 | + | } | |
66 | + | ||
67 | + | ||
68 | + | @Callable(i) | |
69 | + | func addKey (keyID) = { | |
70 | + | let callerAddress = toBase58String(i.caller.bytes) | |
71 | + | let keyInfo = getAssetInfo(fromBase58String(keyID)) | |
72 | + | let dappAddr = addressFromStringValue(getStrByKey(dappKey)) | |
73 | + | let ownerAddr = addressFromStringValue(getStrByKey(ownerKey)) | |
74 | + | if ((keyInfo.issuer != dappAddr)) | |
75 | + | then throw("Wrong key issuer") | |
76 | + | else if (if ((ownerAddr != i.caller)) | |
77 | + | then (dappAddr != i.caller) | |
78 | + | else false) | |
79 | + | then throw("Not permitted") | |
80 | + | else if ((nftValue(keyID) != NONE)) | |
81 | + | then throw("This key is already assigned") | |
82 | + | else [StringEntry(nftKey(keyID), ACTIVE)] | |
83 | + | } | |
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | @Callable(i) | |
88 | + | func removeKey (keyID) = { | |
89 | + | let dappAddr = addressFromStringValue(getStrByKey(dappKey)) | |
90 | + | let ownerAddr = addressFromStringValue(getStrByKey(ownerKey)) | |
91 | + | if (if ((ownerAddr != i.caller)) | |
92 | + | then (dappAddr != i.caller) | |
93 | + | else false) | |
94 | + | then throw("Not permitted") | |
95 | + | else [DeleteEntry(nftKey(keyID))] | |
96 | + | } | |
97 | + | ||
98 | + | ||
99 | + | ||
100 | + | @Callable(i) | |
101 | + | func updateData (args) = { | |
102 | + | let dappAddr = addressFromStringValue(getStrByKey(dappKey)) | |
103 | + | if ((dappAddr != i.caller)) | |
104 | + | then throw("Not permitted") | |
105 | + | else { | |
106 | + | let $list37303757 = args | |
107 | + | let $size37303757 = size($list37303757) | |
108 | + | let $acc037303757 = nil | |
109 | + | if (($size37303757 == 0)) | |
110 | + | then $acc037303757 | |
111 | + | else { | |
112 | + | let $acc137303757 = updData($acc037303757, $list37303757[0]) | |
113 | + | if (($size37303757 == 1)) | |
114 | + | then $acc137303757 | |
115 | + | else { | |
116 | + | let $acc237303757 = updData($acc137303757, $list37303757[1]) | |
117 | + | if (($size37303757 == 2)) | |
118 | + | then $acc237303757 | |
119 | + | else { | |
120 | + | let $acc337303757 = updData($acc237303757, $list37303757[2]) | |
121 | + | if (($size37303757 == 3)) | |
122 | + | then $acc337303757 | |
123 | + | else { | |
124 | + | let $acc437303757 = updData($acc337303757, $list37303757[3]) | |
125 | + | if (($size37303757 == 4)) | |
126 | + | then $acc437303757 | |
127 | + | else { | |
128 | + | let $acc537303757 = updData($acc437303757, $list37303757[4]) | |
129 | + | if (($size37303757 == 5)) | |
130 | + | then $acc537303757 | |
131 | + | else { | |
132 | + | let $acc637303757 = updData($acc537303757, $list37303757[5]) | |
133 | + | if (($size37303757 == 6)) | |
134 | + | then $acc637303757 | |
135 | + | else { | |
136 | + | let $acc737303757 = updData($acc637303757, $list37303757[6]) | |
137 | + | if (($size37303757 == 7)) | |
138 | + | then $acc737303757 | |
139 | + | else { | |
140 | + | let $acc837303757 = updData($acc737303757, $list37303757[7]) | |
141 | + | if (($size37303757 == 8)) | |
142 | + | then $acc837303757 | |
143 | + | else { | |
144 | + | let $acc937303757 = updData($acc837303757, $list37303757[8]) | |
145 | + | if (($size37303757 == 9)) | |
146 | + | then $acc937303757 | |
147 | + | else { | |
148 | + | let $acc1037303757 = updData($acc937303757, $list37303757[9]) | |
149 | + | if (($size37303757 == 10)) | |
150 | + | then $acc1037303757 | |
151 | + | else { | |
152 | + | let $acc1137303757 = updData($acc1037303757, $list37303757[10]) | |
153 | + | if (($size37303757 == 11)) | |
154 | + | then $acc1137303757 | |
155 | + | else { | |
156 | + | let $acc1237303757 = updData($acc1137303757, $list37303757[11]) | |
157 | + | if (($size37303757 == 12)) | |
158 | + | then $acc1237303757 | |
159 | + | else { | |
160 | + | let $acc1337303757 = updData($acc1237303757, $list37303757[12]) | |
161 | + | if (($size37303757 == 13)) | |
162 | + | then $acc1337303757 | |
163 | + | else { | |
164 | + | let $acc1437303757 = updData($acc1337303757, $list37303757[13]) | |
165 | + | if (($size37303757 == 14)) | |
166 | + | then $acc1437303757 | |
167 | + | else { | |
168 | + | let $acc1537303757 = updData($acc1437303757, $list37303757[14]) | |
169 | + | if (($size37303757 == 15)) | |
170 | + | then $acc1537303757 | |
171 | + | else { | |
172 | + | let $acc1637303757 = updData($acc1537303757, $list37303757[15]) | |
173 | + | throw("List size exceed 15") | |
174 | + | } | |
175 | + | } | |
176 | + | } | |
177 | + | } | |
178 | + | } | |
179 | + | } | |
180 | + | } | |
181 | + | } | |
182 | + | } | |
183 | + | } | |
184 | + | } | |
185 | + | } | |
186 | + | } | |
187 | + | } | |
188 | + | } | |
189 | + | } | |
190 | + | } | |
191 | + | } | |
192 | + | ||
193 | + | ||
194 | + | @Verifier(tx) | |
195 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
196 | + |
github/deemru/w8io/169f3d6 22.38 ms ◑