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:
OldNewDifferences
44
55
66 @Callable(i)
7-func zarAt () = if ((1 > size(i.payments)))
8- then throw("Bir miktar ödeme yapmanız gerekmektedir.")
9- else {
10- let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6)
7+func zarAt () = {
8+ let tic = if ((size(i.payments) > 0))
9+ then i.payments[0]
10+ else throw("Bir miktar ödeme yapmanız gerekmektedir.")
11+ let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6)
1112 [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))]
12- }
13+ }
1314
1415
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func zarAt () = if ((1 > size(i.payments)))
8- then throw("Bir miktar ödeme yapmanız gerekmektedir.")
9- else {
10- let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6)
7+func zarAt () = {
8+ let tic = if ((size(i.payments) > 0))
9+ then i.payments[0]
10+ else throw("Bir miktar ödeme yapmanız gerekmektedir.")
11+ let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6)
1112 [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))]
12- }
13+ }
1314
1415

github/deemru/w8io/169f3d6 
24.11 ms