tx · EVX19emUTnFzi51KWiuD4SmpLbitFKLoH4Vedr31W9ej

3Mtg1vHzrFdGhRPCFGrUqokNQF8BckxLF9H:  -0.01000000 Waves

2019.06.27 17:06 [560634] smart account 3Mtg1vHzrFdGhRPCFGrUqokNQF8BckxLF9H > SELF 0.00000000 Waves

{ "type": 13, "id": "EVX19emUTnFzi51KWiuD4SmpLbitFKLoH4Vedr31W9ej", "fee": 1000000, "feeAssetId": null, "timestamp": 1561644494774, "version": 1, "sender": "3Mtg1vHzrFdGhRPCFGrUqokNQF8BckxLF9H", "senderPublicKey": "HXWhTowTxRY5oU4wttY5HWjJNprDkQLpTZohL9f2P5tr", "proofs": [ "2uaaGHAeF4JB7AxCLmGsssfaGFDtN2N8cKwZLpZGnNWerr9vGqU7aSxpQcJUryVQnQYUDPe4A7EL5wkxPSGrRCst" ], "script": "base64:AgQAAAAEdGhpcwgFAAAAAnR4AAAABnNlbmRlcgQAAAADY21kCQACWAAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAQAAAACYXIJAAAAAAAAAgUAAAADY21kAgAAAAlhcmJpdHJhZ2UEAAAAAmExCQACWAAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQQAAAAHYXNzZXRJZAEAAAAgjs8HdMBWrqtaMhTTb32Cqv22UnLwvzbqsSTrK7d6hbkEAAAAAmJiCAUAAAACdHgAAAAJYm9keUJ5dGVzBAAAAAN3cnMCAAAAE193aXRoZHJhd19yZWNpcGllbnQEAAAAA3dhcwIAAAAQX3dpdGhkcmF3X2Ftb3VudAQAAAADd2hzAgAAABBfd2l0aGRyYXdfaGVpZ2h0BAAAAAhhMWFtb3VudAkAASwAAAACBQAAAAJhMQIAAAAHX2Ftb3VudAQAAAAFYTFrZXkJAAEsAAAAAgUAAAACYTECAAAABF9rZXkEAAAABWExd3R4CQABLAAAAAIFAAAAAmExAgAAAAxfd2l0aGRyYXdfdHgEAAAABmExb2RkcwkAASw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AgUAAAAEdGhpcwUAAAAIYTFhbW91bnQEAAAACGxvb3NlcklkCQEAAAAHZXh0cmFjdAAAAAEJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACCQABLAAAAAIFAAAAAmExAgAAAAFfBQAAAApsb29zZXJTaWRlBAAAAAh3aW5uZXJJZAkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgkAASwAAAACBQAAAAJhMQIAAAABXwUAAAAKd2lubmVyU2lkZQQAAAAJd2lubmVyS2V5CQACWQAAAAEJAQAAAAdleHRyYWN0AAAAAQkABB0AAAACBQAAAAR0aGlzCQABLAAAAAIFAAAACHdpbm5lcklkAgAAAARfa2V5BAAAAAFkCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAIbG9vc2VySWQCAAAAB19kZWZlYXQDAwMDCQAAAAAAAAIIBQAAAAF0AAAABmFtb3VudAUAAAAGYW1vdW50AwkAAAAAAAACBQAAAAFkAAAAAAAAAAABBgkAAAAAAAACBQAAAAFkAAAAAAAAAAADBwkAAAAAAAACCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAl3aW5uZXJLZXkIBQAAAAF0AAAACXJlY2lwaWVudAcJAAAAAAAAAggFAAAAAXQAAAACaWQJAAJZAAAAAQkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIFAAAABHRoaXMFAAAABWExd3R4BwkAAGcAAAACCQAAZAAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAR0aGlzCQABLAAAAAIFAAAAAmExBQAAAAN3aHMAAAAAAAAAAAUFAAAABmhlaWdodAcHCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefhamt8=", "chainId": 84, "height": 560634, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 2 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let this = tx.sender
4+let cmd = toBase58String(tx.proofs[0])
5+let ar = (cmd == "arbitrage")
6+let a1 = toBase58String(tx.proofs[1])
7+let assetId = base58'AcTzTgW1QbJK4Qu6hCsUCLjpxUyD3dofv8xq2CAPbzKJ'
8+let bb = tx.bodyBytes
9+let wrs = "_withdraw_recipient"
10+let was = "_withdraw_amount"
11+let whs = "_withdraw_height"
12+let a1amount = (a1 + "_amount")
13+let a1key = (a1 + "_key")
14+let a1wtx = (a1 + "_withdraw_tx")
15+let a1odds = (a1 + "_odds")
16+match tx {
17+ case d: DataTransaction =>
18+ let dd = d.data
19+ let ds = size(dd)
20+ let dk0 = dd[0].key
21+ let dv0 = dd[0].value
22+ let dk1 = dd[1].key
23+ if (if ((cmd == "bet"))
24+ then (ds == 7)
25+ else false)
26+ then {
27+ let odds = extract(getInteger(dd, a1odds))
28+ if (if (if (if (if (if (if (if (if (if (if (sigVerify(bb, d.proofs[3], d.proofs[2]))
29+ then (dk0 == a1key)
30+ else false)
31+ then (dk1 == (a1 + "_eventid"))
32+ else false)
33+ then (dd[2].key == (a1 + "_subevent"))
34+ else false)
35+ then (dd[3].key == a1odds)
36+ else false)
37+ then (dd[4].key == (a1 + "_side"))
38+ else false)
39+ then (dd[5].key == (a1 + "_timestamp"))
40+ else false)
41+ then (dd[6].key == (a1 + "_planned_amount"))
42+ else false)
43+ then if ((dd[4].value == "for"))
44+ then true
45+ else (dd[4].value == "against")
46+ else false)
47+ then (odds > 100)
48+ else false)
49+ then (dv0 == toBase58String(d.proofs[2]))
50+ else false)
51+ then !(isDefined(getString(this, a1key)))
52+ else false
53+ }
54+ else if (if ((cmd == "overwrite"))
55+ then (ds == 2)
56+ else false)
57+ then {
58+ let selfHeight = extract(getInteger(dd, (a1 + whs)))
59+ if (if (if (if (if ((dk0 == a1wtx))
60+ then (dk1 == (a1 + whs))
61+ else false)
62+ then ((height + 5) >= selfHeight)
63+ else false)
64+ then (selfHeight >= (height - 5))
65+ else false)
66+ then (height > (extract(getInteger(this, (a1 + whs))) + 10))
67+ else false)
68+ then !(isDefined(transactionById(fromBase58String(extract(getString(this, a1wtx))))))
69+ else false
70+ }
71+ else if (if ((cmd == "fund"))
72+ then (ds == 1)
73+ else false)
74+ then {
75+ let amount = extract(getInteger(dd, a1amount))
76+ if (if ((dk0 == a1amount))
77+ then !(isDefined(getInteger(this, a1amount)))
78+ else false)
79+ then match transactionById(tx.proofs[1]) {
80+ case fundTx: TransferTransaction =>
81+ if ((amount == fundTx.amount))
82+ then (fundTx.assetId == assetId)
83+ else false
84+ case _ =>
85+ false
86+ }
87+ else false
88+ }
89+ else if (if ((cmd == "cance1"))
90+ then (ds == 5)
91+ else false)
92+ then {
93+ let fundAmount = getInteger(this, a1amount)
94+ let csr = getInteger(this, (a1 + "_spent"))
95+ let currentSpent = if (isDefined(csr))
96+ then extract(csr)
97+ else 0
98+ let selfHeight = extract(getInteger(dd, (a1 + whs)))
99+ if (if (if (if (if (if (if (if (if (sigVerify(bb, d.proofs[2], fromBase58String(extract(getString(this, a1key)))))
100+ then (dk0 == a1wtx)
101+ else false)
102+ then (dk1 == (a1 + was))
103+ else false)
104+ then (dd[2].key == (a1 + "_spent"))
105+ else false)
106+ then (dd[3].key == (a1 + whs))
107+ else false)
108+ then (dd[4].key == (a1 + wrs))
109+ else false)
110+ then ((currentSpent + extract(getInteger(dd, (a1 + was)))) == fundAmount)
111+ else false)
112+ then (dd[2].value == fundAmount)
113+ else false)
114+ then ((height + 5) >= selfHeight)
115+ else false)
116+ then (selfHeight >= (height - 5))
117+ else false
118+ }
119+ else if (if ((cmd == "match"))
120+ then (ds == 6)
121+ else false)
122+ then {
123+ let fid = extract(getString(dd, (a1 + "_for")))
124+ let aid = extract(getString(dd, (a1 + "_against")))
125+ let tam = extract(getInteger(dd, a1amount))
126+ let odds = extract(getInteger(dd, a1odds))
127+ let fsr = getInteger(this, (fid + "_spent"))
128+ let pfs = if (isDefined(fsr))
129+ then extract(fsr)
130+ else 0
131+ let asr = getInteger(this, (aid + "_spent"))
132+ let pas = if (isDefined(asr))
133+ then extract(asr)
134+ else 0
135+ let fra = ((tam * 100) / odds)
136+ let newForSpent = (pfs + fra)
137+ let newAgainstSpent = (pas + ((fra * (odds - 100)) / 100))
138+ if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((dk0 == (a1 + "_for")))
139+ then (dk1 == (a1 + "_against"))
140+ else false)
141+ then (dd[2].key == a1odds)
142+ else false)
143+ then (dd[3].key == a1amount)
144+ else false)
145+ then (dd[4].key == (fid + "_spent"))
146+ else false)
147+ then (dd[5].key == (aid + "_spent"))
148+ else false)
149+ then (dd[4].value == newForSpent)
150+ else false)
151+ then (dd[5].value == newAgainstSpent)
152+ else false)
153+ then (extract(getInteger(this, (fid + "_amount"))) >= newForSpent)
154+ else false)
155+ then (extract(getInteger(this, (aid + "_amount"))) >= newAgainstSpent)
156+ else false)
157+ then (odds > 100)
158+ else false)
159+ then (odds >= extract(getInteger(this, (fid + "_odds"))))
160+ else false)
161+ then (extract(getInteger(this, (aid + "_odds"))) >= odds)
162+ else false)
163+ then (getString(this, (fid + "_side")) == "for")
164+ else false)
165+ then (getString(this, (aid + "_side")) == "against")
166+ else false)
167+ then !(isDefined(getInteger(this, a1amount)))
168+ else false
169+ }
170+ else if (if ((cmd == "de1egate"))
171+ then (ds == 1)
172+ else false)
173+ then if (sigVerify(bb, d.proofs[2], d.proofs[1]))
174+ then (dk0 == (a1 + "_delegate"))
175+ else false
176+ else if (if (if ((cmd == "approve"))
177+ then true
178+ else ar)
179+ then (ds == 1)
180+ else false)
181+ then {
182+ let key = extract(getString(this, a1key))
183+ let dr = getString(this, (key + "_delegate"))
184+ if (if (if (if (if (sigVerify(bb, d.proofs[2], tx.senderPublicKey))
185+ then ar
186+ else false)
187+ then true
188+ else sigVerify(bb, d.proofs[2], fromBase58String(key)))
189+ then true
190+ else if (isDefined(dr))
191+ then sigVerify(bb, d.proofs[2], fromBase58String(extract(dr)))
192+ else false)
193+ then (dk0 == (a1 + "_defeat"))
194+ else false)
195+ then if (if ((dv0 == 1))
196+ then true
197+ else (dv0 == 2))
198+ then true
199+ else if (ar)
200+ then (dv0 == 3)
201+ else false
202+ else false
203+ }
204+ else if (if ((cmd == "registerwithdraw"))
205+ then (ds == 2)
206+ else false)
207+ then if (if ((dk0 == a1wtx))
208+ then (dk1 == (a1 + whs))
209+ else false)
210+ then if (!(isDefined(getString(this, a1wtx))))
211+ then true
212+ else if ((height > (extract(getInteger(this, (a1 + whs))) + 10)))
213+ then !(isDefined(transactionById(fromBase58String(extract(getString(this, a1wtx))))))
214+ else false
215+ else false
216+ else false
217+ case t: TransferTransaction =>
218+ if ((cmd == "cance1"))
219+ then {
220+ let rwTx = getString(this, a1wtx)
221+ let wra = getInteger(this, (a1 + was))
222+ if (if (if ((toBase58String(t.id) == rwTx))
223+ then (t.recipient == addressFromString(extract(getString(this, (a1 + wrs)))))
224+ else false)
225+ then (t.amount == wra)
226+ else false)
227+ then ((extract(getInteger(this, (a1 + whs))) + 5) >= height)
228+ else false
229+ }
230+ else if ((cmd == "withdraw"))
231+ then {
232+ let looserSide = toBase58String(t.proofs[2])
233+ let winnerSide = if ((looserSide == "for"))
234+ then "against"
235+ else "for"
236+ let amount = getInteger(this, a1amount)
237+ let looserId = extract(getString(this, ((a1 + "_") + looserSide)))
238+ let winnerId = extract(getString(this, ((a1 + "_") + winnerSide)))
239+ let winnerKey = fromBase58String(extract(getString(this, (winnerId + "_key"))))
240+ let d = getInteger(this, (looserId + "_defeat"))
241+ if (if (if (if ((t.amount == amount))
242+ then if ((d == 1))
243+ then true
244+ else (d == 3)
245+ else false)
246+ then (addressFromPublicKey(winnerKey) == t.recipient)
247+ else false)
248+ then (t.id == fromBase58String(extract(getString(this, a1wtx))))
249+ else false)
250+ then ((extract(getInteger(this, (a1 + whs))) + 5) >= height)
251+ else false
252+ }
253+ else false
254+ case _ =>
255+ sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
256+}

github/deemru/w8io/026f985 
33.02 ms