tx · 7veZ84BSnjt5QF81hkautXtP1SRVsm8Gb2DoB7c8Ug2o

3N6nbrsW2Xru8wKWWLfFGBGMKwUNG1scEQn:  -1.00000000 Waves

2018.12.07 11:58 [394014] smart account 3N6nbrsW2Xru8wKWWLfFGBGMKwUNG1scEQn > SELF 0.00000000 Waves

{ "type": 13, "id": "7veZ84BSnjt5QF81hkautXtP1SRVsm8Gb2DoB7c8Ug2o", "fee": 100000000, "feeAssetId": null, "timestamp": 1544173133065, "version": 1, "sender": "3N6nbrsW2Xru8wKWWLfFGBGMKwUNG1scEQn", "senderPublicKey": "9qaUvjwzdg3hnXLm7A655TPJs8GYwnYRH9S88u1dnPvv", "proofs": [ "Xs8vJMVdPNWySzRKQzrChsg8vUKe2uZxKgokJSxA2MZ3oqKBWAgkTgM3prc9djAH6hEhVg1GCDc44brYA21FLUt" ], "script": "base64:AQQAAAAQdHJhbnNhY3Rpb25zTGlzdAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVJ3YT8k4BCzp0xTtchLW02vqb4YZWIC0ngQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAAVpbmRleAkAAGQAAAACCQAAagAAAAIICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACXRpbWVzdGFtcAAAAAAAAAAACgAAAAAAAAAAAQQAAAACaWQJAAJZAAAAAQkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIFAAAAEHRyYW5zYWN0aW9uc0xpc3QJAAGkAAAAAQUAAAAFaW5kZXgEAAAAAXQJAAPoAAAAAQUAAAACaWQEAAAAByRtYXRjaDEFAAAAAXQDCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gxAwMJAABmAAAAAggFAAAAAXQAAAANdHJhbnNmZXJDb3VudAAAAAAAAAAAAQkAAGYAAAACCAkAAZEAAAACCAUAAAABdAAAAAl0cmFuc2ZlcnMAAAAAAAAAAAAAAAAGYW1vdW50AAAAAAAAAABkBwkAAGcAAAACAAAAAAAAABOICAkAAZEAAAACCAUAAAABdAAAAAl0cmFuc2ZlcnMAAAAAAAAAAAcAAAAGYW1vdW50BwcGLp83Uw==", "chainId": 84, "height": 394014, "spentComplexity": 0 } View: original | compacted Prev: GqwLAUVxXkPYmrL8RQq2cuuPw48kqyMH4LU2W6jYfq6m Next: Aivx5rPB4rK1CLW5gmi36Ds9eTZbfYSG1geUHYhfyzMY Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let whiteList = Address(base58'3NBYx4Y2HeEFLcUvbZ4phDiAXzg7Fg5dF42')
3+let transactionsList = Address(base58'3N4JgzdqAzHT281W1ypGyHELXJKGfVPTfQZ')
44 match tx {
55 case tx: ExchangeTransaction =>
6- let Alice = toBase58String(tx.sellOrder.sender.bytes)
7- let Bob = toBase58String(tx.buyOrder.sender.bytes)
8- if (extract(getBoolean(whiteList, Alice)))
9- then extract(getBoolean(whiteList, Bob))
10- else false
6+ let index = ((tx.sellOrder.timestamp % 10) + 1)
7+ let id = fromBase58String(extract(getString(transactionsList, toString(index))))
8+ let t = transactionById(id)
9+ match t {
10+ case t: MassTransferTransaction =>
11+ if (if ((t.transferCount > 1))
12+ then (t.transfers[0].amount > 100)
13+ else false)
14+ then (5000 >= t.transfers[7].amount)
15+ else false
16+ case _ =>
17+ false
18+ }
1119 case _ =>
1220 true
1321 }

github/deemru/w8io/026f985 
21.80 ms