tx · AwJEjscmYKHC5VDfatN1BVSpkXtHqPUJFrGpULQZYeBj
3N6D2nVttodJL3Sos3t1ui6DhrF6e79GAUB: -0.01000000 Waves
2023.09.27 16:14 [2773862] smart account 3N6D2nVttodJL3Sos3t1ui6DhrF6e79GAUB > SELF 0.00000000 Waves
{
"type": 13,
"id": "AwJEjscmYKHC5VDfatN1BVSpkXtHqPUJFrGpULQZYeBj",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1695820475084,
"version": 2,
"chainId": 84,
"sender": "3N6D2nVttodJL3Sos3t1ui6DhrF6e79GAUB",
"senderPublicKey": "6xBTQKYXNv2nHWCVJnDxb8afEksqZW8U6Bg1hjxcTj2",
"proofs": [
"642hU6cbAaeX4NepcoHAVeHwFXgWjRGYXgGcBqRDpG9Q9dbn1TxFtq2FGteWwEoh1x1kGJ85P6dMk5C7HRBLt6Dy"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V528FzSg==",
"height": 2773862,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2aN89g1ajy6NpQxiTwpVGYmBeKQgmCc5vwhmBdGftBTV
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 6 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = "wx_test_assetId" |
---|
5 | | - | |
---|
6 | | - | let b = "reward_amount_id" |
---|
7 | | - | |
---|
8 | | - | @Callable(c) |
---|
9 | | - | func setWXAssetId (d) = [StringEntry(a, d), IntegerEntry(b, 0)] |
---|
10 | 4 | | |
---|
11 | 5 | | |
---|
12 | | - | |
---|
13 | | - | @Callable(c) |
---|
14 | | - | func stakePoolLps () = [IntegerEntry("stakePoolLpsFuncCalled", height)] |
---|
| 6 | + | @Callable(a) |
---|
| 7 | + | func call () = nil |
---|
15 | 8 | | |
---|
16 | 9 | | |
---|
17 | | - | |
---|
18 | | - | @Callable(c) |
---|
19 | | - | func withdrawPoolLps () = [IntegerEntry("withdrawPoolLpsFuncCalled", height)] |
---|
20 | | - | |
---|
21 | | - | |
---|
22 | | - | |
---|
23 | | - | @Callable(c) |
---|
24 | | - | func claimPoolRewards () = { |
---|
25 | | - | let e = getIntegerValue(b) |
---|
26 | | - | let f = getStringValue(a) |
---|
27 | | - | let g = if ((e == 0)) |
---|
28 | | - | then 100000000000 |
---|
29 | | - | else if ((e == 1)) |
---|
30 | | - | then 200000000000 |
---|
31 | | - | else if ((e == 2)) |
---|
32 | | - | then 50000000000 |
---|
33 | | - | else if ((e == 3)) |
---|
34 | | - | then 350000000000 |
---|
35 | | - | else 220000000000 |
---|
36 | | - | let h = if ((e == 4)) |
---|
37 | | - | then 0 |
---|
38 | | - | else (e + 1) |
---|
39 | | - | [IntegerEntry(b, h), ScriptTransfer(c.caller, g, fromBase58String(f))] |
---|
40 | | - | } |
---|
41 | | - | |
---|
42 | | - | |
---|
43 | | - | @Verifier(i) |
---|
44 | | - | func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
| 10 | + | @Verifier(b) |
---|
| 11 | + | func c () = sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey) |
---|
45 | 12 | | |
---|