tx · 8hBUeuB97gPFHdy76vXaNxKpaYbBc3jsGzbEtjEGMsHd

3N5Sns8QYmySnDbSZWqMC869WJDRaxnDX19:  -0.01000000 Waves

2022.05.11 22:54 [2047451] smart account 3N5Sns8QYmySnDbSZWqMC869WJDRaxnDX19 > SELF 0.00000000 Waves

{ "type": 13, "id": "8hBUeuB97gPFHdy76vXaNxKpaYbBc3jsGzbEtjEGMsHd", "fee": 1000000, "feeAssetId": null, "timestamp": 1652298895808, "version": 2, "chainId": 84, "sender": "3N5Sns8QYmySnDbSZWqMC869WJDRaxnDX19", "senderPublicKey": "E9qCg8KrCfnpnZKmDXGtU2DZfAGHR2xnPnTqtwYjsjto", "proofs": [ "3zwS6tPHBanLTGDauR19KSkwQqoKgdJyqrfXrRGytvLwt3zWhSkfSjappncumD9wKcc1aRhnq3x9EHYgwXXYUdJs" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAwAAAAADVBBWU1FTlRfQVNTRVQBAAAAIK2dSBaFkXln78NKeoaZ0d1Q6QVJPOT+QERHjOGDxML0AAAAAAxSRVdBUkRfQVNTRVQBAAAAIC03E4HTJDddn+FvdtPRD5PvLCz03YmtXEpW6HzJAXIbAAAAAAZwaXhlbHMFAAAADFJFV0FSRF9BU1NFVAAAAAAEeE1JTgAAAAAAAAAAAAAAAAAEeE1BWAAAAAAAAAAEsQAAAAAEeU1JTgAAAAAAAAAAAAAAAAAEeU1BWAAAAAAAAAACWQAAAAANUkVXQVJEX0FNT1VOVAAAAAAABfXhAAAAAAAMU1RBUlRfSEVJR0hUAAAAAAAAHvH0AAAAAApFTkRfSEVJR0hUCQAAZAAAAAIFAAAADFNUQVJUX0hFSUdIVAkAAGgAAAACAAAAAAAAAAWgAAAAAAAAAAAeAAAAAAZjb2xvcnMJAARMAAAAAgIAAAADMDAwCQAETAAAAAICAAAAA2ZmZgkABEwAAAACAgAAAAYwMDAwMDAJAARMAAAAAgIAAAAGZmZmZmZmCQAETAAAAAICAAAABkZGMDIw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AFpAAAABmNhbGxlcgUAAAANUkVXQVJEX0FNT1VOVAUAAAAGcGl4ZWxzBQAAAANuaWwJAAACAAAAAQIAAAAdV3JvbmcgcGF5bWVudCBhbW91bnQgb3IgYXNzZXQJAAACAAAAAQIAAAAOb3V0IG9mIGNvbnRleHQJAAACAAAAAQIAAAALd3JvbmcgY29sb3IJAAACAAAAAQIAAAAcZ2FtZSBpcyBub3QgYWN0aXZlIHJpZ2h0IG5vdwAAAACskK+T", "height": 2047451, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5bZqzSzxmtLPEnJ4Ps6wvtSXejsGfabLYwN3kvR7QkJZ Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58''
4+let a = base58'CgidgEMbCKXXErgJXVyZCFRaK8SBNA73Jg8mNXALtVKh'
55
66 let b = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS'
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58''
4+let a = base58'CgidgEMbCKXXErgJXVyZCFRaK8SBNA73Jg8mNXALtVKh'
55
66 let b = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS'
77
88 let c = b
99
1010 let d = 0
1111
1212 let e = 1201
1313
1414 let f = 0
1515
1616 let g = 601
1717
1818 let h = 100000000
1919
2020 let i = 2028020
2121
2222 let j = (i + (1440 * 30))
2323
2424 let k = ["000", "fff", "000000", "ffffff", "FF0200", "800080", "FF00FF", "008001", "FEFF00", "020080", "0800FF", "183937", "09FEFF", "7076E9", "C0C0C0", "C3103B", "ff0200", "ff00ff", "feff00", "0800ff", "09feff", "7076e9", "c0c0c0", "c3103b"]
2525
2626 func l (m) = {
2727 let n = a
2828 if ((size(m.payments) == 0))
2929 then throw("Payment not attached")
3030 else {
3131 let o = m.payments[0]
3232 let p = o.assetId
3333 if ($isInstanceOf(p, "ByteVector"))
3434 then {
3535 let q = p
3636 if ((q == n))
3737 then (o.amount == 1000000)
3838 else false
3939 }
4040 else throw("Wrong payment asset")
4141 }
4242 }
4343
4444
4545 @Callable(m)
4646 func coordinates (r,s) = if (if ((height > i))
4747 then (j > height)
4848 else false)
4949 then {
5050 let t = containsElement(k, r)
5151 if (t)
5252 then {
5353 let u = toBase58String(m.caller.bytes)
5454 let v = split(s, "_")
5555 let w = valueOrElse(parseInt(v[0]), 0)
5656 let x = valueOrElse(parseInt(v[1]), 0)
5757 if (if (((w % 8) != 0))
5858 then ((x % 8) != 0)
5959 else false)
6060 then throw("not cool.")
6161 else {
6262 let y = ((toString(w) + "_") + toString(x))
6363 let z = (((u + "_") + y) + "_c")
6464 if (if (if (if ((w >= d))
6565 then (e > w)
6666 else false)
6767 then (x >= f)
6868 else false)
6969 then (g > x)
7070 else false)
7171 then if (l(m))
7272 then [StringEntry(z, r), ScriptTransfer(m.caller, h, c)]
7373 else throw("Wrong payment amount or asset")
7474 else throw("out of context")
7575 }
7676 }
7777 else throw("wrong color")
7878 }
7979 else throw("game is not active right now")
8080
8181

github/deemru/w8io/169f3d6 
21.63 ms