tx · CyRyeuKUMW6KT5y2VBVvmqJfSZZV18sGX4DpwEzqHaED 3PPfMeKefmhDTGnsNxkpoYQTJpbmRrZKi1a: -0.00100000 Waves 2022.12.21 19:10 [3435734] smart account 3PPfMeKefmhDTGnsNxkpoYQTJpbmRrZKi1a > SELF 0.00000000 Waves
{ "type": 13, "id": "CyRyeuKUMW6KT5y2VBVvmqJfSZZV18sGX4DpwEzqHaED", "fee": 100000, "feeAssetId": null, "timestamp": 1671639027068, "version": 2, "chainId": 87, "sender": "3PPfMeKefmhDTGnsNxkpoYQTJpbmRrZKi1a", "senderPublicKey": "HaBvqUx5PJsK8EsUvR5X63urDhqTnkiR7LS1GkXriLEV", "proofs": [ "5RQJwmbCj9dpzSwmcBFjKGLePg4hNPAgTMAsVQHiwPhfPduKqALh8jdyQDS27Ksj2FxhkqLU9cbggqxfWfQ8dNMZ" ], "script": "base64:BgINCAISACIBaSIEY2FsbAABAWEBAXcABAFiCQD8BwQJAQdBZGRyZXNzAQEaAVd1Et2Tgg9b3iV2FTnLSdUfUygJxOhxXicCFXdpdGhkcmF3VmVzdGVkQWxsVVNETgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUBYgUBYgUDbmlsCQACAQIDU1ZOAHqpaa4=", "height": 3435734, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 69opKvTSSKM1aHEJYwpjnCBsb85UuP8omxNVBMTo7SvU Next: DASAutFTyZtmrXeULWoh3D6aVm65Mn2HzF8KPmW9kPrS Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func w () = if ((i.caller != this)) | |
8 | - | then throw("A D") | |
9 | - | else { | |
10 | - | let call = invoke(Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk'), "withdrawVestedAllUSDN", [false, true], nil) | |
11 | - | if ((call == call)) | |
12 | - | then nil | |
13 | - | else throw("SVN") | |
14 | - | } | |
15 | - | ||
16 | - | ||
17 | - | ||
18 | - | @Callable(i) | |
19 | - | func c (am) = if ((i.caller != this)) | |
20 | - | then throw("A D") | |
21 | - | else { | |
22 | - | let call = invoke(Address(base58'3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT'), "replenishWithAtoken", nil, [AttachedPayment(base58'FSRHtSyXRXQjzQLRtmaqFpBDDCNjY8PU8KNtwoGXVBmr', am)]) | |
23 | - | if ((call == call)) | |
24 | - | then nil | |
25 | - | else throw("SVN") | |
26 | - | } | |
27 | - | ||
28 | - | ||
29 | - | ||
30 | - | @Callable(i) | |
31 | - | func t (am) = if ((i.caller != this)) | |
32 | - | then throw("A D") | |
33 | - | else { | |
34 | - | let call = invoke(Address(base58'3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT'), "replenishWithAtoken", nil, [AttachedPayment(base58'2tVLdi5fQXk2JcuDAojhctnDp5B5PZhNMyj5GUpeC3tZ', am)]) | |
35 | - | if ((call == call)) | |
36 | - | then nil | |
37 | - | else throw("SVN") | |
38 | - | } | |
39 | - | ||
40 | - | ||
41 | - | ||
42 | - | @Callable(i) | |
43 | - | func cr () = if ((i.caller != this)) | |
44 | - | then throw("A D") | |
45 | - | else { | |
46 | - | let call = invoke(Address(base58'3PKZk5TdPCLP2GZviipLFfK46ExTnwkRCBd'), "claimRewards", nil, nil) | |
47 | - | if ((call == call)) | |
48 | - | then nil | |
49 | - | else throw("SVN") | |
50 | - | } | |
51 | - | ||
52 | - | ||
53 | - | ||
54 | - | @Callable(i) | |
55 | - | func cu () = if ((i.caller != this)) | |
56 | - | then throw("A D") | |
57 | - | else { | |
58 | - | let call = invoke(Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk'), "convertToUSDN", nil, nil) | |
59 | - | if ((call == call)) | |
60 | - | then nil | |
61 | - | else throw("SVN") | |
62 | - | } | |
7 | + | func w () = { | |
8 | + | let call = invoke(Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk'), "withdrawVestedAllUSDN", [false, true], nil) | |
9 | + | if ((call == call)) | |
10 | + | then nil | |
11 | + | else throw("SVN") | |
12 | + | } | |
63 | 13 | ||
64 | 14 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func w () = if ((i.caller != this)) | |
8 | - | then throw("A D") | |
9 | - | else { | |
10 | - | let call = invoke(Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk'), "withdrawVestedAllUSDN", [false, true], nil) | |
11 | - | if ((call == call)) | |
12 | - | then nil | |
13 | - | else throw("SVN") | |
14 | - | } | |
15 | - | ||
16 | - | ||
17 | - | ||
18 | - | @Callable(i) | |
19 | - | func c (am) = if ((i.caller != this)) | |
20 | - | then throw("A D") | |
21 | - | else { | |
22 | - | let call = invoke(Address(base58'3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT'), "replenishWithAtoken", nil, [AttachedPayment(base58'FSRHtSyXRXQjzQLRtmaqFpBDDCNjY8PU8KNtwoGXVBmr', am)]) | |
23 | - | if ((call == call)) | |
24 | - | then nil | |
25 | - | else throw("SVN") | |
26 | - | } | |
27 | - | ||
28 | - | ||
29 | - | ||
30 | - | @Callable(i) | |
31 | - | func t (am) = if ((i.caller != this)) | |
32 | - | then throw("A D") | |
33 | - | else { | |
34 | - | let call = invoke(Address(base58'3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT'), "replenishWithAtoken", nil, [AttachedPayment(base58'2tVLdi5fQXk2JcuDAojhctnDp5B5PZhNMyj5GUpeC3tZ', am)]) | |
35 | - | if ((call == call)) | |
36 | - | then nil | |
37 | - | else throw("SVN") | |
38 | - | } | |
39 | - | ||
40 | - | ||
41 | - | ||
42 | - | @Callable(i) | |
43 | - | func cr () = if ((i.caller != this)) | |
44 | - | then throw("A D") | |
45 | - | else { | |
46 | - | let call = invoke(Address(base58'3PKZk5TdPCLP2GZviipLFfK46ExTnwkRCBd'), "claimRewards", nil, nil) | |
47 | - | if ((call == call)) | |
48 | - | then nil | |
49 | - | else throw("SVN") | |
50 | - | } | |
51 | - | ||
52 | - | ||
53 | - | ||
54 | - | @Callable(i) | |
55 | - | func cu () = if ((i.caller != this)) | |
56 | - | then throw("A D") | |
57 | - | else { | |
58 | - | let call = invoke(Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk'), "convertToUSDN", nil, nil) | |
59 | - | if ((call == call)) | |
60 | - | then nil | |
61 | - | else throw("SVN") | |
62 | - | } | |
7 | + | func w () = { | |
8 | + | let call = invoke(Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk'), "withdrawVestedAllUSDN", [false, true], nil) | |
9 | + | if ((call == call)) | |
10 | + | then nil | |
11 | + | else throw("SVN") | |
12 | + | } | |
63 | 13 | ||
64 | 14 |
github/deemru/w8io/3ef1775 16.97 ms ◑