tx · H3LFZcb41G8rfWRbrRswFpPtCnEbfD98FRMP28CrUe4f

3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB:  -0.01000000 Waves

2022.03.22 10:32 [1974841] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves

{ "type": 13, "id": "H3LFZcb41G8rfWRbrRswFpPtCnEbfD98FRMP28CrUe4f", "fee": 1000000, "feeAssetId": null, "timestamp": 1647934403800, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "68ucLPrDTV6PVsrBTSbZvENeTvVFSaZFPZtVQ1dHFkvh1QKyp5NQzjUA7c8zkqaqqqRaGcQjtREDTGyvTa9Jx5T" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAJdGhyb3dEaWNlAAAAAAQAAAADdW5pAAAAAAAAD0JABAAAAARjYXNhCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU8dUmfV9XTKe8QHJbnae4Yz5z2sr+mbGiBAAAAAtjYXNhQmFsYW5jZQkAA+8AAAABBQAAAARjYXNhBAAAAAN0aWMDCQAAZgAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAYTm8gTW9uZXkgTm8gRnVubnkgSG9uZXkuAwkAAGYAAAACCAUAAAALY2FzYUJhbGFuY2UAAAAJYXZhaWxhYmxlAAAAAAB3NZQAAwkAAAAAAAACCAUAAAADdGljAAAABmFtb3VudAAAAAAAAJiWgAQAAAADZ0lECQAEsQAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQEAAAAAXIJAABkAAAAAgkAAGoAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQA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UAAAABaQAAAAZjYWxsZXIFAAAAB3NlbnREaWYFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADTnVtCQABLAAAAAIJAAEsAAAAAgkAAaQAAAABBQAAAAFyAgAAAAEgCQABpAAAAAEFAAAAAXoJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAaQAAAABCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXICAAAAASAJAAGkAAAAAQUAAAABcgIAAAABIAkAAaQAAAABBQAAAAF6AgAAAAcgU2VudDogCQABpAAAAAEFAAAAB3NlbnREaWYFAAAAA25pbAkAAAIAAAABAgAAADBUaWNrZXRzIGFyZSAwLjEgV0FWRVMuIFBsZWFzZSBzZW50IGV4YWN0IGFtb3VudC4JAAACAAAAAQIAAAAKQ2FzYSBlbXB0eQAAAACM+TKt", "height": 1974841, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7drve2Z3wND9fgzu4WdVLGy5fXM8q364Pd9N7cugyoKn Next: F94DCrJdxYqS5h9tEWmrEctF9rtKdjq2JRDYPjLPLBMj Diff:
OldNewDifferences
1111 let e = if ((size(a.payments) > 0))
1212 then a.payments[0]
1313 else throw("No Money No Funny Honey.")
14- if ((d.available > 20000000000))
14+ if ((d.available > 2000000000))
1515 then if ((e.amount == 10000000))
1616 then {
1717 let f = toInt(a.transactionId)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func throwDice () = {
88 let b = 1000000
99 let c = Address(base58'3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB')
1010 let d = wavesBalance(c)
1111 let e = if ((size(a.payments) > 0))
1212 then a.payments[0]
1313 else throw("No Money No Funny Honey.")
14- if ((d.available > 20000000000))
14+ if ((d.available > 2000000000))
1515 then if ((e.amount == 10000000))
1616 then {
1717 let f = toInt(a.transactionId)
1818 let g = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + f) % 6) + 1)
1919 let h = (((((toInt(lastBlock.generator.bytes) + lastBlock.timestamp) + lastBlock.baseTarget) + f) % 6) + 1)
2020 let i = ((g * h) * b)
2121 let j = ((g + h) * b)
2222 if ((g == h))
2323 then [ScriptTransfer(a.caller, i, unit), StringEntry("Num", ((toString(g) + " ") + toString(h))), StringEntry(toString(lastBlock.timestamp), ((((((toString(a.caller) + " ") + toString(g)) + " ") + toString(h)) + " Sent: ") + toString(i)))]
2424 else [ScriptTransfer(a.caller, j, unit), StringEntry("Num", ((toString(g) + " ") + toString(h))), StringEntry(toString(lastBlock.timestamp), ((((((toString(a.caller) + " ") + toString(g)) + " ") + toString(h)) + " Sent: ") + toString(j)))]
2525 }
2626 else throw("Tickets are 0.1 WAVES. Please sent exact amount.")
2727 else throw("Casa empty")
2828 }
2929
3030

github/deemru/w8io/169f3d6 
27.21 ms