tx · Bd4sRnSczi9mQwcUZTUgq8yobzZrE7TL5QFrKfevjwiJ

3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB:  -0.01000000 Waves

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

{ "type": 13, "id": "Bd4sRnSczi9mQwcUZTUgq8yobzZrE7TL5QFrKfevjwiJ", "fee": 1000000, "feeAssetId": null, "timestamp": 1647801554052, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "4AgJHsowa2iYb8xHXMqc1RhPwTLJnZzCmqQ6cw17fFCw9jqoSZUjGqnwB8JUUVQ5xfo4S5ppQyFA3AdbXdJVE2ut" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN1bmkAAAAAAAAPQkAEAAAAA3RpYwMJAABmAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAABhObyBNb25leSBObyBGdW5ueSBIb25leS4DCQAAZgAAAAIIBQAAAAN0aWMAAAAGYW1vdW50AAAAAAAAD0I/BAAAAANnSUQJAASxAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAQAAAABcgkAAGQAAAACCQAAagAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAgFAAAACWxhc3RCbG9jawAAAApiYXNlVGFyZ2V0BQAAAANnSUQAAAAAAAAAAAYAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIJAAGkAAAAAQgFAAAAAWkAAAADZmVlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACCQAAaAAAAAIFAAAAAXIAAAAAAAAAAAMFAAAAA3VuaQUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANOdW0JAAGkAAAAAQUAAAABcgUAAAADbmlsCQAAAgAAAAECAAAAFlRpY2tldHMgYXJlIDAuMDEgV0FWRVMAAAAAOrT2DQ==", "height": 1972635, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C1KsbqxpC9hbzLc3Y8aTHPK7eW9BnDaPTxN2QEiVoPXa Next: 2zJLqLpQZukNr7CR4zZ816hxabYn821upkPNesRiTCT9 Diff:
OldNewDifferences
1111 else throw("No Money No Funny Honey.")
1212 if ((tic.amount > 999999))
1313 then {
14- let r = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1)
14+ let gID = toInt(i.transactionId)
15+ let r = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + gID) % 6) + 1)
1516 [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, ((r * 3) * uni), unit), StringEntry("Num", toString(r))]
1617 }
1718 else throw("Tickets are 0.01 WAVES")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func zarAt () = {
88 let uni = 1000000
99 let tic = if ((size(i.payments) > 0))
1010 then i.payments[0]
1111 else throw("No Money No Funny Honey.")
1212 if ((tic.amount > 999999))
1313 then {
14- let r = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1)
14+ let gID = toInt(i.transactionId)
15+ let r = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + gID) % 6) + 1)
1516 [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, ((r * 3) * uni), unit), StringEntry("Num", toString(r))]
1617 }
1718 else throw("Tickets are 0.01 WAVES")
1819 }
1920
2021

github/deemru/w8io/169f3d6 
26.47 ms