tx · 3CJ6sMUwdqpkAN1HCnqkr9TgWt218XN4Ctpzw2pJ6kkZ
3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -1.00400000 Waves
2021.01.17 22:33 [1357859] smart asset 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00 Szczepan
{
"type": 15,
"id": "3CJ6sMUwdqpkAN1HCnqkr9TgWt218XN4Ctpzw2pJ6kkZ",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1610911983306,
"version": 2,
"chainId": 84,
"sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8",
"senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k",
"proofs": [
"4pDTfPRcX8vjShhjKoPu8iw6XiaYauwSac2fsmUUDWL43dLwduzN8VdfVLvchFKnW3Ffyxw7ExAMSbRce7TbrTi8"
],
"assetId": "GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo",
"script": "base64:BAQAAAAFYWRyZXMJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVT8218SAcQ3h6de+EFkYTuidcqME5sJkekEAAAAByRtYXRjaDAFAAAAAnR4AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgkABCYAAAABAgAAACMzTkN5NHJUOW5vOUNHTHI4OVVybnlIOHM3NVA4SmprU2FwOAYEAAAACGZlZWFzc2V0CQABmwAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABWFkcmVzAgAAAAhmZWVhc3NldAMJAAAAAAAAAggFAAAAAXQAAAAKZmVlQXNzZXRJZAUAAAAIZmVlYXNzZXQGBAAAAAlrb211bmlrYXQJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABWFkcmVzAgAAAAlrb211bmlrYXQJAAACAAAAAQUAAAAJa29tdW5pa2F0BmnNxfg=",
"height": 1357859,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DAr6iqTnHJonHWUHFftyhjLMTqRNGbSDrwRJEq1NqPT9
Next: Bo45APGFNfmw4i8HutuXxGJBgkBVzZWZpTAWh5kKCqhQ
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let adres = Address(base58'3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8') |
---|
3 | 4 | | match tx { |
---|
4 | 5 | | case t: MassTransferTransaction|TransferTransaction => |
---|
5 | 6 | | if ((t.sender == addressFromString("3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8"))) |
---|
6 | 7 | | then true |
---|
7 | | - | else if ((t.feeAssetId == base58'9y4n4nqcRUQVLiaPGVezxB6CWbPHB627L9pZ7GSaaZzu')) |
---|
8 | | - | then true |
---|
9 | | - | else { |
---|
10 | | - | let adres = Address(base58'3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8') |
---|
11 | | - | let komunikat = getStringValue(adres, "komunikat") |
---|
12 | | - | throw(komunikat) |
---|
13 | | - | } |
---|
| 8 | + | else { |
---|
| 9 | + | let feeasset = toBytes(getStringValue(adres, "feeasset")) |
---|
| 10 | + | if ((t.feeAssetId == feeasset)) |
---|
| 11 | + | then true |
---|
| 12 | + | else { |
---|
| 13 | + | let komunikat = getStringValue(adres, "komunikat") |
---|
| 14 | + | throw(komunikat) |
---|
| 15 | + | } |
---|
| 16 | + | } |
---|
14 | 17 | | case _ => |
---|
15 | 18 | | true |
---|
16 | 19 | | } |
---|