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 | + | } |
---|