tx · F9Xq7XH2jHHLA5MJzDmLw5r8wy3iDdcqUpL7pq5weWP7

3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf:  -0.01000000 Waves

2022.02.04 00:45 [1907987] smart account 3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf > SELF 0.00000000 Waves

{ "type": 13, "id": "F9Xq7XH2jHHLA5MJzDmLw5r8wy3iDdcqUpL7pq5weWP7", "fee": 1000000, "feeAssetId": null, "timestamp": 1643924698012, "version": 2, "chainId": 84, "sender": "3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf", "senderPublicKey": "5ate1da9rhtGuHpuEAd28pTGh1GpM8SUthHy4JD2hPeL", "proofs": [ "61RVmKog7YUHiRj5Zmn49gq1A4DJPfAMuAPm3uSd1oxwLCmzKZ16aPKxoX3tsK8G5GBZ7QeqSK9ywpXf2QZghRvw" ], "script": "base64:AAIFAAAAAAAAAXsIAhIECgIICBIDCgEIEgMKAQgSBAoCCBgSABIAGg8KAWESCmVzdEVuQ291cnMaEgoBYhINY2xhc3NlRW5Db3VycxoUCgFjEg9ub2RlVmFsaWRhdHJpY2UaEQoBZBIMZ2V0Q2xhc3NOYW1lGggKAWUSA25vbRoPCgFmEgpwcm9mZXNzZXVyGhEKAWcSDHZhbGlkZXJFbGV2ZRoICgFoEgNhY2MaBgoBaRIBZRoTCgFqEg5zdHVkZW50QWRkcmVzcxoSCgFrEg1zdHVkZW50U3RhdHVzGggKAWwSA3JlcxoOCgFtEgl0ZXN0VmFsaWQaBgoBbhIBaRoLCgFvEgZlbGV2ZXMaDAoBcBIHYWRkcmVzcxoLCgFxEgZjbGFzc2UaFAoBchIPbGVhc2VkRXR1ZGlhbnRzGgcKAXMSAiRsGgcKAXQSAiRzGgoKAXUSBSRhY2MwGgoKAXYSBSRmMF8xGgcKAXcSAiRhGgcKAXgSAiRpGgoKAXkSBSRmMF8yAAAABgAAAAABYQIAAAAKZXN0RW5Db3VycwAAAAABYgIAAAANY2xhc3NlRW5Db3Vyc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AAAAQAAAAAAAAAAARAAAAAAAAAAASAAAAAAAAAAATAAAAAAAAAAAUAAAAAAAAAAAVAAAAAAAAAAAWAAAAAAAAAAAXAAAAAAAAAAAYAAAAAAAAAAAZAAAAAAAAAAAaAAAAAAAAAAAbAAAAAAAAAAAcAAAAAAAAAAAdAAAAAAAAAAAeCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAAWIJAQAAAAFkAAAAAgUAAAABcQgFAAAAAW4AAAAGY2FsbGVyCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAFhBgUAAAADbmlsAAAAAW4BAAAAD2ZhaXJlQXBwZWxFbGV2ZQAAAAAEAAAAAWwJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM043YXQ2NmtNU1I2NndQa1k4cHZuQWNSZzcxMVhLa1JtVzcCAAAAEnZhbGlkYXRpb25QcmVzZW5jZQkABEwAAAACAgAAAAhwcsOpc2VudAkABEwAAAACCQEAAAARQGV4dHJOYXRpdmUoMTA1OCkAAAABBQAAAAFjBQAAAANuaWwFAAAAA25pbAMJAAAAAAAAAgUAAAABbAUAAAABbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAARYmFsYW5jZV9hdmFpbGFibGUICQAD7wAAAAEFAAAABHRoaXMAAAAJYXZhaWxhYmxlBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAW4BAAAADGFycmV0ZXJDb3VycwAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAABYgIAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAFhBwUAAAADbmlsAAAAAO8Nn0g=", "height": 1907987, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EUh9Qx5FboNKj7Y3uHWj7pChHc73nWJmu7JZEmvi2Fz4 Next: BXYV9dLYWj9GKmZDF1MwFQGz7D8p6AQVjycfHtwUh69e Diff:
OldNewDifferences
2323 func m (i) = {
2424 let j = addressFromStringValue(take(i, 35))
2525 let k = takeRight(i, (size(i) - 36))
26- let l = invoke(j, "validationPresence", [k, getStringValue(c)], nil)
27- if ((l == l))
28- then unit
29- else throw("Strict value is not equal to itself.")
26+ unit
3027 }
3128
3229
6865
6966 @Callable(n)
7067 func faireAppelEleve () = {
71- let z = m("3N7at66kMSR66wPkY8pvnAcRg711XKkRmW7_présent")
72-[IntegerEntry("balance_available", wavesBalance(this).available)]
68+ let l = invoke(addressFromStringValue("3N7at66kMSR66wPkY8pvnAcRg711XKkRmW7"), "validationPresence", ["présent", getStringValue(c)], nil)
69+ if ((l == l))
70+ then [IntegerEntry("balance_available", wavesBalance(this).available)]
71+ else throw("Strict value is not equal to itself.")
7372 }
7473
7574
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "estEnCours"
55
66 let b = "classeEnCours"
77
88 let c = "validatorNode"
99
1010 func d (e,f) = ((e + "_") + toString(f))
1111
1212
1313 func g (h,i) = {
1414 let j = addressFromStringValue(take(i, 35))
1515 let k = takeRight(i, (size(i) - 34))
1616 let l = invoke(j, "validationPresence", [k, getStringValue(c)], nil)
1717 if ((l == l))
1818 then true
1919 else throw("Strict value is not equal to itself.")
2020 }
2121
2222
2323 func m (i) = {
2424 let j = addressFromStringValue(take(i, 35))
2525 let k = takeRight(i, (size(i) - 36))
26- let l = invoke(j, "validationPresence", [k, getStringValue(c)], nil)
27- if ((l == l))
28- then unit
29- else throw("Strict value is not equal to itself.")
26+ unit
3027 }
3128
3229
3330 @Callable(n)
3431 func createOrModifyClass (e,o) = [StringEntry(d(e, n.caller), o)]
3532
3633
3734
3835 @Callable(n)
3936 func deleteClass (e) = [DeleteEntry(d(e, n.caller))]
4037
4138
4239
4340 @Callable(n)
4441 func ajouterValidateur (p) = [StringEntry(c, p)]
4542
4643
4744
4845 @Callable(n)
4946 func faireAppel (q,o) = {
5047 let r = {
5148 let s = o
5249 let t = size(s)
5350 let u = nil
5451 func v (w,x) = if ((x >= t))
5552 then w
5653 else g(w, s[x])
5754
5855 func y (w,x) = if ((x >= t))
5956 then w
6057 else throw("List size exceeds 30")
6158
6259 y(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(u, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
6360 }
6461 [StringEntry(b, d(q, n.caller)), BooleanEntry(a, true)]
6562 }
6663
6764
6865
6966 @Callable(n)
7067 func faireAppelEleve () = {
71- let z = m("3N7at66kMSR66wPkY8pvnAcRg711XKkRmW7_présent")
72-[IntegerEntry("balance_available", wavesBalance(this).available)]
68+ let l = invoke(addressFromStringValue("3N7at66kMSR66wPkY8pvnAcRg711XKkRmW7"), "validationPresence", ["présent", getStringValue(c)], nil)
69+ if ((l == l))
70+ then [IntegerEntry("balance_available", wavesBalance(this).available)]
71+ else throw("Strict value is not equal to itself.")
7372 }
7473
7574
7675
7776 @Callable(n)
7877 func arreterCours () = [StringEntry(b, ""), BooleanEntry(a, false)]
7978
8079

github/deemru/w8io/169f3d6 
27.28 ms