tx · 3A3tHyK4kfrcKuqEEZnNQ7xZYMD6Cuywf2JA8jtLYz9j 3MsAPhAzz9JiT6va7mirYa9JXDdqm58dNMy: -0.02800000 Waves 2023.07.19 14:41 [2672691] smart account 3MsAPhAzz9JiT6va7mirYa9JXDdqm58dNMy > SELF 0.00000000 Waves
{ "type": 13, "id": "3A3tHyK4kfrcKuqEEZnNQ7xZYMD6Cuywf2JA8jtLYz9j", "fee": 2800000, "feeAssetId": null, "timestamp": 1689767003956, "version": 2, "chainId": 84, "sender": "3MsAPhAzz9JiT6va7mirYa9JXDdqm58dNMy", "senderPublicKey": "xiXH9MJGQuqvrq7LF1UN6U51A9wedsVk882rcy5NvcL", "proofs": [ "a3tbyLX7rjtnyK39jC9Kt7zMddWe5aJL2pG8PN5h58d8tnKwSZ35uT6rxPNQ4iAw5fnHgQmS4Zcdjqhox2AzD15" ], "script": "base64:AAIFAAAAAAAAAC0IAhIDCgEIEgkKBwgICAgBCAgSAwoBARIAEgASBQoDCAgIEgQKAggBEgMKAQgAAAA5AAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAQAAAA9nZXRTdHJpbmdPckZhaWwAAAABAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQkAASwAAAACAgAAABVObyBkYXRhIGZvciB0aGlzLmtleT0FAAAAA2tleQEAAAAQZ2V0Qm9vbGVhbk9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAABNrZXlNYW5hZ2VyUHVibGljS2V5AAAAAAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAAEG1hbmFnZXJQdWJsaWNLZXkFAAAAA25pbAUAAAADU0VQAQAAABZrZXlNYW5h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BAAAAAhyZXN0RGF0YQkABLkAAAACCQAETAAAAAICAAAAGXN0YXJ0Q3VycmVudFN5c1BhcmFtc1JFU1QJAARMAAAAAgkAAaQAAAABBQAAAAVwcmljZQkABEwAAAACCQABpAAAAAEFAAAAEWRlY2ltYWxzTXVsdFByaWNlCQAETAAAAAIJAAGkAAAAAQUAAAAQYmFzZUFzc2V0QmFsYW5jZQkABEwAAAACCQABpAAAAAEFAAAAFXRvdGFsTG9ja2VkQmFzZUFtb3VudAkABEwAAAACCQABpAAAAAEFAAAAH2Jhc2VBc3NldEJhbGFuY2VDb25zaWRlcmluZ0xvY2sJAARMAAAAAgkAAaQAAAABBQAAAA1zaGFyZUVtaXNzaW9uCQAETAAAAAICAAAAF2VuZEN1cnJlbnRTeXNQYXJhbXNSRVNUBQAAAANuaWwFAAAAA1NFUAkAAAIAAAABBQAAAAhyZXN0RGF0YQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXkygiTg", "height": 2672691, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GYaATnqkESDtMdeqC1mZYsnBSsnJjZZs3nFa2HJ9wwzN Next: none Diff:
Old | New | Differences | |
---|---|---|---|
14 | 14 | func f () = makeString(["%s", "managerPublicKey"], a) | |
15 | 15 | ||
16 | 16 | ||
17 | - | func g () = | |
17 | + | func g () = "%s__managerVaultAddress" | |
18 | 18 | ||
19 | 19 | ||
20 | - | func h (i,j,k,l) = throw(((((((i + ": baseAssetStr=") + j) + " userAddressStr=") + k) + " getTxIdStr=") + l)) | |
21 | - | ||
22 | - | ||
23 | - | func m () = makeString(["%s", "assetsStoreContract"], a) | |
24 | - | ||
25 | - | ||
26 | - | func n (j) = ("%s%s%s__config__asset__" + j) | |
27 | - | ||
28 | - | ||
29 | - | func o (p) = makeString(["%s%s", "proxyAddress", p], a) | |
30 | - | ||
31 | - | ||
32 | - | func q (p) = makeString(["%s%s", "balance", p], a) | |
33 | - | ||
34 | - | ||
35 | - | func r () = "%s__nextInternalAssetId" | |
36 | - | ||
37 | - | ||
38 | - | func s (t) = ("%s%s%d__price__last__" + t) | |
39 | - | ||
40 | - | ||
41 | - | func u (t,v) = makeString(["%s%s%s%d%s__topup__last__height", t, v], a) | |
42 | - | ||
43 | - | ||
44 | - | func w (t,x,y) = makeString(["%s%s%d%d%d__price__history", t, toString(x), toString(y)], a) | |
45 | - | ||
46 | - | ||
47 | - | func z (t) = ("%s%s%d__total__locked__" + t) | |
48 | - | ||
49 | - | ||
50 | - | func A (B,k) = makeString(["%s%s%d%s__total__locked", B, k], a) | |
51 | - | ||
52 | - | ||
53 | - | func C (D) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(D)) | |
54 | - | ||
55 | - | ||
56 | - | func E (j) = ("%s%s%s__mappings__baseAsset2internalId__" + j) | |
57 | - | ||
58 | - | ||
59 | - | func F (G) = ("%s%s%s__mappings__share2baseAssetId__" + G) | |
60 | - | ||
61 | - | ||
62 | - | func H (j) = ("%s%s%s__mappings__baseAsset2shareId__" + j) | |
63 | - | ||
64 | - | ||
65 | - | func I (B) = ("%s%s%d__shutdown__put__" + B) | |
66 | - | ||
67 | - | ||
68 | - | func J (B) = ("%s%s%d__shutdown__manager__" + B) | |
69 | - | ||
70 | - | ||
71 | - | func K () = addressFromStringValue(value(getString(m()))) | |
72 | - | ||
73 | - | ||
74 | - | let L = 1 | |
75 | - | ||
76 | - | let M = 2 | |
77 | - | ||
78 | - | let N = 3 | |
79 | - | ||
80 | - | let O = 4 | |
81 | - | ||
82 | - | let P = 5 | |
83 | - | ||
84 | - | func Q (G,B,R,S,T) = makeString(["%s%d%d%d%d", G, B, toString(R), toString(S), toString(T)], a) | |
85 | - | ||
86 | - | ||
87 | - | let U = 1 | |
88 | - | ||
89 | - | let V = 2 | |
90 | - | ||
91 | - | func W (X,Y) = makeString(["%d%d", toString(X), toString(Y)], a) | |
92 | - | ||
93 | - | ||
94 | - | func Z (d) = { | |
95 | - | let aa = split(valueOrElse(getString(this, d), W(0, 0)), a) | |
96 | - | [-1, parseIntValue(aa[U]), parseIntValue(aa[V])] | |
20 | + | func h () = { | |
21 | + | let i = getString(g()) | |
22 | + | if ($isInstanceOf(i, "String")) | |
23 | + | then { | |
24 | + | let j = i | |
25 | + | addressFromStringValue(j) | |
26 | + | } | |
27 | + | else this | |
97 | 28 | } | |
98 | 29 | ||
99 | 30 | ||
100 | - | func | |
31 | + | func k (l,m,n,o) = throw(((((((l + ": baseAssetStr=") + m) + " userAddressStr=") + n) + " getTxIdStr=") + o)) | |
101 | 32 | ||
102 | 33 | ||
103 | - | let af = 1 | |
104 | - | ||
105 | - | let ag = 2 | |
106 | - | ||
107 | - | let ah = 3 | |
108 | - | ||
109 | - | let ai = 4 | |
110 | - | ||
111 | - | let aj = 5 | |
112 | - | ||
113 | - | let ak = 6 | |
114 | - | ||
115 | - | let al = 7 | |
116 | - | ||
117 | - | let am = 8 | |
118 | - | ||
119 | - | func an (ao,ap,aq,ar,as,at,au,av) = makeString(["%s%d%d%d%d%d%d%d", ao, ap, aq, ar, as, at, au, av], a) | |
34 | + | func p () = makeString(["%s", "assetsStoreContract"], a) | |
120 | 35 | ||
121 | 36 | ||
122 | - | func | |
37 | + | func q (m) = ("%s%s%s__config__asset__" + m) | |
123 | 38 | ||
124 | 39 | ||
125 | - | func | |
40 | + | func r (s) = makeString(["%s%s", "proxyAddress", s], a) | |
126 | 41 | ||
127 | 42 | ||
128 | - | func aB (j) = { | |
129 | - | let d = n(j) | |
43 | + | func t (s) = makeString(["%s%s", "balance", s], a) | |
44 | + | ||
45 | + | ||
46 | + | func u () = "%s__nextInternalAssetId" | |
47 | + | ||
48 | + | ||
49 | + | func v (w) = ("%s%s%d__price__last__" + w) | |
50 | + | ||
51 | + | ||
52 | + | func x (w,y) = makeString(["%s%s%s%d%s__topup__last__height", w, y], a) | |
53 | + | ||
54 | + | ||
55 | + | func z (w,A,B) = makeString(["%s%s%d%d%d__price__history", w, toString(A), toString(B)], a) | |
56 | + | ||
57 | + | ||
58 | + | func C (w) = ("%s%s%d__total__locked__" + w) | |
59 | + | ||
60 | + | ||
61 | + | func D (E,n) = makeString(["%s%s%d%s__total__locked", E, n], a) | |
62 | + | ||
63 | + | ||
64 | + | func F (G) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(G)) | |
65 | + | ||
66 | + | ||
67 | + | func H (m) = ("%s%s%s__mappings__baseAsset2internalId__" + m) | |
68 | + | ||
69 | + | ||
70 | + | func I (J) = ("%s%s%s__mappings__share2baseAssetId__" + J) | |
71 | + | ||
72 | + | ||
73 | + | func K (m) = ("%s%s%s__mappings__baseAsset2shareId__" + m) | |
74 | + | ||
75 | + | ||
76 | + | func L (E) = ("%s%s%d__shutdown__put__" + E) | |
77 | + | ||
78 | + | ||
79 | + | func M (E) = ("%s%s%d__shutdown__manager__" + E) | |
80 | + | ||
81 | + | ||
82 | + | func N () = addressFromStringValue(value(getString(p()))) | |
83 | + | ||
84 | + | ||
85 | + | let O = 1 | |
86 | + | ||
87 | + | let P = 2 | |
88 | + | ||
89 | + | let Q = 3 | |
90 | + | ||
91 | + | let R = 4 | |
92 | + | ||
93 | + | let S = 5 | |
94 | + | ||
95 | + | func T (J,E,U,V,W) = makeString(["%s%d%d%d%d", J, E, toString(U), toString(V), toString(W)], a) | |
96 | + | ||
97 | + | ||
98 | + | let X = 1 | |
99 | + | ||
100 | + | let Y = 2 | |
101 | + | ||
102 | + | func Z (aa,ab) = makeString(["%d%d", toString(aa), toString(ab)], a) | |
103 | + | ||
104 | + | ||
105 | + | func ac (d) = { | |
106 | + | let ad = split(valueOrElse(getString(this, d), Z(0, 0)), a) | |
107 | + | [-1, parseIntValue(ad[X]), parseIntValue(ad[Y])] | |
108 | + | } | |
109 | + | ||
110 | + | ||
111 | + | func ae (af,E,ag,ah) = makeString(["%s%d%s%s", af, E, ag, ah], a) | |
112 | + | ||
113 | + | ||
114 | + | let ai = 1 | |
115 | + | ||
116 | + | let aj = 2 | |
117 | + | ||
118 | + | let ak = 3 | |
119 | + | ||
120 | + | let al = 4 | |
121 | + | ||
122 | + | let am = 5 | |
123 | + | ||
124 | + | let an = 6 | |
125 | + | ||
126 | + | let ao = 7 | |
127 | + | ||
128 | + | let ap = 8 | |
129 | + | ||
130 | + | func aq (ar,as,at,au,av,aw,ax,ay) = makeString(["%s%d%d%d%d%d%d%d", ar, as, at, au, av, aw, ax, ay], a) | |
131 | + | ||
132 | + | ||
133 | + | func az (ar,as,at,au,av,aw,ax,ay) = aq(ar, toString(as), toString(at), toString(au), toString(av), toString(aw), toString(ax), toString(ay)) | |
134 | + | ||
135 | + | ||
136 | + | func aA (aB,aC,aD) = aq(aC, aB[aj], aB[ak], aB[al], aB[am], aB[an], aB[ao], toString(aD)) | |
137 | + | ||
138 | + | ||
139 | + | func aE (m) = { | |
140 | + | let d = q(m) | |
130 | 141 | split(c(d), a) | |
131 | 142 | } | |
132 | 143 | ||
133 | 144 | ||
134 | - | func | |
135 | - | let | |
136 | - | StringEntry(d, | |
145 | + | func aF (d,aa,ab) = { | |
146 | + | let aG = ac(d) | |
147 | + | StringEntry(d, Z((aG[X] + aa), (aG[Y] + ab))) | |
137 | 148 | } | |
138 | 149 | ||
139 | 150 | ||
140 | - | func | |
141 | - | let | |
142 | - | StringEntry(d, | |
151 | + | func aH (d,aa,ab) = { | |
152 | + | let aG = ac(d) | |
153 | + | StringEntry(d, Z((aG[X] - aa), (aG[Y] - ab))) | |
143 | 154 | } | |
144 | 155 | ||
145 | 156 | ||
146 | - | func aF () = { | |
147 | - | let aG = getString(f()) | |
148 | - | if ($isInstanceOf(aG, "String")) | |
157 | + | func aI () = { | |
158 | + | let aJ = h() | |
159 | + | let i = getString(aJ, f()) | |
160 | + | if ($isInstanceOf(i, "String")) | |
149 | 161 | then { | |
150 | - | let | |
151 | - | fromBase58String( | |
162 | + | let j = i | |
163 | + | fromBase58String(j) | |
152 | 164 | } | |
153 | - | else if ($isInstanceOf( | |
165 | + | else if ($isInstanceOf(i, "Unit")) | |
154 | 166 | then unit | |
155 | 167 | else throw("Match error") | |
156 | 168 | } | |
157 | 169 | ||
158 | 170 | ||
159 | - | func aI () = { | |
160 | - | let aG = getString(g()) | |
161 | - | if ($isInstanceOf(aG, "String")) | |
171 | + | func aK (s) = valueOrElse(getInteger(t(s)), 0) | |
172 | + | ||
173 | + | ||
174 | + | func aL (E,aM,aN,aO,U,V) = { | |
175 | + | let ad = ac(C(E)) | |
176 | + | let aP = ad[Y] | |
177 | + | let aQ = aK(toBase58String(aM)) | |
178 | + | let aR = (aQ + aN) | |
179 | + | if ((0 > aR)) | |
180 | + | then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(aQ)) + " baseAssetBalanceConsideringLock=") + toString(aR))) | |
181 | + | else { | |
182 | + | let aS = value(assetInfo(aO)).quantity | |
183 | + | let at = if ((aS == 0)) | |
184 | + | then (1 * V) | |
185 | + | else fraction(aR, V, aS) | |
186 | + | $Tuple5(at, aQ, aP, aR, aS) | |
187 | + | } | |
188 | + | } | |
189 | + | ||
190 | + | ||
191 | + | func aT (E,aM,aO,U,V) = { | |
192 | + | let ad = ac(C(E)) | |
193 | + | let aP = ad[Y] | |
194 | + | let aQ = aK(toBase58String(aM)) | |
195 | + | let aR = aQ | |
196 | + | let aS = value(assetInfo(aO)).quantity | |
197 | + | let at = value(getInteger(v(E))) | |
198 | + | $Tuple5(at, aQ, aP, aR, aS) | |
199 | + | } | |
200 | + | ||
201 | + | ||
202 | + | func aU (m) = { | |
203 | + | let aM = fromBase58String(m) | |
204 | + | let aV = aE(m) | |
205 | + | let J = aV[O] | |
206 | + | let aO = fromBase58String(J) | |
207 | + | let U = parseIntValue(aV[Q]) | |
208 | + | let V = parseIntValue(aV[R]) | |
209 | + | let E = aV[P] | |
210 | + | let aW = aT(E, aM, aO, U, V) | |
211 | + | let aX = { | |
212 | + | let i = getInteger(x(E, getStringValue(r(m)))) | |
213 | + | if ($isInstanceOf(i, "Int")) | |
214 | + | then { | |
215 | + | let A = i | |
216 | + | value(A) | |
217 | + | } | |
218 | + | else if ($isInstanceOf(i, "Unit")) | |
219 | + | then getIntegerValue(x(E, toString(addressFromPublicKey(fromBase58String(getStringValue(f())))))) | |
220 | + | else throw("undefined behaviour in privateCurrentSysParamsREST match") | |
221 | + | } | |
222 | + | $Tuple8(IntegerEntry("price", aW._1), IntegerEntry("decimalsMultPrice", V), IntegerEntry("baseAssetBalance", aW._2), IntegerEntry("totalLockedBaseAmount", aW._3), IntegerEntry("baseAssetBalanceConsideringLock", aW._4), IntegerEntry("shareEmission", aW._5), IntegerEntry("baseAssetDecimals", value(assetInfo(aM)).decimals), IntegerEntry("lastTopUpTimestamp", value(blockInfoByHeight(aX)).timestamp)) | |
223 | + | } | |
224 | + | ||
225 | + | ||
226 | + | func aY (aZ) = { | |
227 | + | let ba = throw("permission denied") | |
228 | + | let i = aI() | |
229 | + | if ($isInstanceOf(i, "ByteVector")) | |
162 | 230 | then { | |
163 | - | let aH = aG | |
164 | - | fromBase58String(aH) | |
231 | + | let bb = i | |
232 | + | if ((aZ.callerPublicKey == bb)) | |
233 | + | then true | |
234 | + | else ba | |
165 | 235 | } | |
166 | - | else if ($isInstanceOf(aG, "Unit")) | |
167 | - | then unit | |
236 | + | else if ($isInstanceOf(i, "Unit")) | |
237 | + | then if ((aZ.caller == this)) | |
238 | + | then true | |
239 | + | else ba | |
168 | 240 | else throw("Match error") | |
169 | 241 | } | |
170 | 242 | ||
171 | 243 | ||
172 | - | func aJ (p) = valueOrElse(getInteger(q(p)), 0) | |
173 | - | ||
174 | - | ||
175 | - | func aK (B,aL,aM,aN,R,S) = { | |
176 | - | let aa = Z(z(B)) | |
177 | - | let aO = aa[V] | |
178 | - | let aP = aJ(toBase58String(aL)) | |
179 | - | let aQ = (aP + aM) | |
180 | - | if ((0 > aQ)) | |
181 | - | then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(aP)) + " baseAssetBalanceConsideringLock=") + toString(aQ))) | |
182 | - | else { | |
183 | - | let aR = value(assetInfo(aN)).quantity | |
184 | - | let aq = if ((aR == 0)) | |
185 | - | then (1 * S) | |
186 | - | else fraction(aQ, S, aR) | |
187 | - | $Tuple5(aq, aP, aO, aQ, aR) | |
188 | - | } | |
189 | - | } | |
190 | - | ||
191 | - | ||
192 | - | func aS (B,aL,aN,R,S) = { | |
193 | - | let aa = Z(z(B)) | |
194 | - | let aO = aa[V] | |
195 | - | let aP = aJ(toBase58String(aL)) | |
196 | - | let aQ = aP | |
197 | - | let aR = value(assetInfo(aN)).quantity | |
198 | - | let aq = value(getInteger(s(B))) | |
199 | - | $Tuple5(aq, aP, aO, aQ, aR) | |
200 | - | } | |
201 | - | ||
202 | - | ||
203 | - | func aT (j) = { | |
204 | - | let aL = fromBase58String(j) | |
205 | - | let aU = aB(j) | |
206 | - | let G = aU[L] | |
207 | - | let aN = fromBase58String(G) | |
208 | - | let R = parseIntValue(aU[N]) | |
209 | - | let S = parseIntValue(aU[O]) | |
210 | - | let B = aU[M] | |
211 | - | let aV = aS(B, aL, aN, R, S) | |
212 | - | let aW = { | |
213 | - | let aG = getInteger(u(B, getStringValue(o(j)))) | |
214 | - | if ($isInstanceOf(aG, "Int")) | |
215 | - | then { | |
216 | - | let x = aG | |
217 | - | value(x) | |
218 | - | } | |
219 | - | else if ($isInstanceOf(aG, "Unit")) | |
220 | - | then getIntegerValue(u(B, toString(addressFromPublicKey(fromBase58String(getStringValue(f())))))) | |
221 | - | else throw("undefined behaviour in privateCurrentSysParamsREST match") | |
222 | - | } | |
223 | - | $Tuple8(IntegerEntry("price", aV._1), IntegerEntry("decimalsMultPrice", S), IntegerEntry("baseAssetBalance", aV._2), IntegerEntry("totalLockedBaseAmount", aV._3), IntegerEntry("baseAssetBalanceConsideringLock", aV._4), IntegerEntry("shareEmission", aV._5), IntegerEntry("baseAssetDecimals", value(assetInfo(aL)).decimals), IntegerEntry("lastTopUpTimestamp", value(blockInfoByHeight(aW)).timestamp)) | |
224 | - | } | |
225 | - | ||
226 | - | ||
227 | - | func aX (aY) = { | |
228 | - | let aZ = throw("permission denied") | |
229 | - | let aG = aF() | |
230 | - | if ($isInstanceOf(aG, "ByteVector")) | |
231 | - | then { | |
232 | - | let ba = aG | |
233 | - | if ((aY.callerPublicKey == ba)) | |
234 | - | then true | |
235 | - | else aZ | |
236 | - | } | |
237 | - | else if ($isInstanceOf(aG, "Unit")) | |
238 | - | then if ((aY.caller == this)) | |
239 | - | then true | |
240 | - | else aZ | |
241 | - | else throw("Match error") | |
242 | - | } | |
243 | - | ||
244 | - | ||
245 | - | func bb (aY,p) = { | |
246 | - | let bc = (toString(aY.caller) == valueOrElse(getString(o(p)), b)) | |
247 | - | if (bc) | |
244 | + | func bc (aZ,s) = { | |
245 | + | let bd = (toString(aZ.caller) == valueOrElse(getString(r(s)), b)) | |
246 | + | if (bd) | |
248 | 247 | then true | |
249 | 248 | else { | |
250 | - | let | |
251 | - | if (( | |
249 | + | let be = aY(aZ) | |
250 | + | if ((be == be)) | |
252 | 251 | then true | |
253 | 252 | else throw("Strict value is not equal to itself.") | |
254 | 253 | } | |
255 | 254 | } | |
256 | 255 | ||
257 | 256 | ||
258 | - | @Callable( | |
259 | - | func constructor ( | |
260 | - | let | |
261 | - | if (( | |
262 | - | then [StringEntry( | |
257 | + | @Callable(aZ) | |
258 | + | func constructor (N) = { | |
259 | + | let be = aY(aZ) | |
260 | + | if ((be == be)) | |
261 | + | then [StringEntry(p(), N)] | |
263 | 262 | else throw("Strict value is not equal to itself.") | |
264 | 263 | } | |
265 | 264 | ||
266 | 265 | ||
267 | 266 | ||
268 | - | @Callable( | |
269 | - | func adminRegisterAsset ( | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | if (( | |
274 | - | then if ((toString(addressFromStringValue( | |
267 | + | @Callable(aZ) | |
268 | + | func adminRegisterAsset (m,bf,bg,bh,bi,bj,bk) = { | |
269 | + | let aM = fromBase58String(m) | |
270 | + | let bl = value(assetInfo(aM)).decimals | |
271 | + | let bm = aY(aZ) | |
272 | + | if ((bm == bm)) | |
273 | + | then if ((toString(addressFromStringValue(bj)) != bj)) | |
275 | 274 | then throw("invalid shutdownManagerAddress") | |
276 | - | else if ((0 > | |
277 | - | then throw(("invalid getDelayinBlocks=" + toString( | |
275 | + | else if ((0 > bi)) | |
276 | + | then throw(("invalid getDelayinBlocks=" + toString(bi))) | |
278 | 277 | else { | |
279 | - | let | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
284 | - | let | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | if (( | |
278 | + | let bn = Issue(bf, bg, 1, bl, true) | |
279 | + | let aO = calculateAssetId(bn) | |
280 | + | let J = toBase58String(aO) | |
281 | + | let V = ((100 * 1000) * 1000) | |
282 | + | let U = pow(10, 0, bl, 0, 0, DOWN) | |
283 | + | let bo = (1 * V) | |
284 | + | let bp = valueOrElse(getInteger(this, u()), 0) | |
285 | + | let E = toString(bp) | |
286 | + | let bq = invoke(N(), "createOrUpdate", [J, bh, false], nil) | |
287 | + | if ((bq == bq)) | |
289 | 288 | then { | |
290 | - | let | |
291 | - | if (( | |
292 | - | then [StringEntry( | |
289 | + | let br = invoke(N(), "addLabel", [J, "STAKING_LP"], nil) | |
290 | + | if ((br == br)) | |
291 | + | then [StringEntry(q(m), T(J, E, U, V, bi)), StringEntry(F(bp), m), StringEntry(H(m), E), StringEntry(I(J), m), StringEntry(K(m), J), BooleanEntry(L(E), false), StringEntry(M(E), bj), IntegerEntry(u(), (bp + 1)), IntegerEntry(v(E), bo), IntegerEntry(z(E, height, lastBlock.timestamp), bo), bn, Burn(aO, 1), StringEntry(r(m), bk)] | |
293 | 292 | else throw("Strict value is not equal to itself.") | |
294 | 293 | } | |
295 | 294 | else throw("Strict value is not equal to itself.") | |
299 | 298 | ||
300 | 299 | ||
301 | 300 | ||
302 | - | @Callable( | |
303 | - | func shutdownPut ( | |
304 | - | let | |
305 | - | let | |
306 | - | let | |
307 | - | if ((1 > size( | |
301 | + | @Callable(aZ) | |
302 | + | func shutdownPut (bs) = { | |
303 | + | let bt = toString(bs) | |
304 | + | let bu = c(F(bs)) | |
305 | + | let bj = c(M(bt)) | |
306 | + | if ((1 > size(bu))) | |
308 | 307 | then throw("invalid internalBaseAssetId") | |
309 | - | else if ((toString( | |
308 | + | else if ((toString(aZ.caller) != bj)) | |
310 | 309 | then throw("access denied") | |
311 | - | else [BooleanEntry( | |
310 | + | else [BooleanEntry(L(toString(bs)), true)] | |
312 | 311 | } | |
313 | 312 | ||
314 | 313 | ||
315 | 314 | ||
316 | - | @Callable( | |
315 | + | @Callable(aZ) | |
317 | 316 | func put () = { | |
318 | - | let | |
319 | - | let | |
320 | - | let | |
321 | - | let | |
322 | - | let | |
323 | - | let | |
324 | - | let | |
325 | - | let | |
326 | - | let | |
327 | - | let | |
328 | - | let | |
329 | - | if ( | |
317 | + | let bv = value(aZ.payments[0]) | |
318 | + | let aM = value(bv.assetId) | |
319 | + | let m = toBase58String(aM) | |
320 | + | let n = toString(aZ.caller) | |
321 | + | let aV = aE(m) | |
322 | + | let J = aV[O] | |
323 | + | let aO = fromBase58String(J) | |
324 | + | let U = parseIntValue(aV[Q]) | |
325 | + | let V = parseIntValue(aV[R]) | |
326 | + | let E = aV[P] | |
327 | + | let bw = e(L(E)) | |
328 | + | if (bw) | |
330 | 329 | then throw("put operation is blocked") | |
331 | 330 | else { | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | [Reissue( | |
331 | + | let bx = (aK(m) + bv.amount) | |
332 | + | let at = aT(E, aM, aO, U, V)._1 | |
333 | + | let aa = fraction(bv.amount, V, at, CEILING) | |
334 | + | [Reissue(aO, aa, true), ScriptTransfer(aZ.caller, aa, aO), StringEntry(ae("P", E, n, toBase58String(aZ.transactionId)), az("FINISHED", bv.amount, at, aa, height, lastBlock.timestamp, height, lastBlock.timestamp)), ScriptTransfer(addressFromStringValue(value(getString(r(m)))), bv.amount, aM), IntegerEntry(t(m), bx)] | |
336 | 335 | } | |
337 | 336 | } | |
338 | 337 | ||
339 | 338 | ||
340 | 339 | ||
341 | - | @Callable( | |
340 | + | @Callable(aZ) | |
342 | 341 | func submitGetRequest () = { | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | - | let | |
357 | - | let | |
358 | - | let | |
359 | - | let | |
360 | - | let | |
361 | - | [Burn( | |
342 | + | let bv = value(aZ.payments[0]) | |
343 | + | let aO = value(bv.assetId) | |
344 | + | let J = toBase58String(aO) | |
345 | + | let by = toBase58String(aZ.callerPublicKey) | |
346 | + | let ag = aZ.caller | |
347 | + | let n = toString(ag) | |
348 | + | let aa = bv.amount | |
349 | + | let m = c(I(J)) | |
350 | + | let aM = fromBase58String(m) | |
351 | + | let aV = aE(m) | |
352 | + | let U = parseIntValue(aV[Q]) | |
353 | + | let V = parseIntValue(aV[R]) | |
354 | + | let bz = parseIntValue(aV[S]) | |
355 | + | let E = aV[P] | |
356 | + | let at = aT(E, aM, aO, U, V)._1 | |
357 | + | let ab = fraction(aa, at, V) | |
358 | + | let bA = ae("G", E, n, toBase58String(aZ.transactionId)) | |
359 | + | let bB = az("PENDING", aa, at, ab, height, lastBlock.timestamp, (height + bz), 0) | |
360 | + | [Burn(aO, aa), StringEntry(bA, bB), aF(C(E), aa, ab), aF(D(E, n), aa, ab), IntegerEntry(t(m), (aK(m) - ab))] | |
362 | 361 | } | |
363 | 362 | ||
364 | 363 | ||
365 | 364 | ||
366 | - | @Callable( | |
367 | - | func executeGetRequest ( | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | if (( | |
380 | - | then | |
381 | - | else if (( | |
382 | - | then | |
383 | - | else [ScriptTransfer( | |
365 | + | @Callable(aZ) | |
366 | + | func executeGetRequest (m,n,o) = { | |
367 | + | let ag = addressFromStringValue(n) | |
368 | + | let bC = aE(m) | |
369 | + | let aO = fromBase58String(bC[O]) | |
370 | + | let aM = fromBase58String(m) | |
371 | + | let E = bC[P] | |
372 | + | let bA = ae("G", E, n, o) | |
373 | + | let bD = split(c(bA), a) | |
374 | + | let ar = bD[ai] | |
375 | + | let ax = parseIntValue(bD[ao]) | |
376 | + | let bE = parseIntValue(bD[aj]) | |
377 | + | let bF = parseIntValue(bD[al]) | |
378 | + | if ((ar != "PENDING")) | |
379 | + | then k("Status is not PENDING", m, n, o) | |
380 | + | else if ((ax > height)) | |
381 | + | then k(((("EndHeight[" + toString(ax)) + "] > ") + toString(height)), m, n, o) | |
382 | + | else [ScriptTransfer(ag, bF, aM), StringEntry(bA, aA(bD, "FINISHED", lastBlock.timestamp)), aH(C(E), bE, bF), aH(D(E, n), bE, bF)] | |
384 | 383 | } | |
385 | 384 | ||
386 | 385 | ||
387 | 386 | ||
388 | - | @Callable( | |
389 | - | func topUpBalance ( | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | let | |
387 | + | @Callable(aZ) | |
388 | + | func topUpBalance (m,bG) = { | |
389 | + | let bC = aE(m) | |
390 | + | let bv = value(aZ.payments[0]) | |
391 | + | let bH = value(bv.assetId) | |
392 | + | let bI = toBase58String(bH) | |
393 | + | let aO = fromBase58String(bC[O]) | |
394 | + | let U = parseIntValue(bC[Q]) | |
395 | + | let V = parseIntValue(bC[R]) | |
396 | + | let E = bC[P] | |
397 | + | let bJ = x(E, toString(aZ.caller)) | |
398 | + | let aX = valueOrElse(getInteger(this, bJ), 0) | |
399 | + | let bK = [bc(aZ, m), if ((aX != height)) | |
401 | 400 | then true | |
402 | - | else throw("only one topUp per block is allowed"), if (( | |
401 | + | else throw("only one topUp per block is allowed"), if ((bG > 0)) | |
403 | 402 | then true | |
404 | 403 | else throw("only positive delta is allowed")] | |
405 | - | if (( | |
406 | - | then if (( | |
404 | + | if ((bK == bK)) | |
405 | + | then if ((m != bI)) | |
407 | 406 | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
408 | - | else if ((size( | |
407 | + | else if ((size(aZ.payments) > 1)) | |
409 | 408 | then throw("only one payment can be attached") | |
410 | 409 | else { | |
411 | - | let | |
412 | - | [IntegerEntry( | |
410 | + | let at = aL(E, bH, bG, aO, U, V)._1 | |
411 | + | [IntegerEntry(v(E), at), IntegerEntry(z(E, height, lastBlock.timestamp), at), IntegerEntry(bJ, height), IntegerEntry(t(bI), (aK(bI) + bG))] | |
413 | 412 | } | |
414 | 413 | else throw("Strict value is not equal to itself.") | |
415 | 414 | } | |
416 | 415 | ||
417 | 416 | ||
418 | 417 | ||
419 | - | @Callable( | |
420 | - | func currentSysParamsREST ( | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | throw( | |
418 | + | @Callable(aZ) | |
419 | + | func currentSysParamsREST (m) = { | |
420 | + | let bL = aU(m) | |
421 | + | let at = bL._1.value | |
422 | + | let V = bL._2.value | |
423 | + | let aQ = bL._3.value | |
424 | + | let aP = bL._4.value | |
425 | + | let aR = bL._5.value | |
426 | + | let aS = bL._6.value | |
427 | + | let bM = makeString(["startCurrentSysParamsREST", toString(at), toString(V), toString(aQ), toString(aP), toString(aR), toString(aS), "endCurrentSysParamsREST"], a) | |
428 | + | throw(bM) | |
430 | 429 | } | |
431 | 430 | ||
432 | 431 | ||
433 | - | ||
434 | - | @Callable(aY) | |
435 | - | func setManager (bM) = { | |
436 | - | let bd = aX(aY) | |
437 | - | if ((bd == bd)) | |
438 | - | then { | |
439 | - | let bN = fromBase58String(bM) | |
440 | - | if ((bN == bN)) | |
441 | - | then [StringEntry(g(), bM)] | |
442 | - | else throw("Strict value is not equal to itself.") | |
443 | - | } | |
444 | - | else throw("Strict value is not equal to itself.") | |
445 | - | } | |
446 | - | ||
447 | - | ||
448 | - | ||
449 | - | @Callable(aY) | |
450 | - | func confirmManager () = { | |
451 | - | let bO = aI() | |
452 | - | let bP = if (isDefined(bO)) | |
453 | - | then true | |
454 | - | else throw("no pending manager") | |
455 | - | if ((bP == bP)) | |
456 | - | then { | |
457 | - | let bQ = if ((aY.callerPublicKey == value(bO))) | |
458 | - | then true | |
459 | - | else throw("you are not pending manager") | |
460 | - | if ((bQ == bQ)) | |
461 | - | then [StringEntry(f(), toBase58String(value(bO))), DeleteEntry(g())] | |
462 | - | else throw("Strict value is not equal to itself.") | |
463 | - | } | |
464 | - | else throw("Strict value is not equal to itself.") | |
465 | - | } | |
466 | - | ||
467 | - | ||
468 | - | @Verifier(bR) | |
469 | - | func bS () = { | |
470 | - | let bT = { | |
471 | - | let aG = aF() | |
472 | - | if ($isInstanceOf(aG, "ByteVector")) | |
432 | + | @Verifier(bN) | |
433 | + | func bO () = { | |
434 | + | let bP = { | |
435 | + | let i = aI() | |
436 | + | if ($isInstanceOf(i, "ByteVector")) | |
473 | 437 | then { | |
474 | - | let | |
475 | - | | |
438 | + | let bb = i | |
439 | + | bb | |
476 | 440 | } | |
477 | - | else if ($isInstanceOf( | |
478 | - | then | |
441 | + | else if ($isInstanceOf(i, "Unit")) | |
442 | + | then bN.senderPublicKey | |
479 | 443 | else throw("Match error") | |
480 | 444 | } | |
481 | - | sigVerify( | |
445 | + | sigVerify(bN.bodyBytes, bN.proofs[0], bP) | |
482 | 446 | } | |
483 | 447 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "" | |
7 | 7 | ||
8 | 8 | func c (d) = valueOrErrorMessage(getString(this, d), ("No data for this.key=" + d)) | |
9 | 9 | ||
10 | 10 | ||
11 | 11 | func e (d) = valueOrErrorMessage(getBoolean(this, d), ("No data for this.key=" + d)) | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | func f () = makeString(["%s", "managerPublicKey"], a) | |
15 | 15 | ||
16 | 16 | ||
17 | - | func g () = | |
17 | + | func g () = "%s__managerVaultAddress" | |
18 | 18 | ||
19 | 19 | ||
20 | - | func h (i,j,k,l) = throw(((((((i + ": baseAssetStr=") + j) + " userAddressStr=") + k) + " getTxIdStr=") + l)) | |
21 | - | ||
22 | - | ||
23 | - | func m () = makeString(["%s", "assetsStoreContract"], a) | |
24 | - | ||
25 | - | ||
26 | - | func n (j) = ("%s%s%s__config__asset__" + j) | |
27 | - | ||
28 | - | ||
29 | - | func o (p) = makeString(["%s%s", "proxyAddress", p], a) | |
30 | - | ||
31 | - | ||
32 | - | func q (p) = makeString(["%s%s", "balance", p], a) | |
33 | - | ||
34 | - | ||
35 | - | func r () = "%s__nextInternalAssetId" | |
36 | - | ||
37 | - | ||
38 | - | func s (t) = ("%s%s%d__price__last__" + t) | |
39 | - | ||
40 | - | ||
41 | - | func u (t,v) = makeString(["%s%s%s%d%s__topup__last__height", t, v], a) | |
42 | - | ||
43 | - | ||
44 | - | func w (t,x,y) = makeString(["%s%s%d%d%d__price__history", t, toString(x), toString(y)], a) | |
45 | - | ||
46 | - | ||
47 | - | func z (t) = ("%s%s%d__total__locked__" + t) | |
48 | - | ||
49 | - | ||
50 | - | func A (B,k) = makeString(["%s%s%d%s__total__locked", B, k], a) | |
51 | - | ||
52 | - | ||
53 | - | func C (D) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(D)) | |
54 | - | ||
55 | - | ||
56 | - | func E (j) = ("%s%s%s__mappings__baseAsset2internalId__" + j) | |
57 | - | ||
58 | - | ||
59 | - | func F (G) = ("%s%s%s__mappings__share2baseAssetId__" + G) | |
60 | - | ||
61 | - | ||
62 | - | func H (j) = ("%s%s%s__mappings__baseAsset2shareId__" + j) | |
63 | - | ||
64 | - | ||
65 | - | func I (B) = ("%s%s%d__shutdown__put__" + B) | |
66 | - | ||
67 | - | ||
68 | - | func J (B) = ("%s%s%d__shutdown__manager__" + B) | |
69 | - | ||
70 | - | ||
71 | - | func K () = addressFromStringValue(value(getString(m()))) | |
72 | - | ||
73 | - | ||
74 | - | let L = 1 | |
75 | - | ||
76 | - | let M = 2 | |
77 | - | ||
78 | - | let N = 3 | |
79 | - | ||
80 | - | let O = 4 | |
81 | - | ||
82 | - | let P = 5 | |
83 | - | ||
84 | - | func Q (G,B,R,S,T) = makeString(["%s%d%d%d%d", G, B, toString(R), toString(S), toString(T)], a) | |
85 | - | ||
86 | - | ||
87 | - | let U = 1 | |
88 | - | ||
89 | - | let V = 2 | |
90 | - | ||
91 | - | func W (X,Y) = makeString(["%d%d", toString(X), toString(Y)], a) | |
92 | - | ||
93 | - | ||
94 | - | func Z (d) = { | |
95 | - | let aa = split(valueOrElse(getString(this, d), W(0, 0)), a) | |
96 | - | [-1, parseIntValue(aa[U]), parseIntValue(aa[V])] | |
20 | + | func h () = { | |
21 | + | let i = getString(g()) | |
22 | + | if ($isInstanceOf(i, "String")) | |
23 | + | then { | |
24 | + | let j = i | |
25 | + | addressFromStringValue(j) | |
26 | + | } | |
27 | + | else this | |
97 | 28 | } | |
98 | 29 | ||
99 | 30 | ||
100 | - | func | |
31 | + | func k (l,m,n,o) = throw(((((((l + ": baseAssetStr=") + m) + " userAddressStr=") + n) + " getTxIdStr=") + o)) | |
101 | 32 | ||
102 | 33 | ||
103 | - | let af = 1 | |
104 | - | ||
105 | - | let ag = 2 | |
106 | - | ||
107 | - | let ah = 3 | |
108 | - | ||
109 | - | let ai = 4 | |
110 | - | ||
111 | - | let aj = 5 | |
112 | - | ||
113 | - | let ak = 6 | |
114 | - | ||
115 | - | let al = 7 | |
116 | - | ||
117 | - | let am = 8 | |
118 | - | ||
119 | - | func an (ao,ap,aq,ar,as,at,au,av) = makeString(["%s%d%d%d%d%d%d%d", ao, ap, aq, ar, as, at, au, av], a) | |
34 | + | func p () = makeString(["%s", "assetsStoreContract"], a) | |
120 | 35 | ||
121 | 36 | ||
122 | - | func | |
37 | + | func q (m) = ("%s%s%s__config__asset__" + m) | |
123 | 38 | ||
124 | 39 | ||
125 | - | func | |
40 | + | func r (s) = makeString(["%s%s", "proxyAddress", s], a) | |
126 | 41 | ||
127 | 42 | ||
128 | - | func aB (j) = { | |
129 | - | let d = n(j) | |
43 | + | func t (s) = makeString(["%s%s", "balance", s], a) | |
44 | + | ||
45 | + | ||
46 | + | func u () = "%s__nextInternalAssetId" | |
47 | + | ||
48 | + | ||
49 | + | func v (w) = ("%s%s%d__price__last__" + w) | |
50 | + | ||
51 | + | ||
52 | + | func x (w,y) = makeString(["%s%s%s%d%s__topup__last__height", w, y], a) | |
53 | + | ||
54 | + | ||
55 | + | func z (w,A,B) = makeString(["%s%s%d%d%d__price__history", w, toString(A), toString(B)], a) | |
56 | + | ||
57 | + | ||
58 | + | func C (w) = ("%s%s%d__total__locked__" + w) | |
59 | + | ||
60 | + | ||
61 | + | func D (E,n) = makeString(["%s%s%d%s__total__locked", E, n], a) | |
62 | + | ||
63 | + | ||
64 | + | func F (G) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(G)) | |
65 | + | ||
66 | + | ||
67 | + | func H (m) = ("%s%s%s__mappings__baseAsset2internalId__" + m) | |
68 | + | ||
69 | + | ||
70 | + | func I (J) = ("%s%s%s__mappings__share2baseAssetId__" + J) | |
71 | + | ||
72 | + | ||
73 | + | func K (m) = ("%s%s%s__mappings__baseAsset2shareId__" + m) | |
74 | + | ||
75 | + | ||
76 | + | func L (E) = ("%s%s%d__shutdown__put__" + E) | |
77 | + | ||
78 | + | ||
79 | + | func M (E) = ("%s%s%d__shutdown__manager__" + E) | |
80 | + | ||
81 | + | ||
82 | + | func N () = addressFromStringValue(value(getString(p()))) | |
83 | + | ||
84 | + | ||
85 | + | let O = 1 | |
86 | + | ||
87 | + | let P = 2 | |
88 | + | ||
89 | + | let Q = 3 | |
90 | + | ||
91 | + | let R = 4 | |
92 | + | ||
93 | + | let S = 5 | |
94 | + | ||
95 | + | func T (J,E,U,V,W) = makeString(["%s%d%d%d%d", J, E, toString(U), toString(V), toString(W)], a) | |
96 | + | ||
97 | + | ||
98 | + | let X = 1 | |
99 | + | ||
100 | + | let Y = 2 | |
101 | + | ||
102 | + | func Z (aa,ab) = makeString(["%d%d", toString(aa), toString(ab)], a) | |
103 | + | ||
104 | + | ||
105 | + | func ac (d) = { | |
106 | + | let ad = split(valueOrElse(getString(this, d), Z(0, 0)), a) | |
107 | + | [-1, parseIntValue(ad[X]), parseIntValue(ad[Y])] | |
108 | + | } | |
109 | + | ||
110 | + | ||
111 | + | func ae (af,E,ag,ah) = makeString(["%s%d%s%s", af, E, ag, ah], a) | |
112 | + | ||
113 | + | ||
114 | + | let ai = 1 | |
115 | + | ||
116 | + | let aj = 2 | |
117 | + | ||
118 | + | let ak = 3 | |
119 | + | ||
120 | + | let al = 4 | |
121 | + | ||
122 | + | let am = 5 | |
123 | + | ||
124 | + | let an = 6 | |
125 | + | ||
126 | + | let ao = 7 | |
127 | + | ||
128 | + | let ap = 8 | |
129 | + | ||
130 | + | func aq (ar,as,at,au,av,aw,ax,ay) = makeString(["%s%d%d%d%d%d%d%d", ar, as, at, au, av, aw, ax, ay], a) | |
131 | + | ||
132 | + | ||
133 | + | func az (ar,as,at,au,av,aw,ax,ay) = aq(ar, toString(as), toString(at), toString(au), toString(av), toString(aw), toString(ax), toString(ay)) | |
134 | + | ||
135 | + | ||
136 | + | func aA (aB,aC,aD) = aq(aC, aB[aj], aB[ak], aB[al], aB[am], aB[an], aB[ao], toString(aD)) | |
137 | + | ||
138 | + | ||
139 | + | func aE (m) = { | |
140 | + | let d = q(m) | |
130 | 141 | split(c(d), a) | |
131 | 142 | } | |
132 | 143 | ||
133 | 144 | ||
134 | - | func | |
135 | - | let | |
136 | - | StringEntry(d, | |
145 | + | func aF (d,aa,ab) = { | |
146 | + | let aG = ac(d) | |
147 | + | StringEntry(d, Z((aG[X] + aa), (aG[Y] + ab))) | |
137 | 148 | } | |
138 | 149 | ||
139 | 150 | ||
140 | - | func | |
141 | - | let | |
142 | - | StringEntry(d, | |
151 | + | func aH (d,aa,ab) = { | |
152 | + | let aG = ac(d) | |
153 | + | StringEntry(d, Z((aG[X] - aa), (aG[Y] - ab))) | |
143 | 154 | } | |
144 | 155 | ||
145 | 156 | ||
146 | - | func aF () = { | |
147 | - | let aG = getString(f()) | |
148 | - | if ($isInstanceOf(aG, "String")) | |
157 | + | func aI () = { | |
158 | + | let aJ = h() | |
159 | + | let i = getString(aJ, f()) | |
160 | + | if ($isInstanceOf(i, "String")) | |
149 | 161 | then { | |
150 | - | let | |
151 | - | fromBase58String( | |
162 | + | let j = i | |
163 | + | fromBase58String(j) | |
152 | 164 | } | |
153 | - | else if ($isInstanceOf( | |
165 | + | else if ($isInstanceOf(i, "Unit")) | |
154 | 166 | then unit | |
155 | 167 | else throw("Match error") | |
156 | 168 | } | |
157 | 169 | ||
158 | 170 | ||
159 | - | func aI () = { | |
160 | - | let aG = getString(g()) | |
161 | - | if ($isInstanceOf(aG, "String")) | |
171 | + | func aK (s) = valueOrElse(getInteger(t(s)), 0) | |
172 | + | ||
173 | + | ||
174 | + | func aL (E,aM,aN,aO,U,V) = { | |
175 | + | let ad = ac(C(E)) | |
176 | + | let aP = ad[Y] | |
177 | + | let aQ = aK(toBase58String(aM)) | |
178 | + | let aR = (aQ + aN) | |
179 | + | if ((0 > aR)) | |
180 | + | then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(aQ)) + " baseAssetBalanceConsideringLock=") + toString(aR))) | |
181 | + | else { | |
182 | + | let aS = value(assetInfo(aO)).quantity | |
183 | + | let at = if ((aS == 0)) | |
184 | + | then (1 * V) | |
185 | + | else fraction(aR, V, aS) | |
186 | + | $Tuple5(at, aQ, aP, aR, aS) | |
187 | + | } | |
188 | + | } | |
189 | + | ||
190 | + | ||
191 | + | func aT (E,aM,aO,U,V) = { | |
192 | + | let ad = ac(C(E)) | |
193 | + | let aP = ad[Y] | |
194 | + | let aQ = aK(toBase58String(aM)) | |
195 | + | let aR = aQ | |
196 | + | let aS = value(assetInfo(aO)).quantity | |
197 | + | let at = value(getInteger(v(E))) | |
198 | + | $Tuple5(at, aQ, aP, aR, aS) | |
199 | + | } | |
200 | + | ||
201 | + | ||
202 | + | func aU (m) = { | |
203 | + | let aM = fromBase58String(m) | |
204 | + | let aV = aE(m) | |
205 | + | let J = aV[O] | |
206 | + | let aO = fromBase58String(J) | |
207 | + | let U = parseIntValue(aV[Q]) | |
208 | + | let V = parseIntValue(aV[R]) | |
209 | + | let E = aV[P] | |
210 | + | let aW = aT(E, aM, aO, U, V) | |
211 | + | let aX = { | |
212 | + | let i = getInteger(x(E, getStringValue(r(m)))) | |
213 | + | if ($isInstanceOf(i, "Int")) | |
214 | + | then { | |
215 | + | let A = i | |
216 | + | value(A) | |
217 | + | } | |
218 | + | else if ($isInstanceOf(i, "Unit")) | |
219 | + | then getIntegerValue(x(E, toString(addressFromPublicKey(fromBase58String(getStringValue(f())))))) | |
220 | + | else throw("undefined behaviour in privateCurrentSysParamsREST match") | |
221 | + | } | |
222 | + | $Tuple8(IntegerEntry("price", aW._1), IntegerEntry("decimalsMultPrice", V), IntegerEntry("baseAssetBalance", aW._2), IntegerEntry("totalLockedBaseAmount", aW._3), IntegerEntry("baseAssetBalanceConsideringLock", aW._4), IntegerEntry("shareEmission", aW._5), IntegerEntry("baseAssetDecimals", value(assetInfo(aM)).decimals), IntegerEntry("lastTopUpTimestamp", value(blockInfoByHeight(aX)).timestamp)) | |
223 | + | } | |
224 | + | ||
225 | + | ||
226 | + | func aY (aZ) = { | |
227 | + | let ba = throw("permission denied") | |
228 | + | let i = aI() | |
229 | + | if ($isInstanceOf(i, "ByteVector")) | |
162 | 230 | then { | |
163 | - | let aH = aG | |
164 | - | fromBase58String(aH) | |
231 | + | let bb = i | |
232 | + | if ((aZ.callerPublicKey == bb)) | |
233 | + | then true | |
234 | + | else ba | |
165 | 235 | } | |
166 | - | else if ($isInstanceOf(aG, "Unit")) | |
167 | - | then unit | |
236 | + | else if ($isInstanceOf(i, "Unit")) | |
237 | + | then if ((aZ.caller == this)) | |
238 | + | then true | |
239 | + | else ba | |
168 | 240 | else throw("Match error") | |
169 | 241 | } | |
170 | 242 | ||
171 | 243 | ||
172 | - | func aJ (p) = valueOrElse(getInteger(q(p)), 0) | |
173 | - | ||
174 | - | ||
175 | - | func aK (B,aL,aM,aN,R,S) = { | |
176 | - | let aa = Z(z(B)) | |
177 | - | let aO = aa[V] | |
178 | - | let aP = aJ(toBase58String(aL)) | |
179 | - | let aQ = (aP + aM) | |
180 | - | if ((0 > aQ)) | |
181 | - | then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(aP)) + " baseAssetBalanceConsideringLock=") + toString(aQ))) | |
182 | - | else { | |
183 | - | let aR = value(assetInfo(aN)).quantity | |
184 | - | let aq = if ((aR == 0)) | |
185 | - | then (1 * S) | |
186 | - | else fraction(aQ, S, aR) | |
187 | - | $Tuple5(aq, aP, aO, aQ, aR) | |
188 | - | } | |
189 | - | } | |
190 | - | ||
191 | - | ||
192 | - | func aS (B,aL,aN,R,S) = { | |
193 | - | let aa = Z(z(B)) | |
194 | - | let aO = aa[V] | |
195 | - | let aP = aJ(toBase58String(aL)) | |
196 | - | let aQ = aP | |
197 | - | let aR = value(assetInfo(aN)).quantity | |
198 | - | let aq = value(getInteger(s(B))) | |
199 | - | $Tuple5(aq, aP, aO, aQ, aR) | |
200 | - | } | |
201 | - | ||
202 | - | ||
203 | - | func aT (j) = { | |
204 | - | let aL = fromBase58String(j) | |
205 | - | let aU = aB(j) | |
206 | - | let G = aU[L] | |
207 | - | let aN = fromBase58String(G) | |
208 | - | let R = parseIntValue(aU[N]) | |
209 | - | let S = parseIntValue(aU[O]) | |
210 | - | let B = aU[M] | |
211 | - | let aV = aS(B, aL, aN, R, S) | |
212 | - | let aW = { | |
213 | - | let aG = getInteger(u(B, getStringValue(o(j)))) | |
214 | - | if ($isInstanceOf(aG, "Int")) | |
215 | - | then { | |
216 | - | let x = aG | |
217 | - | value(x) | |
218 | - | } | |
219 | - | else if ($isInstanceOf(aG, "Unit")) | |
220 | - | then getIntegerValue(u(B, toString(addressFromPublicKey(fromBase58String(getStringValue(f())))))) | |
221 | - | else throw("undefined behaviour in privateCurrentSysParamsREST match") | |
222 | - | } | |
223 | - | $Tuple8(IntegerEntry("price", aV._1), IntegerEntry("decimalsMultPrice", S), IntegerEntry("baseAssetBalance", aV._2), IntegerEntry("totalLockedBaseAmount", aV._3), IntegerEntry("baseAssetBalanceConsideringLock", aV._4), IntegerEntry("shareEmission", aV._5), IntegerEntry("baseAssetDecimals", value(assetInfo(aL)).decimals), IntegerEntry("lastTopUpTimestamp", value(blockInfoByHeight(aW)).timestamp)) | |
224 | - | } | |
225 | - | ||
226 | - | ||
227 | - | func aX (aY) = { | |
228 | - | let aZ = throw("permission denied") | |
229 | - | let aG = aF() | |
230 | - | if ($isInstanceOf(aG, "ByteVector")) | |
231 | - | then { | |
232 | - | let ba = aG | |
233 | - | if ((aY.callerPublicKey == ba)) | |
234 | - | then true | |
235 | - | else aZ | |
236 | - | } | |
237 | - | else if ($isInstanceOf(aG, "Unit")) | |
238 | - | then if ((aY.caller == this)) | |
239 | - | then true | |
240 | - | else aZ | |
241 | - | else throw("Match error") | |
242 | - | } | |
243 | - | ||
244 | - | ||
245 | - | func bb (aY,p) = { | |
246 | - | let bc = (toString(aY.caller) == valueOrElse(getString(o(p)), b)) | |
247 | - | if (bc) | |
244 | + | func bc (aZ,s) = { | |
245 | + | let bd = (toString(aZ.caller) == valueOrElse(getString(r(s)), b)) | |
246 | + | if (bd) | |
248 | 247 | then true | |
249 | 248 | else { | |
250 | - | let | |
251 | - | if (( | |
249 | + | let be = aY(aZ) | |
250 | + | if ((be == be)) | |
252 | 251 | then true | |
253 | 252 | else throw("Strict value is not equal to itself.") | |
254 | 253 | } | |
255 | 254 | } | |
256 | 255 | ||
257 | 256 | ||
258 | - | @Callable( | |
259 | - | func constructor ( | |
260 | - | let | |
261 | - | if (( | |
262 | - | then [StringEntry( | |
257 | + | @Callable(aZ) | |
258 | + | func constructor (N) = { | |
259 | + | let be = aY(aZ) | |
260 | + | if ((be == be)) | |
261 | + | then [StringEntry(p(), N)] | |
263 | 262 | else throw("Strict value is not equal to itself.") | |
264 | 263 | } | |
265 | 264 | ||
266 | 265 | ||
267 | 266 | ||
268 | - | @Callable( | |
269 | - | func adminRegisterAsset ( | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | if (( | |
274 | - | then if ((toString(addressFromStringValue( | |
267 | + | @Callable(aZ) | |
268 | + | func adminRegisterAsset (m,bf,bg,bh,bi,bj,bk) = { | |
269 | + | let aM = fromBase58String(m) | |
270 | + | let bl = value(assetInfo(aM)).decimals | |
271 | + | let bm = aY(aZ) | |
272 | + | if ((bm == bm)) | |
273 | + | then if ((toString(addressFromStringValue(bj)) != bj)) | |
275 | 274 | then throw("invalid shutdownManagerAddress") | |
276 | - | else if ((0 > | |
277 | - | then throw(("invalid getDelayinBlocks=" + toString( | |
275 | + | else if ((0 > bi)) | |
276 | + | then throw(("invalid getDelayinBlocks=" + toString(bi))) | |
278 | 277 | else { | |
279 | - | let | |
280 | - | let | |
281 | - | let | |
282 | - | let | |
283 | - | let | |
284 | - | let | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | if (( | |
278 | + | let bn = Issue(bf, bg, 1, bl, true) | |
279 | + | let aO = calculateAssetId(bn) | |
280 | + | let J = toBase58String(aO) | |
281 | + | let V = ((100 * 1000) * 1000) | |
282 | + | let U = pow(10, 0, bl, 0, 0, DOWN) | |
283 | + | let bo = (1 * V) | |
284 | + | let bp = valueOrElse(getInteger(this, u()), 0) | |
285 | + | let E = toString(bp) | |
286 | + | let bq = invoke(N(), "createOrUpdate", [J, bh, false], nil) | |
287 | + | if ((bq == bq)) | |
289 | 288 | then { | |
290 | - | let | |
291 | - | if (( | |
292 | - | then [StringEntry( | |
289 | + | let br = invoke(N(), "addLabel", [J, "STAKING_LP"], nil) | |
290 | + | if ((br == br)) | |
291 | + | then [StringEntry(q(m), T(J, E, U, V, bi)), StringEntry(F(bp), m), StringEntry(H(m), E), StringEntry(I(J), m), StringEntry(K(m), J), BooleanEntry(L(E), false), StringEntry(M(E), bj), IntegerEntry(u(), (bp + 1)), IntegerEntry(v(E), bo), IntegerEntry(z(E, height, lastBlock.timestamp), bo), bn, Burn(aO, 1), StringEntry(r(m), bk)] | |
293 | 292 | else throw("Strict value is not equal to itself.") | |
294 | 293 | } | |
295 | 294 | else throw("Strict value is not equal to itself.") | |
296 | 295 | } | |
297 | 296 | else throw("Strict value is not equal to itself.") | |
298 | 297 | } | |
299 | 298 | ||
300 | 299 | ||
301 | 300 | ||
302 | - | @Callable( | |
303 | - | func shutdownPut ( | |
304 | - | let | |
305 | - | let | |
306 | - | let | |
307 | - | if ((1 > size( | |
301 | + | @Callable(aZ) | |
302 | + | func shutdownPut (bs) = { | |
303 | + | let bt = toString(bs) | |
304 | + | let bu = c(F(bs)) | |
305 | + | let bj = c(M(bt)) | |
306 | + | if ((1 > size(bu))) | |
308 | 307 | then throw("invalid internalBaseAssetId") | |
309 | - | else if ((toString( | |
308 | + | else if ((toString(aZ.caller) != bj)) | |
310 | 309 | then throw("access denied") | |
311 | - | else [BooleanEntry( | |
310 | + | else [BooleanEntry(L(toString(bs)), true)] | |
312 | 311 | } | |
313 | 312 | ||
314 | 313 | ||
315 | 314 | ||
316 | - | @Callable( | |
315 | + | @Callable(aZ) | |
317 | 316 | func put () = { | |
318 | - | let | |
319 | - | let | |
320 | - | let | |
321 | - | let | |
322 | - | let | |
323 | - | let | |
324 | - | let | |
325 | - | let | |
326 | - | let | |
327 | - | let | |
328 | - | let | |
329 | - | if ( | |
317 | + | let bv = value(aZ.payments[0]) | |
318 | + | let aM = value(bv.assetId) | |
319 | + | let m = toBase58String(aM) | |
320 | + | let n = toString(aZ.caller) | |
321 | + | let aV = aE(m) | |
322 | + | let J = aV[O] | |
323 | + | let aO = fromBase58String(J) | |
324 | + | let U = parseIntValue(aV[Q]) | |
325 | + | let V = parseIntValue(aV[R]) | |
326 | + | let E = aV[P] | |
327 | + | let bw = e(L(E)) | |
328 | + | if (bw) | |
330 | 329 | then throw("put operation is blocked") | |
331 | 330 | else { | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | [Reissue( | |
331 | + | let bx = (aK(m) + bv.amount) | |
332 | + | let at = aT(E, aM, aO, U, V)._1 | |
333 | + | let aa = fraction(bv.amount, V, at, CEILING) | |
334 | + | [Reissue(aO, aa, true), ScriptTransfer(aZ.caller, aa, aO), StringEntry(ae("P", E, n, toBase58String(aZ.transactionId)), az("FINISHED", bv.amount, at, aa, height, lastBlock.timestamp, height, lastBlock.timestamp)), ScriptTransfer(addressFromStringValue(value(getString(r(m)))), bv.amount, aM), IntegerEntry(t(m), bx)] | |
336 | 335 | } | |
337 | 336 | } | |
338 | 337 | ||
339 | 338 | ||
340 | 339 | ||
341 | - | @Callable( | |
340 | + | @Callable(aZ) | |
342 | 341 | func submitGetRequest () = { | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | - | let | |
357 | - | let | |
358 | - | let | |
359 | - | let | |
360 | - | let | |
361 | - | [Burn( | |
342 | + | let bv = value(aZ.payments[0]) | |
343 | + | let aO = value(bv.assetId) | |
344 | + | let J = toBase58String(aO) | |
345 | + | let by = toBase58String(aZ.callerPublicKey) | |
346 | + | let ag = aZ.caller | |
347 | + | let n = toString(ag) | |
348 | + | let aa = bv.amount | |
349 | + | let m = c(I(J)) | |
350 | + | let aM = fromBase58String(m) | |
351 | + | let aV = aE(m) | |
352 | + | let U = parseIntValue(aV[Q]) | |
353 | + | let V = parseIntValue(aV[R]) | |
354 | + | let bz = parseIntValue(aV[S]) | |
355 | + | let E = aV[P] | |
356 | + | let at = aT(E, aM, aO, U, V)._1 | |
357 | + | let ab = fraction(aa, at, V) | |
358 | + | let bA = ae("G", E, n, toBase58String(aZ.transactionId)) | |
359 | + | let bB = az("PENDING", aa, at, ab, height, lastBlock.timestamp, (height + bz), 0) | |
360 | + | [Burn(aO, aa), StringEntry(bA, bB), aF(C(E), aa, ab), aF(D(E, n), aa, ab), IntegerEntry(t(m), (aK(m) - ab))] | |
362 | 361 | } | |
363 | 362 | ||
364 | 363 | ||
365 | 364 | ||
366 | - | @Callable( | |
367 | - | func executeGetRequest ( | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | if (( | |
380 | - | then | |
381 | - | else if (( | |
382 | - | then | |
383 | - | else [ScriptTransfer( | |
365 | + | @Callable(aZ) | |
366 | + | func executeGetRequest (m,n,o) = { | |
367 | + | let ag = addressFromStringValue(n) | |
368 | + | let bC = aE(m) | |
369 | + | let aO = fromBase58String(bC[O]) | |
370 | + | let aM = fromBase58String(m) | |
371 | + | let E = bC[P] | |
372 | + | let bA = ae("G", E, n, o) | |
373 | + | let bD = split(c(bA), a) | |
374 | + | let ar = bD[ai] | |
375 | + | let ax = parseIntValue(bD[ao]) | |
376 | + | let bE = parseIntValue(bD[aj]) | |
377 | + | let bF = parseIntValue(bD[al]) | |
378 | + | if ((ar != "PENDING")) | |
379 | + | then k("Status is not PENDING", m, n, o) | |
380 | + | else if ((ax > height)) | |
381 | + | then k(((("EndHeight[" + toString(ax)) + "] > ") + toString(height)), m, n, o) | |
382 | + | else [ScriptTransfer(ag, bF, aM), StringEntry(bA, aA(bD, "FINISHED", lastBlock.timestamp)), aH(C(E), bE, bF), aH(D(E, n), bE, bF)] | |
384 | 383 | } | |
385 | 384 | ||
386 | 385 | ||
387 | 386 | ||
388 | - | @Callable( | |
389 | - | func topUpBalance ( | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | let | |
387 | + | @Callable(aZ) | |
388 | + | func topUpBalance (m,bG) = { | |
389 | + | let bC = aE(m) | |
390 | + | let bv = value(aZ.payments[0]) | |
391 | + | let bH = value(bv.assetId) | |
392 | + | let bI = toBase58String(bH) | |
393 | + | let aO = fromBase58String(bC[O]) | |
394 | + | let U = parseIntValue(bC[Q]) | |
395 | + | let V = parseIntValue(bC[R]) | |
396 | + | let E = bC[P] | |
397 | + | let bJ = x(E, toString(aZ.caller)) | |
398 | + | let aX = valueOrElse(getInteger(this, bJ), 0) | |
399 | + | let bK = [bc(aZ, m), if ((aX != height)) | |
401 | 400 | then true | |
402 | - | else throw("only one topUp per block is allowed"), if (( | |
401 | + | else throw("only one topUp per block is allowed"), if ((bG > 0)) | |
403 | 402 | then true | |
404 | 403 | else throw("only positive delta is allowed")] | |
405 | - | if (( | |
406 | - | then if (( | |
404 | + | if ((bK == bK)) | |
405 | + | then if ((m != bI)) | |
407 | 406 | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
408 | - | else if ((size( | |
407 | + | else if ((size(aZ.payments) > 1)) | |
409 | 408 | then throw("only one payment can be attached") | |
410 | 409 | else { | |
411 | - | let | |
412 | - | [IntegerEntry( | |
410 | + | let at = aL(E, bH, bG, aO, U, V)._1 | |
411 | + | [IntegerEntry(v(E), at), IntegerEntry(z(E, height, lastBlock.timestamp), at), IntegerEntry(bJ, height), IntegerEntry(t(bI), (aK(bI) + bG))] | |
413 | 412 | } | |
414 | 413 | else throw("Strict value is not equal to itself.") | |
415 | 414 | } | |
416 | 415 | ||
417 | 416 | ||
418 | 417 | ||
419 | - | @Callable( | |
420 | - | func currentSysParamsREST ( | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | throw( | |
418 | + | @Callable(aZ) | |
419 | + | func currentSysParamsREST (m) = { | |
420 | + | let bL = aU(m) | |
421 | + | let at = bL._1.value | |
422 | + | let V = bL._2.value | |
423 | + | let aQ = bL._3.value | |
424 | + | let aP = bL._4.value | |
425 | + | let aR = bL._5.value | |
426 | + | let aS = bL._6.value | |
427 | + | let bM = makeString(["startCurrentSysParamsREST", toString(at), toString(V), toString(aQ), toString(aP), toString(aR), toString(aS), "endCurrentSysParamsREST"], a) | |
428 | + | throw(bM) | |
430 | 429 | } | |
431 | 430 | ||
432 | 431 | ||
433 | - | ||
434 | - | @Callable(aY) | |
435 | - | func setManager (bM) = { | |
436 | - | let bd = aX(aY) | |
437 | - | if ((bd == bd)) | |
438 | - | then { | |
439 | - | let bN = fromBase58String(bM) | |
440 | - | if ((bN == bN)) | |
441 | - | then [StringEntry(g(), bM)] | |
442 | - | else throw("Strict value is not equal to itself.") | |
443 | - | } | |
444 | - | else throw("Strict value is not equal to itself.") | |
445 | - | } | |
446 | - | ||
447 | - | ||
448 | - | ||
449 | - | @Callable(aY) | |
450 | - | func confirmManager () = { | |
451 | - | let bO = aI() | |
452 | - | let bP = if (isDefined(bO)) | |
453 | - | then true | |
454 | - | else throw("no pending manager") | |
455 | - | if ((bP == bP)) | |
456 | - | then { | |
457 | - | let bQ = if ((aY.callerPublicKey == value(bO))) | |
458 | - | then true | |
459 | - | else throw("you are not pending manager") | |
460 | - | if ((bQ == bQ)) | |
461 | - | then [StringEntry(f(), toBase58String(value(bO))), DeleteEntry(g())] | |
462 | - | else throw("Strict value is not equal to itself.") | |
463 | - | } | |
464 | - | else throw("Strict value is not equal to itself.") | |
465 | - | } | |
466 | - | ||
467 | - | ||
468 | - | @Verifier(bR) | |
469 | - | func bS () = { | |
470 | - | let bT = { | |
471 | - | let aG = aF() | |
472 | - | if ($isInstanceOf(aG, "ByteVector")) | |
432 | + | @Verifier(bN) | |
433 | + | func bO () = { | |
434 | + | let bP = { | |
435 | + | let i = aI() | |
436 | + | if ($isInstanceOf(i, "ByteVector")) | |
473 | 437 | then { | |
474 | - | let | |
475 | - | | |
438 | + | let bb = i | |
439 | + | bb | |
476 | 440 | } | |
477 | - | else if ($isInstanceOf( | |
478 | - | then | |
441 | + | else if ($isInstanceOf(i, "Unit")) | |
442 | + | then bN.senderPublicKey | |
479 | 443 | else throw("Match error") | |
480 | 444 | } | |
481 | - | sigVerify( | |
445 | + | sigVerify(bN.bodyBytes, bN.proofs[0], bP) | |
482 | 446 | } | |
483 | 447 |
github/deemru/w8io/169f3d6 153.39 ms ◑