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/KBisX4BAAAABJVc2VyU3Rha2VkVG9rZW5LZXkJAAEsAAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAAV8JAAJYAAAAAQUAAAALU3Rha2VkVG9rZW4EAAAAElVzZXJHb3Zlcm5Ub2tlbktleQkAASwAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieX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"applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ucBZg1EKnMM5wBcaNor32QQWeatHxG126c9aoJkHa1q Next: 2oJS4t95c3k7vjXQRR2Y3acrDDiDdMvrhBaKvQpo9Vxe Diff:
Old | New | Differences | |
---|---|---|---|
69 | 69 | then (q == toBase58String(d)) | |
70 | 70 | else false) | |
71 | 71 | then { | |
72 | - | let f = | |
72 | + | let f = toBase58String(a.caller.bytes) | |
73 | 73 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
74 | 74 | let s = { | |
75 | 75 | let j = getInteger(this, f) | |
82 | 82 | } | |
83 | 83 | let t = (s + r) | |
84 | 84 | let u = assetBalance(this, d) | |
85 | - | | |
85 | + | WriteSet([DataEntry(f, t)]) | |
86 | 86 | } | |
87 | 87 | else throw("Can deposit only StakeToken") | |
88 | 88 | } |
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, g) | |
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 | Staked Token in your Balance is.....: ") + toString(o)) + " | |
46 | 46 | Govern Token in your Balance is.....: ") + toString(m))) | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | ||
51 | 51 | @Callable(a) | |
52 | 52 | func ResetAccount () = { | |
53 | 53 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
54 | 54 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
55 | 55 | let c = "MaxGovernTokenDepositerKey" | |
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 (q,r) = { | |
66 | 66 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
67 | 67 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
68 | 68 | if (if ((r > 0)) | |
69 | 69 | then (q == toBase58String(d)) | |
70 | 70 | else false) | |
71 | 71 | then { | |
72 | - | let f = | |
72 | + | let f = toBase58String(a.caller.bytes) | |
73 | 73 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
74 | 74 | let s = { | |
75 | 75 | let j = getInteger(this, f) | |
76 | 76 | if ($isInstanceOf(j, "Int")) | |
77 | 77 | then { | |
78 | 78 | let k = j | |
79 | 79 | k | |
80 | 80 | } | |
81 | 81 | else 0 | |
82 | 82 | } | |
83 | 83 | let t = (s + r) | |
84 | 84 | let u = assetBalance(this, d) | |
85 | - | | |
85 | + | WriteSet([DataEntry(f, t)]) | |
86 | 86 | } | |
87 | 87 | else throw("Can deposit only StakeToken") | |
88 | 88 | } | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | ||
92 | 92 | @Callable(a) | |
93 | 93 | func DepositGovernToken () = { | |
94 | 94 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
95 | 95 | let v = toBase58String(e) | |
96 | 96 | let w = extract(a.payment) | |
97 | 97 | if (if (isDefined(w.assetId)) | |
98 | 98 | then (extract(w.assetId) == e) | |
99 | 99 | else false) | |
100 | 100 | then { | |
101 | 101 | let x = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
102 | 102 | let y = { | |
103 | 103 | let j = getInteger(this, x) | |
104 | 104 | if ($isInstanceOf(j, "Int")) | |
105 | 105 | then { | |
106 | 106 | let k = j | |
107 | 107 | k | |
108 | 108 | } | |
109 | 109 | else 0 | |
110 | 110 | } | |
111 | 111 | let z = (y + w.amount) | |
112 | 112 | let b = "GovernTokenMaxDeposit" | |
113 | 113 | let c = "MaxGovernTokenDepositerKey" | |
114 | 114 | let i = { | |
115 | 115 | let j = getInteger(this, b) | |
116 | 116 | if ($isInstanceOf(j, "Int")) | |
117 | 117 | then { | |
118 | 118 | let k = j | |
119 | 119 | k | |
120 | 120 | } | |
121 | 121 | else 0 | |
122 | 122 | } | |
123 | 123 | if ((z > i)) | |
124 | 124 | then WriteSet([DataEntry(x, z), DataEntry(b, z), DataEntry(c, x)]) | |
125 | 125 | else WriteSet([DataEntry(x, z)]) | |
126 | 126 | } | |
127 | 127 | else throw("Can deposit only Govern Token") | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | ||
132 | 132 | @Callable(a) | |
133 | 133 | func WithdrawStakedFunds (r) = { | |
134 | 134 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
135 | 135 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
136 | 136 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
137 | 137 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
138 | 138 | let x = toBase58String(a.caller.bytes) | |
139 | 139 | let y = { | |
140 | 140 | let j = getInteger(this, f) | |
141 | 141 | if ($isInstanceOf(j, "Int")) | |
142 | 142 | then { | |
143 | 143 | let k = j | |
144 | 144 | k | |
145 | 145 | } | |
146 | 146 | else 0 | |
147 | 147 | } | |
148 | 148 | let A = (y - r) | |
149 | 149 | if ((0 > r)) | |
150 | 150 | then throw("Can't withdraw negative amount") | |
151 | 151 | else if ((0 > A)) | |
152 | 152 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(y))) | |
153 | 153 | else { | |
154 | 154 | let B = assetBalance(this, e) | |
155 | 155 | if ((1 > B)) | |
156 | 156 | then throw("No enough GovernToken In Contract") | |
157 | 157 | else ScriptResult(WriteSet([DataEntry(g, 1), DataEntry(f, A)]), TransferSet([ScriptTransfer(a.caller, 1, e), ScriptTransfer(a.caller, r, d)])) | |
158 | 158 | } | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | ||
163 | 163 | @Callable(a) | |
164 | 164 | func ClaimPrize () = { | |
165 | 165 | let d = base58'AbwrDfhBTCFySqCzhwcC6CaXTNKC7tFq5nx1cVUxqT2w' | |
166 | 166 | let e = base58'Eh4w4BjT7Qn51eXFV9tLzymsepCo8oPLxBRBg5aog98j' | |
167 | 167 | let C = base58'3MsH5Hr1qQYUnwq4HTpiaGpXQi6cGPUsa5n' | |
168 | 168 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
169 | 169 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
170 | 170 | let D = ((toBase58String(C) + "_") + toBase58String(d)) | |
171 | 171 | let E = { | |
172 | 172 | let j = getInteger(this, g) | |
173 | 173 | if ($isInstanceOf(j, "Int")) | |
174 | 174 | then { | |
175 | 175 | let k = j | |
176 | 176 | k | |
177 | 177 | } | |
178 | 178 | else 0 | |
179 | 179 | } | |
180 | 180 | let F = { | |
181 | 181 | let j = getInteger(this, f) | |
182 | 182 | if ($isInstanceOf(j, "Int")) | |
183 | 183 | then { | |
184 | 184 | let k = j | |
185 | 185 | k | |
186 | 186 | } | |
187 | 187 | else 0 | |
188 | 188 | } | |
189 | 189 | let G = { | |
190 | 190 | let j = getInteger(this, D) | |
191 | 191 | if ($isInstanceOf(j, "Int")) | |
192 | 192 | then { | |
193 | 193 | let k = j | |
194 | 194 | k | |
195 | 195 | } | |
196 | 196 | else 0 | |
197 | 197 | } | |
198 | 198 | let b = "GovernTokenMaxDeposit" | |
199 | 199 | let c = "MaxGovernTokenDepositerKey" | |
200 | 200 | let H = getStringValue(this, c) | |
201 | 201 | if ((G == 0)) | |
202 | 202 | then throw("No prize to Claim") | |
203 | 203 | else if ((g != H)) | |
204 | 204 | then throw("You are not the winner hence cannot claim the reward ") | |
205 | 205 | else if ((1 > F)) | |
206 | 206 | then throw(("You have to Stake StakedToken to claim reward | |
207 | 207 | Your Balance of Staked Tokens is: " + toString(F))) | |
208 | 208 | else if ((E > 100)) | |
209 | 209 | 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)])) | |
210 | 210 | else throw(("You have to deposit 100 GovernToken to claim Reward | |
211 | 211 | Your Balance is: " + toString(E))) | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 |
github/deemru/w8io/169f3d6 43.28 ms ◑