tx · ATA9xu3T5v5Ss2B8ZhhF2jwpV8SpkecyZzvFoepezz14

3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB:  -0.01000000 Waves

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

{ "type": 13, "id": "ATA9xu3T5v5Ss2B8ZhhF2jwpV8SpkecyZzvFoepezz14", "fee": 1000000, "feeAssetId": null, "timestamp": 1647800566277, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "4mSkWxpyGTdnkvDhpywRVwWgnxXJTksYcrqw4yhejPsLKSVD72mvsNSFA1q39tFEvK6cEdfXUG1HHhMz4PiSVdc1" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN1bmkAAAAAAAABhqAEAAAAA3RpYwMJAABmAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAABhObyBNb25leSBObyBGdW5ueSBIb25leS4DCQAAZgAAAAIIBQAAAAN0aWMAAAAGYW1vdW50AAAAAAAAD0I/BAAAAAFyCQAAZAAAAAIJAABqAAAAAgkAAGQAAAACCQAAZAAAAAIIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAgFAAAACWxhc3RCbG9jawAAAApiYXNlVGFyZ2V0AAAAAAAAAAAGAAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyCQABpAAAAAEIBQAAAAFpAAAAA2ZlZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABoAAAAAgkAAGgAAAACBQAAAAFyAAAAAAAAAAADBQAAAAN1bmkFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADTnVtCQABpAAAAAEFAAAAAXIFAAAAA25pbAkAAAIAAAABAgAAABZUaWNrZXRzIGFyZSAwLjAxIFdBVkVTAAAAALa2oXA=", "height": 1972614, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AYN5BhAF6DAYG7TdKPCPunwJZr9ZMQQAYxDEx41DPXjQ Next: C1KsbqxpC9hbzLc3Y8aTHPK7eW9BnDaPTxN2QEiVoPXa Diff:
OldNewDifferences
55
66 @Callable(i)
77 func zarAt () = {
8- let uni = 1000000
8+ let uni = 100000
99 let tic = if ((size(i.payments) > 0))
1010 then i.payments[0]
1111 else throw("No Money No Funny Honey.")
12- if ((tic.amount > 9999999))
12+ if ((tic.amount > 999999))
1313 then {
1414 let r = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1)
1515 [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, ((r * 3) * uni), unit), StringEntry("Num", toString(r))]
1616 }
17- else throw("Tickets are 0.1 WAVES")
17+ else throw("Tickets are 0.01 WAVES")
1818 }
1919
2020
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func zarAt () = {
8- let uni = 1000000
8+ let uni = 100000
99 let tic = if ((size(i.payments) > 0))
1010 then i.payments[0]
1111 else throw("No Money No Funny Honey.")
12- if ((tic.amount > 9999999))
12+ if ((tic.amount > 999999))
1313 then {
1414 let r = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1)
1515 [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, ((r * 3) * uni), unit), StringEntry("Num", toString(r))]
1616 }
17- else throw("Tickets are 0.1 WAVES")
17+ else throw("Tickets are 0.01 WAVES")
1818 }
1919
2020

github/deemru/w8io/169f3d6 
24.90 ms