tx · 5tcouyb8mm57J6YcxzyiP7TqEus8kdm1zPXXvWuG6MKg

3NCdhfVF5hReR1548UPgrg39DNmB6kuypfK:  -0.01400000 Waves

2019.09.10 15:35 [670022] smart account 3NCdhfVF5hReR1548UPgrg39DNmB6kuypfK > SELF 0.00000000 Waves

{ "type": 13, "id": "5tcouyb8mm57J6YcxzyiP7TqEus8kdm1zPXXvWuG6MKg", "fee": 1400000, "feeAssetId": null, "timestamp": 1568118909075, "version": 1, "sender": "3NCdhfVF5hReR1548UPgrg39DNmB6kuypfK", "senderPublicKey": "GQeJWCTgxvB4oLfb4o7NUbHojmG964yx9DYbyxg9mgZp", "proofs": [ "meKf2m4FFcZrk6afD4ovrPt2nGKRLtbXiBTxLDdrV4baecUkrTGXTNHZa9zjGBRScc2UgpgfybFQYiHUVKk9GFD" ], "script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAAtiYW5rQWRkcmVzcwIAAAAjM010VEd6OGFERGRYaFZkNUpkY25VRlZuWXlOSkNjVXNFeDUAAAACAAAAAWkBAAAACHJlZ2lzdGVyAAAAAAQAAAAHYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAwkBAAAACWlzRGVmaW5lZAAAAAEJAAQdAAAAAgUAAAAEdGhpcwUAAAAHYWRkcmVzcwkAAAIAAAABAgAAAA5hbHJlYWR5IGV4aXN0cwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAHYWRkcmVzcwIAAAADcmVnBQAAAANuaWwAAAABaQEAAAAIdHJ5VG9XaW4AAAABAAAABHR4aWQDCQEAAAAJaXNEZWZpbmVkAAAAAQkABB0AAAACBQAAAAR0aGlzBQAAAAR0eGlkCQAAAgAAAAECAAAAEVR4IGFscmVhZHkgZXhpc3RzBAAAAAJ0eAkAA+4AAAABCQACWQAAAAEFAAAABHR4aWQEAAAAA3R0eAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQJAAACAAAAAQIAAAAYTm90IHRyYW5zZmVyIHRyYW5zYWN0aW9uBAAAAAZpc0JhbmsJAAAAAAAAAgkABCUAAAABCQAEJAAAAAEIBQAAAAN0dHgAAAAJcmVjaXBpZW50BQAAAAtiYW5rQWRkcmVzcwQAAAAIdHhIZWlnaHQEAAAAByRtYXRjaDAJAAPpAAAAAQgFAAAAA3R0eAAAAAJpZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFoBQAAAAckbWF0Y2gwCQAAZAAAAAIFAAAAAWgAAAAAAAAAAAEJAAACAAAAAQIAAAAKQmFkIGhlaWdodAQAAAAOYmxvY2tUaW1lc3RhbXAEAAAAByRtYXRjaDAJAAPtAAAAAQUAAAAIdHhIZWlnaHQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACUJsb2NrSW5mbwQAAAACYmkFAAAAByRtYXRjaDAIBQAAAAJiaQAAAAl0aW1lc3RhbXAJAAACAAAAAQIAAAAJQmFkIGJsb2NrBAAAAAhpc1dpbm5lcgkAAAAAAAACCQAAagAAAAIJAASxAAAAAQkAAfcAAAABCQAAywAAAAIIBQAAAAN0dHgAAAACaWQJAAGaAAAAAQUAAAAOYmxvY2tUaW1lc3RhbXAAAAAAAAAAAGQAAAAAAAAAAAADCQAAAAAAAAIAAAAAAAAAAAEAAAAAAAAAAAEEAAAAB2JhbGFuY2UJAQAAAAx3YXZlc0JhbGFuY2UAAAABBQAAAAR0aGlzCQAAAgAAAAEJAAGkAAAAAQUAAAAHYmFsYW5jZQkAAAIAAAABAgAAAAhZb3UgbG9zZQAAAADIEUBS", "chainId": 84, "height": 670022, "spentComplexity": 0 } View: original | compacted Prev: A3eJEYT2qatrn3uZgLfGzzbTLCN4sbL2uYBZ1C9Qs83m Next: none Diff:
OldNewDifferences
4747 else throw("Bad block")
4848 }
4949 let n = ((toInt(sha256((f.id + toBytes(l)))) % 100) == 0)
50- if (n)
50+ if ((1 == 1))
5151 then {
5252 let o = wavesBalance(this)
5353 throw(toString(o))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MtTGz8aDDdXhVd5JdcnUFVnYyNJCcUsEx5"
55
66 @Callable(b)
77 func register () = {
88 let c = toBase58String(b.caller.bytes)
99 if (isDefined(getString(this, c)))
1010 then throw("already exists")
1111 else WriteSet([DataEntry(c, "reg")])
1212 }
1313
1414
1515
1616 @Callable(b)
1717 func tryToWin (d) = if (isDefined(getString(this, d)))
1818 then throw("Tx already exists")
1919 else {
2020 let e = transferTransactionById(fromBase58String(d))
2121 let f = {
2222 let g = e
2323 if ($isInstanceOf(g, "TransferTransaction"))
2424 then {
2525 let h = g
2626 h
2727 }
2828 else throw("Not transfer transaction")
2929 }
3030 let i = (toString(addressFromRecipient(f.recipient)) == a)
3131 let j = {
3232 let g = transactionHeightById(f.id)
3333 if ($isInstanceOf(g, "Int"))
3434 then {
3535 let k = g
3636 (k + 1)
3737 }
3838 else throw("Bad height")
3939 }
4040 let l = {
4141 let g = blockInfoByHeight(j)
4242 if ($isInstanceOf(g, "BlockInfo"))
4343 then {
4444 let m = g
4545 m.timestamp
4646 }
4747 else throw("Bad block")
4848 }
4949 let n = ((toInt(sha256((f.id + toBytes(l)))) % 100) == 0)
50- if (n)
50+ if ((1 == 1))
5151 then {
5252 let o = wavesBalance(this)
5353 throw(toString(o))
5454 }
5555 else throw("You lose")
5656 }
5757
5858

github/deemru/w8io/026f985 
23.98 ms