tx · KnpEBUaKkFuGwnnJ3u6UhXVBJdjmaRk2pcQSXxGPfRT 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB: -0.01000000 Waves 2022.03.20 21:00 [1972591] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves
{ "type": 13, "id": "KnpEBUaKkFuGwnnJ3u6UhXVBJdjmaRk2pcQSXxGPfRT", "fee": 1000000, "feeAssetId": null, "timestamp": 1647799289940, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "3JXgSCaF4t5A2eP6T1bspiSJBnRJRLEuhUwwtv2b3sVrpcQxaPXoJCvJ1B9X2A2P92tfrgQJ9khPF5Kr4qX8wH1f" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN0aWMDCQAAZgAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAqQmlyIG1pa3RhciDDtmRlbWUgeWFwbWFuxLF6IGdlcmVrbWVrdGVkaXIuBAAAAAFyCQAAagAAAAIJAABkAAAAAgkAAGQAAAACCAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAIBQAAAAlsYXN0QmxvY2sAAAAKYmFzZVRhcmdldAAAAAAAAAAABgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgkAAaQAAAABCAUAAAABaQAAAANmZWUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIIBQAAAAFpAAAAA2ZlZQAAAAAAAAAAMgUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANOdW0JAAGkAAAAAQUAAAABcgUAAAADbmlsAAAAAMgO8W4=", "height": 1972591, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7pQpib4F4PkPJibH8z6GZgGc1PMv9urSC1rwa6JUMCKA Next: HfmKQjUkJtwV8Qt8N6ehcDkvApRjKECGY5KAJAE6iiEY Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func zarAt () = if ((1 > size(a.payments))) | |
8 | - | then throw("Bir miktar ödeme yapmanız gerekmektedir.") | |
9 | - | else { | |
10 | - | let b = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) | |
11 | - | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (a.fee * 50), unit), StringEntry("Num", toString(b))] | |
12 | - | } | |
7 | + | func zarAt () = { | |
8 | + | let b = if ((size(a.payments) > 0)) | |
9 | + | then a.payments[0] | |
10 | + | else throw("Bir miktar ödeme yapmanız gerekmektedir.") | |
11 | + | let c = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) | |
12 | + | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (a.fee * 50), unit), StringEntry("Num", toString(c))] | |
13 | + | } | |
13 | 14 | ||
14 | 15 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func zarAt () = if ((1 > size(a.payments))) | |
8 | - | then throw("Bir miktar ödeme yapmanız gerekmektedir.") | |
9 | - | else { | |
10 | - | let b = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) | |
11 | - | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (a.fee * 50), unit), StringEntry("Num", toString(b))] | |
12 | - | } | |
7 | + | func zarAt () = { | |
8 | + | let b = if ((size(a.payments) > 0)) | |
9 | + | then a.payments[0] | |
10 | + | else throw("Bir miktar ödeme yapmanız gerekmektedir.") | |
11 | + | let c = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) | |
12 | + | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (a.fee * 50), unit), StringEntry("Num", toString(c))] | |
13 | + | } | |
13 | 14 | ||
14 | 15 |
github/deemru/w8io/169f3d6 26.70 ms ◑