tx · FqfkjaPqqTE3FvVt5u87djsWJk9m6Txz4RRSTfrdrKNn

3MudoQDrftH1ko8mqmVrCGzZdfbxwp4S1VT:  -0.01000000 Waves

2019.09.09 04:30 [667875] smart account 3MudoQDrftH1ko8mqmVrCGzZdfbxwp4S1VT > SELF 0.00000000 Waves

{ "type": 13, "id": "FqfkjaPqqTE3FvVt5u87djsWJk9m6Txz4RRSTfrdrKNn", "fee": 1000000, "feeAssetId": null, "timestamp": 1567992537675, "version": 1, "sender": "3MudoQDrftH1ko8mqmVrCGzZdfbxwp4S1VT", "senderPublicKey": "782odmxJZG6YvTj533N39KECa2DMHvWmb3iEtfsDs95v", "proofs": [ "2JA1geeSQiBfJsVbpw8fCGNwgzhjLZggGhdx3sGPZTssSC9odyFQkVCBysQ79S58v34Yj8SAxKeMkKn254itC3wx" ], "script": "base64:AAIDAAAAAAAAAAAAAAAIAAAAAAxUWENPVU5URVJLRVkCAAAAByRUWF9OVU0AAAAABlRPUFRYUwIAAAAIJFRPUF9UWFMAAAAABk1pbkFtdAAAAAAAAAAABQAAAAAHV0FWRUxFVAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAACkNPTU1JU1NJT04JAABpAAAAAgkAAGgAAAACAAAAAAAAAAAFBQAAAAdXQVZFTEVUAAAAAAAAAAPoAQAAAA5JbmNyZW1lbnRUeE51bQAAAAEAAAAEdHhJZAQAAAAFdHhOdW0EAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAAMVFhDT1VOVEVSS0VZAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAA251bQUAAAAHJG1hdGNoMAUAAAADbnVtAAAAAAAAAAAACQAAZAAAAAIFAAAABXR4TnVtAAAAAAAAAAABAQAAAAZnZXRBbXQAAAABAAAABXR4TnVtBAAAAAdEYXRhU3RyCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzBQAAAAV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tCZXQgYW1vdW50IG11c3QgYmUgaW4gV2F2ZXMDBQAAAA1mZWVOb3RJbldhdmVzCQAAAgAAAAECAAAAIlRyYW5zYWN0aW9uJ3MgZmVlIG11c3QgYmUgaW4gV2F2ZXMEAAAAEHBsYXllckFkZHJlc3NTdHIJAAQlAAAAAQUAAAANcGxheWVyQWRkcmVzcwQAAAANcGF5bWVudFN1bVN0cgkAAaQAAAABBQAAAApwYXltZW50U3VtBAAAAAh0eE51bVN0cgkAAaQAAAABBQAAAAV0eE51bQQAAAANdG9UaGVNb29uRGF0YQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAIdHhOdW1TdHIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAHbWVzc2FnZQIAAAABXwUAAAAQcGxheWVyQWRkcmVzc1N0cgIAAAABXwUAAAANcGF5bWVudFN1bVN0cgkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGVE9QVFhTCQEAAAAJZ2V0VG9wVHhzAAAAAgUAAAAIdHhOdW1TdHIFAAAACnBheW1lbnRTdW0FAAAAA25pbAkBAAAACFdyaXRlU2V0AAAAAQUAAAANdG9UaGVNb29uRGF0YQAAAABhpXZg", "chainId": 84, "height": 667875, "spentComplexity": 0 } View: original | compacted Prev: none Next: BjtG6mwJeVypEE8NVd2zBqnvjqduLpNQJaVzb2RM9qpG Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "$TX_NUM"
5+
6+let b = "$TOP_TXS"
7+
8+let c = 5
9+
10+let d = ((100 * 1000) * 1000)
11+
12+let e = ((5 * d) / 1000)
13+
14+func f (g) = {
15+ let h = {
16+ let i = getInteger(this, a)
17+ if ($isInstanceOf(i, "Int"))
18+ then {
19+ let j = i
20+ j
21+ }
22+ else 0
23+ }
24+ (h + 1)
25+ }
26+
27+
28+func k (h) = {
29+ let l = getStringValue(this, h)
30+ let m = split(l, "_")
31+ parseIntValue(m[2])
32+ }
33+
34+
35+func n (h,o) = {
36+ let p = isDefined(getString(this, b))
37+ if (p)
38+ then {
39+ let q = getStringValue(this, b)
40+ let r = split(q, "_")
41+ let s = r[0]
42+ let t = r[1]
43+ let u = r[2]
44+ let v = r[3]
45+ let w = r[4]
46+ let x = r[5]
47+ let y = r[6]
48+ let z = r[7]
49+ let A = r[8]
50+ let B = r[9]
51+ if ((o >= k(B)))
52+ then if ((o >= k(A)))
53+ then if ((o >= k(z)))
54+ then if ((o >= k(y)))
55+ then if ((o >= k(x)))
56+ then if ((o >= k(w)))
57+ then if ((o >= k(v)))
58+ then if ((o >= k(u)))
59+ then if ((o >= k(t)))
60+ then if ((o >= k(s)))
61+ then ((((((((((((((((((h + "_") + s) + "_") + t) + "_") + u) + "_") + v) + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + A)
62+ else ((((((((((((((((((s + "_") + h) + "_") + t) + "_") + u) + "_") + v) + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + A)
63+ else ((((((((((((((((((s + "_") + t) + "_") + h) + "_") + u) + "_") + v) + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + A)
64+ else ((((((((((((((((((s + "_") + t) + "_") + u) + "_") + h) + "_") + v) + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + A)
65+ else ((((((((((((((((((s + "_") + t) + "_") + u) + "_") + v) + "_") + h) + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + A)
66+ else ((((((((((((((((((s + "_") + t) + "_") + u) + "_") + v) + "_") + w) + "_") + h) + "_") + x) + "_") + y) + "_") + z) + "_") + A)
67+ else ((((((((((((((((((s + "_") + t) + "_") + u) + "_") + v) + "_") + w) + "_") + x) + "_") + h) + "_") + y) + "_") + z) + "_") + A)
68+ else ((((((((((((((((((s + "_") + t) + "_") + u) + "_") + v) + "_") + w) + "_") + x) + "_") + y) + "_") + h) + "_") + z) + "_") + A)
69+ else ((((((((((((((((((s + "_") + t) + "_") + u) + "_") + v) + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + h) + "_") + A)
70+ else ((((((((((((((((((s + "_") + t) + "_") + u) + "_") + v) + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + A) + "_") + h)
71+ else q
72+ }
73+ else (h + "_0_0_0_0_0_0_0_0_0")
74+ }
75+
76+
77+@Callable(C)
78+func send (D) = {
79+ let g = toBase58String(C.transactionId)
80+ let h = f(g)
81+ let E = extract(C.payment)
82+ let F = E.amount
83+ let o = (F / d)
84+ if ((c > (o - e)))
85+ then throw((("Donation amount should be at least " + toString(c)) + " Waves"))
86+ else {
87+ let G = isDefined(E.assetId)
88+ let H = isDefined(E.assetId)
89+ let I = toBase58String(C.callerPublicKey)
90+ let J = addressFromPublicKey(fromBase58String(I))
91+ if (G)
92+ then throw("Bet amount must be in Waves")
93+ else if (H)
94+ then throw("Transaction's fee must be in Waves")
95+ else {
96+ let K = toString(J)
97+ let L = toString(o)
98+ let M = toString(h)
99+ let N = [DataEntry(M, ((((D + "_") + K) + "_") + L)), DataEntry(b, n(M, o))]
100+ WriteSet(N)
101+ }
102+ }
103+ }
104+
105+

github/deemru/w8io/169f3d6 
30.85 ms