tx · 5bvkosFZ6XFj5LTrDUujZncAssPtbCcnmiAzMMX2uqee

3N4Ez9CB4yK1rgE8rezTEqNp77egqT9mWSM:  -0.01000000 Waves

2022.05.28 23:22 [2071997] smart account 3N4Ez9CB4yK1rgE8rezTEqNp77egqT9mWSM > SELF 0.00000000 Waves

{ "type": 13, "id": "5bvkosFZ6XFj5LTrDUujZncAssPtbCcnmiAzMMX2uqee", "fee": 1000000, "feeAssetId": null, "timestamp": 1653769352966, "version": 2, "chainId": 84, "sender": "3N4Ez9CB4yK1rgE8rezTEqNp77egqT9mWSM", "senderPublicKey": "483MxoikV3ZhGhnDEG8EvxJvFR57gFgjWeLXiRajiCk5", "proofs": [ "3S8nHYdRKmoyezGajH9SCmRWeboCkYfocmqh6eePcSH2D3YcLmaJsDWKS4CCMubpYUwnptv3GvphGAvhbDRjgiJj" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAACAQAAAApyYW5kb21pemVyAAAAAQAAAANpbnYEAAAACGxhc3RQbGF5BAAAAAckbWF0Y2gwCQAEHAAAAAIFAAAABHRoaXMCAAAACGxhc3RQbGF5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAFzBQAAAAckbWF0Y2gwBQAAAAFzAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0AQAAAAxXYXZlc0xvdHRvVjIJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IEAAAABHJhbmQJAADLAAAAAgkAAMsAAAACCQAAywAAAAIJAADLAAAAAgkAAMsAAAACBQAAAAhsYXN0UGxheQgFAAAAA2ludgAAAA10cmFuc2FjdGlvbklkCAUAAAADaW52AAAAD2NhbGxlclB1YmxpY0tleQgFAAAACWxhc3RCbG9jawAAABNnZW5lcmF0aW9uU2lnbmF0dXJlCQABmgAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCQABmgAAAAEIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CQAB9wAAAAEFAAAABHJhbmQBAAAACnN0YXJ0TG90dG8AAAABAAAAA2ludgQAAAAJcGxheUxpbWl0AAAAAAAAAABkBAAAAAdwYXltZW50CQEAAAAHZXh0cmFjdAAAAAEIBQAAAANpbnYAAAAHcGF5bWVudAQAAAAIcmFuZGhhc2gJAQAAAApyYW5kb21pemVyAAAAAQUAAAADaW52BAAAAARVbml0AQAAACDRwoWae1SQAnNu8Pgpr6erXHbVdbIKoZHBFM7/4HLaBgQAAAALd2luVHJhbnNmZXIJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAA2ludgAAAAZjYWxsZXIJAABoAAAAAggFAAAAB3BheW1lbnQAAAAGYW1vdW50AAAAAAAAAAACBQAAAARVbml0BQAAAANuaWwEAAAADXdyaXRlTGFzdFBsYXkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACGxhc3RQbGF5BQAAAAhyYW5kaGFzaAUAAAADbmlsAwkAAGYAAAACAAAAAAAAAAEsCQAAagAAAAIJAASxAAAAAQUAAAAIcmFuZGhhc2gAAAAAAAAAA+gJAQAAAAxTY3JpcHRSZXN1bHQAAAACBQAAAA13cml0ZUxhc3RQbGF5BQAAAAt3aW5UcmFuc2ZlcgkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAADXdyaXRlTGFzdFBsYXkJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAAAAAIAAAADaW52AQAAAAVsb3R0bwAAAAAJAQAAAApzdGFydExvdHRvAAAAAQUAAAADaW52AAAAA2ludgEAAAAHZGVmYXVsdAAAAAAJAQAAAApzdGFydExvdHRvAAAAAQUAAAADaW52AAAAALXnkXw=", "height": 2071997, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9UEemAEb4v2dW4VaEFQ7wzHDpmEhkn5ELAGaMjtReyod Next: none Diff:
OldNewDifferences
2222 let h = 100
2323 let i = extract(b.payment)
2424 let j = a(b)
25- let k = base58'2ee4oFDYriWJ9EMeR'
25+ let k = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
2626 let l = TransferSet([ScriptTransfer(b.caller, (i.amount * 2), k)])
2727 let m = WriteSet([DataEntry("lastPlay", j)])
2828 if ((300 > (toInt(j) % 1000)))
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'2ee4oFDYriWJ9EMeR'
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) = {
2222 let h = 100
2323 let i = extract(b.payment)
2424 let j = a(b)
25- let k = base58'2ee4oFDYriWJ9EMeR'
25+ let k = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
2626 let l = TransferSet([ScriptTransfer(b.caller, (i.amount * 2), k)])
2727 let m = WriteSet([DataEntry("lastPlay", j)])
2828 if ((300 > (toInt(j) % 1000)))
2929 then ScriptResult(m, l)
3030 else ScriptResult(m, TransferSet(nil))
3131 }
3232
3333
3434 @Callable(b)
3535 func lotto () = g(b)
3636
3737
3838
3939 @Callable(b)
4040 func default () = g(b)
4141
4242

github/deemru/w8io/169f3d6 
42.43 ms