tx · 7Rw7YGNeWDZqhDtqp5VChDqwjtNvVHsADCUUJnQihiD9

3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT:  -0.01400000 Waves

2020.12.07 16:19 [1298285] smart account 3MzGHDJgHnpSnBYScnzg93pWoS27M7cBuVT > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
36.06 ms