tx · EQKzPHKVshzZLt6L95799BVQRzXW5yvewxrqr4pkA6Cr

3MsU428UzSefm85q7jvBsRV66Du7E72xEkL:  -0.01000000 Waves

2022.06.09 15:34 [2088843] smart account 3MsU428UzSefm85q7jvBsRV66Du7E72xEkL > SELF 0.00000000 Waves

{ "type": 13, "id": "EQKzPHKVshzZLt6L95799BVQRzXW5yvewxrqr4pkA6Cr", "fee": 1000000, "feeAssetId": null, "timestamp": 1654778083237, "version": 2, "chainId": 84, "sender": "3MsU428UzSefm85q7jvBsRV66Du7E72xEkL", "senderPublicKey": "58FFoU7LCj1DKboVntQXuE3KQDpf92NouXncN5b4vY8U", "proofs": [ "3SiEkFWxunXAGzkGSYzJx5oySYWEqf8rEtQQP86AwTUK1igpi4NiHor2h32TxaXE4UonhwqjY6GUBzugvVxm1D6P" ], "script": "base64:AAIFAAAAAAAAAAsIAhIDCgEBEgASAAAAAAIAAAAABUFTU0VUAQAAACAtNxOB0yQ3XZ/hb3bT0Q+T7yws9N2JrVxKVuh8yQFyGwAAAAANUkVXQVJEX0FNT1VOVAAAAAAXSHboAAAAAAMAAAABaQEAAAAFc3Rha2UAAAABAAAABmFtb3VudAQAAAAJJHQwMjMyMzA3CQAFFAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAQAAAAJcG10QW1vdW50CAUAAAAJJHQwMjMyMzA3AAAAAl8xBAAAAApwbXRBc3NldElkCAUAAAAJJHQwMjMyMzA3AAAAAl8yAwMDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAQAAAAIhPQAAAAIFAAAACnBtdEFzc2V0SWQFAAAABUFTU0VUBwkAAGcAAAACAAAAAAAAAAAABQAAAAlwbXRBbW91bnQHCQAAAgAAAAECAAAAFHNlbmQgcGl4ZWxzIHRvIHN0YWtlBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAD2dldFN0YWtlZEFtb3VudAkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzCQABLAAAAAIFAAAACmN1cnJlbnRLZXkCAAAAB19zdGFrZWQAAAAAAAAAAAAEAAAAC3RvdGFsU3Rha2VkCQAAZAAAAAIFAAAAD2dldFN0YWtlZEFtb3VudAUAAAAJcG10QW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAApjdXJyZW50S2V5AgAAAAFfCQABpAAAAAEFAAAABmhlaWdodAIAAAAHX3N0YWtlZAUAAAALdG90YWxTdGFrZWQFAAAAA25pbAAAAAFpAQAAAAh3aXRoZHJhdwAAAAAJAAACAAAAAQIAAAAEdGVzdAAAAAFpAQAAAAtjbGFpbVJld2FyZAAAAAAJAAACAAAAAQIAAAAEdGVzdAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5sYUNrg==", "height": 2088843, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: E2RtV7cpPyFqqAF1FtMYk1dDKcVBCVwDtqgCUSk8Qsmi Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let ASSET = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS'
5+
6+let REWARD_AMOUNT = 100000000000
7+
8+@Callable(i)
9+func stake (amount) = {
10+ let $t0232307 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
11+ let pmtAmount = $t0232307._1
12+ let pmtAssetId = $t0232307._2
13+ if (if (if ((size(i.payments) == 0))
14+ then (pmtAssetId != ASSET)
15+ else false)
16+ then (0 >= pmtAmount)
17+ else false)
18+ then throw("send pixels to stake")
19+ else {
20+ let currentKey = toBase58String(i.caller.bytes)
21+ let getStakedAmount = valueOrElse(getInteger(this, (currentKey + "_staked")), 0)
22+ let totalStaked = (getStakedAmount + pmtAmount)
23+[IntegerEntry((((currentKey + "_") + toString(height)) + "_staked"), totalStaked)]
24+ }
25+ }
26+
27+
28+
29+@Callable(i)
30+func withdraw () = throw("test")
31+
32+
33+
34+@Callable(i)
35+func claimReward () = throw("test")
36+
37+
38+@Verifier(tx)
39+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
40+

github/deemru/w8io/026f985 
14.30 ms