tx · oJUgm8xQm6yLcwGXY8SWcrYt2MBTARyMfywyJXaTRi9
3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy: -0.01400000 Waves
2019.07.01 15:22 [566310] smart account 3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy > SELF 0.00000000 Waves
{
"type": 13,
"id": "oJUgm8xQm6yLcwGXY8SWcrYt2MBTARyMfywyJXaTRi9",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1561983800431,
"version": 1,
"sender": "3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy",
"senderPublicKey": "57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4",
"proofs": [
"2p4U8PHZYfacT3FdiHiv4Eujbep2GB3mACVptf3kf4JjnyiuLydTM2sc4y5QNHveP66FhLX5ZZGBCddvGppsfgiE",
"4jVHohkryGEGa9NpSszuRP9jz8euqi9ExdpV5oFw2Bd8rrEr22QwHecNJarJSn2tvaa424jnSmfbprz8fJcDfLVy"
],
"script": "base64:AwQAAAALZGlnaWxpcmFQYXkBAAAAIIGltNmBhtc4XZH/2xg8adPSYHrptRihKnbat0wWPcgRBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdwUAAAAHJG1hdGNoMAMJAQAAAAlpc0RlZmluZWQAAAABCAUAAAABdwAAAAdhc3NldElkBgMJAAAAAAAAAggFAAAAAXcAAAAJcmVjaXBpZW50CQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAtkaWdpbGlyYVBheQYJAAACAAAAAQIAAAAPY2FudCBzZW5kIHdhdmVzAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAXQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAF0AAAABnByb29mcwAAAAAAAAAAAAUAAAALZGlnaWxpcmFQYXkGWuNvSg==",
"chainId": 84,
"height": 566310,
"spentComplexity": 0
}
View: original | compacted
Prev: E61HW4UaKFD2khKU61amoFzBVB66Gk9THw46tejeyWDy
Next: 5gzj1hhthMiNPeMJo4Hmct5UV3ZJLowPSYJ4R2SuuT8X
Diff:
Old | New | | Differences |
---|
5 | 5 | | case w: TransferTransaction => |
---|
6 | 6 | | if (isDefined(w.assetId)) |
---|
7 | 7 | | then true |
---|
8 | | - | else if ((w.recipient == Address(digiliraPay))) |
---|
| 8 | + | else if ((w.recipient == addressFromPublicKey(digiliraPay))) |
---|
9 | 9 | | then true |
---|
10 | 10 | | else throw("cant send waves") |
---|
11 | 11 | | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let digiliraPay = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case w: TransferTransaction => |
---|
6 | 6 | | if (isDefined(w.assetId)) |
---|
7 | 7 | | then true |
---|
8 | | - | else if ((w.recipient == Address(digiliraPay))) |
---|
| 8 | + | else if ((w.recipient == addressFromPublicKey(digiliraPay))) |
---|
9 | 9 | | then true |
---|
10 | 10 | | else throw("cant send waves") |
---|
11 | 11 | | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
12 | 12 | | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | true |
---|
15 | 15 | | } |
---|