tx · EVhSF623g8ahJtjFymp1HaRwgBzbUWV67PUDBxpABHQL
3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK: -0.14000000 Waves
2018.12.14 16:35 [404516] smart account 3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK > SELF 0.00000000 Waves
{
"type": 13,
"id": "EVhSF623g8ahJtjFymp1HaRwgBzbUWV67PUDBxpABHQL",
"fee": 14000000,
"feeAssetId": null,
"timestamp": 1544794532336,
"version": 1,
"sender": "3N2hBea4tJ4vmGdTnr7iGEfeCwsDkLyCbWK",
"senderPublicKey": "9vCFiiQT1mT2SMoSSoShakxyfJND9mzVDfjiaiVdh7y5",
"proofs": [
"3LZPu2bEEeXb7Yh9TbsawNdDY6QKEji9NcQBJXu8DvtrNENPDsSbj6GRM2jkERYBmcoRvK7iaDubuKLpSTjeBDfS"
],
"script": "base64:AQQAAAAKUG9XQWNjb3VudAkBAAAAB2V4dHJhY3QAAAABCAUAAAACdHgAAAAGc2VuZGVyBAAAAAhQb1dBc3NldAEAAAAgABUL1iuX/BNO67wmkFrHDYVSzFY/3MkBmDyy4ak6unEEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAMJAAAAAAAAAggFAAAAAnR4AAAAB2Fzc2V0SWQFAAAACFBvV0Fzc2V0CQAAAAAAAAIIBQAAAAJ0eAAAAANmZWUAAAAAAAAHoSAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwAwMJAAAAAAAAAgkAAZAAAAABCAUAAAACdHgAAAAEZGF0YQAAAAAAAAAAAQkAAAAAAAACCAkAAZEAAAACCAUAAAACdHgAAAAEZGF0YQAAAAAAAAAAAAAAAANrZXkCAAAAAU4HCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5oEtR/Q==",
"chainId": 84,
"height": 404516,
"spentComplexity": 0
}
View: original | compacted
Prev: HYT6286qEuqNaiouUdHN47B8Uv7wMt9GSHA8HJU1iDEn
Next: DCMkP7mdpMk8nGysgkjUppzo2XxUehotoXubCJBvLWHc
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let PoWAccount = extract(tx.sender) |
---|
| 4 | + | let PoWAsset = base58'1KcaUQAEUBmuJmdiP9gkwJdXdUwAvk9ZCGXviUeDF3v' |
---|
4 | 5 | | match tx { |
---|
5 | 6 | | case tx: TransferTransaction => |
---|
6 | | - | (tx.fee == 500000) |
---|
| 7 | + | if ((tx.assetId == PoWAsset)) |
---|
| 8 | + | then (tx.fee == 500000) |
---|
| 9 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
7 | 10 | | case tx: DataTransaction => |
---|
8 | 11 | | if (if ((size(tx.data) == 1)) |
---|
9 | 12 | | then (tx.data[0].key == "N") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let PoWAccount = extract(tx.sender) |
---|
| 4 | + | let PoWAsset = base58'1KcaUQAEUBmuJmdiP9gkwJdXdUwAvk9ZCGXviUeDF3v' |
---|
4 | 5 | | match tx { |
---|
5 | 6 | | case tx: TransferTransaction => |
---|
6 | | - | (tx.fee == 500000) |
---|
| 7 | + | if ((tx.assetId == PoWAsset)) |
---|
| 8 | + | then (tx.fee == 500000) |
---|
| 9 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
7 | 10 | | case tx: DataTransaction => |
---|
8 | 11 | | if (if ((size(tx.data) == 1)) |
---|
9 | 12 | | then (tx.data[0].key == "N") |
---|
10 | 13 | | else false) |
---|
11 | 14 | | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 15 | | else false |
---|
13 | 16 | | case _ => |
---|
14 | 17 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
15 | 18 | | } |
---|