tx · HYT6286qEuqNaiouUdHN47B8Uv7wMt9GSHA8HJU1iDEn
3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK: -0.14000000 Waves
2018.12.14 15:57 [404479] smart account 3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK > SELF 0.00000000 Waves
{
"type": 13,
"id": "HYT6286qEuqNaiouUdHN47B8Uv7wMt9GSHA8HJU1iDEn",
"fee": 14000000,
"feeAssetId": null,
"timestamp": 1544792305248,
"version": 1,
"sender": "3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK",
"senderPublicKey": "9vCFiiQT1mT2SMoSSoShakxyfJND9mzVDfjiaiVdh7y5",
"proofs": [
"5uk1QVAZpQsBKGdtP4u66nAsCg5XUg7ELNRyDRJ75i2zJNHiojwjXDmQgVqfjLPW97tzeBLqNM9mX3HZU5Js3PSs"
],
"script": "base64:AQQAAAAKUG9XQWNjb3VudAkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnR4AAAAA2ZlZQAAAAAAAAehIAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAMDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAnR4AAAABGRhdGEAAAAAAAAAAAEJAAAAAAAAAggJAAGRAAAAAggFAAAAAnR4AAAABGRhdGEAAAAAAAAAAAAAAAADa2V5AgAAAAFOBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleSOThUQ=",
"chainId": 84,
"height": 404479,
"spentComplexity": 0
}
View: original | compacted
Prev: FEKDVRx3eUyKumhrMByAnEe3Qxn4z3Eqisr19srxWQWL
Next: EVhSF623g8ahJtjFymp1HaRwgBzbUWV67PUDBxpABHQL
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let this = extract(tx.sender) |
---|
4 | | - | let N = extract(getInteger(this, "N")) |
---|
| 3 | + | let PoWAccount = extract(tx.sender) |
---|
5 | 4 | | match tx { |
---|
6 | 5 | | case tx: TransferTransaction => |
---|
7 | | - | let firstBytes = toBase58String(take(tx.id, N)) |
---|
8 | | - | if (isDefined(getBoolean(this, firstBytes))) |
---|
9 | | - | then (tx.amount == 1) |
---|
10 | | - | else false |
---|
| 6 | + | (tx.fee == 500000) |
---|
11 | 7 | | case tx: DataTransaction => |
---|
12 | 8 | | if (if ((size(tx.data) == 1)) |
---|
13 | 9 | | then (tx.data[0].key == "N") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let this = extract(tx.sender) |
---|
4 | | - | let N = extract(getInteger(this, "N")) |
---|
| 3 | + | let PoWAccount = extract(tx.sender) |
---|
5 | 4 | | match tx { |
---|
6 | 5 | | case tx: TransferTransaction => |
---|
7 | | - | let firstBytes = toBase58String(take(tx.id, N)) |
---|
8 | | - | if (isDefined(getBoolean(this, firstBytes))) |
---|
9 | | - | then (tx.amount == 1) |
---|
10 | | - | else false |
---|
| 6 | + | (tx.fee == 500000) |
---|
11 | 7 | | case tx: DataTransaction => |
---|
12 | 8 | | if (if ((size(tx.data) == 1)) |
---|
13 | 9 | | then (tx.data[0].key == "N") |
---|
14 | 10 | | else false) |
---|
15 | 11 | | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
16 | 12 | | else false |
---|
17 | 13 | | case _ => |
---|
18 | 14 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
19 | 15 | | } |
---|