tx · 94VZhZBmkvKM4Jqj4JaLGDJ7AfCYMQs4sQL8mZB7fsvx 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -0.01400000 Waves 2020.12.11 21:05 [1304337] smart account 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00000000 Waves
{ "type": 13, "id": "94VZhZBmkvKM4Jqj4JaLGDJ7AfCYMQs4sQL8mZB7fsvx", "fee": 1400000, "feeAssetId": null, "timestamp": 1607710000456, "version": 2, "chainId": 84, "sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8", "senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k", "proofs": [ "3ejjrU12ByN18kiJf2kmkkZaLVwWWjwHmPDQKnTmaRBgq8dpnc6n6NDxjnmW4X3qsVV9BxrVmSGQLvgBJi8XKe9z" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAADaW52AQAAAAdkZWZhdWx0AAAAAAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQAEJQAAAAEIBQAAAANpbnYAAAAGY2FsbGVyBQAAAANuaWwAAAAAV2mnew==", "height": 1304337, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4i8xGs7pZz5LToD5oqw8568ELj8r3sP33pfsbdf9zZde Next: 2J9PJNAhDPi7egYpNVHKWRKnL5kQkNEZpRq7fN9AqXTo Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
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, fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo"))] | |
18 | - | else if ((waluta == szczepan)) | |
19 | - | then [ScriptTransfer(konto, poodjeciuoplaty2, unit)] | |
20 | - | else [ScriptTransfer(konto, 0, unit)] | |
21 | - | } | |
6 | + | @Callable(inv) | |
7 | + | func default () = [DeleteEntry(toString(inv.caller))] | |
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 | - | @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, fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo"))] | |
18 | - | else if ((waluta == szczepan)) | |
19 | - | then [ScriptTransfer(konto, poodjeciuoplaty2, unit)] | |
20 | - | else [ScriptTransfer(konto, 0, unit)] | |
21 | - | } | |
6 | + | @Callable(inv) | |
7 | + | func default () = [DeleteEntry(toString(inv.caller))] | |
22 | 8 | ||
23 | 9 |
github/deemru/w8io/026f985 25.74 ms ◑