tx · 7nRhy26jwnrvEr6dqJMiUsUYxLb3B3WDTZhZLuUTZBF8 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -0.01400000 Waves 2021.01.06 03:12 [1340802] smart account 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00000000 Waves
{ "type": 13, "id": "7nRhy26jwnrvEr6dqJMiUsUYxLb3B3WDTZhZLuUTZBF8", "fee": 1400000, "feeAssetId": null, "timestamp": 1609891972589, "version": 2, "chainId": 84, "sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8", "senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k", "proofs": [ "3ZRzt88ukamFpua8ehb2S3dqgZy2oxPQhXjGoFywLjdT44SXau78rAuvM3bbcxVPEhDH9vMJvqiT33QsQ13gWuEN" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAQc3BvbnNvcm93YW55YXNldAAAAAAJAARMAAAAAgkBAAAAClNwb25zb3JGZWUAAAACCQACWQAAAAECAAAALEdvSjd4NGJvWXJGTWNuZmZaMmtpcDRtZ0dzRnk0S3lacnlHOWpvb0x0R1hvAAAAAAAAAAEsBQAAAANuaWwAAAAAM3Zgpw==", "height": 1340802, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EAVKqUZw1AVF9D2ZaP9yXu9ZjWAVqKGJGN4TfEHMZkpM Next: 2NTnaaBDGSxPCv3VUW6aWA4D94t18KXoAFGytk3Fn98g 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(fromBase58String("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(fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo"), 300)] | |
22 | 8 | ||
23 | 9 |
github/deemru/w8io/026f985 38.54 ms ◑