tx · DJwVDAh3nQDyL5ER23hCXczUiEZdb39LWuzNnWBAfHk7

3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT:  -0.01400000 Waves

2020.12.07 16:33 [1298297] smart account 3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT > SELF 0.00000000 Waves

{ "type": 13, "id": "DJwVDAh3nQDyL5ER23hCXczUiEZdb39LWuzNnWBAfHk7", "fee": 1400000, "feeAssetId": null, "timestamp": 1607348009899, "version": 2, "chainId": 84, "sender": "3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT", "senderPublicKey": "EEG3yJvW1pyCtw138vRpByPpVgrN9VUW9X7G3b9qnwAU", "proofs": [ "4re97omoKD2k3dDQd5yNbgmTbFpHmTDr3aFP43nq9EkMrJUGkgndbnewgTeswowZtsSA6isyDP2VLuNY3eXD8v23" ], "script": "base64:AAIDAAAAAAAAABUIARIAEgASBAoCCAESABIDCgEBEgAAAAAAAAAABgAAAAFpAQAAAAxSZWFkUG9vbERhdGEAAAAABAAAAA5Hb3Zlcm5Ub2tlbktleQIAAAAVR292ZXJuVG9rZW5NYXhEZXBvc2l0BAAAABpNYXhHb3Zlcm5Ub2tlbkRlcG9zaXRlcktleQIAAAAaTWF4R292ZXJuVG9rZW5EZXBvc2l0ZXJLZXkEAAAAC1N0YWtlZFRva2VuAQAAACCOrPKFX9iyxI4BbdwwZEALQLKrVFO/ELkmmh2Y+mC8aAQAAAALR292ZXJuVG9rZW4BAAAAIMtrm7pE5/6PvpYJJCZ4VYOnbodph6rsi95jG/KBisX4BAAAABJVc2VyU3Rha2VkVG9rZW5LZXkJAAEsAAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAAV8JAAJYAAAAAQUAAAALU3Rha2VkVG9rZW4EAAAAElVzZXJHb3Zlcm5Ub2tlbktleQkAASwAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlc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mVyblRva2VuIHRvIGNsYWltIFJld2FyZCAKIFlvdXIgQmFsYW5jZSBpczogCQABpAAAAAEFAAAAFVVzZXJHb3Zlcm5Ub2tlbkFtb3VudAAAAACxe/zD", "height": 1298297, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Hg23vnqVbUgtS3QqHituJFsNBnyk6aszYbwqyjBAYDj Next: DY6kY6kUE4ijNarzsd2Q9kxWvCDYMpLEqqFyDfB7iixq Diff:
OldNewDifferences
7070 then {
7171 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
7272 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
73- let p = (toBase58String(a.caller.bytes) + "_StakedTransactions")
7473 let s = {
75- let j = getInteger(this, p)
76- if ($isInstanceOf(j, "Int"))
77- then {
78- let k = j
79- k
80- }
81- else 0
82- }
83- let t = (s + 1)
84- let u = {
8574 let j = getInteger(this, f)
8675 if ($isInstanceOf(j, "Int"))
8776 then {
9079 }
9180 else 0
9281 }
93- let v = (u + r)
94- let w = {
95- let j = getInteger(this, f)
96- if ($isInstanceOf(j, "Int"))
97- then {
98- let k = j
99- k
100- }
101- else 0
102- }
103- let x = (w + 10)
104- let y = assetBalance(this, e)
105- let z = assetBalance(this, d)
106- if ((1 > y))
107- then throw("No enough GovernToken In Contract, Please deposit GovernTokens")
108- else if ((z == 0))
109- then ScriptResult(WriteSet([DataEntry(g, x), DataEntry(f, v), DataEntry(p, t)]), TransferSet([ScriptTransfer(a.caller, 10, e)]))
110- else if ((t > 50))
111- then {
112- let A = (w + ((10 * t) * (v / z)))
113- ScriptResult(WriteSet([DataEntry(g, A), DataEntry(f, v), DataEntry(p, t)]), TransferSet([ScriptTransfer(a.caller, A, e)]))
114- }
115- else {
116- let A = (w + (10 * (v / z)))
117- ScriptResult(WriteSet([DataEntry(g, A), DataEntry(f, v), DataEntry(p, t)]), TransferSet([ScriptTransfer(a.caller, A, e)]))
118- }
82+ let t = (s + r)
83+ let u = assetBalance(this, d)
84+ ScriptResult(WriteSet([DataEntry(f, t)]), TransferSet([ScriptTransfer(a.caller, 10, d)]))
11985 }
12086 else throw("Can deposit only StakeToken")
12187 }
12591 @Callable(a)
12692 func DepositGovernToken () = {
12793 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
128- let B = toBase58String(e)
129- let C = extract(a.payment)
130- if (if (isDefined(C.assetId))
131- then (extract(C.assetId) == e)
94+ let v = toBase58String(e)
95+ let w = extract(a.payment)
96+ if (if (isDefined(w.assetId))
97+ then (extract(w.assetId) == e)
13298 else false)
13399 then {
134- let D = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
135- let E = {
136- let j = getInteger(this, D)
100+ let x = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
101+ let y = {
102+ let j = getInteger(this, x)
137103 if ($isInstanceOf(j, "Int"))
138104 then {
139105 let k = j
141107 }
142108 else 0
143109 }
144- let F = (E + C.amount)
110+ let z = (y + w.amount)
145111 let b = "GovernTokenMaxDeposit"
146112 let c = "MaxGovernTokenDepositerKey"
147113 let i = {
153119 }
154120 else 0
155121 }
156- if ((F > i))
157- then WriteSet([DataEntry(D, F), DataEntry(b, F), DataEntry(c, D)])
158- else WriteSet([DataEntry(D, F)])
122+ if ((z > i))
123+ then WriteSet([DataEntry(x, z), DataEntry(b, z), DataEntry(c, x)])
124+ else WriteSet([DataEntry(x, z)])
159125 }
160126 else throw("Can deposit only Govern Token")
161127 }
168134 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
169135 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
170136 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
171- let D = toBase58String(a.caller.bytes)
172- let E = {
137+ let x = toBase58String(a.caller.bytes)
138+ let y = {
173139 let j = getInteger(this, f)
174140 if ($isInstanceOf(j, "Int"))
175141 then {
178144 }
179145 else 0
180146 }
181- let G = (E - r)
147+ let A = (y - r)
182148 if ((0 > r))
183149 then throw("Can't withdraw negative amount")
184- else if ((0 > G))
185- then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(E)))
150+ else if ((0 > A))
151+ then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(y)))
186152 else {
187- let H = assetBalance(this, e)
188- if ((1 > H))
153+ let B = assetBalance(this, e)
154+ if ((1 > B))
189155 then throw("No enough GovernToken In Contract")
190- else ScriptResult(WriteSet([DataEntry(g, 1), DataEntry(f, G)]), TransferSet([ScriptTransfer(a.caller, 1, e), ScriptTransfer(a.caller, r, d)]))
156+ else ScriptResult(WriteSet([DataEntry(g, 1), DataEntry(f, A)]), TransferSet([ScriptTransfer(a.caller, 1, e), ScriptTransfer(a.caller, r, d)]))
191157 }
192158 }
193159
197163 func ClaimPrize () = {
198164 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
199165 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
200- let I = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n'
166+ let C = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n'
201167 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
202168 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
203- let J = ((toBase58String(I) + "_") + toBase58String(d))
204- let K = {
169+ let D = ((toBase58String(C) + "_") + toBase58String(d))
170+ let E = {
205171 let j = getInteger(this, g)
206172 if ($isInstanceOf(j, "Int"))
207173 then {
210176 }
211177 else 0
212178 }
213- let L = {
179+ let F = {
214180 let j = getInteger(this, f)
215181 if ($isInstanceOf(j, "Int"))
216182 then {
219185 }
220186 else 0
221187 }
222- let M = {
223- let j = getInteger(this, J)
188+ let G = {
189+ let j = getInteger(this, D)
224190 if ($isInstanceOf(j, "Int"))
225191 then {
226192 let k = j
230196 }
231197 let b = "GovernTokenMaxDeposit"
232198 let c = "MaxGovernTokenDepositerKey"
233- let N = getStringValue(this, c)
234- if ((M == 0))
199+ let H = getStringValue(this, c)
200+ if ((G == 0))
235201 then throw("No prize to Claim")
236- else if ((g != N))
202+ else if ((g != H))
237203 then throw("You are not the winner hence cannot claim the reward ")
238- else if ((1 > L))
204+ else if ((1 > F))
239205 then throw(("You have to Stake StakedToken to claim reward
240- Your Balance of Staked Tokens is: " + toString(L)))
241- else if ((K > 100))
242- then ScriptResult(WriteSet([DataEntry(N, M), DataEntry(J, 0), DataEntry(b, 0), DataEntry(g, 0), DataEntry(c, "")]), TransferSet([ScriptTransfer(a.caller, M, d), ScriptTransfer(a.caller, 100, e)]))
206+ Your Balance of Staked Tokens is: " + toString(F)))
207+ else if ((E > 100))
208+ then ScriptResult(WriteSet([DataEntry(H, G), DataEntry(D, 0), DataEntry(b, 0), DataEntry(g, 0), DataEntry(c, "")]), TransferSet([ScriptTransfer(a.caller, G, d), ScriptTransfer(a.caller, 100, e)]))
243209 else throw(("You have to deposit 100 GovernToken to claim Reward
244- Your Balance is: " + toString(K)))
210+ Your Balance is: " + toString(E)))
245211 }
246212
247213
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func ReadPoolData () = {
88 let b = "GovernTokenMaxDeposit"
99 let c = "MaxGovernTokenDepositerKey"
1010 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
1111 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
1212 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
1313 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
1414 let h = getStringValue(this, c)
1515 let i = {
1616 let j = getInteger(this, b)
1717 if ($isInstanceOf(j, "Int"))
1818 then {
1919 let k = j
2020 k
2121 }
2222 else 0
2323 }
2424 let l = getStringValue(this, g)
2525 let m = {
2626 let j = getInteger(this, g)
2727 if ($isInstanceOf(j, "Int"))
2828 then {
2929 let k = j
3030 k
3131 }
3232 else 0
3333 }
3434 let n = getStringValue(this, f)
3535 let o = {
3636 let j = getInteger(this, f)
3737 if ($isInstanceOf(j, "Int"))
3838 then {
3939 let k = j
4040 k
4141 }
4242 else 0
4343 }
4444 throw(((((((("Winner is.....: " + h) + " Balance is: ") + toString(i)) + "
4545 Staked Token in your Balance is.....: ") + toString(o)) + "
4646 Govern Token in your Balance is.....: ") + toString(m)))
4747 }
4848
4949
5050
5151 @Callable(a)
5252 func ResetAccount () = {
5353 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
5454 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
5555 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
5656 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
5757 let p = (toBase58String(a.caller.bytes) + "_StakedTransactions")
5858 WriteSet([DataEntry(g, 0), DataEntry(f, 0), DataEntry(p, 0)])
5959 }
6060
6161
6262
6363 @Callable(a)
6464 func Stake (q,r) = {
6565 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
6666 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
6767 if (if ((r > 0))
6868 then (q == toBase58String(d))
6969 else false)
7070 then {
7171 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
7272 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
73- let p = (toBase58String(a.caller.bytes) + "_StakedTransactions")
7473 let s = {
75- let j = getInteger(this, p)
76- if ($isInstanceOf(j, "Int"))
77- then {
78- let k = j
79- k
80- }
81- else 0
82- }
83- let t = (s + 1)
84- let u = {
8574 let j = getInteger(this, f)
8675 if ($isInstanceOf(j, "Int"))
8776 then {
8877 let k = j
8978 k
9079 }
9180 else 0
9281 }
93- let v = (u + r)
94- let w = {
95- let j = getInteger(this, f)
96- if ($isInstanceOf(j, "Int"))
97- then {
98- let k = j
99- k
100- }
101- else 0
102- }
103- let x = (w + 10)
104- let y = assetBalance(this, e)
105- let z = assetBalance(this, d)
106- if ((1 > y))
107- then throw("No enough GovernToken In Contract, Please deposit GovernTokens")
108- else if ((z == 0))
109- then ScriptResult(WriteSet([DataEntry(g, x), DataEntry(f, v), DataEntry(p, t)]), TransferSet([ScriptTransfer(a.caller, 10, e)]))
110- else if ((t > 50))
111- then {
112- let A = (w + ((10 * t) * (v / z)))
113- ScriptResult(WriteSet([DataEntry(g, A), DataEntry(f, v), DataEntry(p, t)]), TransferSet([ScriptTransfer(a.caller, A, e)]))
114- }
115- else {
116- let A = (w + (10 * (v / z)))
117- ScriptResult(WriteSet([DataEntry(g, A), DataEntry(f, v), DataEntry(p, t)]), TransferSet([ScriptTransfer(a.caller, A, e)]))
118- }
82+ let t = (s + r)
83+ let u = assetBalance(this, d)
84+ ScriptResult(WriteSet([DataEntry(f, t)]), TransferSet([ScriptTransfer(a.caller, 10, d)]))
11985 }
12086 else throw("Can deposit only StakeToken")
12187 }
12288
12389
12490
12591 @Callable(a)
12692 func DepositGovernToken () = {
12793 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
128- let B = toBase58String(e)
129- let C = extract(a.payment)
130- if (if (isDefined(C.assetId))
131- then (extract(C.assetId) == e)
94+ let v = toBase58String(e)
95+ let w = extract(a.payment)
96+ if (if (isDefined(w.assetId))
97+ then (extract(w.assetId) == e)
13298 else false)
13399 then {
134- let D = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
135- let E = {
136- let j = getInteger(this, D)
100+ let x = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
101+ let y = {
102+ let j = getInteger(this, x)
137103 if ($isInstanceOf(j, "Int"))
138104 then {
139105 let k = j
140106 k
141107 }
142108 else 0
143109 }
144- let F = (E + C.amount)
110+ let z = (y + w.amount)
145111 let b = "GovernTokenMaxDeposit"
146112 let c = "MaxGovernTokenDepositerKey"
147113 let i = {
148114 let j = getInteger(this, b)
149115 if ($isInstanceOf(j, "Int"))
150116 then {
151117 let k = j
152118 k
153119 }
154120 else 0
155121 }
156- if ((F > i))
157- then WriteSet([DataEntry(D, F), DataEntry(b, F), DataEntry(c, D)])
158- else WriteSet([DataEntry(D, F)])
122+ if ((z > i))
123+ then WriteSet([DataEntry(x, z), DataEntry(b, z), DataEntry(c, x)])
124+ else WriteSet([DataEntry(x, z)])
159125 }
160126 else throw("Can deposit only Govern Token")
161127 }
162128
163129
164130
165131 @Callable(a)
166132 func WithdrawStakedFunds (r) = {
167133 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
168134 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
169135 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
170136 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
171- let D = toBase58String(a.caller.bytes)
172- let E = {
137+ let x = toBase58String(a.caller.bytes)
138+ let y = {
173139 let j = getInteger(this, f)
174140 if ($isInstanceOf(j, "Int"))
175141 then {
176142 let k = j
177143 k
178144 }
179145 else 0
180146 }
181- let G = (E - r)
147+ let A = (y - r)
182148 if ((0 > r))
183149 then throw("Can't withdraw negative amount")
184- else if ((0 > G))
185- then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(E)))
150+ else if ((0 > A))
151+ then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(y)))
186152 else {
187- let H = assetBalance(this, e)
188- if ((1 > H))
153+ let B = assetBalance(this, e)
154+ if ((1 > B))
189155 then throw("No enough GovernToken In Contract")
190- else ScriptResult(WriteSet([DataEntry(g, 1), DataEntry(f, G)]), TransferSet([ScriptTransfer(a.caller, 1, e), ScriptTransfer(a.caller, r, d)]))
156+ else ScriptResult(WriteSet([DataEntry(g, 1), DataEntry(f, A)]), TransferSet([ScriptTransfer(a.caller, 1, e), ScriptTransfer(a.caller, r, d)]))
191157 }
192158 }
193159
194160
195161
196162 @Callable(a)
197163 func ClaimPrize () = {
198164 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
199165 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
200- let I = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n'
166+ let C = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n'
201167 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
202168 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
203- let J = ((toBase58String(I) + "_") + toBase58String(d))
204- let K = {
169+ let D = ((toBase58String(C) + "_") + toBase58String(d))
170+ let E = {
205171 let j = getInteger(this, g)
206172 if ($isInstanceOf(j, "Int"))
207173 then {
208174 let k = j
209175 k
210176 }
211177 else 0
212178 }
213- let L = {
179+ let F = {
214180 let j = getInteger(this, f)
215181 if ($isInstanceOf(j, "Int"))
216182 then {
217183 let k = j
218184 k
219185 }
220186 else 0
221187 }
222- let M = {
223- let j = getInteger(this, J)
188+ let G = {
189+ let j = getInteger(this, D)
224190 if ($isInstanceOf(j, "Int"))
225191 then {
226192 let k = j
227193 k
228194 }
229195 else 0
230196 }
231197 let b = "GovernTokenMaxDeposit"
232198 let c = "MaxGovernTokenDepositerKey"
233- let N = getStringValue(this, c)
234- if ((M == 0))
199+ let H = getStringValue(this, c)
200+ if ((G == 0))
235201 then throw("No prize to Claim")
236- else if ((g != N))
202+ else if ((g != H))
237203 then throw("You are not the winner hence cannot claim the reward ")
238- else if ((1 > L))
204+ else if ((1 > F))
239205 then throw(("You have to Stake StakedToken to claim reward
240- Your Balance of Staked Tokens is: " + toString(L)))
241- else if ((K > 100))
242- then ScriptResult(WriteSet([DataEntry(N, M), DataEntry(J, 0), DataEntry(b, 0), DataEntry(g, 0), DataEntry(c, "")]), TransferSet([ScriptTransfer(a.caller, M, d), ScriptTransfer(a.caller, 100, e)]))
206+ Your Balance of Staked Tokens is: " + toString(F)))
207+ else if ((E > 100))
208+ then ScriptResult(WriteSet([DataEntry(H, G), DataEntry(D, 0), DataEntry(b, 0), DataEntry(g, 0), DataEntry(c, "")]), TransferSet([ScriptTransfer(a.caller, G, d), ScriptTransfer(a.caller, 100, e)]))
243209 else throw(("You have to deposit 100 GovernToken to claim Reward
244- Your Balance is: " + toString(K)))
210+ Your Balance is: " + toString(E)))
245211 }
246212
247213

github/deemru/w8io/169f3d6 
56.55 ms