tx · 6FvkUuchJCN3MtbVgSigQGNosjH2poFw1yizEy8e8anX

3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT:  -0.01400000 Waves

2020.12.07 17:00 [1298326] smart account 3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT > SELF 0.00000000 Waves

{ "type": 13, "id": "6FvkUuchJCN3MtbVgSigQGNosjH2poFw1yizEy8e8anX", "fee": 1400000, "feeAssetId": null, "timestamp": 1607349655121, "version": 2, "chainId": 84, "sender": "3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT", "senderPublicKey": "EEG3yJvW1pyCtw138vRpByPpVgrN9VUW9X7G3b9qnwAU", "proofs": [ "4tHz8PJCPT1Vuv6TTg1WivJSb1czbtrRaDJTWfEqHbRefnCCTM44JPSwZaaqiqfVe9Jgx5YyGUXnC2EvnmBz8f4Q" ], "script": "base64:AAIDAAAAAAAAABUIARIAEgASBAoCCAESABIDCgEBEgAAAAAAAAAABgAAAAFpAQAAAAxSZWFkUG9vbERhdGEAAAAABAAAAA5Hb3Zlcm5Ub2tlbktleQIAAAAVR292ZXJuVG9rZW5NYXhEZXBvc2l0BAAAABpNYXhHb3Zlcm5Ub2tlbkRlcG9zaXRlcktleQIAAAAaTWF4R292ZXJuVG9rZW5EZXBvc2l0ZXJLZXkEAAAAC1N0YWtlZFRva2VuAQAAACCOrPKFX9iyxI4BbdwwZEALQLKrVFO/ELkmmh2Y+mC8aAQAAAALR292ZXJuVG9rZW4BAAAAIMtrm7pE5/6PvpYJJCZ4VYOnbodph6rsi95jG/KBisX4BAAAABJVc2VyU3Rha2VkVG9rZW5LZXkJAAEsAAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAAV8JAAJYAAAAAQUAAAALU3Rha2VkVG9rZW4EAAAAElVzZXJHb3Zlcm5Ub2tlbktleQkAASwAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVie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, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ucBZg1EKnMM5wBcaNor32QQWeatHxG126c9aoJkHa1q Next: 2oJS4t95c3k7vjXQRR2Y3acrDDiDdMvrhBaKvQpo9Vxe Diff:
OldNewDifferences
6969 then (q == toBase58String(d))
7070 else false)
7171 then {
72- let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
72+ let f = toBase58String(a.caller.bytes)
7373 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
7474 let s = {
7575 let j = getInteger(this, f)
8282 }
8383 let t = (s + r)
8484 let u = assetBalance(this, d)
85- ScriptResult(WriteSet([DataEntry(f, t)]), TransferSet([ScriptTransfer(a.caller, 1, d)]))
85+ WriteSet([DataEntry(f, t)])
8686 }
8787 else throw("Can deposit only StakeToken")
8888 }
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 c = "MaxGovernTokenDepositerKey"
5656 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
5757 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
5858 let p = (toBase58String(a.caller.bytes) + "_StakedTransactions")
5959 WriteSet([DataEntry(g, 0), DataEntry(f, 0), DataEntry(p, 0)])
6060 }
6161
6262
6363
6464 @Callable(a)
6565 func Stake (q,r) = {
6666 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
6767 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
6868 if (if ((r > 0))
6969 then (q == toBase58String(d))
7070 else false)
7171 then {
72- let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
72+ let f = toBase58String(a.caller.bytes)
7373 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
7474 let s = {
7575 let j = getInteger(this, f)
7676 if ($isInstanceOf(j, "Int"))
7777 then {
7878 let k = j
7979 k
8080 }
8181 else 0
8282 }
8383 let t = (s + r)
8484 let u = assetBalance(this, d)
85- ScriptResult(WriteSet([DataEntry(f, t)]), TransferSet([ScriptTransfer(a.caller, 1, d)]))
85+ WriteSet([DataEntry(f, t)])
8686 }
8787 else throw("Can deposit only StakeToken")
8888 }
8989
9090
9191
9292 @Callable(a)
9393 func DepositGovernToken () = {
9494 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
9595 let v = toBase58String(e)
9696 let w = extract(a.payment)
9797 if (if (isDefined(w.assetId))
9898 then (extract(w.assetId) == e)
9999 else false)
100100 then {
101101 let x = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
102102 let y = {
103103 let j = getInteger(this, x)
104104 if ($isInstanceOf(j, "Int"))
105105 then {
106106 let k = j
107107 k
108108 }
109109 else 0
110110 }
111111 let z = (y + w.amount)
112112 let b = "GovernTokenMaxDeposit"
113113 let c = "MaxGovernTokenDepositerKey"
114114 let i = {
115115 let j = getInteger(this, b)
116116 if ($isInstanceOf(j, "Int"))
117117 then {
118118 let k = j
119119 k
120120 }
121121 else 0
122122 }
123123 if ((z > i))
124124 then WriteSet([DataEntry(x, z), DataEntry(b, z), DataEntry(c, x)])
125125 else WriteSet([DataEntry(x, z)])
126126 }
127127 else throw("Can deposit only Govern Token")
128128 }
129129
130130
131131
132132 @Callable(a)
133133 func WithdrawStakedFunds (r) = {
134134 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
135135 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
136136 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
137137 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
138138 let x = toBase58String(a.caller.bytes)
139139 let y = {
140140 let j = getInteger(this, f)
141141 if ($isInstanceOf(j, "Int"))
142142 then {
143143 let k = j
144144 k
145145 }
146146 else 0
147147 }
148148 let A = (y - r)
149149 if ((0 > r))
150150 then throw("Can't withdraw negative amount")
151151 else if ((0 > A))
152152 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(y)))
153153 else {
154154 let B = assetBalance(this, e)
155155 if ((1 > B))
156156 then throw("No enough GovernToken In Contract")
157157 else ScriptResult(WriteSet([DataEntry(g, 1), DataEntry(f, A)]), TransferSet([ScriptTransfer(a.caller, 1, e), ScriptTransfer(a.caller, r, d)]))
158158 }
159159 }
160160
161161
162162
163163 @Callable(a)
164164 func ClaimPrize () = {
165165 let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w'
166166 let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j'
167167 let C = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n'
168168 let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d))
169169 let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e))
170170 let D = ((toBase58String(C) + "_") + toBase58String(d))
171171 let E = {
172172 let j = getInteger(this, g)
173173 if ($isInstanceOf(j, "Int"))
174174 then {
175175 let k = j
176176 k
177177 }
178178 else 0
179179 }
180180 let F = {
181181 let j = getInteger(this, f)
182182 if ($isInstanceOf(j, "Int"))
183183 then {
184184 let k = j
185185 k
186186 }
187187 else 0
188188 }
189189 let G = {
190190 let j = getInteger(this, D)
191191 if ($isInstanceOf(j, "Int"))
192192 then {
193193 let k = j
194194 k
195195 }
196196 else 0
197197 }
198198 let b = "GovernTokenMaxDeposit"
199199 let c = "MaxGovernTokenDepositerKey"
200200 let H = getStringValue(this, c)
201201 if ((G == 0))
202202 then throw("No prize to Claim")
203203 else if ((g != H))
204204 then throw("You are not the winner hence cannot claim the reward ")
205205 else if ((1 > F))
206206 then throw(("You have to Stake StakedToken to claim reward
207207 Your Balance of Staked Tokens is: " + toString(F)))
208208 else if ((E > 100))
209209 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)]))
210210 else throw(("You have to deposit 100 GovernToken to claim Reward
211211 Your Balance is: " + toString(E)))
212212 }
213213
214214

github/deemru/w8io/169f3d6 
43.28 ms