tx · Ab9c2yMRyajq17c2qt4vPSEfCzrda53GZKHPaYQRk7ck 3Mt7wmkWeioUsmfaBu6PsNq9j9SUs7f9qrs: -0.04000000 Waves 2022.08.03 11:07 [2168046] smart account 3Mt7wmkWeioUsmfaBu6PsNq9j9SUs7f9qrs > SELF 0.00000000 Waves
{ "type": 13, "id": "Ab9c2yMRyajq17c2qt4vPSEfCzrda53GZKHPaYQRk7ck", "fee": 4000000, "feeAssetId": null, "timestamp": 1659514064190, "version": 1, "sender": "3Mt7wmkWeioUsmfaBu6PsNq9j9SUs7f9qrs", "senderPublicKey": "BLEvt3fBtK9gbCuj3VA7nHviqe3TPkRrF9KL6ZaHGgr4", "proofs": [ "495pNNMwSnAEdLxVS2fTRNC6xUZF9RheWhid9HFNpKRMDVuPccFNPyZ6kNf7cYZ3XSdqQ4T9d5qwubXcYqoibLSM" ], "script": "base64:BgITCAISAwoBARIDCgEIEgASAwoBCDEAC3JldmlzaW9uTnVtAgAABkVVTEVSOADWic+BAQAFTVVMVDYAwIQ9AAZNVUxUWDYJALYCAQDAhD0ABU1VTFQ4AIDC1y8ABk1VTFRYOAkAtgIBAIDC1y8ABk1VTFQxMgCAoJSljR0ABk1VTFQxOAkAtgIBAICAkLu61q3wDQADU0VQAgJfXwAHV0FWRVNJRAkA2QQBAgVXQVZFUwEVa2V5R25zYnRGcm9tU3VyZkNvZWZmAAIdJXMlc19fY2ZnX19nbnNidEZyb21TdXJmQ29lZmYBD2dldFN0cmluZ09yRmFpbAIHYWRkcmVzcwNrZXkJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQdhZGRyZXNzBQNrZXkJALkJAgkAzAgCAgptYW5kYXRvcnkgCQDMCAIJAKUIAQUHYWRkcmVzcwkAzAgCAgEuCQDMCAIFA2tleQkAzAgCAg8gaXMgbm90IGRlZmluZWQFA25pbAIAAQxnZXRJbnRPckZhaWwCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJoIAgU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2FyZHNTWVNSRUFET05MWQEVdXNlckFkZHJlc3NTdHJPckVtcHR5BA1uc2J0UmV3YXJkU3RyCQEIYXNTdHJpbmcBCQD8BwQFE25zYnRTdGFraW5nQ29udHJhY3QCGHVuY2xhaW1lZFJld2FyZHNSRUFET05MWQkAzAgCBRV1c2VyQWRkcmVzc1N0ck9yRW1wdHkFA25pbAUDbmlsBA1zdXJmUmV3YXJkU3RyCQEIYXNTdHJpbmcBCQD8BwQFE3N1cmZTdGFraW5nQ29udHJhY3QCGHVuY2xhaW1lZFJld2FyZHNSRUFET05MWQkAzAgCBRV1c2VyQWRkcmVzc1N0ck9yRW1wdHkFA25pbAUDbmlsCQCUCgIFA25pbAkAzAgCBQ1uc2J0UmV3YXJkU3RyCQDMCAIFDXN1cmZSZXdhcmRTdHIFA25pbACOhnVW", "chainId": 84, "height": 2168046, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J9Wba82ZnfD3PBNwFCnftYKubtEV7bfoSrXNc3LQqop4 Next: 37p8xdjPb7PigFwfXEJVayt7JrDLLc5ojeKPy5Afb1Q8 Diff:
Old | New | Differences | |
---|---|---|---|
193 | 193 | ||
194 | 194 | @Callable(ap) | |
195 | 195 | func claimRewards () = { | |
196 | - | let aE = invoke( | |
196 | + | let aE = invoke(am, "claimRewardsByOriginCaller", nil, nil) | |
197 | 197 | if ((aE == aE)) | |
198 | 198 | then { | |
199 | 199 | let aF = invoke(an, "claimRewardsByOriginCaller", nil, nil) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "" | |
5 | 5 | ||
6 | 6 | let b = 271828182 | |
7 | 7 | ||
8 | 8 | let c = 1000000 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000) | |
11 | 11 | ||
12 | 12 | let e = 100000000 | |
13 | 13 | ||
14 | 14 | let f = toBigInt(100000000) | |
15 | 15 | ||
16 | 16 | let g = 1000000000000 | |
17 | 17 | ||
18 | 18 | let h = toBigInt(1000000000000000000) | |
19 | 19 | ||
20 | 20 | let i = "__" | |
21 | 21 | ||
22 | 22 | let j = fromBase58String("WAVES") | |
23 | 23 | ||
24 | 24 | func k () = "%s%s__cfg__gnsbtFromSurfCoeff" | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func l (m,n) = valueOrErrorMessage(getString(m, n), makeString(["mandatory ", toString(m), ".", n, " is not defined"], "")) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func o (m,n) = valueOrErrorMessage(getInteger(m, n), makeString(["mandatory ", toString(m), ".", n, " is not defined"], "")) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func p (m,n) = valueOrErrorMessage(getBoolean(m, n), makeString(["mandatory ", toString(m), ".", n, " is not defined"], "")) | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func q (r,s) = fraction(r, e, s) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func t (r,s) = fraction(r, s, e) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func u (v) = { | |
43 | 43 | let w = v | |
44 | 44 | if ($isInstanceOf(w, "List[Any]")) | |
45 | 45 | then { | |
46 | 46 | let x = w | |
47 | 47 | x | |
48 | 48 | } | |
49 | 49 | else throw("fail to cast into List[Any]") | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func y (v) = { | |
54 | 54 | let w = v | |
55 | 55 | if ($isInstanceOf(w, "Int")) | |
56 | 56 | then { | |
57 | 57 | let z = w | |
58 | 58 | z | |
59 | 59 | } | |
60 | 60 | else throw("fail to cast into Int") | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func A (v) = { | |
65 | 65 | let w = v | |
66 | 66 | if ($isInstanceOf(w, "String")) | |
67 | 67 | then { | |
68 | 68 | let B = w | |
69 | 69 | B | |
70 | 70 | } | |
71 | 71 | else throw("fail to cast into String") | |
72 | 72 | } | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func C (v) = { | |
76 | 76 | let w = v | |
77 | 77 | if ($isInstanceOf(w, "(Int, Int)")) | |
78 | 78 | then { | |
79 | 79 | let D = w | |
80 | 80 | D | |
81 | 81 | } | |
82 | 82 | else throw("fail to cast into Tuple2 ints") | |
83 | 83 | } | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func E (v) = { | |
87 | 87 | let w = v | |
88 | 88 | if ($isInstanceOf(w, "(Int, Int, Int, Int, Int)")) | |
89 | 89 | then { | |
90 | 90 | let F = w | |
91 | 91 | F | |
92 | 92 | } | |
93 | 93 | else throw("fail to cast into Int") | |
94 | 94 | } | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func G (H) = if ((0 > H)) | |
98 | 98 | then -1 | |
99 | 99 | else { | |
100 | 100 | let w = blockInfoByHeight(H) | |
101 | 101 | if ($isInstanceOf(w, "BlockInfo")) | |
102 | 102 | then { | |
103 | 103 | let I = w | |
104 | 104 | I.timestamp | |
105 | 105 | } | |
106 | 106 | else -1 | |
107 | 107 | } | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func J (K,L) = fraction(toBigInt(K), h, toBigInt(L)) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func M (v,N) = toInt(fraction(v, toBigInt(N), h)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | let O = 1 | |
117 | 117 | ||
118 | 118 | let P = 2 | |
119 | 119 | ||
120 | 120 | let Q = 3 | |
121 | 121 | ||
122 | 122 | let R = 4 | |
123 | 123 | ||
124 | 124 | let S = 5 | |
125 | 125 | ||
126 | 126 | let T = 6 | |
127 | 127 | ||
128 | 128 | let U = 7 | |
129 | 129 | ||
130 | 130 | let V = 8 | |
131 | 131 | ||
132 | 132 | let W = 9 | |
133 | 133 | ||
134 | 134 | let X = 10 | |
135 | 135 | ||
136 | 136 | let Y = 11 | |
137 | 137 | ||
138 | 138 | func Z () = "%s%s__config__controlAddress" | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func aa () = "%s__controlConfig" | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ab (ac) = split(l(ac, aa()), i) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ad (ae,af) = valueOrErrorMessage(addressFromString(ae[af]), ("Control cfg doesn't contain address at index " + toString(af))) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | let ag = addressFromStringValue(valueOrElse(getString(this, Z()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
151 | 151 | ||
152 | 152 | let ae = ab(ag) | |
153 | 153 | ||
154 | 154 | let ah = ad(ae, R) | |
155 | 155 | ||
156 | 156 | let ai = ad(ae, O) | |
157 | 157 | ||
158 | 158 | let aj = ad(ae, P) | |
159 | 159 | ||
160 | 160 | let ak = ad(ae, S) | |
161 | 161 | ||
162 | 162 | let al = ad(ae, Q) | |
163 | 163 | ||
164 | 164 | let am = ad(ae, V) | |
165 | 165 | ||
166 | 166 | let an = ad(ae, X) | |
167 | 167 | ||
168 | 168 | let ao = valueOrElse(getInteger(this, k()), 60) | |
169 | 169 | ||
170 | 170 | @Callable(ap) | |
171 | 171 | func gnsbtFromSurfSYSREADONLY (aq) = $Tuple2(nil, (aq / ao)) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | ||
175 | 175 | @Callable(ap) | |
176 | 176 | func gnsbtInfoSYSREADONLY (ar) = { | |
177 | 177 | let as = u(invoke(am, "nsbtStakingSYSREADONLY", [ar], nil)) | |
178 | 178 | let at = y(as[0]) | |
179 | 179 | let au = y(as[1]) | |
180 | 180 | let av = at | |
181 | 181 | let aw = au | |
182 | 182 | let ax = u(invoke(an, "surfStakingSYSREADONLY", [ar], nil)) | |
183 | 183 | let ay = y(ax[0]) | |
184 | 184 | let az = y(ax[1]) | |
185 | 185 | let aA = y(ax[2]) | |
186 | 186 | let aB = y(ax[3]) | |
187 | 187 | let aC = (av + aA) | |
188 | 188 | let aD = (aw + aB) | |
189 | 189 | $Tuple2(nil, [aC, aD, [at, au, av, aw], [ay, az, aA, aB]]) | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Callable(ap) | |
195 | 195 | func claimRewards () = { | |
196 | - | let aE = invoke( | |
196 | + | let aE = invoke(am, "claimRewardsByOriginCaller", nil, nil) | |
197 | 197 | if ((aE == aE)) | |
198 | 198 | then { | |
199 | 199 | let aF = invoke(an, "claimRewardsByOriginCaller", nil, nil) | |
200 | 200 | if ((aF == aF)) | |
201 | 201 | then nil | |
202 | 202 | else throw("Strict value is not equal to itself.") | |
203 | 203 | } | |
204 | 204 | else throw("Strict value is not equal to itself.") | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | ||
209 | 209 | @Callable(ap) | |
210 | 210 | func gnsbtRewardsSYSREADONLY (ar) = { | |
211 | 211 | let aG = A(invoke(am, "unclaimedRewardsREADONLY", [ar], nil)) | |
212 | 212 | let aH = A(invoke(an, "unclaimedRewardsREADONLY", [ar], nil)) | |
213 | 213 | $Tuple2(nil, [aG, aH]) | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 |
github/deemru/w8io/169f3d6 47.26 ms ◑