tx · 2vGfBcBKX2CBQ1s8pJyWaA6zjGn41tBgYDvLa9Ppo8Ae

3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB:  -0.01000000 Waves

2022.03.20 21:13 [1972604] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves

{ "type": 13, "id": "2vGfBcBKX2CBQ1s8pJyWaA6zjGn41tBgYDvLa9Ppo8Ae", "fee": 1000000, "feeAssetId": null, "timestamp": 1647800051486, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "5TXVShS8VN97yj8JueZ3xDwckfzDWAXt6HqC8gyQYGLZYiMSsdMKq6pVGqwKtMejeTwz68ypbKSsnNeq9eaSgvCK" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN0aWMDCQAAZgAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAYTm8gTW9uZXkgTm8gRnVubnkgSG9uZXkuAwkAAGYAAAACCAUAAAADdGljAAAABmFtb3VudAAAAAAAAJiWfwQAAAABcgkAAGQAAAACCQAAagAAAAIJAABkAAAAAgkAAGQAAAACCAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAIBQAAAAlsYXN0QmxvY2sAAAAKYmFzZVRhcmdldAAAAAAAAAAABgAAAAAAAAAAAQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgkAAaQAAAABCAUAAAABaQAAAANmZWUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIFAAAAAXIAAAAAAAAAAAMFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADTnVtCQABpAAAAAEFAAAAAXIJAARMAAAAAgkAAAIAAAABCQABpAAAAAEJAABoAAAAAgUAAAABcgAAAAAAAAAAAwUAAAADbmlsCQAAAgAAAAECAAAAFVRpY2tldHMgYXJlIDAuMSBXQVZFUwAAAAAo7jwX", "height": 1972604, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J2kZejSHfEe5KcUg6aBBvEc8cZZ4bSLmfkC8QFk3Rbyn Next: 3kcsuPAZnnCheoqUjMDaa9ET79uq1GCDRhKHdhmpPkDE Diff:
OldNewDifferences
77 func zarAt () = {
88 let tic = if ((size(i.payments) > 0))
99 then i.payments[0]
10- else throw("Bir miktar ödeme yapmanız gerekmektedir.")
10+ else throw("No Money No Funny Honey.")
1111 if ((tic.amount > 9999999))
1212 then {
13- let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6)
14-[StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))]
13+ let r = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1)
14+[StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (r * 3), unit), StringEntry("Num", toString(r)), throw(toString((r * 3)))]
1515 }
16- else throw("Bilet 0.1 WAVES")
16+ else throw("Tickets are 0.1 WAVES")
1717 }
1818
1919
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func zarAt () = {
88 let tic = if ((size(i.payments) > 0))
99 then i.payments[0]
10- else throw("Bir miktar ödeme yapmanız gerekmektedir.")
10+ else throw("No Money No Funny Honey.")
1111 if ((tic.amount > 9999999))
1212 then {
13- let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6)
14-[StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))]
13+ let r = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1)
14+[StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (r * 3), unit), StringEntry("Num", toString(r)), throw(toString((r * 3)))]
1515 }
16- else throw("Bilet 0.1 WAVES")
16+ else throw("Tickets are 0.1 WAVES")
1717 }
1818
1919

github/deemru/w8io/169f3d6 
25.21 ms