tx · FGdxHFk4Z6tLRuhEBSRi8Wmu7272Xi7Gen3WeMM1MUC

3MwSJhsm3YngKUPgEMsjBNuq5JaETsywtcD:  -0.00500000 Waves

2022.08.02 14:10 [2166793] smart account 3MwSJhsm3YngKUPgEMsjBNuq5JaETsywtcD > SELF 0.00000000 Waves

{ "type": 13, "id": "FGdxHFk4Z6tLRuhEBSRi8Wmu7272Xi7Gen3WeMM1MUC", "fee": 500000, "feeAssetId": null, "timestamp": 1659438662084, "version": 2, "chainId": 84, "sender": "3MwSJhsm3YngKUPgEMsjBNuq5JaETsywtcD", "senderPublicKey": "DuG16HmDLNnqp4eX1MeM1DX5DuWxFCARi1TAXvrekhGb", "proofs": [ "4y9Yc1dX5GF88EnWHQLSJ4eWEaMaHZo5v4zsnMSVykNTxRLRjK6bJsYubewbjfCRMC9Y2byRUbStrCgkHjQwKLfv" ], "script": "base64:AAIFAAAAAAAAABQIAhIECgIBARIECgIECBIECgIICAAAABcAAAAADVBBWU1FTlRfQVNTRVQBAAAAIK2dSBaFkXln78NKeoaZ0d1Q6QVJPOT+QERHjOGDxML0AAAAAAxSRVdBUkRfQVNTRVQBAAAAIC03E4HTJDddn+FvdtPRD5PvLCz03YmtXEpW6HzJAXIbAAAAAAthZG1pblB1YktleQEAAAAgqLWmf98toNE9vqPG9aON6EpqB9vXYJJsZXUlC8eDPgUAAAAADlBBWU1FTlRfQU1PVU5UAAAAAAAAD0JAAAAAAAZwaXhlbHMFAAAADFJFV0FSRF9BU1NFVAAAAAAEeE1JTgAAAAAAAAAAAAAAAAAEeE1BWAAAAAAAAAAEsQAAAAAEeU1JTgAAAAAAAAAAAAAAAAAEeU1BWAAAAAAAAAACWQAAAAANUkVXQVJEX0FNT1VOVAAAAAAABfXhAAAAAAAMU1RBUlRfSEVJR0hUAAAAAAAAINEjAAAAAApFTkRfSEVJR0hUCQAAZAAAAAIFAAAADFNUQVJUX0hFSUdIVAkAAGgAAAACAAAAAAAAAAWgAAAAAAAAAAAOAAAAAAd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lZ2VyRW50cnkAAAACBQAAAAljb3VudF9rZXkJAABkAAAAAgUAAAAFY291bnQAAAAAAAAAAAEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAEHBpeGVsc19jb3VudF9rZXkJAABkAAAAAgUAAAAMcGl4ZWxzX2NvdW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAABndhbGxldAUAAAAEdmVyaQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAADVJFV0FSRF9BTU9VTlQFAAAABnBpeGVscwUAAAADbmlsCQAAAgAAAAECAAAAHXdyb25nIHBheW1lbnQgYW1vdW50IG9yIGFzc2V0CQAAAgAAAAECAAAADm91dCBvZiBjb250ZXh0CQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAARtYXggCQABpAAAAAEFAAAAB01BWEVBQ0gCAAAAGCBwaXhlbHMgZm9yIGVhY2ggd2FsbGV0IQkAAAIAAAABAgAAABBhbGwgc29sZC4gdGhhbnguCQAAAgAAAAECAAAAC3dyb25nIGNvbG9yCQAAAgAAAAECAAAAHGdhbWUgaXMgbm90IGFjdGl2ZSByaWdodCBub3cAAAAAc1sUwA==", "height": 2166793, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 6hBVYB2pvmpeH75aKWcEPPyYvKTb2oUkp1qYqL5GxKmT Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = base58'CgidgEMbCKXXErgJXVyZCFRaK8SBNA73Jg8mNXALtVKh'
5+
6+let b = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS'
7+
8+let c = base58'CMa9TJH8JthRv8Uq8pZc4FSpgZ9bvpk6XRsZktUm2ivx'
9+
10+let d = 1000000
11+
12+let e = b
13+
14+let f = 0
15+
16+let g = 1201
17+
18+let h = 0
19+
20+let i = 601
21+
22+let j = 100000000
23+
24+let k = 2150691
25+
26+let l = (k + (1440 * 14))
27+
28+let m = 1000
29+
30+let n = 2250000000000
31+
32+let o = "activeSession"
33+
34+let p = "activeBlock"
35+
36+let q = "isOpen"
37+
38+let r = "shutDownReason"
39+
40+let s = 2166753
41+
42+let t = (1440 * 7)
43+
44+let u = 1
45+
46+let v = ["000", "fff", "000000", "ffffff", "FF0200", "800080", "FF00FF", "008001", "FEFF00", "020080", "0800FF", "183937", "09FEFF", "7076E9", "C0C0C0", "C3103B", "ff0200", "ff00ff", "feff00", "0800ff", "09feff", "7076e9", "c0c0c0", "c3103b"]
47+
48+func w (x) = {
49+ let y = a
50+ if ((size(x.payments) == 0))
51+ then throw("Payment not attached")
52+ else {
53+ let z = x.payments[0]
54+ let A = z.assetId
55+ if ($isInstanceOf(A, "ByteVector"))
56+ then {
57+ let B = A
58+ if ((B == y))
59+ then (z.amount == 1000000)
60+ else false
61+ }
62+ else throw("Wrong payment asset")
63+ }
64+ }
65+
66+
67+@Callable(x)
68+func activeSession (C,D) = if ((c != x.callerPublicKey))
69+ then throw("you can not")
70+ else [IntegerEntry(o, C), StringEntry(p, ((((toString(D) + "_") + toString((D + t))) + "_") + toString(C)))]
71+
72+
73+
74+@Callable(x)
75+func shutdown (E,F) = if ((c != x.callerPublicKey))
76+ then throw("you can not")
77+ else [BooleanEntry(q, E), StringEntry(r, F)]
78+
79+
80+
81+@Callable(x)
82+func coordinates (G,H) = {
83+ let I = valueOrElse(getBoolean(this, q), true)
84+ let J = (s + t)
85+ let K = (((toString(s) + "_") + toString(J)) + "_0")
86+ let L = valueOrElse(getString(this, p), K)
87+ if (if (if ((height > k))
88+ then (l > height)
89+ else false)
90+ then I
91+ else false)
92+ then {
93+ let M = containsElement(v, G)
94+ let N = valueOrElse(getInteger(this, o), u)
95+ if (M)
96+ then {
97+ let O = toBase58String(x.caller.bytes)
98+ let P = split(H, "_")
99+ let Q = valueOrElse(parseInt(P[0]), 0)
100+ let R = valueOrElse(parseInt(P[1]), 0)
101+ if (if (((Q % 8) != 0))
102+ then true
103+ else ((R % 8) != 0))
104+ then throw("not cool.")
105+ else {
106+ let S = ((toString(Q) + "_") + toString(R))
107+ let T = (((O + "_") + S) + "_c")
108+ let U = (O + "_count")
109+ let V = "pixels_count"
110+ let W = valueOrElse(getInteger(this, U), 0)
111+ let X = valueOrElse(getInteger(this, V), 0)
112+ if ((n >= X))
113+ then if ((m >= W))
114+ then if (if (if (if ((Q >= f))
115+ then (g > Q)
116+ else false)
117+ then (R >= h)
118+ else false)
119+ then (i > R)
120+ else false)
121+ then if (w(x))
122+ then [IntegerEntry(U, (W + 1)), IntegerEntry(V, (X + 1)), StringEntry(T, G), ScriptTransfer(x.caller, j, e)]
123+ else throw("wrong payment amount or asset")
124+ else throw("out of context")
125+ else throw((("max " + toString(m)) + " pixels for each wallet!"))
126+ else throw("all sold. thanx.")
127+ }
128+ }
129+ else throw("wrong color")
130+ }
131+ else throw("game is not active right now")
132+ }
133+
134+

github/deemru/w8io/026f985 
16.47 ms