tx · 3e2Z6Hec9KGbxKfUpxbXDCkXzaytHQTYX4BYmbFsvkY1
3MsU428UzSefm85q7jvBsRV66Du7E72xEkL: -0.01000000 Waves
2022.06.09 16:02 [2088872] smart account 3MsU428UzSefm85q7jvBsRV66Du7E72xEkL > SELF 0.00000000 Waves
{
"type": 13,
"id": "3e2Z6Hec9KGbxKfUpxbXDCkXzaytHQTYX4BYmbFsvkY1",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1654779783000,
"version": 2,
"chainId": 84,
"sender": "3MsU428UzSefm85q7jvBsRV66Du7E72xEkL",
"senderPublicKey": "58FFoU7LCj1DKboVntQXuE3KQDpf92NouXncN5b4vY8U",
"proofs": [
"5HFjdbaZHLfrJDHit3szuSvQA1tCxDHAxNvJB5S3tQHvNc7QySRGVB1tFgpysMCKqtPK2CSKF8t4e3itwj42JjA"
],
"script": "base64:AAIFAAAAAAAAAA0IAhIAEgASABIDCgEIAAAAAwAAAAAFQVNTRVQBAAAAIC03E4HTJDddn+FvdtPRD5PvLCz03YmtXEpW6HzJAXIbAAAAAAtTVEFLRV9BU1NFVAEAAAAgrZ1IFoWReWfvw0p6hpnR3VDpBUk85P5AREeM4YPEwvQAAAAADVJFV0FSRF9BTU9VTlQAAAAAF0h26AAAAAAEAAAAAWkBAAAABXN0YWtlAAAAAAQAAAAJJHQwMjk4MzczCQAFFAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAQAAAAJcG10QW1vdW50CAUAAAAJJHQwMjk4MzczAAAAAl8xBAAAAApwbXRBc3NldElkCAUAAAAJJHQwMjk4MzczAAAAAl8yAwMDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAQAAAAIhPQAAAAIFAAAACnBtdEFzc2V0SWQFAAAAC1NUQUtFX0FTU0VUBwkAAGcAAAACAAAAAAAAAAAABQAAAAlwbXRBbW91bnQHCQAAAgAAAAECAAAAFHNlbmQgcGl4ZWxzIHRvIHN0YWtlBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAD2dldFN0YWtlZEFtb3VudAkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzCQABLAAAAAIFAAAACmN1cnJlbnRLZXkCAAAAB19zdGFrZWQAAAAAAAAAAAAEAAAAC3RvdGFsU3Rha2VkCQAAZAAAAAIFAAAAD2dldFN0YWtlZEFtb3VudAUAAAAJcG10QW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAApjdXJyZW50S2V5AgAAAAFfCQABpAAAAAEFAAAABmhlaWdodAIAAAAHX3N0YWtlZAUAAAALdG90YWxTdGFrZWQFAAAAA25pbAAAAAFpAQAAAAh3aXRoZHJhdwAAAAAJAAACAAAAAQIAAAAEdGVzdAAAAAFpAQAAAAtjbGFpbVJld2FyZAAAAAAJAAACAAAAAQIAAAAEdGVzdAAAAAFpAQAAAANkZWwAAAABAAAAA2tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANrZXkFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Qs8+wQ==",
"height": 2088872,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6ajUMi9MeyaAiPFdEgFvuYTz6Qw1ezwgG2JHKdgbjSvE
Next: 8AVX6sJtKNMujW2vXfyGbTmbCR9ZWLJUZf2bfbCXQMK9
Diff:
Old | New | | Differences |
---|
37 | 37 | | func claimReward () = throw("test") |
---|
38 | 38 | | |
---|
39 | 39 | | |
---|
40 | | - | @Verifier(k) |
---|
41 | | - | func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) |
---|
| 40 | + | |
---|
| 41 | + | @Callable(d) |
---|
| 42 | + | func del (k) = [DeleteEntry(k)] |
---|
| 43 | + | |
---|
| 44 | + | |
---|
| 45 | + | @Verifier(l) |
---|
| 46 | + | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
42 | 47 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS' |
---|
5 | 5 | | |
---|
6 | 6 | | let b = base58'CgidgEMbCKXXErgJXVyZCFRaK8SBNA73Jg8mNXALtVKh' |
---|
7 | 7 | | |
---|
8 | 8 | | let c = 100000000000 |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(d) |
---|
11 | 11 | | func stake () = { |
---|
12 | 12 | | let e = $Tuple2(d.payments[0].amount, d.payments[0].assetId) |
---|
13 | 13 | | let f = e._1 |
---|
14 | 14 | | let g = e._2 |
---|
15 | 15 | | if (if (if ((size(d.payments) == 0)) |
---|
16 | 16 | | then (g != b) |
---|
17 | 17 | | else false) |
---|
18 | 18 | | then (0 >= f) |
---|
19 | 19 | | else false) |
---|
20 | 20 | | then throw("send pixels to stake") |
---|
21 | 21 | | else { |
---|
22 | 22 | | let h = toBase58String(d.caller.bytes) |
---|
23 | 23 | | let i = valueOrElse(getInteger(this, (h + "_staked")), 0) |
---|
24 | 24 | | let j = (i + f) |
---|
25 | 25 | | [IntegerEntry((((h + "_") + toString(height)) + "_staked"), j)] |
---|
26 | 26 | | } |
---|
27 | 27 | | } |
---|
28 | 28 | | |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|
31 | 31 | | @Callable(d) |
---|
32 | 32 | | func withdraw () = throw("test") |
---|
33 | 33 | | |
---|
34 | 34 | | |
---|
35 | 35 | | |
---|
36 | 36 | | @Callable(d) |
---|
37 | 37 | | func claimReward () = throw("test") |
---|
38 | 38 | | |
---|
39 | 39 | | |
---|
40 | | - | @Verifier(k) |
---|
41 | | - | func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) |
---|
| 40 | + | |
---|
| 41 | + | @Callable(d) |
---|
| 42 | + | func del (k) = [DeleteEntry(k)] |
---|
| 43 | + | |
---|
| 44 | + | |
---|
| 45 | + | @Verifier(l) |
---|
| 46 | + | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
42 | 47 | | |
---|