tx · GtQueQdBj3gmhrv6VsMoDGFm7BL9PMTMDJ6g3GrMUmT6 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -0.01400000 Waves 2021.01.06 01:40 [1340718] smart account 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00000000 Waves
{ "type": 13, "id": "GtQueQdBj3gmhrv6VsMoDGFm7BL9PMTMDJ6g3GrMUmT6", "fee": 1400000, "feeAssetId": null, "timestamp": 1609886513048, "version": 2, "chainId": 84, "sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8", "senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k", "proofs": [ "34AVRytxCBrzeJ1NmHDi4vzj8kcuyqvrZrpSyu6jNttEogkEMZHUy4XyEo3YYeaSswhdM93qqxqCTgSBCRdFeKXK" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAQc3BvbnNvcm93YW55YXNldAAAAAAJAARMAAAAAgkBAAAAClNwb25zb3JGZWUAAAACCQABmwAAAAECAAAALEdvSjd4NGJvWXJGTWNuZmZaMmtpcDRtZ0dzRnk0S3lacnlHOWpvb0x0R1hvAAAAAAAAAAEsBQAAAANuaWwAAAAARdE3jg==", "height": 1340718, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Y6Gk7bwb2QDjxHXaYm1GWZrfBDybVSmcceeyF3RA3yd Next: EAVKqUZw1AVF9D2ZaP9yXu9ZjWAVqKGJGN4TfEHMZkpM Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func Zrobprzelew () = { | |
8 | - | let konto = i.caller | |
9 | - | let Ilosc = i.payments[0].amount | |
10 | - | let waluta = i.payments[0].assetId | |
11 | - | let szczepan = fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo") | |
12 | - | let denominowanilosc = fraction(Ilosc, 1, 1000000) | |
13 | - | let poodjeciuoplaty = fraction(denominowanilosc, 97, 100) | |
14 | - | let denominowaniloscodwrotna = fraction(Ilosc, 1000000, 1) | |
15 | - | let poodjeciuoplaty2 = fraction(denominowaniloscodwrotna, 97, 100) | |
16 | - | if ((waluta == unit)) | |
17 | - | then [ScriptTransfer(konto, poodjeciuoplaty, szczepan)] | |
18 | - | else if ((waluta == szczepan)) | |
19 | - | then [ScriptTransfer(konto, poodjeciuoplaty2, unit)] | |
20 | - | else [ScriptTransfer(konto, 0, unit)] | |
21 | - | } | |
7 | + | func sponsorowanyaset () = [SponsorFee(toBytes("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo"), 300)] | |
22 | 8 | ||
23 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func Zrobprzelew () = { | |
8 | - | let konto = i.caller | |
9 | - | let Ilosc = i.payments[0].amount | |
10 | - | let waluta = i.payments[0].assetId | |
11 | - | let szczepan = fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo") | |
12 | - | let denominowanilosc = fraction(Ilosc, 1, 1000000) | |
13 | - | let poodjeciuoplaty = fraction(denominowanilosc, 97, 100) | |
14 | - | let denominowaniloscodwrotna = fraction(Ilosc, 1000000, 1) | |
15 | - | let poodjeciuoplaty2 = fraction(denominowaniloscodwrotna, 97, 100) | |
16 | - | if ((waluta == unit)) | |
17 | - | then [ScriptTransfer(konto, poodjeciuoplaty, szczepan)] | |
18 | - | else if ((waluta == szczepan)) | |
19 | - | then [ScriptTransfer(konto, poodjeciuoplaty2, unit)] | |
20 | - | else [ScriptTransfer(konto, 0, unit)] | |
21 | - | } | |
7 | + | func sponsorowanyaset () = [SponsorFee(toBytes("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo"), 300)] | |
22 | 8 | ||
23 | 9 |
github/deemru/w8io/026f985 24.36 ms ◑