tx · Bt8Dcxqm3s4GyWSuqjKeshuZHQRuqyZJKgD13yWAVFBa

3N9K49ZpyQLL9gJjVdxQhu37f8YZdAzakR1:  -0.01000000 Waves

2022.05.10 17:07 [2045676] smart account 3N9K49ZpyQLL9gJjVdxQhu37f8YZdAzakR1 > SELF 0.00000000 Waves

{ "type": 13, "id": "Bt8Dcxqm3s4GyWSuqjKeshuZHQRuqyZJKgD13yWAVFBa", "fee": 1000000, "feeAssetId": null, "timestamp": 1652191712925, "version": 2, "chainId": 84, "sender": "3N9K49ZpyQLL9gJjVdxQhu37f8YZdAzakR1", "senderPublicKey": "8rTCUHVm1p6iEchTjpJ1a7SbCaayaRrp4FegpAsirYag", "proofs": [ "C8m2yMnpnccPhhkvHmx76kKBZEE7Sf5PTFJz7KCZk1yqDrEHPUe1AuDMsBEhLahYvTPnGX1kyQ4W4rPfHuM1UGG" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAwAAAAADVBBWU1FTlRfQVNTRVQBAAAAAAAAAAAMUkVXQVJEX0FTU0VUAQAAACAtNxOB0yQ3XZ/hb3bT0Q+T7yws9N2JrVxKVuh8yQFyGwAAAAAGcGl4ZWxzBQAAAAxSRVdBUkRfQVNTRVQAAAAABHhNSU4AAAAAAAAAAAAAAAAABHhNQVgAAAAAAAAABLEAAAAABHlNSU4AAAAAAAAAAAAAAAAABHlNQVgAAAAAAAAAAlkAAAAADVJFV0FSRF9BTU9VTlQAAAAAAAX14QAAAAAADFNUQVJUX0hFSUdIVAAAAAAAAB7x9AAAAAAKRU5EX0hFSUdIVAkAAGQAAAACBQAAAAxTVEFSVF9IRUlHSFQJAABoAAAAAgAAAAAAAAAFoAAAAAAAAAAAHgAAAAAGY29sb3JzCQAETAAAAAICAAAAAzAwMAkABEwAAAACAgAAAANmZmYJAARMAAAAAgIAAAAGMDAwMDAwCQAETAAAAAICAAAABmZmZmZmZgkABEwAAAACAgAAAAZGRjAyMDAJAARMAAAAAgIAAAAGODAwMDgwCQAETA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9BTU9VTlQFAAAABnBpeGVscwUAAAADbmlsCQAAAgAAAAECAAAAHVdyb25nIHBheW1lbnQgYW1vdW50IG9yIGFzc2V0CQAAAgAAAAECAAAADm91dCBvZiBjb250ZXh0CQAAAgAAAAECAAAAC3dyb25nIGNvbG9yCQAAAgAAAAECAAAAHGdhbWUgaXMgbm90IGFjdGl2ZSByaWdodCBub3cAAAAACINO2Q==", "height": 2045676, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7hJsMQGDPd5AkTXq5ZkCuxSEGHnJstwffnTuCEn57LCo Next: BShwJ5wR3qCneu6tu2Wh5XqXbERPpppKheyeiDPECjuM Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'CgidgEMbCKXXErgJXVyZCFRaK8SBNA73Jg8mNXALtVKh'
4+let a = base58''
55
66 let b = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS'
77
6868 else false)
6969 then (g > x)
7070 else false)
71- then {
72- let A = getString(this, z)
73- if (l(m))
74- then [StringEntry(z, r), ScriptTransfer(m.caller, h, c)]
75- else throw("Wrong payment amount or asset")
76- }
71+ then if (l(m))
72+ then [StringEntry(z, r), ScriptTransfer(m.caller, h, c)]
73+ else throw("Wrong payment amount or asset")
7774 else throw("out of context")
7875 }
7976 }
8279 else throw("game is not active right now")
8380
8481
85-
86-@Callable(m)
87-func shutdown () = throw("test")
88-
89-
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'CgidgEMbCKXXErgJXVyZCFRaK8SBNA73Jg8mNXALtVKh'
4+let a = base58''
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)
71- then {
72- let A = getString(this, z)
73- if (l(m))
74- then [StringEntry(z, r), ScriptTransfer(m.caller, h, c)]
75- else throw("Wrong payment amount or asset")
76- }
71+ then if (l(m))
72+ then [StringEntry(z, r), ScriptTransfer(m.caller, h, c)]
73+ else throw("Wrong payment amount or asset")
7774 else throw("out of context")
7875 }
7976 }
8077 else throw("wrong color")
8178 }
8279 else throw("game is not active right now")
8380
8481
85-
86-@Callable(m)
87-func shutdown () = throw("test")
88-
89-

github/deemru/w8io/169f3d6 
53.36 ms