tx · CrrTsVjR69Xv7DcjnZY4SqRzhA7zyCUGy2GhvaaVWz4k

3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB:  -0.01000000 Waves

2022.03.22 10:09 [1974817] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves

{ "type": 13, "id": "CrrTsVjR69Xv7DcjnZY4SqRzhA7zyCUGy2GhvaaVWz4k", "fee": 1000000, "feeAssetId": null, "timestamp": 1647932952003, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "4YhrSgt6L8WRseZge5SaxnfW4mRNdrHYLiND7PjycGZ1TWH3W8xF4q1YyruPiSLvcfkGVWfKP9fSaQBrfjZHoQxn" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAJdGhyb3dEaWNlAAAAAAQAAAADdW5pAAAAAAAAD0JABAAAAAN0aWMDCQAAZgAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAYTm8gTW9uZXkgTm8gRnVubnkgSG9uZXkuAwkAAGYAAAACCQAD8AAAAAIFAAAABHRoaXMJAAGbAAAAAQIAAAAFV0FWRVMAAAAAAAAAB9ADCQAAAAAAAAIIBQAAAAN0aWMAAAAGYW1vdW50AAAAAAAAmJaABAAAAANnSUQJAASxAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAQAAAABcgkAAGQAAAACCQAAagAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAgFAAAACWxhc3RCbG9jawAAAApiYXNlVG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AAAgkAASwAAAACCQABpAAAAAEFAAAAAXICAAAAASAJAAGkAAAAAQUAAAABegkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABpAAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAABIAkAAaQAAAABBQAAAAFyAgAAAAEgCQABpAAAAAEFAAAAAXoCAAAAByBTZW50OiAJAAGkAAAAAQUAAAAHc2VudERpZgUAAAADbmlsCQAAAgAAAAECAAAAMFRpY2tldHMgYXJlIDAuMSBXQVZFUy4gUGxlYXNlIHNlbnQgZXhhY3QgYW1vdW50LgkAAAIAAAABAgAAAApDYXNhIGVtcHR5AAAAAA61n8w=", "height": 1974817, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3yTCdmBr5ULbGrPVPiPhAub7GmUdGpgeENVS6Z5Guzat Next: 7drve2Z3wND9fgzu4WdVLGy5fXM8q364Pd9N7cugyoKn Diff:
OldNewDifferences
99 let c = if ((size(a.payments) > 0))
1010 then a.payments[0]
1111 else throw("No Money No Funny Honey.")
12- if ((assetBalance(this, toBytes("WAVES")) > 20000000))
12+ if ((assetBalance(this, toBytes("WAVES")) > 2000))
1313 then if ((c.amount == 10000000))
1414 then {
1515 let d = 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 = if ((size(a.payments) > 0))
1010 then a.payments[0]
1111 else throw("No Money No Funny Honey.")
12- if ((assetBalance(this, toBytes("WAVES")) > 20000000))
12+ if ((assetBalance(this, toBytes("WAVES")) > 2000))
1313 then if ((c.amount == 10000000))
1414 then {
1515 let d = toInt(a.transactionId)
1616 let e = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1)
1717 let f = (((((toInt(lastBlock.generator.bytes) + lastBlock.timestamp) + lastBlock.baseTarget) + d) % 6) + 1)
1818 let g = ((e * f) * b)
1919 let h = ((e + f) * b)
2020 if ((e == f))
2121 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)))]
2222 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)))]
2323 }
2424 else throw("Tickets are 0.1 WAVES. Please sent exact amount.")
2525 else throw("Casa empty")
2626 }
2727
2828

github/deemru/w8io/169f3d6 
23.21 ms