tx · ESjyx2kYwUKsCAwdAmLdYSUVahLhQGsitPfvUmnkE5Uo 3NAjj8RHrgN9AusAQryswe4sqmdaKoPYgpA: -0.01440000 Waves 2020.10.22 22:00 [1232171] smart account 3NAjj8RHrgN9AusAQryswe4sqmdaKoPYgpA > SELF 0.00000000 Waves
{ "type": 13, "id": "ESjyx2kYwUKsCAwdAmLdYSUVahLhQGsitPfvUmnkE5Uo", "fee": 1440000, "feeAssetId": null, "timestamp": 1603393268474, "version": 2, "chainId": 84, "sender": "3NAjj8RHrgN9AusAQryswe4sqmdaKoPYgpA", "senderPublicKey": "DKqsAhiA665P7NDw9SFbZogFBxp58EynfXyDzBhRdkrE", "proofs": [ "2MmM8Ku5aQXD4Sn1BWJYoUNf5VFkLe6GixrEYfehiZvE11jEZ1uSWpbBKnCCN7iuaqwGPNPAx4Q4b8n5c6cBVhFW" ], "script": "base64:AAIDAAAAAAAAABEIARIAEgASABIAEgMKAQESAAAAAAAAAAAGAAAAAWkBAAAADFJlYWRQb29sRGF0YQAAAAAEAAAADkdvdmVyblRva2VuS2V5AgAAABVHb3Zlcm5Ub2tlbk1heERlcG9zaXQEAAAAGk1heEdvdmVyblRva2VuRGVwb3NpdGVyS2V5AgAAABpNYXhHb3Zlcm5Ub2tlbkRlcG9zaXRlcktleQQAAAALU3Rha2VkVG9rZW4BAAAAII6s8oVf2LLEjgFt3DBkQAtAsqtUU78QuSaaHZj6YLxoBAAAAAtHb3Zlcm5Ub2tlbgEAAAAgy2ubukTn/o++lgkkJnhVg6duh2mHquyL3mMb8oGKxfgEAAAAElVzZXJTdGFrZWRUb2tlbktleQkAASwAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAABXwkAAlgAAAABBQAAAAtTdGFrZWRUb2tlbgQAAAASVXNlckdvdmVyblRva2VuS2V5CQABLAAAAAIJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzA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W91bnQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEkZ1bmRCb3hTdGFrZWRUb2tlbgAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAOR292ZXJuVG9rZW5LZXkAAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAElVzZXJHb3Zlcm5Ub2tlbktleQAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAaTWF4R292ZXJuVG9rZW5EZXBvc2l0ZXJLZXkCAAAAAAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAALUHJpemVBbW91bnQFAAAAC1N0YWtlZFRva2VuCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAZAUAAAALR292ZXJuVG9rZW4FAAAAA25pbAkAAAIAAAABCQABLAAAAAICAAAAR1lvdSBoYXZlIHRvIGRlcG9zaXQgMTAwIEdvdmVyblRva2VuIHRvIGNsYWltIFJld2FyZCAKIFlvdXIgQmFsYW5jZSBpczogCQABpAAAAAEFAAAAFVVzZXJHb3Zlcm5Ub2tlbkFtb3VudAAAAAA3s/4T", "height": 1232171, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A5D6cMzPZWQNqCXKNC5quWrpfMPktnymhTtt5szez3uX Next: C4HAYhU5ocBWcrdr3HNq7XKfWs8hKZVjYnZDscyENCbk Diff:
Old | New | Differences | |
---|---|---|---|
43 | 43 | } | |
44 | 44 | throw((((((((("Winner is.....: " + h) + " Balance is: ") + toString(i)) + " | |
45 | 45 | ") + " | |
46 | - | Your Balance of GovernToken is: ") + toString( | |
46 | + | Your Balance of GovernToken is: ") + toString(m)) + " | |
47 | 47 | Your Balance of StakedToken is: ") + toString(o))) | |
48 | 48 | } | |
49 | 49 | ||
129 | 129 | else false) | |
130 | 130 | then { | |
131 | 131 | let B = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
132 | - | let | |
132 | + | let C = { | |
133 | 133 | let j = getInteger(this, B) | |
134 | 134 | if ($isInstanceOf(j, "Int")) | |
135 | 135 | then { | |
138 | 138 | } | |
139 | 139 | else 0 | |
140 | 140 | } | |
141 | - | let | |
141 | + | let D = (C + q.amount) | |
142 | 142 | let b = "GovernTokenMaxDeposit" | |
143 | 143 | let c = "MaxGovernTokenDepositerKey" | |
144 | 144 | let i = { | |
150 | 150 | } | |
151 | 151 | else 0 | |
152 | 152 | } | |
153 | - | if (( | |
154 | - | then WriteSet([DataEntry(B, | |
155 | - | else WriteSet([DataEntry(B, | |
153 | + | if ((D > i)) | |
154 | + | then WriteSet([DataEntry(B, D), DataEntry(b, D), DataEntry(c, B)]) | |
155 | + | else WriteSet([DataEntry(B, D)]) | |
156 | 156 | } | |
157 | 157 | else throw("Can deposit only Govern Token") | |
158 | 158 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | @Callable(a) | |
163 | - | func WithdrawStakedFunds ( | |
163 | + | func WithdrawStakedFunds (E) = { | |
164 | 164 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
165 | 165 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
166 | 166 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
167 | 167 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
168 | 168 | let B = toBase58String(a.caller.bytes) | |
169 | - | let | |
169 | + | let C = { | |
170 | 170 | let j = getInteger(this, f) | |
171 | 171 | if ($isInstanceOf(j, "Int")) | |
172 | 172 | then { | |
175 | 175 | } | |
176 | 176 | else 0 | |
177 | 177 | } | |
178 | - | let | |
179 | - | if ((0 > | |
178 | + | let F = (C - E) | |
179 | + | if ((0 > E)) | |
180 | 180 | then throw("Can't withdraw negative amount") | |
181 | - | else if ((0 > | |
182 | - | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString( | |
181 | + | else if ((0 > F)) | |
182 | + | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(C))) | |
183 | 183 | else { | |
184 | - | let | |
185 | - | if ((1 > | |
184 | + | let G = assetBalance(this, e) | |
185 | + | if ((1 > G)) | |
186 | 186 | then throw("No enough GovernToken In Contract") | |
187 | - | else throw(((("User deposit is: " + toString( | |
187 | + | else throw(((("User deposit is: " + toString(C)) + " Withdraw") + toString(E))) | |
188 | 188 | } | |
189 | 189 | } | |
190 | 190 | ||
194 | 194 | func ClaimPrize () = { | |
195 | 195 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
196 | 196 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
197 | - | let | |
197 | + | let H = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n' | |
198 | 198 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
199 | 199 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
200 | - | let | |
201 | - | let | |
200 | + | let I = ((toBase58String(H) + "_") + toBase58String(d)) | |
201 | + | let J = { | |
202 | 202 | let j = getInteger(this, g) | |
203 | 203 | if ($isInstanceOf(j, "Int")) | |
204 | 204 | then { | |
207 | 207 | } | |
208 | 208 | else 0 | |
209 | 209 | } | |
210 | - | let | |
210 | + | let K = { | |
211 | 211 | let j = getInteger(this, f) | |
212 | 212 | if ($isInstanceOf(j, "Int")) | |
213 | 213 | then { | |
216 | 216 | } | |
217 | 217 | else 0 | |
218 | 218 | } | |
219 | - | let | |
220 | - | let j = getInteger(this, | |
219 | + | let L = { | |
220 | + | let j = getInteger(this, I) | |
221 | 221 | if ($isInstanceOf(j, "Int")) | |
222 | 222 | then { | |
223 | 223 | let k = j | |
227 | 227 | } | |
228 | 228 | let b = "GovernTokenMaxDeposit" | |
229 | 229 | let c = "MaxGovernTokenDepositerKey" | |
230 | - | let | |
231 | - | if (( | |
230 | + | let M = getStringValue(this, c) | |
231 | + | if ((L == 0)) | |
232 | 232 | then throw("No prize to Claim") | |
233 | - | else if ((g != | |
233 | + | else if ((g != M)) | |
234 | 234 | then throw("You are not the winner hence cannot claim the reward ") | |
235 | - | else if ((1 > | |
235 | + | else if ((1 > K)) | |
236 | 236 | then throw(("You have to Stake StakedToken to claim reward | |
237 | - | Your Balance of Staked Tokens is: " + toString( | |
238 | - | else if (( | |
239 | - | then ScriptResult(WriteSet([DataEntry( | |
237 | + | Your Balance of Staked Tokens is: " + toString(K))) | |
238 | + | else if ((J > 100)) | |
239 | + | then ScriptResult(WriteSet([DataEntry(M, L), DataEntry(I, 0), DataEntry(b, 0), DataEntry(g, 0), DataEntry(c, "")]), TransferSet([ScriptTransfer(a.caller, L, d), ScriptTransfer(a.caller, 100, e)])) | |
240 | 240 | else throw(("You have to deposit 100 GovernToken to claim Reward | |
241 | - | Your Balance is: " + toString( | |
241 | + | Your Balance is: " + toString(J))) | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func ReadPoolData () = { | |
8 | 8 | let b = "GovernTokenMaxDeposit" | |
9 | 9 | let c = "MaxGovernTokenDepositerKey" | |
10 | 10 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
11 | 11 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
12 | 12 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
13 | 13 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
14 | 14 | let h = getStringValue(this, c) | |
15 | 15 | let i = { | |
16 | 16 | let j = getInteger(this, b) | |
17 | 17 | if ($isInstanceOf(j, "Int")) | |
18 | 18 | then { | |
19 | 19 | let k = j | |
20 | 20 | k | |
21 | 21 | } | |
22 | 22 | else 0 | |
23 | 23 | } | |
24 | 24 | let l = getStringValue(this, g) | |
25 | 25 | let m = { | |
26 | 26 | let j = getInteger(this, l) | |
27 | 27 | if ($isInstanceOf(j, "Int")) | |
28 | 28 | then { | |
29 | 29 | let k = j | |
30 | 30 | k | |
31 | 31 | } | |
32 | 32 | else 0 | |
33 | 33 | } | |
34 | 34 | let n = getStringValue(this, f) | |
35 | 35 | let o = { | |
36 | 36 | let j = getInteger(this, f) | |
37 | 37 | if ($isInstanceOf(j, "Int")) | |
38 | 38 | then { | |
39 | 39 | let k = j | |
40 | 40 | k | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | throw((((((((("Winner is.....: " + h) + " Balance is: ") + toString(i)) + " | |
45 | 45 | ") + " | |
46 | - | Your Balance of GovernToken is: ") + toString( | |
46 | + | Your Balance of GovernToken is: ") + toString(m)) + " | |
47 | 47 | Your Balance of StakedToken is: ") + toString(o))) | |
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | ||
52 | 52 | @Callable(a) | |
53 | 53 | func ResetAccount () = { | |
54 | 54 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
55 | 55 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
56 | 56 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
57 | 57 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
58 | 58 | let p = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
59 | 59 | WriteSet([DataEntry(g, 0), DataEntry(f, 0), DataEntry(p, 0)]) | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | ||
64 | 64 | @Callable(a) | |
65 | 65 | func Stake () = { | |
66 | 66 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
67 | 67 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
68 | 68 | let q = extract(a.payment) | |
69 | 69 | if (if (isDefined(q.assetId)) | |
70 | 70 | then (extract(q.assetId) == d) | |
71 | 71 | else false) | |
72 | 72 | then { | |
73 | 73 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
74 | 74 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
75 | 75 | let p = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
76 | 76 | let r = { | |
77 | 77 | let j = getInteger(this, p) | |
78 | 78 | if ($isInstanceOf(j, "Int")) | |
79 | 79 | then { | |
80 | 80 | let k = j | |
81 | 81 | k | |
82 | 82 | } | |
83 | 83 | else 0 | |
84 | 84 | } | |
85 | 85 | let s = (r + 1) | |
86 | 86 | let t = { | |
87 | 87 | let j = getInteger(this, f) | |
88 | 88 | if ($isInstanceOf(j, "Int")) | |
89 | 89 | then { | |
90 | 90 | let k = j | |
91 | 91 | k | |
92 | 92 | } | |
93 | 93 | else 0 | |
94 | 94 | } | |
95 | 95 | let u = (t + q.amount) | |
96 | 96 | let v = { | |
97 | 97 | let j = getInteger(this, f) | |
98 | 98 | if ($isInstanceOf(j, "Int")) | |
99 | 99 | then { | |
100 | 100 | let k = j | |
101 | 101 | k | |
102 | 102 | } | |
103 | 103 | else 0 | |
104 | 104 | } | |
105 | 105 | let w = (v + 10) | |
106 | 106 | let x = assetBalance(this, e) | |
107 | 107 | let y = assetBalance(this, d) | |
108 | 108 | if ((1 > x)) | |
109 | 109 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
110 | 110 | else if ((y == 0)) | |
111 | 111 | then ScriptResult(WriteSet([DataEntry(g, w), DataEntry(f, u), DataEntry(p, s)]), TransferSet([ScriptTransfer(a.caller, 10, e)])) | |
112 | 112 | else { | |
113 | 113 | let z = ((10 * s) * (u / y)) | |
114 | 114 | ScriptResult(WriteSet([DataEntry(g, z), DataEntry(f, u), DataEntry(p, s)]), TransferSet([ScriptTransfer(a.caller, z, e)])) | |
115 | 115 | } | |
116 | 116 | } | |
117 | 117 | else throw("Can deposit only StakeToken") | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | ||
122 | 122 | @Callable(a) | |
123 | 123 | func DepositGovernToken () = { | |
124 | 124 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
125 | 125 | let A = toBase58String(e) | |
126 | 126 | let q = extract(a.payment) | |
127 | 127 | if (if (isDefined(q.assetId)) | |
128 | 128 | then (extract(q.assetId) == e) | |
129 | 129 | else false) | |
130 | 130 | then { | |
131 | 131 | let B = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
132 | - | let | |
132 | + | let C = { | |
133 | 133 | let j = getInteger(this, B) | |
134 | 134 | if ($isInstanceOf(j, "Int")) | |
135 | 135 | then { | |
136 | 136 | let k = j | |
137 | 137 | k | |
138 | 138 | } | |
139 | 139 | else 0 | |
140 | 140 | } | |
141 | - | let | |
141 | + | let D = (C + q.amount) | |
142 | 142 | let b = "GovernTokenMaxDeposit" | |
143 | 143 | let c = "MaxGovernTokenDepositerKey" | |
144 | 144 | let i = { | |
145 | 145 | let j = getInteger(this, b) | |
146 | 146 | if ($isInstanceOf(j, "Int")) | |
147 | 147 | then { | |
148 | 148 | let k = j | |
149 | 149 | k | |
150 | 150 | } | |
151 | 151 | else 0 | |
152 | 152 | } | |
153 | - | if (( | |
154 | - | then WriteSet([DataEntry(B, | |
155 | - | else WriteSet([DataEntry(B, | |
153 | + | if ((D > i)) | |
154 | + | then WriteSet([DataEntry(B, D), DataEntry(b, D), DataEntry(c, B)]) | |
155 | + | else WriteSet([DataEntry(B, D)]) | |
156 | 156 | } | |
157 | 157 | else throw("Can deposit only Govern Token") | |
158 | 158 | } | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | ||
162 | 162 | @Callable(a) | |
163 | - | func WithdrawStakedFunds ( | |
163 | + | func WithdrawStakedFunds (E) = { | |
164 | 164 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
165 | 165 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
166 | 166 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
167 | 167 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
168 | 168 | let B = toBase58String(a.caller.bytes) | |
169 | - | let | |
169 | + | let C = { | |
170 | 170 | let j = getInteger(this, f) | |
171 | 171 | if ($isInstanceOf(j, "Int")) | |
172 | 172 | then { | |
173 | 173 | let k = j | |
174 | 174 | k | |
175 | 175 | } | |
176 | 176 | else 0 | |
177 | 177 | } | |
178 | - | let | |
179 | - | if ((0 > | |
178 | + | let F = (C - E) | |
179 | + | if ((0 > E)) | |
180 | 180 | then throw("Can't withdraw negative amount") | |
181 | - | else if ((0 > | |
182 | - | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString( | |
181 | + | else if ((0 > F)) | |
182 | + | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(C))) | |
183 | 183 | else { | |
184 | - | let | |
185 | - | if ((1 > | |
184 | + | let G = assetBalance(this, e) | |
185 | + | if ((1 > G)) | |
186 | 186 | then throw("No enough GovernToken In Contract") | |
187 | - | else throw(((("User deposit is: " + toString( | |
187 | + | else throw(((("User deposit is: " + toString(C)) + " Withdraw") + toString(E))) | |
188 | 188 | } | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | ||
193 | 193 | @Callable(a) | |
194 | 194 | func ClaimPrize () = { | |
195 | 195 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
196 | 196 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
197 | - | let | |
197 | + | let H = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n' | |
198 | 198 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
199 | 199 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
200 | - | let | |
201 | - | let | |
200 | + | let I = ((toBase58String(H) + "_") + toBase58String(d)) | |
201 | + | let J = { | |
202 | 202 | let j = getInteger(this, g) | |
203 | 203 | if ($isInstanceOf(j, "Int")) | |
204 | 204 | then { | |
205 | 205 | let k = j | |
206 | 206 | k | |
207 | 207 | } | |
208 | 208 | else 0 | |
209 | 209 | } | |
210 | - | let | |
210 | + | let K = { | |
211 | 211 | let j = getInteger(this, f) | |
212 | 212 | if ($isInstanceOf(j, "Int")) | |
213 | 213 | then { | |
214 | 214 | let k = j | |
215 | 215 | k | |
216 | 216 | } | |
217 | 217 | else 0 | |
218 | 218 | } | |
219 | - | let | |
220 | - | let j = getInteger(this, | |
219 | + | let L = { | |
220 | + | let j = getInteger(this, I) | |
221 | 221 | if ($isInstanceOf(j, "Int")) | |
222 | 222 | then { | |
223 | 223 | let k = j | |
224 | 224 | k | |
225 | 225 | } | |
226 | 226 | else 0 | |
227 | 227 | } | |
228 | 228 | let b = "GovernTokenMaxDeposit" | |
229 | 229 | let c = "MaxGovernTokenDepositerKey" | |
230 | - | let | |
231 | - | if (( | |
230 | + | let M = getStringValue(this, c) | |
231 | + | if ((L == 0)) | |
232 | 232 | then throw("No prize to Claim") | |
233 | - | else if ((g != | |
233 | + | else if ((g != M)) | |
234 | 234 | then throw("You are not the winner hence cannot claim the reward ") | |
235 | - | else if ((1 > | |
235 | + | else if ((1 > K)) | |
236 | 236 | then throw(("You have to Stake StakedToken to claim reward | |
237 | - | Your Balance of Staked Tokens is: " + toString( | |
238 | - | else if (( | |
239 | - | then ScriptResult(WriteSet([DataEntry( | |
237 | + | Your Balance of Staked Tokens is: " + toString(K))) | |
238 | + | else if ((J > 100)) | |
239 | + | then ScriptResult(WriteSet([DataEntry(M, L), DataEntry(I, 0), DataEntry(b, 0), DataEntry(g, 0), DataEntry(c, "")]), TransferSet([ScriptTransfer(a.caller, L, d), ScriptTransfer(a.caller, 100, e)])) | |
240 | 240 | else throw(("You have to deposit 100 GovernToken to claim Reward | |
241 | - | Your Balance is: " + toString( | |
241 | + | Your Balance is: " + toString(J))) | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 |
github/deemru/w8io/169f3d6 55.71 ms ◑