tx · DuhtAELTZJdBBveJ9yLYNVqGYrgJTdCd3VhRwm8yn6PG 3MrK661ZJP9yezKng8pgVrxsiqHmbTxYgYR: -0.01000000 Waves 2023.09.22 14:01 [2766491] smart account 3MrK661ZJP9yezKng8pgVrxsiqHmbTxYgYR > SELF 0.00000000 Waves
{ "type": 13, "id": "DuhtAELTZJdBBveJ9yLYNVqGYrgJTdCd3VhRwm8yn6PG", "fee": 1000000, "feeAssetId": null, "timestamp": 1695380475318, "version": 2, "chainId": 84, "sender": "3MrK661ZJP9yezKng8pgVrxsiqHmbTxYgYR", "senderPublicKey": "8DAy52cJLZAR4bfy7weDgPJjPh2puXYjuByo2xAZWwGA", "proofs": [ "3435Y3FX4urmu5iVmYS9pBxinRRsfHR4jVZ35JZkSgTiWfo68mgHy9kw6sxQ3gQ8TomC5kFR6FiCsiYRGjEyj3Y7" ], "script": "base64:BgIWCAISAwoBCBIDCgEBEgMKAQESAwoBAQIAEHd4VGVzdEFzc2V0SWRLZXkCD3d4X3Rlc3RfYXNzZXRJZAAYY3VycmVudFJld2FyZEFtb3VudElkS2V5AhByZXdhcmRfYW1vdW50X2lkBAFpAQxzZXRXWEFzc2V0SWQBCXd4QXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCBRB3eFRlc3RBc3NldElkS2V5BQl3eEFzc2V0SWQFA25pbAFpAQxzdGFrZVBvb2xMcHMBBnBvb2xJZAkAzAgCCQEMSW50ZWdlckVudHJ5AgIWc3Rha2VQb29sTHBzRnVuY0NhbGxlZAUGaGVpZ2h0BQNuaWwBaQEPd2l0aGRyYXdQb29sTHBzAQZwb29sSWQJAMwIAgkBDEludGVnZXJFbnRyeQICGXdpdGhkcmF3UG9vbExwc0Z1bmNDYWxsZWQFBmhlaWdodAUDbmlsAWkBEGNsYWltUG9vbFJld2FyZHMBBnBvb2xJZAQVY3VycmVudFJld2FyZEFtb3VudElkCQERQGV4dHJOYXRpdmUoMTA1NSkBBRhjdXJyZW50UmV3YXJkQW1vdW50SWRLZXkEDXd4VGVzdEFzc2V0SWQJARFAZXh0ck5hdGl2ZSgxMDU4KQEFEHd4VGVzdEFzc2V0SWRLZXkEBmFtb3VudAMJAAACBRVjdXJyZW50UmV3YXJkQW1vdW50SWQAAACA0NvD9AIDCQAAAgUVY3VycmVudFJld2FyZEFtb3VudElkAAEAgKC3h+kFAwkAAAIFFWN1cnJlbnRSZXdhcmRBbW91bnRJZAACAIDo7aG6AQMJAAACBRVjdXJyZW50UmV3YXJkQW1vdW50SWQAAwCA2IDtlwoAgLCWyLMGBBhuZXdDdXJyZW50UmV3YXJkQW1vdW50SWQDCQAAAgUVY3VycmVudFJld2FyZEFtb3VudElkAAQAAAkAZAIFFWN1cnJlbnRSZXdhcmRBbW91bnRJZAABCQDMCAIJAQxJbnRlZ2VyRW50cnkCBRhjdXJyZW50UmV3YXJkQW1vdW50SWRLZXkFGG5ld0N1cnJlbnRSZXdhcmRBbW91bnRJZAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIFBmFtb3VudAkA2QQBBQ13eFRlc3RBc3NldElkBQNuaWwBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5iLi6IQ==", "height": 2766491, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GyLZuE5yNqPAGuzwc9JTBEJ8Y2av7zYoNp6LzMnTf6H6 Next: 6w1ZJuR5yTrofDiYanU3rB7c6Ry7Kenui7Rg1YXhHiMA Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "wx_test_assetId" | |
5 | 5 | ||
6 | 6 | let b = "reward_amount_id" | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func setWXAssetId (d) = [StringEntry(a, d)] | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | ||
13 | 13 | @Callable(c) | |
14 | 14 | func stakePoolLps (e) = [IntegerEntry("stakePoolLpsFuncCalled", height)] | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | ||
18 | 18 | @Callable(c) | |
19 | 19 | func withdrawPoolLps (e) = [IntegerEntry("withdrawPoolLpsFuncCalled", height)] | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | ||
23 | 23 | @Callable(c) | |
24 | 24 | func claimPoolRewards (e) = { | |
25 | 25 | let f = getIntegerValue(b) | |
26 | 26 | let g = getStringValue(a) | |
27 | 27 | let h = if ((f == 0)) | |
28 | 28 | then 100000000000 | |
29 | 29 | else if ((f == 1)) | |
30 | 30 | then 200000000000 | |
31 | 31 | else if ((f == 2)) | |
32 | 32 | then 50000000000 | |
33 | 33 | else if ((f == 3)) | |
34 | 34 | then 350000000000 | |
35 | 35 | else 220000000000 | |
36 | 36 | let i = if ((f == 4)) | |
37 | 37 | then 0 | |
38 | 38 | else (f + 1) | |
39 | 39 | [IntegerEntry(b, i), ScriptTransfer(c.caller, h, fromBase58String(g))] | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | @Verifier(j) | |
44 | 44 | func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) | |
45 | 45 |
github/deemru/w8io/169f3d6 32.72 ms ◑