tx · 67Mtps1YjhhcDCD3CexZ6oKXa7dinBagYY2RF6sGrcnZ

3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9:  -0.01400000 Waves

2021.07.14 18:15 [1613460] smart account 3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9 > SELF 0.00000000 Waves

{ "type": 13, "id": "67Mtps1YjhhcDCD3CexZ6oKXa7dinBagYY2RF6sGrcnZ", "fee": 1400000, "feeAssetId": null, "timestamp": 1626275670818, "version": 2, "chainId": 84, "sender": "3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9", "senderPublicKey": "D1X9WatF6ARMCmm3jC4Ex5Wd5VQ3LY8i1xbHNqeHqeAa", "proofs": [ "3yM7AaVUgbokMGYsMQkrvWDk4GRTnvzCdMHYfpXEpM9eVmrUxRGP4rjAiS7eUdfDGnBBMmRhLEF1dZsBNk7D7YxB", "5xAyWFptCfRveuCiSkza8oWW77kzaYpoQucbSKzKYcfB6NDgHUGxPigLpU5zuBhzdkvjQ73yezHWgURbV19dmmjw" ], "script": "base64:AAIFAAAAAAAAABQIAhIECgIIARIECgIICBIECgIICAAAABYAAAAAEGtleVBvb2xzTGlzdE5hbWUCAAAABXBvb2xzAAAAABFrZXlQcmVmaXhQb29sTmFtZQIAAAAFcG9vbF8AAAAAEmtleVByZWZpeFBvb2xJbmRleAIAAAAGaW5kZXhfAAAAABFrZXlJbml0UG9vbEhlaWdodAIAAAAQaW5pdF9wb29sX2hpZ2h0XwAAAAASa2V5Q29uZmlybWVkQXNzZXRzAgAAABBjb25maXJtZWRfYXNzZXRzAAAAABBrZXlBc3NldFByaW9yaXR5AgAAAA9hc3NldF9wcmlvcml0eV8AAAAAB2tleVBhaXICAAAABXBhaXJfAAAAAAtrZXlBc3NldElkQQIAAAAKQV9hc3NldF9pZAAAAAALa2V5QXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAAD2tleUFkbWluUHViS2V5MQIAAAALYWRtaW5fcHViXzEAAAAAD2tleUFkbW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Y3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBQAAAA1zaWduZWRCeUFkbWluCQAAAgAAAAECAAAAC01hdGNoIGVycm9y8eXPTg==", "height": 1613460, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9YRENuSipaY15PJviXKxVJ6xcfBs5Q8Z14Pp1zpUGs8m Next: 2S2HvreMeWvdiAWVska6q8ECs5FLmXJPx1XVvZmmsR9n Diff:
OldNewDifferences
143143 let aa = if ((Y.dApp == this))
144144 then containsElement(["addPool"], Y.function)
145145 else false
146- if (if (if (V)
146+ let ab = if ((Y.dApp == this))
147+ then containsElement(["setPriority"], Y.function)
148+ else false
149+ if (if (if (if (V)
147150 then (size(Y.payments) == 0)
148151 else false)
149152 then Z
153156 then (size(Y.payments) == 0)
154157 else false)
155158 then aa
159+ else false)
160+ then true
161+ else if (if (V)
162+ then (size(Y.payments) == 0)
163+ else false)
164+ then ab
156165 else false
157166 }
158167 else if (if ($isInstanceOf(p, "Order"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "pools"
55
66 let b = "pool_"
77
88 let c = "index_"
99
1010 let d = "init_pool_hight_"
1111
1212 let e = "confirmed_assets"
1313
1414 let f = "asset_priority_"
1515
1616 let g = "pair_"
1717
1818 let h = "A_asset_id"
1919
2020 let i = "B_asset_id"
2121
2222 let j = "admin_pub_1"
2323
2424 let k = "admin_pub_2"
2525
2626 let l = "admin_pub_3"
2727
2828 let m = Address(base58'3N1cPjixuHTujhGvb5HQoFvGt4fkUG8o3KF')
2929
3030 func n (o) = {
3131 let p = getString(m, o)
3232 if ($isInstanceOf(p, "String"))
3333 then {
3434 let q = p
3535 fromBase58String(q)
3636 }
3737 else {
3838 let r = p
3939 throw("Admin public key is empty")
4040 }
4141 }
4242
4343
4444 let s = n(j)
4545
4646 let t = n(k)
4747
4848 let u = n(l)
4949
5050 let v = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5151
5252 let w = {
5353 let p = getString(this, a)
5454 if ($isInstanceOf(p, "String"))
5555 then {
5656 let q = p
5757 split(q, ",")
5858 }
5959 else {
6060 let r = p
6161 nil
6262 }
6363 }
6464
6565 func x (y) = if ((y.caller == this))
6666 then unit
6767 else throw("Only the Oracle itself can invoke this function")
6868
6969
7070 func z (A) = {
7171 let B = valueOrElse(indexOf(A, "_"), -1)
7272 let C = valueOrElse(lastIndexOf(A, "_"), -1)
7373 let D = if (if ((B == C))
7474 then (B > 0)
7575 else false)
7676 then (B != (size(A) - 1))
7777 else false
7878 if (D)
7979 then A
8080 else throw("Pool name must consist of two asset names separated by an underscore character")
8181 }
8282
8383
8484 func E (F) = toString(valueOrErrorMessage(addressFromString(F), (("Can't parse \"" + F) + "\" as address")))
8585
8686
8787 @Callable(y)
8888 func setPriority (G,H) = valueOrElse(x(y), if ((0 > H))
8989 then throw("Priority must be positive")
9090 else [IntegerEntry((f + G), H)])
9191
9292
9393
9494 @Callable(y)
9595 func addPool (I,A) = valueOrElse(x(y), {
9696 let J = E(I)
9797 let K = (b + J)
9898 let L = (c + J)
9999 let M = valueOrErrorMessage(getString(value(addressFromString(I)), h), "Asset id A is incorrect")
100100 let N = valueOrErrorMessage(getString(value(addressFromString(I)), i), "Asset id B is incorrect")
101101 let O = getString(this, K)
102102 if (isDefined(O))
103103 then throw((((("Pool with address \"" + J) + "\" is already defined with name \"") + value(O)) + "\""))
104104 else [IntegerEntry(L, size(w)), IntegerEntry((d + I), height), StringEntry(K, z(A)), StringEntry((((g + M) + "_") + N), I), StringEntry(a, makeString((w :+ J), ","))]
105105 })
106106
107107
108108
109109 @Callable(y)
110110 func renamePool (I,P) = valueOrElse(x(y), {
111111 let J = E(I)
112112 let K = (b + J)
113113 let O = getString(this, K)
114114 if (isDefined(O))
115115 then [StringEntry(K, z(P))]
116116 else throw((("Pool with address \"" + J) + "\" has not yet been added"))
117117 })
118118
119119
120120 @Verifier(Q)
121121 func R () = {
122122 let S = if (sigVerify(Q.bodyBytes, Q.proofs[0], s))
123123 then 1
124124 else 0
125125 let T = if (sigVerify(Q.bodyBytes, Q.proofs[1], t))
126126 then 1
127127 else 0
128128 let U = if (sigVerify(Q.bodyBytes, Q.proofs[2], u))
129129 then 1
130130 else 0
131131 let V = (((S + T) + U) >= 2)
132132 let W = if (sigVerify(Q.bodyBytes, Q.proofs[2], v))
133133 then 1
134134 else 0
135135 let X = ((((S + T) + U) + W) >= 1)
136136 let p = Q
137137 if ($isInstanceOf(p, "InvokeScriptTransaction"))
138138 then {
139139 let Y = p
140140 let Z = if ((Y.dApp == this))
141141 then containsElement(["renamePool"], Y.function)
142142 else false
143143 let aa = if ((Y.dApp == this))
144144 then containsElement(["addPool"], Y.function)
145145 else false
146- if (if (if (V)
146+ let ab = if ((Y.dApp == this))
147+ then containsElement(["setPriority"], Y.function)
148+ else false
149+ if (if (if (if (V)
147150 then (size(Y.payments) == 0)
148151 else false)
149152 then Z
150153 else false)
151154 then true
152155 else if (if (X)
153156 then (size(Y.payments) == 0)
154157 else false)
155158 then aa
159+ else false)
160+ then true
161+ else if (if (V)
162+ then (size(Y.payments) == 0)
163+ else false)
164+ then ab
156165 else false
157166 }
158167 else if (if ($isInstanceOf(p, "Order"))
159168 then true
160169 else if ($isInstanceOf(p, "DataTransaction"))
161170 then true
162171 else if ($isInstanceOf(p, "SponsorFeeTransaction"))
163172 then true
164173 else if ($isInstanceOf(p, "SetScriptTransaction"))
165174 then true
166175 else if ($isInstanceOf(p, "CreateAliasTransaction"))
167176 then true
168177 else if ($isInstanceOf(p, "LeaseCancelTransaction"))
169178 then true
170179 else if ($isInstanceOf(p, "LeaseTransaction"))
171180 then true
172181 else if ($isInstanceOf(p, "IssueTransaction"))
173182 then true
174183 else if ($isInstanceOf(p, "UpdateAssetInfoTransaction"))
175184 then true
176185 else if ($isInstanceOf(p, "InvokeScriptTransaction"))
177186 then true
178187 else if ($isInstanceOf(p, "SetAssetScriptTransaction"))
179188 then true
180189 else if ($isInstanceOf(p, "TransferTransaction"))
181190 then true
182191 else if ($isInstanceOf(p, "ExchangeTransaction"))
183192 then true
184193 else if ($isInstanceOf(p, "MassTransferTransaction"))
185194 then true
186195 else if ($isInstanceOf(p, "BurnTransaction"))
187196 then true
188197 else $isInstanceOf(p, "ReissueTransaction"))
189198 then V
190199 else throw("Match error")
191200 }
192201

github/deemru/w8io/169f3d6 
42.57 ms