tx · F1EExY64uATqwQ4P28KFHay9hmtkhk4bKvS5nYmBbE4K

3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf:  -0.01000000 Waves

2022.02.03 23:45 [1907926] smart account 3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf > SELF 0.00000000 Waves

{ "type": 13, "id": "F1EExY64uATqwQ4P28KFHay9hmtkhk4bKvS5nYmBbE4K", "fee": 1000000, "feeAssetId": null, "timestamp": 1643921189523, "version": 2, "chainId": 84, "sender": "3MzfaHTFgjznN8zniycq5PZxaenTjwcYLXf", "senderPublicKey": "5ate1da9rhtGuHpuEAd28pTGh1GpM8SUthHy4JD2hPeL", "proofs": [ "2eKAG6QJbwWiFcvGmrY9n7xHSNt6omFPdQqWpdE5KB1Gc7s43q1SqmDNn14bjLzHwtDNGVxQ36hYzHrXY84jH7eE" ], "script": "base64:AAIFAAAAAAAAAXsIAhIECgIICBIDCgEIEgMKAQgSBAoCCBgSABIAGg8KAWESCmVzdEVuQ291cnMaEgoBYhINY2xhc3NlRW5Db3VycxoUCgFjEg9ub2RlVmFsaWRhdHJpY2UaEQoBZBIMZ2V0Q2xhc3NOYW1lGggKAWUSA25vbRoPCgFmEgpwcm9mZXNzZXVyGhEKAWcSDHZhbGlkZXJFbGV2ZRoICgFoEgNhY2MaBgoBaRIBZRoTCgFqEg5zdHVkZW50QWRkcmVzcxoSCgFrEg1zdHVkZW50U3RhdHVzGggKAWwSA3JlcxoOCgFtEgl0ZXN0VmFsaWQaBgoBbhIBaRoLCgFvEgZlbGV2ZXMaDAoBcBIHYWRkcmVzcxoLCgFxEgZjbGFzc2UaFAoBchIPbGVhc2VkRXR1ZGlhbnRzGgcKAXMSAiRsGgcKAXQSAiRzGgoKAXUSBSRhY2MwGgoKAXYSBSRmMF8xGgcKAXcSAiRhGgcKAXgSAiRpGgoKAXkSBSRmMF8yAAAABgAAAAABYQIAAAAKZXN0RW5Db3VycwAAAAABYgIAAAANY2xhc3NlRW5Db3VycwAAAAABYwI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AAAARAAAAAAAAAAASAAAAAAAAAAATAAAAAAAAAAAUAAAAAAAAAAAVAAAAAAAAAAAWAAAAAAAAAAAXAAAAAAAAAAAYAAAAAAAAAAAZAAAAAAAAAAAaAAAAAAAAAAAbAAAAAAAAAAAcAAAAAAAAAAAdAAAAAAAAAAAeCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAAWIJAQAAAAFkAAAAAgUAAAABcQgFAAAAAW4AAAAGY2FsbGVyCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAFhBgUAAAADbmlsAAAAAW4BAAAAD2ZhaXJlQXBwZWxFbGV2ZQAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAARZXR1ZGlhbnRzX2FkZHJlc3MJAQAAAAFtAAAAAQIAAAAsM043YXQ2NmtNU1I2NndQa1k4cHZuQWNSZzcxMVhLa1JtVzdfcHLDqXNlbnQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAEWJhbGFuY2VfYXZhaWxhYmxlCAkAA+8AAAABBQAAAAR0aGlzAAAACWF2YWlsYWJsZQUAAAADbmlsAAAAAW4BAAAADGFycmV0ZXJDb3VycwAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAABYgIAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAFhBwUAAAADbmlsAAAAAC8VGn0=", "height": 1907926, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4R2raWoec37a16QZvtoUGMBFDReuTVWZanGyDXteteNm Next: 9cmKu61tee2bVzgM1W7J4Fqapk1dP6qTw9yvCoodFQsM Diff:
OldNewDifferences
2323 func m (i) = {
2424 let j = addressFromStringValue(take(i, 35))
2525 let k = takeRight(i, (size(i) - 34))
26- toString(j)
26+ k
2727 }
2828
2929
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) - 34))
26- toString(j)
26+ k
2727 }
2828
2929
3030 @Callable(n)
3131 func createOrModifyClass (e,o) = [StringEntry(d(e, n.caller), o)]
3232
3333
3434
3535 @Callable(n)
3636 func deleteClass (e) = [DeleteEntry(d(e, n.caller))]
3737
3838
3939
4040 @Callable(n)
4141 func ajouterValidateur (p) = [StringEntry(c, p)]
4242
4343
4444
4545 @Callable(n)
4646 func faireAppel (q,o) = {
4747 let r = {
4848 let s = o
4949 let t = size(s)
5050 let u = nil
5151 func v (w,x) = if ((x >= t))
5252 then w
5353 else g(w, s[x])
5454
5555 func y (w,x) = if ((x >= t))
5656 then w
5757 else throw("List size exceeds 30")
5858
5959 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)
6060 }
6161 [StringEntry(b, d(q, n.caller)), BooleanEntry(a, true)]
6262 }
6363
6464
6565
6666 @Callable(n)
6767 func faireAppelEleve () = [StringEntry("etudiants_address", m("3N7at66kMSR66wPkY8pvnAcRg711XKkRmW7_présent")), IntegerEntry("balance_available", wavesBalance(this).available)]
6868
6969
7070
7171 @Callable(n)
7272 func arreterCours () = [StringEntry(b, ""), BooleanEntry(a, false)]
7373
7474

github/deemru/w8io/169f3d6 
34.54 ms