tx · HoSs6jqLZ8PV4KxWVURhF3v3avrtAMFfx2WCJK2pmL5P

3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB:  -0.01000000 Waves

2022.03.22 09:38 [1974790] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves

{ "type": 13, "id": "HoSs6jqLZ8PV4KxWVURhF3v3avrtAMFfx2WCJK2pmL5P", "fee": 1000000, "feeAssetId": null, "timestamp": 1647931106513, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "33e3EZDhakVndPg8qnzRf5xqpo9CNxby5RkzZg6kCxcA1Ck6xNnENr9HKtQtgGZ6iXjrsTXZFbwQMtgx3FQLvqBh" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAJdGhyb3dEaWNlAAAAAAQAAAADdW5pAAAAAAAAD0JABAAAAAN0aWMDCQAAZgAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAYTm8gTW9uZXkgTm8gRnVubnkgSG9uZXkuAwkAAAAAAAACCAUAAAADdGljAAAABmFtb3VudAAAAAAAAJiWgAQAAAADZ0lECQAEsQAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQEAAAAAXIJAABkAAAAAgkAAGoAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACCAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAIBQAAAAlsYXN0QmxvY2sAAAAKYmFzZVRhcmdldAUAAAADZ0lEAAAAAAAAAAAGAAAAAAAAAAABBAAAAAF6CQAAZAAAAAIJAABqAAAAAgkAAG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1N0cmluZ0VudHJ5AAAAAgkAAaQAAAABCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXICAAAAASAJAAGkAAAAAQUAAAABcgIAAAABIAkAAaQAAAABBQAAAAF6AgAAAAcgU2VudDogCQABpAAAAAEFAAAAB3NlbnREaWYFAAAAA25pbAkAAAIAAAABAgAAADBUaWNrZXRzIGFyZSAwLjEgV0FWRVMuIFBsZWFzZSBzZW50IGV4YWN0IGFtb3VudC4AAAAAZC70uA==", "height": 1974790, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6nwBgnCgfZfLCD4jPvfrwL6At3KySamj7GkD7u621P5S Next: 95BX68nGfxW8yzLec1AkM76Y6q4MmRwkwpggPQBaqjas Diff:
OldNewDifferences
55
66 @Callable(a)
77 func throwDice () = {
8- let b = 100000
8+ let b = 1000000
99 let c = if ((size(a.payments) > 0))
1010 then a.payments[0]
1111 else throw("No Money No Funny Honey.")
12- if ((c.amount == 1000000))
12+ if ((c.amount == 10000000))
1313 then {
1414 let d = toInt(a.transactionId)
1515 let e = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1)
2020 then [ScriptTransfer(a.caller, g, unit), StringEntry("Num", ((toString(e) + " ") + toString(f))), StringEntry(toString(lastBlock.timestamp), ((((((toString(a.caller) + " ") + toString(e)) + " ") + toString(f)) + " Sent: ") + toString(g)))]
2121 else [ScriptTransfer(a.caller, h, unit), StringEntry("Num", ((toString(e) + " ") + toString(f))), StringEntry(toString(lastBlock.timestamp), ((((((toString(a.caller) + " ") + toString(e)) + " ") + toString(f)) + " Sent: ") + toString(h)))]
2222 }
23- else throw("Tickets are 0.01 WAVES. Please sent exact amount.")
23+ else throw("Tickets are 0.1 WAVES. Please sent exact amount.")
2424 }
2525
2626
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func throwDice () = {
8- let b = 100000
8+ let b = 1000000
99 let c = if ((size(a.payments) > 0))
1010 then a.payments[0]
1111 else throw("No Money No Funny Honey.")
12- if ((c.amount == 1000000))
12+ if ((c.amount == 10000000))
1313 then {
1414 let d = toInt(a.transactionId)
1515 let e = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1)
1616 let f = (((((toInt(lastBlock.generator.bytes) + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1)
1717 let g = ((e * f) * b)
1818 let h = ((e + f) * b)
1919 if ((e == f))
2020 then [ScriptTransfer(a.caller, g, unit), StringEntry("Num", ((toString(e) + " ") + toString(f))), StringEntry(toString(lastBlock.timestamp), ((((((toString(a.caller) + " ") + toString(e)) + " ") + toString(f)) + " Sent: ") + toString(g)))]
2121 else [ScriptTransfer(a.caller, h, unit), StringEntry("Num", ((toString(e) + " ") + toString(f))), StringEntry(toString(lastBlock.timestamp), ((((((toString(a.caller) + " ") + toString(e)) + " ") + toString(f)) + " Sent: ") + toString(h)))]
2222 }
23- else throw("Tickets are 0.01 WAVES. Please sent exact amount.")
23+ else throw("Tickets are 0.1 WAVES. Please sent exact amount.")
2424 }
2525
2626

github/deemru/w8io/169f3d6 
24.23 ms