tx · Bo45APGFNfmw4i8HutuXxGJBgkBVzZWZpTAWh5kKCqhQ
3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -1.00400000 Waves
2021.01.17 23:03 [1357890] smart asset 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00 Szczepan
{
"type": 15,
"id": "Bo45APGFNfmw4i8HutuXxGJBgkBVzZWZpTAWh5kKCqhQ",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1610913851478,
"version": 2,
"chainId": 84,
"sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8",
"senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k",
"proofs": [
"4BdeVUaMAJyUGHEGc6HURSghrTR2HLa8p4XqwuUx4zC738gTky4JjerRBgdTw4o6aDtpgXB5iwr2jF4VTPnHEaD8"
],
"assetId": "GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo",
"script": "base64:BAQAAAAFYWRyZXMJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVT8218SAcQ3h6de+EFkYTuidcqME5sJkekEAAAAByRtYXRjaDAFAAAAAnR4AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgkABCYAAAABAgAAACMzTkN5NHJUOW5vOUNHTHI4OVVybnlIOHM3NVA4SmprU2FwOAYEAAAACGZlZWFzc2V0CQABmwAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABWFkcmVzAgAAAAhmZWVhc3NldAMJAAAAAAAAAggFAAAAAXQAAAAKZmVlQXNzZXRJZAUAAAAIZmVlYXNzZXQGBAAAAANmZWUJAAJYAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAggFAAAAAXQAAAAKZmVlQXNzZXRJZAEAAAAABAAAAAlrb211bmlrYXQJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABWFkcmVzAgAAAAlrb211bmlrYXQJAAACAAAAAQkAASwAAAACCQABLAAAAAIFAAAACWtvbXVuaWthdAIAAAAkd8WCYcWbbmllIHphcMWCYWNpxYJlxZsgcHJ6eSBwb21vY3kgBQAAAANmZWUGrUz9pA==",
"height": 1357890,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3CJ6sMUwdqpkAN1HCnqkr9TgWt218XN4Ctpzw2pJ6kkZ
Next: 8KrwYMp64AsQtGK7GgqfCnknnnVLpz8wjbAQCNwC4wQn
Diff:
Old | New | | Differences |
---|
10 | 10 | | if ((t.feeAssetId == feeasset)) |
---|
11 | 11 | | then true |
---|
12 | 12 | | else { |
---|
| 13 | + | let fee = toBase58String(valueOrElse(t.feeAssetId, base58'')) |
---|
13 | 14 | | let komunikat = getStringValue(adres, "komunikat") |
---|
14 | | - | throw(komunikat) |
---|
| 15 | + | throw(((komunikat + "właśnie zapłaciłeś przy pomocy ") + fee)) |
---|
15 | 16 | | } |
---|
16 | 17 | | } |
---|
17 | 18 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let adres = Address(base58'3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8') |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: MassTransferTransaction|TransferTransaction => |
---|
6 | 6 | | if ((t.sender == addressFromString("3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8"))) |
---|
7 | 7 | | then true |
---|
8 | 8 | | else { |
---|
9 | 9 | | let feeasset = toBytes(getStringValue(adres, "feeasset")) |
---|
10 | 10 | | if ((t.feeAssetId == feeasset)) |
---|
11 | 11 | | then true |
---|
12 | 12 | | else { |
---|
| 13 | + | let fee = toBase58String(valueOrElse(t.feeAssetId, base58'')) |
---|
13 | 14 | | let komunikat = getStringValue(adres, "komunikat") |
---|
14 | | - | throw(komunikat) |
---|
| 15 | + | throw(((komunikat + "właśnie zapłaciłeś przy pomocy ") + fee)) |
---|
15 | 16 | | } |
---|
16 | 17 | | } |
---|
17 | 18 | | case _ => |
---|
18 | 19 | | true |
---|
19 | 20 | | } |
---|