tx · HhiuRwkypnEkcYDQNHqiLmkvYR2QFBbk3S51u7FS2p2b 3N4NPivoThtskr7JxnNrKL7s8BzmRGx9rT2: -0.01400000 Waves 2019.08.11 11:53 [626166] smart account 3N4NPivoThtskr7JxnNrKL7s8BzmRGx9rT2 > SELF 0.00000000 Waves
{ "type": 13, "id": "HhiuRwkypnEkcYDQNHqiLmkvYR2QFBbk3S51u7FS2p2b", "fee": 1400000, "feeAssetId": null, "timestamp": 1565513596777, "version": 1, "sender": "3N4NPivoThtskr7JxnNrKL7s8BzmRGx9rT2", "senderPublicKey": "F3vhYapU4NBzfM2X4KNkoFcxj3UbYnJjqituG6KE7ZPG", "proofs": [ "5HqNQhC8KAzj5E4nMR7wd5zYaVEd2w4bhoSQbGBVxjiLTHiubseFrg5CBxQLccTCrcuwmXZteyXusdvEi2ok4NNn" ], "script": "base64:AAIDAAAAAAAAAAAAAAAJAAAAAAdSVU5OSU5HAgAAAAdSVU5OSU5HAAAAABBDTE9TRURGT1JCRVRUSU5HAgAAABBDTE9TRURGT1JCRVRUSU5HAAAAAAZDTE9TRUQCAAAABkNMT1NFRAAAAAAJREFQUE9XTkVSAgAAACMzTjROUGl2b1RodHNrcjdKeG5OcktMN3M4QnptUkd4OXJUMgAAAAAFV0FWRVMCAAAABVdBVkVTAAAAAAROT05FAgAAAAROT05FAQAAAAtnZXROdW1CeUtleQAAAAEAAAADa2V5BAAAAANudW0EAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAFAAAAA251bQEAAAALZ2V0U3RyQnlLZXkAAAABAAAAA2tleQQAAAADc3RyBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAA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V3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAARiZXRfCQABpAAAAAEFAAAAEWNvbnRlc3RDdXJyTnVtYmVyAgAAAAFfBQAAAAdhY2NvdW50BQAAAA1jdXJyZW5jeVZhbHVlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgYGs6TA3Q==", "chainId": 84, "height": 626166, "spentComplexity": 0 } View: original | compacted Prev: GVQTh99ZWZKqoC9d1KUQE95Aubwg82e1fULQDm2gqJL7 Next: 85NzpGQw98mdFCUj2ZMfJmGdvd6b7QAKjBzGH7cAAEeX Diff:
Old | New | Differences | |
---|---|---|---|
67 | 67 | @Callable(p) | |
68 | 68 | func setContestConfiguration (s,t) = { | |
69 | 69 | let r = toBase58String(p.caller.bytes) | |
70 | - | let q = n() | |
71 | 70 | let u = g("contest_currentnumber") | |
71 | + | let v = l((("contest_" + toString(u)) + "_status")) | |
72 | 72 | let o = (u + 1) | |
73 | 73 | if ((r != d)) | |
74 | 74 | then throw("Only dAPP Owner can Configure Contest.") | |
75 | 75 | else if ((height >= t)) | |
76 | 76 | then throw(("Start Height must be greater than current Blockchain height: " + toString(height))) | |
77 | - | else if (if ((q != a)) | |
78 | - | then (q != f) | |
79 | - | else false) | |
80 | - | then throw(("You cannot configure Contest while status is: " + q)) | |
77 | + | else if ((v == a)) | |
78 | + | then throw(("You cannot configure a new Contest while old Contest status is: " + v)) | |
81 | 79 | else if ((s != e)) | |
82 | 80 | then throw((("dAPP does not support currency: " + s) + " yet.")) | |
83 | 81 | else { | |
84 | - | let | |
85 | - | WriteSet([DataEntry("contest_currentnumber", o), DataEntry((("contest_" + toString(o)) + "_currency"), s), DataEntry((("contest_" + toString(o)) + "_startheight"), t), DataEntry((("contest_" + toString(o)) + "_finishheight"), | |
82 | + | let w = (t + (7 * 1440)) | |
83 | + | WriteSet([DataEntry("contest_currentnumber", o), DataEntry((("contest_" + toString(o)) + "_currency"), s), DataEntry((("contest_" + toString(o)) + "_startheight"), t), DataEntry((("contest_" + toString(o)) + "_finishheight"), w), DataEntry((("contest_" + toString(o)) + "_status"), a)]) | |
86 | 84 | } | |
87 | 85 | } | |
88 | 86 | ||
89 | 87 | ||
90 | 88 | ||
91 | 89 | @Callable(p) | |
92 | - | func bet ( | |
93 | - | let | |
90 | + | func bet (x) = { | |
91 | + | let y = base58'2B3mWxfnhAaCpJuqbkbiD6HVCTEcgwdmzxFCjZe65NYg' | |
94 | 92 | let r = toBase58String(p.caller.bytes) | |
95 | - | let | |
93 | + | let z = extract(p.payment) | |
96 | 94 | let o = g("contest_currentnumber") | |
97 | 95 | let t = g((("contest_" + toString(o)) + "startheight")) | |
98 | - | let | |
96 | + | let w = g((("contest_" + toString(o)) + "finishheight")) | |
99 | 97 | let q = l((("contest_" + toString(o)) + "status")) | |
100 | - | if ((height > ( | |
98 | + | if ((height > (w - (2 * 1440)))) | |
101 | 99 | then throw("You cannot bet anymore at this height.") | |
102 | 100 | else if ((q != a)) | |
103 | 101 | then throw("Invalid status: you cannot bet now.") | |
104 | - | else if (if (( | |
102 | + | else if (if ((z.assetId != y)) | |
105 | 103 | then true | |
106 | - | else ( | |
104 | + | else (z.amount != 500000)) | |
107 | 105 | then throw("You must pay 5 WLT to bet.") | |
108 | - | else WriteSet([DataEntry(((("bet_" + toString(o)) + "_") + r), | |
106 | + | else WriteSet([DataEntry(((("bet_" + toString(o)) + "_") + r), x)]) | |
109 | 107 | } | |
110 | 108 | ||
111 | 109 | ||
112 | - | @Verifier( | |
113 | - | func | |
114 | - | let j = | |
110 | + | @Verifier(A) | |
111 | + | func B () = { | |
112 | + | let j = A | |
115 | 113 | if (if ($isInstanceOf(j, "SetScriptTransaction")) | |
116 | 114 | then true | |
117 | 115 | else $isInstanceOf(j, "DataTransaction")) | |
118 | - | then sigVerify( | |
116 | + | then sigVerify(A.bodyBytes, A.proofs[0], A.senderPublicKey) | |
119 | 117 | else if ($isInstanceOf(j, "InvokeScriptTransaction")) | |
120 | 118 | then true | |
121 | 119 | else true |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "RUNNING" | |
5 | 5 | ||
6 | 6 | let b = "CLOSEDFORBETTING" | |
7 | 7 | ||
8 | 8 | let c = "CLOSED" | |
9 | 9 | ||
10 | 10 | let d = "3N4NPivoThtskr7JxnNrKL7s8BzmRGx9rT2" | |
11 | 11 | ||
12 | 12 | let e = "WAVES" | |
13 | 13 | ||
14 | 14 | let f = "NONE" | |
15 | 15 | ||
16 | 16 | func g (h) = { | |
17 | 17 | let i = { | |
18 | 18 | let j = getInteger(this, h) | |
19 | 19 | if ($isInstanceOf(j, "Int")) | |
20 | 20 | then { | |
21 | 21 | let k = j | |
22 | 22 | k | |
23 | 23 | } | |
24 | 24 | else 0 | |
25 | 25 | } | |
26 | 26 | i | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func l (h) = { | |
31 | 31 | let m = { | |
32 | 32 | let j = getString(this, h) | |
33 | 33 | if ($isInstanceOf(j, "String")) | |
34 | 34 | then { | |
35 | 35 | let k = j | |
36 | 36 | k | |
37 | 37 | } | |
38 | 38 | else f | |
39 | 39 | } | |
40 | 40 | m | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func n () = { | |
45 | 45 | let o = g("contest_currentnumber") | |
46 | 46 | l((("contest_" + toString(o)) + "status")) | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | @Callable(p) | |
51 | 51 | func setContestStatus (q) = { | |
52 | 52 | let r = toBase58String(p.caller.bytes) | |
53 | 53 | let o = g("contest_currentnumber") | |
54 | 54 | if ((r != d)) | |
55 | 55 | then throw("Only dAPP Owner can set Contest Status.") | |
56 | 56 | else if (if (if ((q != a)) | |
57 | 57 | then (q != b) | |
58 | 58 | else false) | |
59 | 59 | then (q != c) | |
60 | 60 | else false) | |
61 | 61 | then throw(("Invalid status: " + q)) | |
62 | 62 | else WriteSet([DataEntry((("contest_" + toString(o)) + "status"), q)]) | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | ||
67 | 67 | @Callable(p) | |
68 | 68 | func setContestConfiguration (s,t) = { | |
69 | 69 | let r = toBase58String(p.caller.bytes) | |
70 | - | let q = n() | |
71 | 70 | let u = g("contest_currentnumber") | |
71 | + | let v = l((("contest_" + toString(u)) + "_status")) | |
72 | 72 | let o = (u + 1) | |
73 | 73 | if ((r != d)) | |
74 | 74 | then throw("Only dAPP Owner can Configure Contest.") | |
75 | 75 | else if ((height >= t)) | |
76 | 76 | then throw(("Start Height must be greater than current Blockchain height: " + toString(height))) | |
77 | - | else if (if ((q != a)) | |
78 | - | then (q != f) | |
79 | - | else false) | |
80 | - | then throw(("You cannot configure Contest while status is: " + q)) | |
77 | + | else if ((v == a)) | |
78 | + | then throw(("You cannot configure a new Contest while old Contest status is: " + v)) | |
81 | 79 | else if ((s != e)) | |
82 | 80 | then throw((("dAPP does not support currency: " + s) + " yet.")) | |
83 | 81 | else { | |
84 | - | let | |
85 | - | WriteSet([DataEntry("contest_currentnumber", o), DataEntry((("contest_" + toString(o)) + "_currency"), s), DataEntry((("contest_" + toString(o)) + "_startheight"), t), DataEntry((("contest_" + toString(o)) + "_finishheight"), | |
82 | + | let w = (t + (7 * 1440)) | |
83 | + | WriteSet([DataEntry("contest_currentnumber", o), DataEntry((("contest_" + toString(o)) + "_currency"), s), DataEntry((("contest_" + toString(o)) + "_startheight"), t), DataEntry((("contest_" + toString(o)) + "_finishheight"), w), DataEntry((("contest_" + toString(o)) + "_status"), a)]) | |
86 | 84 | } | |
87 | 85 | } | |
88 | 86 | ||
89 | 87 | ||
90 | 88 | ||
91 | 89 | @Callable(p) | |
92 | - | func bet ( | |
93 | - | let | |
90 | + | func bet (x) = { | |
91 | + | let y = base58'2B3mWxfnhAaCpJuqbkbiD6HVCTEcgwdmzxFCjZe65NYg' | |
94 | 92 | let r = toBase58String(p.caller.bytes) | |
95 | - | let | |
93 | + | let z = extract(p.payment) | |
96 | 94 | let o = g("contest_currentnumber") | |
97 | 95 | let t = g((("contest_" + toString(o)) + "startheight")) | |
98 | - | let | |
96 | + | let w = g((("contest_" + toString(o)) + "finishheight")) | |
99 | 97 | let q = l((("contest_" + toString(o)) + "status")) | |
100 | - | if ((height > ( | |
98 | + | if ((height > (w - (2 * 1440)))) | |
101 | 99 | then throw("You cannot bet anymore at this height.") | |
102 | 100 | else if ((q != a)) | |
103 | 101 | then throw("Invalid status: you cannot bet now.") | |
104 | - | else if (if (( | |
102 | + | else if (if ((z.assetId != y)) | |
105 | 103 | then true | |
106 | - | else ( | |
104 | + | else (z.amount != 500000)) | |
107 | 105 | then throw("You must pay 5 WLT to bet.") | |
108 | - | else WriteSet([DataEntry(((("bet_" + toString(o)) + "_") + r), | |
106 | + | else WriteSet([DataEntry(((("bet_" + toString(o)) + "_") + r), x)]) | |
109 | 107 | } | |
110 | 108 | ||
111 | 109 | ||
112 | - | @Verifier( | |
113 | - | func | |
114 | - | let j = | |
110 | + | @Verifier(A) | |
111 | + | func B () = { | |
112 | + | let j = A | |
115 | 113 | if (if ($isInstanceOf(j, "SetScriptTransaction")) | |
116 | 114 | then true | |
117 | 115 | else $isInstanceOf(j, "DataTransaction")) | |
118 | - | then sigVerify( | |
116 | + | then sigVerify(A.bodyBytes, A.proofs[0], A.senderPublicKey) | |
119 | 117 | else if ($isInstanceOf(j, "InvokeScriptTransaction")) | |
120 | 118 | then true | |
121 | 119 | else true | |
122 | 120 | } | |
123 | 121 |
github/deemru/w8io/169f3d6 45.37 ms ◑