tx · 7xcn3V31q7UwN2HMFibSaj3zQtRMec2wXCxuN5XkK86V

3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV:  -0.01500000 Waves

2022.08.18 15:37 [2189920] smart account 3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV > SELF 0.00000000 Waves

{ "type": 13, "id": "7xcn3V31q7UwN2HMFibSaj3zQtRMec2wXCxuN5XkK86V", "fee": 1500000, "feeAssetId": null, "timestamp": 1660826313645, "version": 1, "sender": "3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV", "senderPublicKey": "8KXPjDuC8ffL9qjNuDBLnkvJKbMojhZYcnm2o75UCyun", "proofs": [ "3gMUC8o3ANq6whCGZUyWShMAY2mcN6H9y4RqQbK4Fm7pcVdTzyresnWmviwUsWP2srfSeZLPJgzw1X5BNR3ZCcfF" ], "script": "base64:AAIFAAAAAAAAACwIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIEgMKAQgSAwoBCAAAACIAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAABAAAAAAlpZHhMUEFzSWQAAAAAAAAAAAMAAAAACWlkeEFtQXNJZAAAAAAAAAAABAAAAAAJaWR4UHJBc0lkAAAAAAAAAAAFAAAAAA9pZHhGYWN0U3Rha0NudHIAAAAAAAAAAAEAAAAABWRlbGF5AgAAAAklc19fZGVsYXkBAAAAC2tleUZhY3RDbnRyAAAAAAIAAAATJXNfX2ZhY3RvcnlDb250cmFjdAEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAACAAAAFCVzX19tYW5hZ2VyUHVibGljS2V5AQAAABprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleQAAAAACAAAAGyVzX19wZW5kaW5nTWFuYWdlclB1YmxpY0tleQEAAAALa2V5UG9vbEFkZHIAAAAAAgAAAA8lc19fcG9vbEFkZHJlc3MBAAAAC2tleUFtdEFzc2V0AAAAA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GhlIGFjdGlvbgUAAAADbmlsAgAAAAEgBgMJAAAAAAAAAgUAAAAMZW5zdXJlQ2FuR2V0BQAAAAxlbnN1cmVDYW5HZXQEAAAABHNldEkJAAP8AAAABAUAAAAMcG9vbENvbnRyYWN0AgAAAARzZXRJCQAETAAAAAIJAQAAABFsYXN0UHV0T25lVGtuQ2FsbAAAAAEFAAAABmNhbGxlcgkABEwAAAACBQAAAAZoZWlnaHQFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAARzZXRJBQAAAARzZXRJBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAPdGFyZ2V0UHVibGljS2V5BAAAAAckbWF0Y2gwCQEAAAAWbWFuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleQ7KSFU=", "chainId": 84, "height": 2189920, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 43M1iQHGWVQYJZUbakYaWq6WtKtYShR5yZKZkGg29GV3 Next: AjrZYyknhMQJfF39Xkg6GTfMnwUnNN7fcACqoLA54hSA Diff:
OldNewDifferences
1414 let idxPrAsId = 5
1515
1616 let idxFactStakCntr = 1
17+
18+let delay = "%s__delay"
1719
1820 func keyFactCntr () = "%s__factoryContract"
1921
4042
4143
4244 func keyAmpHistory (height) = ("%s%d__amp__" + toString(height))
45+
46+
47+func lastGetOneTknCall (caller) = makeString(["%s%s__lastGetOneTknCall", caller], SEP)
48+
49+
50+func lastPutOneTknCall (caller) = makeString(["%s%s__lastPutOneTknCall", caller], SEP)
4351
4452
4553 func keyFactoryConfig () = "%s__factoryConfig"
199207 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
200208 if ((unstakeInv == unstakeInv))
201209 then {
202- let getOneTkn = invoke(poolContract, "getOneTkn", [exchResult, notUsed, outAmount, outAssetId, slippage], [AttachedPayment(lpAssetId, amount)])
210+ let getOneTkn = reentrantInvoke(poolContract, "getOneTkn", [exchResult, notUsed, outAmount, outAssetId, slippage], [AttachedPayment(lpAssetId, amount)])
203211 if ((getOneTkn == getOneTkn))
204212 then nil
205213 else throw("Strict value is not equal to itself.")
224232 }
225233
226234
235+
236+@Callable(i)
237+func ensureCanGetOneTkn (caller) = {
238+ let checkCaller = mustPool(i)
239+ if ((checkCaller == checkCaller))
240+ then {
241+ let ensureCanPut = match getInteger(poolContract, lastPutOneTknCall(caller)) {
242+ case int: Int =>
243+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
244+ let isReadyforPutOneTkn = (height >= permittedHeight)
245+ let needBlocks = (permittedHeight - height)
246+ if (isReadyforPutOneTkn)
247+ then true
248+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
249+ case _ =>
250+ true
251+ }
252+ if ((ensureCanPut == ensureCanPut))
253+ then {
254+ let ensureCanGet = match getInteger(poolContract, lastGetOneTknCall(caller)) {
255+ case int: Int =>
256+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
257+ let isReadyforGetOneTkn = (height >= permittedHeight)
258+ let needBlocks = (permittedHeight - height)
259+ if (isReadyforGetOneTkn)
260+ then true
261+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
262+ case _ =>
263+ true
264+ }
265+ if ((ensureCanGet == ensureCanGet))
266+ then {
267+ let setI = invoke(poolContract, "setI", [lastPutOneTknCall(caller), height], nil)
268+ if ((setI == setI))
269+ then nil
270+ else throw("Strict value is not equal to itself.")
271+ }
272+ else throw("Strict value is not equal to itself.")
273+ }
274+ else throw("Strict value is not equal to itself.")
275+ }
276+ else throw("Strict value is not equal to itself.")
277+ }
278+
279+
280+
281+@Callable(i)
282+func ensureCanPutOneTkn (caller) = {
283+ let checkCaller = mustPool(i)
284+ if ((checkCaller == checkCaller))
285+ then {
286+ let ensureCanPut = match getInteger(poolContract, lastPutOneTknCall(caller)) {
287+ case int: Int =>
288+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
289+ let isReadyforPutOneTkn = (height >= permittedHeight)
290+ let needBlocks = (permittedHeight - height)
291+ if (isReadyforPutOneTkn)
292+ then true
293+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
294+ case _ =>
295+ true
296+ }
297+ if ((ensureCanPut == ensureCanPut))
298+ then {
299+ let ensureCanGet = match getInteger(poolContract, lastGetOneTknCall(caller)) {
300+ case int: Int =>
301+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
302+ let isReadyforGetOneTkn = (height >= permittedHeight)
303+ let needBlocks = (permittedHeight - height)
304+ if (isReadyforGetOneTkn)
305+ then true
306+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
307+ case _ =>
308+ true
309+ }
310+ if ((ensureCanGet == ensureCanGet))
311+ then {
312+ let setI = invoke(poolContract, "setI", [lastPutOneTknCall(caller), height], nil)
313+ if ((setI == setI))
314+ then nil
315+ else throw("Strict value is not equal to itself.")
316+ }
317+ else throw("Strict value is not equal to itself.")
318+ }
319+ else throw("Strict value is not equal to itself.")
320+ }
321+ else throw("Strict value is not equal to itself.")
322+ }
323+
324+
227325 @Verifier(tx)
228326 func verify () = {
229327 let targetPublicKey = match managerPublicKeyOrUnit() {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let EMPTY = ""
77
88 let idxPoolAddress = 1
99
1010 let idxLPAsId = 3
1111
1212 let idxAmAsId = 4
1313
1414 let idxPrAsId = 5
1515
1616 let idxFactStakCntr = 1
17+
18+let delay = "%s__delay"
1719
1820 func keyFactCntr () = "%s__factoryContract"
1921
2022
2123 func keyManagerPublicKey () = "%s__managerPublicKey"
2224
2325
2426 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
2527
2628
2729 func keyPoolAddr () = "%s__poolAddress"
2830
2931
3032 func keyAmtAsset () = "%s__amountAsset"
3133
3234
3335 func keyPriceAsset () = "%s__priceAsset"
3436
3537
3638 func keyAdminPubKeys () = "%s__adminPubKeys"
3739
3840
3941 func keyAmp () = "%s__amp"
4042
4143
4244 func keyAmpHistory (height) = ("%s%d__amp__" + toString(height))
45+
46+
47+func lastGetOneTknCall (caller) = makeString(["%s%s__lastGetOneTknCall", caller], SEP)
48+
49+
50+func lastPutOneTknCall (caller) = makeString(["%s%s__lastPutOneTknCall", caller], SEP)
4351
4452
4553 func keyFactoryConfig () = "%s__factoryConfig"
4654
4755
4856 func keyPoolConfig (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
4957
5058
5159 func keyMappingsBaseAsset2internalId (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
5260
5361
5462 func getStringOrFail (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
5563
5664
5765 func getIntOrFail (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
5866
5967
6068 let poolContract = addressFromStringValue(getStringOrFail(this, keyPoolAddr()))
6169
6270 let factoryContract = addressFromStringValue(getStringOrFail(poolContract, keyFactCntr()))
6371
6472 func getPoolConfig () = {
6573 let amtAs = getStringOrFail(poolContract, keyAmtAsset())
6674 let priceAs = getStringOrFail(poolContract, keyPriceAsset())
6775 let iPriceAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAs))
6876 let iAmtAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amtAs))
6977 split(getStringOrFail(factoryContract, keyPoolConfig(toString(iAmtAs), toString(iPriceAs))), SEP)
7078 }
7179
7280
7381 func getFactoryConfig () = split(getStringOrFail(factoryContract, keyFactoryConfig()), SEP)
7482
7583
7684 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
7785 case s: String =>
7886 fromBase58String(s)
7987 case _: Unit =>
8088 unit
8189 case _ =>
8290 throw("Match error")
8391 }
8492
8593
8694 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
8795 case s: String =>
8896 fromBase58String(s)
8997 case _: Unit =>
9098 unit
9199 case _ =>
92100 throw("Match error")
93101 }
94102
95103
96104 func mustManager (i) = {
97105 let pd = throw("Permission denied")
98106 match managerPublicKeyOrUnit() {
99107 case pk: ByteVector =>
100108 if ((i.callerPublicKey == pk))
101109 then true
102110 else pd
103111 case _: Unit =>
104112 if ((i.caller == this))
105113 then true
106114 else pd
107115 case _ =>
108116 throw("Match error")
109117 }
110118 }
111119
112120
113121 func getAdmins () = match getString(keyAdminPubKeys()) {
114122 case s: String =>
115123 if ((size(s) == 0))
116124 then nil
117125 else split(s, SEP)
118126 case _ =>
119127 nil
120128 }
121129
122130
123131 func mustAdmin (i) = if (containsElement(getAdmins(), toBase58String(i.callerPublicKey)))
124132 then true
125133 else mustManager(i)
126134
127135
128136 func mustPool (i) = if ((i.caller == poolContract))
129137 then true
130138 else throw("caller must be the pool")
131139
132140
133141 @Callable(i)
134142 func constructor (poolAddress) = {
135143 let checkCaller = mustManager(i)
136144 if ((checkCaller == checkCaller))
137145 then [StringEntry(keyPoolAddr(), poolAddress)]
138146 else throw("Strict value is not equal to itself.")
139147 }
140148
141149
142150
143151 @Callable(i)
144152 func setManager (pendingManagerPublicKey) = {
145153 let checkCaller = mustManager(i)
146154 if ((checkCaller == checkCaller))
147155 then {
148156 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
149157 if ((checkManagerPublicKey == checkManagerPublicKey))
150158 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
151159 else throw("Strict value is not equal to itself.")
152160 }
153161 else throw("Strict value is not equal to itself.")
154162 }
155163
156164
157165
158166 @Callable(i)
159167 func confirmManager () = {
160168 let pm = pendingManagerPublicKeyOrUnit()
161169 let hasPM = if (isDefined(pm))
162170 then true
163171 else throw("No pending manager")
164172 if ((hasPM == hasPM))
165173 then {
166174 let checkPM = if ((i.callerPublicKey == value(pm)))
167175 then true
168176 else throw("You are not pending manager")
169177 if ((checkPM == checkPM))
170178 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
171179 else throw("Strict value is not equal to itself.")
172180 }
173181 else throw("Strict value is not equal to itself.")
174182 }
175183
176184
177185
178186 @Callable(i)
179187 func setAdmins (adminPubKeys) = {
180188 let checkCaller = mustManager(i)
181189 if ((checkCaller == checkCaller))
182190 then [StringEntry(keyAdminPubKeys(), makeString(adminPubKeys, SEP))]
183191 else throw("Strict value is not equal to itself.")
184192 }
185193
186194
187195
188196 @Callable(i)
189197 func unstakeAndGetOneTkn (amount,exchResult,notUsed,outAmount,outAssetId,slippage) = {
190198 let checkPayments = if ((size(i.payments) != 0))
191199 then throw("No pmnts expd")
192200 else true
193201 if ((checkPayments == checkPayments))
194202 then {
195203 let cfg = getPoolConfig()
196204 let factoryCfg = getFactoryConfig()
197205 let lpAssetId = fromBase58String(cfg[idxLPAsId])
198206 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
199207 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
200208 if ((unstakeInv == unstakeInv))
201209 then {
202- let getOneTkn = invoke(poolContract, "getOneTkn", [exchResult, notUsed, outAmount, outAssetId, slippage], [AttachedPayment(lpAssetId, amount)])
210+ let getOneTkn = reentrantInvoke(poolContract, "getOneTkn", [exchResult, notUsed, outAmount, outAssetId, slippage], [AttachedPayment(lpAssetId, amount)])
203211 if ((getOneTkn == getOneTkn))
204212 then nil
205213 else throw("Strict value is not equal to itself.")
206214 }
207215 else throw("Strict value is not equal to itself.")
208216 }
209217 else throw("Strict value is not equal to itself.")
210218 }
211219
212220
213221
214222 @Callable(i)
215223 func setAmp (amp) = {
216224 let checkCaller = mustAdmin(i)
217225 if ((checkCaller == checkCaller))
218226 then {
219227 let res1 = invoke(poolContract, "setS", [keyAmp(), amp], nil)
220228 let res2 = invoke(poolContract, "setS", [keyAmpHistory(height), amp], nil)
221229 $Tuple2(nil, $Tuple2(res1, res2))
222230 }
223231 else throw("Strict value is not equal to itself.")
224232 }
225233
226234
235+
236+@Callable(i)
237+func ensureCanGetOneTkn (caller) = {
238+ let checkCaller = mustPool(i)
239+ if ((checkCaller == checkCaller))
240+ then {
241+ let ensureCanPut = match getInteger(poolContract, lastPutOneTknCall(caller)) {
242+ case int: Int =>
243+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
244+ let isReadyforPutOneTkn = (height >= permittedHeight)
245+ let needBlocks = (permittedHeight - height)
246+ if (isReadyforPutOneTkn)
247+ then true
248+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
249+ case _ =>
250+ true
251+ }
252+ if ((ensureCanPut == ensureCanPut))
253+ then {
254+ let ensureCanGet = match getInteger(poolContract, lastGetOneTknCall(caller)) {
255+ case int: Int =>
256+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
257+ let isReadyforGetOneTkn = (height >= permittedHeight)
258+ let needBlocks = (permittedHeight - height)
259+ if (isReadyforGetOneTkn)
260+ then true
261+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
262+ case _ =>
263+ true
264+ }
265+ if ((ensureCanGet == ensureCanGet))
266+ then {
267+ let setI = invoke(poolContract, "setI", [lastPutOneTknCall(caller), height], nil)
268+ if ((setI == setI))
269+ then nil
270+ else throw("Strict value is not equal to itself.")
271+ }
272+ else throw("Strict value is not equal to itself.")
273+ }
274+ else throw("Strict value is not equal to itself.")
275+ }
276+ else throw("Strict value is not equal to itself.")
277+ }
278+
279+
280+
281+@Callable(i)
282+func ensureCanPutOneTkn (caller) = {
283+ let checkCaller = mustPool(i)
284+ if ((checkCaller == checkCaller))
285+ then {
286+ let ensureCanPut = match getInteger(poolContract, lastPutOneTknCall(caller)) {
287+ case int: Int =>
288+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
289+ let isReadyforPutOneTkn = (height >= permittedHeight)
290+ let needBlocks = (permittedHeight - height)
291+ if (isReadyforPutOneTkn)
292+ then true
293+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
294+ case _ =>
295+ true
296+ }
297+ if ((ensureCanPut == ensureCanPut))
298+ then {
299+ let ensureCanGet = match getInteger(poolContract, lastGetOneTknCall(caller)) {
300+ case int: Int =>
301+ let permittedHeight = (int + value(getInteger(poolContract, delay)))
302+ let isReadyforGetOneTkn = (height >= permittedHeight)
303+ let needBlocks = (permittedHeight - height)
304+ if (isReadyforGetOneTkn)
305+ then true
306+ else throw(makeString(["you should wait", toString(needBlocks), "blocks more to perform the action"], " "))
307+ case _ =>
308+ true
309+ }
310+ if ((ensureCanGet == ensureCanGet))
311+ then {
312+ let setI = invoke(poolContract, "setI", [lastPutOneTknCall(caller), height], nil)
313+ if ((setI == setI))
314+ then nil
315+ else throw("Strict value is not equal to itself.")
316+ }
317+ else throw("Strict value is not equal to itself.")
318+ }
319+ else throw("Strict value is not equal to itself.")
320+ }
321+ else throw("Strict value is not equal to itself.")
322+ }
323+
324+
227325 @Verifier(tx)
228326 func verify () = {
229327 let targetPublicKey = match managerPublicKeyOrUnit() {
230328 case pk: ByteVector =>
231329 pk
232330 case _: Unit =>
233331 tx.senderPublicKey
234332 case _ =>
235333 throw("Match error")
236334 }
237335 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
238336 }
239337

github/deemru/w8io/026f985 
50.39 ms