tx · Fs6YprXnPCj3dEbGo9rFoDBzuX8ttdDcc76xD6pFTgVb
3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw: -1.00000000 Waves
2018.12.07 12:52 [394070] smart account 3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw > SELF 0.00000000 Waves
{
"type": 13,
"id": "Fs6YprXnPCj3dEbGo9rFoDBzuX8ttdDcc76xD6pFTgVb",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1544176300936,
"version": 1,
"sender": "3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw",
"senderPublicKey": "F5xUkZtTJzQX3HBfL7sF3Qga5btttPpm1MdU8htHtvay",
"proofs": [
"2aHR2MMJhchLsznG8ZmHDiFCR6hoFCAUNyk5S3vQkrYDqpfjJX5hW8JmwpocDfhP5WAKdQpKHs73nvzqzqU2z3wg"
],
"script": "base64:AQQAAAAQdHJhbnNhY3Rpb25zTGlzdAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVJ3YT8k4BCzp0xTtchLW02vqb4YZWIC0ngQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAAVpbmRleAkAAGQAAAACCQAAagAAAAIICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACXRpbWVzdGFtcAAAAAAAAAAACgAAAAAAAAAAAQQAAAACaWQJAAJZAAAAAQkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIFAAAAEHRyYW5zYWN0aW9uc0xpc3QJAAGkAAAAAQUAAAAFaW5kZXgEAAAAAXQJAAPoAAAAAQUAAAACaWQEAAAAByRtYXRjaDEFAAAAAXQDCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gxAwMJAABmAAAAAggFAAAAAXQAAAANdHJhbnNmZXJDb3VudAAAAAAAAAAAAQkAAGYAAAACCAkAAZEAAAACCAUAAAABdAAAAAl0cmFuc2ZlcnMAAAAAAAAAAAAAAAAGYW1vdW50AAAAAAAAAABkBwkAAGcAAAACAAAAAAAAABOICAkAAZEAAAACCAUAAAABdAAAAAl0cmFuc2ZlcnMAAAAAAAAAAAcAAAAGYW1vdW50BwcGLp83Uw==",
"chainId": 84,
"height": 394070,
"spentComplexity": 0
}
View: original | compacted
Prev: FdZEAgXSxWAM2LUbcwtcg5VZBEyFxurp9T26DhNk6rbm
Next: 9EyT89p8kEs1JUi1x48qCySKmRcbzPfQ7qAV2ZEqnbG3
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let transactionsList = Address(base58'3N4JgzdqAzHT281W1ypGyHELXJKGfVPTfQZ') |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case tx: ExchangeTransaction => |
---|
6 | 6 | | let index = ((tx.sellOrder.timestamp % 10) + 1) |
---|
7 | 7 | | let id = fromBase58String(extract(getString(transactionsList, toString(index)))) |
---|
8 | 8 | | let t = transactionById(id) |
---|
9 | 9 | | match t { |
---|
10 | 10 | | case t: MassTransferTransaction => |
---|
11 | 11 | | if (if ((t.transferCount > 1)) |
---|
12 | 12 | | then (t.transfers[0].amount > 100) |
---|
13 | 13 | | else false) |
---|
14 | 14 | | then (5000 >= t.transfers[7].amount) |
---|
15 | 15 | | else false |
---|
16 | 16 | | case _ => |
---|
17 | 17 | | false |
---|
18 | 18 | | } |
---|
19 | 19 | | case _ => |
---|
20 | 20 | | true |
---|
21 | 21 | | } |
---|