tx · 9RRt9QwGRgS66DWzy2QsoGw38zs16skuD4xSp7Yah8Cp
3MtKAg1WTDaD4u1Yg2hPSvjHKxZj4rZe5g6: -0.05000000 Waves
2019.10.12 12:14 [716476] smart account 3MtKAg1WTDaD4u1Yg2hPSvjHKxZj4rZe5g6 > SELF 0.00000000 Waves
{
"type": 13,
"id": "9RRt9QwGRgS66DWzy2QsoGw38zs16skuD4xSp7Yah8Cp",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1570871671059,
"version": 1,
"sender": "3MtKAg1WTDaD4u1Yg2hPSvjHKxZj4rZe5g6",
"senderPublicKey": "bMgKmZyoSBqNJfTSZ4tnwKSG2g7ZcTWnRrd7qJWMi9K",
"proofs": [
"37NWn9eV2bv1bSk3hynTDaMiiCxThTgjqr8EktStFaiECakQ5mqNA1s1MwaXdtJcmgeBX3xDB9nUVnocU5dVj2mT"
],
"script": "base64:AAIDAAAAAAAAAAIIAQAAAAEAAAAADGhlcm1hblB1YktleQEAAAAgds7Rh+hp7E9JICpouNtAK8GYTeaVhYcsJuzrVnZp/SoAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RTaWduAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGhlcm1hblB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAHc2VjU2lnbgMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAxoZXJtYW5QdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGBrUGV6A=",
"chainId": 84,
"height": 716476,
"spentComplexity": 0
}
View: original | compacted
Prev: ugTyYZFWdG8GNaHi3i1PqjLJjPoymSmhyjD88E23vaq
Next: AAA7hF4SqbgnA74cHdQrJeirhwbU7me9AgVjvVEe8LUT
Diff:
Old | New | | Differences |
---|
14 | 14 | | else 0 |
---|
15 | 15 | | match tx { |
---|
16 | 16 | | case t: DataTransaction => |
---|
17 | | - | false |
---|
| 17 | + | true |
---|
18 | 18 | | case _ => |
---|
19 | 19 | | true |
---|
20 | 20 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let hermanPubKey = base58'8zn296Zh3FWGjLGbPTJafpKXcRfz6kQKMJaU1zJqLUj3' |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Verifier(tx) |
---|
8 | 8 | | func verify () = { |
---|
9 | 9 | | let firstSign = if (sigVerify(tx.bodyBytes, tx.proofs[0], hermanPubKey)) |
---|
10 | 10 | | then 1 |
---|
11 | 11 | | else 0 |
---|
12 | 12 | | let secSign = if (sigVerify(tx.bodyBytes, tx.proofs[1], hermanPubKey)) |
---|
13 | 13 | | then 1 |
---|
14 | 14 | | else 0 |
---|
15 | 15 | | match tx { |
---|
16 | 16 | | case t: DataTransaction => |
---|
17 | | - | false |
---|
| 17 | + | true |
---|
18 | 18 | | case _ => |
---|
19 | 19 | | true |
---|
20 | 20 | | } |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|