tx · 29wBa62hy2ayj2B5fA6wqjfGZxVCwizSan4q8CGafEh6
3MpS4Bx7WtJtnFqxTTHWrMdiJBmpdWFbd35: -0.01400000 Waves
2019.01.28 16:18 [470164] smart account 3MpS4Bx7WtJtnFqxTTHWrMdiJBmpdWFbd35 > SELF 0.00000000 Waves
{
"type": 13,
"id": "29wBa62hy2ayj2B5fA6wqjfGZxVCwizSan4q8CGafEh6",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1548681531633,
"version": 1,
"sender": "3MpS4Bx7WtJtnFqxTTHWrMdiJBmpdWFbd35",
"senderPublicKey": "HQWkhM5q6rtv8Z4MgKicfWdDyUABtr8md7ddgMDmZhuA",
"proofs": [
"45bHdGLjUMKczvRznU4VYCcFgcGjzNfoyZ4xe8yTpW468k5Hq9P1K5Abza9snF8p7boMzPbKVRubV8833UdofJ5d"
],
"script": "base64:AQQAAAAFbG90dG8JAQAAAAdleHRyYWN0AAAAAQgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQQAAAALbG90dG9UaWNrZXQBAAAAIEig0myNMHs3vqCEIb/478hzgoMjvniyZgLH1HZwrz2EBAAAAAV0eFNpZwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAABbwUAAAAHJG1hdGNoMAMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQJAAAAAAAAAggIBQAAAAFvAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAALbG90dG9UaWNrZXQHBAAAAAR0ZXN0CQAAAAAAAAIJAAJYAAAAAQkAAMkAAAACCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAAAAAAAAAAAAECAAAAAAMDCQAAAAAAAAIIBQAAAAFvAAAABXByaWNlAAAAAAAF9eEABgUAAAAEdGVzdAUAAAAFdHhTaWcEAAAACnJhbmRvbUJ5dGUJAADJAAAAAgkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAAAAAAAAAAAAABBAAAAANyYnMJAAJYAAAAAQUAAAAKcmFuZG9tQnl0ZQcFAAAABXR4U2lnBQAAAAV0eFNpZ/CQ52E=",
"chainId": 84,
"height": 470164,
"spentComplexity": 0
}
View: original | compacted
Prev: 9BywcWLbEo2Fy7uk13XmbZWGaN69ZSGgfyCh3NQJSKRw
Next: B9QyX4ou3NtBVvFCALGngstasdspYerKgW9sxEtzg2nb
Diff:
Old | New | | Differences |
---|
9 | 9 | | then (o.assetPair.amountAsset == lottoTicket) |
---|
10 | 10 | | else false) |
---|
11 | 11 | | then { |
---|
12 | | - | let test = (toBase58String(take(tx.proofs[0], 1)) == "1") |
---|
| 12 | + | let test = (toBase58String(take(tx.proofs[0], 1)) == "") |
---|
13 | 13 | | if (if ((o.price == 100000000)) |
---|
14 | 14 | | then true |
---|
15 | 15 | | else test) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let lotto = extract(tx.senderPublicKey) |
---|
4 | 4 | | let lottoTicket = base58'5tWazKHUH6vwkQ4jURecx8upJ7yBFfHZ3u81bvmNcYCb' |
---|
5 | 5 | | let txSig = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
6 | 6 | | match tx { |
---|
7 | 7 | | case o: Order => |
---|
8 | 8 | | if (if (!(isDefined(o.assetPair.priceAsset))) |
---|
9 | 9 | | then (o.assetPair.amountAsset == lottoTicket) |
---|
10 | 10 | | else false) |
---|
11 | 11 | | then { |
---|
12 | | - | let test = (toBase58String(take(tx.proofs[0], 1)) == "1") |
---|
| 12 | + | let test = (toBase58String(take(tx.proofs[0], 1)) == "") |
---|
13 | 13 | | if (if ((o.price == 100000000)) |
---|
14 | 14 | | then true |
---|
15 | 15 | | else test) |
---|
16 | 16 | | then txSig |
---|
17 | 17 | | else { |
---|
18 | 18 | | let randomByte = take(tx.proofs[0], 1) |
---|
19 | 19 | | let rbs = toBase58String(randomByte) |
---|
20 | 20 | | false |
---|
21 | 21 | | } |
---|
22 | 22 | | } |
---|
23 | 23 | | else txSig |
---|
24 | 24 | | case _ => |
---|
25 | 25 | | txSig |
---|
26 | 26 | | } |
---|