tx · HMSebTEPfZHvEmszjsJDyeF7rRPuUWfvL4oWfdukyLVr

3PE4wvLUCNZHoh4AwaNgHGz1Q6Dga6u3syX:  -0.00100000 Waves

2024.02.02 22:28 [4024822] smart account 3PE4wvLUCNZHoh4AwaNgHGz1Q6Dga6u3syX > SELF 0.00000000 Waves

{ "type": 13, "id": "HMSebTEPfZHvEmszjsJDyeF7rRPuUWfvL4oWfdukyLVr", "fee": 100000, "feeAssetId": null, "timestamp": 1706902166853, "version": 1, "sender": "3PE4wvLUCNZHoh4AwaNgHGz1Q6Dga6u3syX", "senderPublicKey": "7LPWpbRFrueVXuMEnfdCcwKK1MG3mwC27rmMvcH3s6nq", "proofs": [ "4rkgmJQmumq8326R6kHWmrLFQQVnC86AEz7ZcV3cayCwUCKcgP7teBrVt736XDFXWXQfyVtYGj83FL4yyYadfrJx" ], "script": "base64:BgIECAISAAEADHZpcmVzVmVzdGluZwkBB0FkZHJlc3MBARoBV3US3ZOCD1veJXYVOctJ1R9TKAnE6HFeJwEBaQEHaW52b2tlcgAEA3JlcwkA/AcEBQx2aXJlc1Zlc3RpbmcCFXdpdGhkcmF3VmVzdGVkQWxsVVNETgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgDrl8CE", "chainId": 87, "height": 4024822, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: adGbtBwEyfngvhBX3CR9j3uKaSDxoRrr7NhUnoZTLBQ Next: DMvevwQPWp2YBrauJsseyVw2A2kxsSM5zGoLCYwXtDjE Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let viresAddress = Address(base58'3PKZk5TdPCLP2GZviipLFfK46ExTnwkRCBd')
5-
6-let usdnIdStr = "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"
7-
8-func v (a) = {
9- let h = ((height / 1440) * 1440)
10- let s = makeString([a, usdnIdStr, toString(h), "withdrawn_within_epoch"], "_")
11- let r = valueOrElse(getInteger(viresAddress, s), 0)
12- (r == 0)
13- }
14-
4+let viresVesting = Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk')
155
166 @Callable(i)
17-func default () = if ((i.caller != this))
18- then throw("Access Denied")
19- else if (!(v("3PL1kxCTN5NxPi7TTgeeqsiX4PyFhMzbcqZ")))
20- then throw("Fail")
21- else {
22- let r1 = invoke(Address(base58'3PL1kxCTN5NxPi7TTgeeqsiX4PyFhMzbcqZ'), "c", nil, nil)
23- if ((r1 == r1))
24- then {
25- let r2 = invoke(Address(base58'3PPD8jWk9gynWTKHXg85GxBt83U6xPEKze5'), "c", nil, nil)
26- if ((r2 == r2))
27- then {
28- let r5 = invoke(Address(base58'3PGFqtM5h9dS4xtWxbdWkNhX67u91mCbFAR'), "c", nil, nil)
29- if ((r5 == r5))
30- then nil
31- else throw("Strict value is not equal to itself.")
32- }
33- else throw("Strict value is not equal to itself.")
34- }
35- else throw("Strict value is not equal to itself.")
36- }
37-
38-
39-
40-@Callable(i)
41-func a () = if ((i.caller != this))
42- then throw("Access Denied")
43- else if (!(v("3PB8PzPBcQyWNvCh8Ak2UXApE9wth7smrLG")))
44- then throw("Fail")
45- else {
46- let r6 = invoke(Address(base58'3PB8PzPBcQyWNvCh8Ak2UXApE9wth7smrLG'), "c", nil, nil)
47- if ((r6 == r6))
48- then {
49- let r7 = invoke(Address(base58'3PFu2JrCR8mZSHurgudirh7fZQJ1YC7yiMT'), "c", nil, nil)
50- if ((r7 == r7))
51- then {
52- let r9 = invoke(Address(base58'3P6udWtoo9xiQm6SM7epNw5eEfnaHaWVLWC'), "c", nil, nil)
53- if ((r9 == r9))
54- then {
55- let r10 = invoke(Address(base58'3PEpGxFGVdXmNXU2BcVZyaJ9txMXeyti2uB'), "c", nil, nil)
56- if ((r10 == r10))
57- then nil
58- else throw("Strict value is not equal to itself.")
59- }
60- else throw("Strict value is not equal to itself.")
61- }
62- else throw("Strict value is not equal to itself.")
63- }
64- else throw("Strict value is not equal to itself.")
65- }
66-
67-
68-
69-@Callable(i)
70-func c () = if ((i.caller != this))
71- then throw("Access Denied")
72- else {
73- let r1 = invoke(Address(base58'3PHw5Evk23ewwhkxg4McG4yESSdYEVUZWCH'), "a", nil, nil)
74- if ((r1 == r1))
75- then {
76- let r2 = invoke(Address(base58'3P51AMEr9EM4aqDRE6FCx8m3fWoqW7T4Jtm'), "a", nil, nil)
77- if ((r2 == r2))
78- then {
79- let r3 = invoke(Address(base58'3P34kBKxuWdTfUx2myuYMY5PqP7R9L4tfbs'), "a", nil, nil)
80- if ((r3 == r3))
81- then {
82- let r4 = invoke(Address(base58'3PNoUV2AKnZsyF4c2hXe12DkfXqr2JvRaKH'), "a", nil, nil)
83- if ((r4 == r4))
84- then nil
85- else throw("Strict value is not equal to itself.")
86- }
87- else throw("Strict value is not equal to itself.")
88- }
89- else throw("Strict value is not equal to itself.")
90- }
91- else throw("Strict value is not equal to itself.")
92- }
93-
94-
95-
96-@Callable(i)
97-func convert () = if ((i.caller != this))
98- then throw("Access Denied")
99- else {
100- let r1 = invoke(Address(base58'3PHw5Evk23ewwhkxg4McG4yESSdYEVUZWCH'), "b", nil, nil)
101- if ((r1 == r1))
102- then {
103- let r2 = invoke(Address(base58'3P51AMEr9EM4aqDRE6FCx8m3fWoqW7T4Jtm'), "b", nil, nil)
104- if ((r2 == r2))
105- then {
106- let r3 = invoke(Address(base58'3P34kBKxuWdTfUx2myuYMY5PqP7R9L4tfbs'), "b", nil, nil)
107- if ((r3 == r3))
108- then {
109- let r4 = invoke(Address(base58'3PNoUV2AKnZsyF4c2hXe12DkfXqr2JvRaKH'), "b", nil, nil)
110- if ((r4 == r4))
111- then nil
112- else throw("Strict value is not equal to itself.")
113- }
114- else throw("Strict value is not equal to itself.")
115- }
116- else throw("Strict value is not equal to itself.")
117- }
118- else throw("Strict value is not equal to itself.")
119- }
7+func invoker () = {
8+ let res = invoke(viresVesting, "withdrawVestedAllUSDN", [false, true], nil)
9+ if ((res == res))
10+ then nil
11+ else throw("Strict value is not equal to itself.")
12+ }
12013
12114

github/deemru/w8io/6500d08 
27.27 ms