tx · 3JPdTnK2GxcEr3EX7HLT8G3g8LAwpNCUiFjb1QKXWLFu

3MySJyGK77d6FhzLNaVVQPXdd9a83bM3qDy:  -0.01000000 Waves

2022.05.14 21:34 [2051707] smart account 3MySJyGK77d6FhzLNaVVQPXdd9a83bM3qDy > SELF 0.00000000 Waves

{ "type": 13, "id": "3JPdTnK2GxcEr3EX7HLT8G3g8LAwpNCUiFjb1QKXWLFu", "fee": 1000000, "feeAssetId": null, "timestamp": 1652553111197, "version": 2, "chainId": 84, "sender": "3MySJyGK77d6FhzLNaVVQPXdd9a83bM3qDy", "senderPublicKey": "BfMBEE7fb4c1RcjEUzpvNjTpjoKMmDRef15igPkstvRm", "proofs": [ "3e7E76aEPheQW8f4BgUZtQLQx2sNeaGfCiVMC5x2itjxhvvQDTuxaC9tUCA9SLZYRaTidNo8noLWLwzDcw4Sa2db" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAACAQAAAApyYW5kb21pemVyAAAAAQAAAANpbnYEAAAACGxhc3RQbGF5BAAAAAckbWF0Y2gwCQAEHAAAAAIFAAAABHRoaXMCAAAACGxhc3RQbGF5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAFzBQAAAAckbWF0Y2gwBQAAAAFzAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0AQAAAAYFBu0o2gwJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IEAAAABHJhbmQJAADLAAAAAgkAAMsAAAACCQAAywAAAAIJAADLAAAAAgkAAMsAAAACBQAAAAhsYXN0UGxheQgFAAAAA2ludgAAAA10cmFuc2FjdGlvbklkCAUAAAADaW52AAAAD2NhbGxlclB1YmxpY0tleQgFAAAACWxhc3RCbG9jawAAABNnZW5lcmF0aW9uU2lnbmF0dXJlCQABmgAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCQABmgAAAAEIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CQAB9wAAAAEFAAAABHJhbmQBAAAACnN0YXJ0TG90dG8AAAABAAAAA2ludgQAAAAJcGxheUxpbWl0CQAAaQAAAAIJAQAAAAx3YXZlc0JhbGFuY2UAAAABBQAAAAR0aGlzAAAAAAAAAAABBAAAAAdwYXltZW50CQEAAAAHZXh0cmFjdAAAAAEIBQAAAANpbnYAAAAHcGF5bWVudAQAAAAIcmFuZGhhc2gJAQAAAApyYW5kb21pemVyAAAAAQUAAAADaW52BAAAAAt3aW5UcmFuc2ZlcgkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAADaW52AAAABmNhbGxlcgkAAGgAAAACCAUAAAAHcGF5bWVudAAAAAZhbW91bnQAAAAAAAAAAAIFAAAABHVuaXQFAAAAA25pbAQAAAANd3JpdGVMYXN0UGxheQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAIbGFzdFBsYXkFAAAACHJhbmRoYXNoBQAAAANuaWwDCQAAZgAAAAIAAAAAAAAAAfQJAABqAAAAAgkABLEAAAABBQAAAAhyYW5kaGFzaAAAAAAAAAAD6AkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAADXdyaXRlTGFzdFBsYXkFAAAAC3dpblRyYW5zZmVyCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgUAAAANd3JpdGVMYXN0UGxheQkBAAAAC1RyYW5zZmVyU2V0AAAAAQUAAAADbmlsAAAAAgAAAANpbnYBAAAABWxvdHRvAAAAAAkBAAAACnN0YXJ0TG90dG8AAAABBQAAAANpbnYAAAADaW52AQAAAAdkZWZhdWx0AAAAAAkBAAAACnN0YXJ0TG90dG8AAAABBQAAAANpbnYAAAAAlaiBoQ==", "height": 2051707, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6XWJhbMqgWnQRsNoR5x517jp1UWsNRFodvqG2jn6i5hx Next: 9tviNZVdhMpzConezJziJR7Q5WLBm6CwXj6meScVuoUj Diff:
OldNewDifferences
1919
2020
2121 func g (b) = {
22- let h = (wavesBalance(this) / 100)
22+ let h = (wavesBalance(this) / 1)
2323 let i = extract(b.payment)
2424 let j = a(b)
25- let k = TransferSet([ScriptTransfer(b.caller, ((i.amount * 200) / 100), unit)])
25+ let k = TransferSet([ScriptTransfer(b.caller, (i.amount * 2), unit)])
2626 let l = WriteSet([DataEntry("lastPlay", j)])
2727 if ((500 > (toInt(j) % 1000)))
2828 then ScriptResult(l, k)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = {
66 let d = getBinary(this, "lastPlay")
77 if ($isInstanceOf(d, "ByteVector"))
88 then {
99 let e = d
1010 e
1111 }
1212 else if ($isInstanceOf(d, "Unit"))
1313 then base58'3WCCBE99'
1414 else throw("Match error")
1515 }
1616 let f = (((((c + b.transactionId) + b.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
1717 sha256(f)
1818 }
1919
2020
2121 func g (b) = {
22- let h = (wavesBalance(this) / 100)
22+ let h = (wavesBalance(this) / 1)
2323 let i = extract(b.payment)
2424 let j = a(b)
25- let k = TransferSet([ScriptTransfer(b.caller, ((i.amount * 200) / 100), unit)])
25+ let k = TransferSet([ScriptTransfer(b.caller, (i.amount * 2), unit)])
2626 let l = WriteSet([DataEntry("lastPlay", j)])
2727 if ((500 > (toInt(j) % 1000)))
2828 then ScriptResult(l, k)
2929 else ScriptResult(l, TransferSet(nil))
3030 }
3131
3232
3333 @Callable(b)
3434 func lotto () = g(b)
3535
3636
3737
3838 @Callable(b)
3939 func default () = g(b)
4040
4141

github/deemru/w8io/169f3d6 
48.26 ms