tx · 2TfawKNSnsVcGseCR2HLpWx6NZqxq7kK6atu9Mu9iY1M

3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8:  -1.00400000 Waves

2021.01.18 01:34 [1358035] smart asset 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00 Szczepan

{ "type": 15, "id": "2TfawKNSnsVcGseCR2HLpWx6NZqxq7kK6atu9Mu9iY1M", "fee": 100400000, "feeAssetId": null, "timestamp": 1610922834920, "version": 2, "chainId": 84, "sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8", "senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k", "proofs": [ "5VMF4Fe757JinVWtmTTbHDUbwqUMxPZt5pHRWbyMJTvaXGwXst1kbYiZBVYt7YW3qxapKjpMA1fUqafG4vtMWB1z" ], "assetId": "GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo", "script": "base64:BAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAAFYWRyZXMEAAAAByRtYXRjaDEJAAPsAAAAAQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCAUAAAABdAAAAAdhc3NldElkAgAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDECAAAABUFzc2V0BAAAAAVhc3NldAUAAAAHJG1hdGNoMQgFAAAABWFzc2V0AAAABmlzc3VlcgkBAAAABXRocm93AAAAAAMJAAAAAAAAAggFAAAAAXQAAAAGc2VuZGVyBQAAAAVhZHJlcwYEAAAACGZlZWFzc2V0CQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAVhZHJlcwIAAAAIZmVlYXNzZXQEAAAAA2ZlZQkAAlgAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCAUAAAABdAAAAApmZWVBc3NldElkAQAAAAADCQAAAAAAAAIFAAAAA2ZlZQUAAAAIZmVlYXNzZXQGBAAAAAlrb211bmlrYXQJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABWFkcmVzAgAAAAlrb211bmlrYXQJAAACAAAAAQUAAAAJa29tdW5pa2F0Bphk3uw=", "height": 1358035, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8KrwYMp64AsQtGK7GgqfCnknnnVLpz8wjbAQCNwC4wQn Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let adres = Address(base58'3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8')
43 match tx {
54 case t: MassTransferTransaction|TransferTransaction =>
6- if ((t.sender == addressFromString("3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8")))
5+ let adres = match assetInfo(valueOrErrorMessage(t.assetId, "")) {
6+ case asset: Asset =>
7+ asset.issuer
8+ case _ =>
9+ throw()
10+ }
11+ if ((t.sender == adres))
712 then true
813 else {
914 let feeasset = getStringValue(adres, "feeasset")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let adres = Address(base58'3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8')
43 match tx {
54 case t: MassTransferTransaction|TransferTransaction =>
6- if ((t.sender == addressFromString("3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8")))
5+ let adres = match assetInfo(valueOrErrorMessage(t.assetId, "")) {
6+ case asset: Asset =>
7+ asset.issuer
8+ case _ =>
9+ throw()
10+ }
11+ if ((t.sender == adres))
712 then true
813 else {
914 let feeasset = getStringValue(adres, "feeasset")
1015 let fee = toBase58String(valueOrElse(t.feeAssetId, base58''))
1116 if ((fee == feeasset))
1217 then true
1318 else {
1419 let komunikat = getStringValue(adres, "komunikat")
1520 throw(komunikat)
1621 }
1722 }
1823 case _ =>
1924 true
2025 }

github/deemru/w8io/169f3d6 
26.22 ms