tx · JB2dPyxFbf7qq27aZ57vP21U9CiRKR1hTg3LUQHRqEKS

3N1A95vbYuuE2ZFFUu6S1UubcE3eSpJNDE7:  -0.01000000 Waves

2022.11.07 10:49 [2306440] smart account 3N1A95vbYuuE2ZFFUu6S1UubcE3eSpJNDE7 > SELF 0.00000000 Waves

{ "type": 13, "id": "JB2dPyxFbf7qq27aZ57vP21U9CiRKR1hTg3LUQHRqEKS", "fee": 1000000, "feeAssetId": null, "timestamp": 1667807340121, "version": 2, "chainId": 84, "sender": "3N1A95vbYuuE2ZFFUu6S1UubcE3eSpJNDE7", "senderPublicKey": "DTmTTp6Rb9XUrniBAnWwdNc39UfdmzmtFCBgey4hsnE", "proofs": [ "4nx3UECfmkntTMZFoDkKNoGjmcWeRDYif2hq3mqLMJ7xDgeG8RNTqV5shrrVrhqCYW2qdCBSXMQZ5kiuuuwBYQRW" ], "script": "base64:AAIFAAAAAAAAABkIAhIDCgEBEgUKAwEBARIECgIICBIDCgEIAAAAEgAAAAANUEFZTUVOVF9BU1NFVAEAAAAgrZ1IFoWReWfvw0p6hpnR3VDpBUk85P5AREeM4YPEwvQAAAAADFJFV0FSRF9BU1NFVAEAAAAgITlE6Sl8X8+K+DOSOPUkvq8L9vq51QOPRS3GqFK/+rkAAAAABmFkbVB1YgEAAAAgAzE8E3rcXzF1OuMAzzMaXCnJteRr390CYXJiTeh4zHcAAAAABnBpeGVscwUAAAAMUkVXQVJEX0FTU0VUAAAAAAR4TUlOAAAAAAAAAAAAAAAAAAR4TUFYAAAAAAAAAASxAAAAAAR5TUlOAAAAAAAAAAAAAAAAAAR5TUFYAAAAAAAAAAJZAAAAAA1SRVdBUkRfQU1PVU5UAAAAAAAAD0JAAAAAAA5SRUlTU1VFX0FNT1VOVAAAAAAAABbjYAAAAAAMU1RBUlRfSEVJR0hUAAAAAAAAIw91AAAAAApFTkRfSEVJR0hUCQAAZAAAAAIFAAAADFNUQVJUX0hFSUdIVAkAAGgAAAACAAAAAAAAAAWgAAAAA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AACCQABLAAAAAICAAAABmNvdW50XwkAAaQAAAABBQAAAAdzZXNzaW9uAgAAAAFfBQAAAApjdXJyZW50S2V5CQAAZAAAAAIFAAAAC3dhbGxldENvdW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAMUkVXQVJEX0FTU0VUBQAAAA5SRUlTU1VFX0FNT1VOVAYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAA1SRVdBUkRfQU1PVU5UBQAAAAxSRVdBUkRfQVNTRVQFAAAAA25pbAkAAAIAAAABAgAAAB1Xcm9uZyBwYXltZW50IGFtb3VudCBvciBhc3NldAkAAAIAAAABAgAAAA5vdXQgb2YgY29udGV4dAkAAAIAAAABAgAAAAt3cm9uZyBjb2xvcgkAAAIAAAABAgAAABxnYW1lIGlzIG5vdCBhY3RpdmUgcmlnaHQgbm93AAAAAWkBAAAABmRlbGV0ZQAAAAEAAAADYXJnCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA2FyZwUAAAADbmlsAAAAAI9SMwQ=", "height": 2306440, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HYBL2Nmumkix3Md7QDHHEijPUVEueWPr1yUVWEu97bWY Next: FmRZQiAMcGTTamFkZhTBhgwq2ixiMAnK62AApcmRa6QK Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'CgidgEMbCKXXErgJXVyZCFRaK8SBNA73Jg8mNXALtVKh'
55
66 let b = base58'3Eh6z6z6ouFpWxGKrPaPnZwmDnDjgYHV6tqCmZf2G7tk'
77
88 let c = base58'DTmTTp6Rb9XUrniBAnWwdNc39UfdmzmtFCBgey4hsnE'
99
1010 let d = b
1111
1212 let e = 0
1313
1414 let f = 1201
1515
1616 let g = 0
1717
1818 let h = 601
1919
2020 let i = 1000000
2121
2222 let j = 1500000
2323
2424 let k = 2297717
2525
2626 let l = (k + (1440 * 7))
2727
2828 let m = 100000
2929
3030 let n = "active_session"
3131
3232 let o = 22500
3333
3434 let p = 1000
3535
3636 let q = ["7076E9", "5FD8F1", "D30831", "183937", "FFD345", "B04249", "FFB087", "360A90", "000000", "969696", "FF0200", "800080", "020080", "183937", "09FEFF", "7076E9", "C0C0C0", "C3103B", "9F7E69", "FFEEE2", "983C95"]
3737
3838 func r (s) = {
3939 let t = a
4040 if ((size(s.payments) == 0))
4141 then throw("Payment not attached")
4242 else {
4343 let u = s.payments[0]
4444 let v = u.assetId
4545 if ($isInstanceOf(v, "ByteVector"))
4646 then {
4747 let w = v
4848 if ((w == t))
4949 then (u.amount == m)
5050 else false
5151 }
5252 else throw("Wrong payment asset")
5353 }
5454 }
5555
5656
5757 @Callable(s)
5858 func activeSession (x) = if ((s.callerPublicKey == c))
5959 then [IntegerEntry(n, x)]
6060 else throw("you are not allowed")
6161
6262
6363
6464 @Callable(s)
6565 func settings (x,y,z) = if ((s.callerPublicKey == c))
6666 then {
6767 let A = (y + (1440 * z))
6868 [IntegerEntry((("settings_" + toString(x)) + "_startHeight"), y), IntegerEntry((("settings_" + toString(x)) + "_endHeight"), A)]
6969 }
7070 else throw("you are not allowed")
7171
7272
7373
7474 @Callable(s)
7575 func coordinates (B,C) = {
7676 let x = valueOrElse(getInteger(this, n), 0)
7777 let D = toBase58String(s.caller.bytes)
7878 let y = valueOrElse(getInteger(this, (("settings_" + toString(x)) + "_startHeight")), k)
7979 let A = valueOrElse(getInteger(this, (("settings_" + toString(x)) + "_endHeight")), l)
8080 let E = valueOrElse(getInteger(this, ((("count_" + toString(x)) + "_") + D)), 0)
8181 if (if ((height > y))
8282 then (A > height)
8383 else false)
8484 then {
8585 let F = containsElement(q, B)
8686 if (F)
8787 then {
8888 let G = split(C, "_")
8989 let H = valueOrElse(parseInt(G[0]), 0)
9090 let I = valueOrElse(parseInt(G[1]), 0)
9191 if (if (((H % 8) != 0))
9292 then ((I % 8) != 0)
9393 else false)
9494 then throw("not cool.")
9595 else {
9696 let J = ((toString(H) + "_") + toString(I))
9797 let K = valueOrElse(getInteger(this, ("stats_" + toString(x))), 0)
9898 let L = (((((D + "_") + J) + "_") + toString(x)) + "_c")
9999 if (if (if (if (if (if ((H >= e))
100100 then (f > H)
101101 else false)
102102 then (I >= g)
103103 else false)
104104 then (h > I)
105105 else false)
106106 then (o >= K)
107107 else false)
108108 then (p >= E)
109109 else false)
110110 then if (r(s))
111111 then [StringEntry(L, B), IntegerEntry(("stats_" + toString(x)), (K + 1)), IntegerEntry(((("count_" + toString(x)) + "_") + D), (E + 1)), Reissue(b, j, true), ScriptTransfer(s.caller, i, b)]
112112 else throw("Wrong payment amount or asset")
113113 else throw("out of context")
114114 }
115115 }
116116 else throw("wrong color")
117117 }
118118 else throw("game is not active right now")
119119 }
120120
121121
122122
123123 @Callable(s)
124124 func delete (M) = [DeleteEntry(M)]
125125
126126

github/deemru/w8io/026f985 
35.76 ms