tx · 3LUkqxbUPkVWnSZ4Cg6vZcZYNnV4PZQMWt6G4bJG7Vfv

3Mwvh1BuhG98BDy2ce4psM5FGmsMJ3mQ6eS:  -0.01400000 Waves

2019.10.04 12:56 [704823] smart account 3Mwvh1BuhG98BDy2ce4psM5FGmsMJ3mQ6eS > SELF 0.00000000 Waves

{ "type": 13, "id": "3LUkqxbUPkVWnSZ4Cg6vZcZYNnV4PZQMWt6G4bJG7Vfv", "fee": 1400000, "feeAssetId": null, "timestamp": 1570183014617, "version": 1, "sender": "3Mwvh1BuhG98BDy2ce4psM5FGmsMJ3mQ6eS", "senderPublicKey": "7uFaW53FrwLDoCAkGsKkshhvuicD9QrVcuTDgYkMp93a", "proofs": [ "5pCfzHFpfkV4NJbkzTxiaFwAhkDDdLN14mZvMbmipWnsCdgrpTbVNp1QN2k3pL3UJARNchmB8QfuWb5x42rEC8tM" ], "script": "base64:AAIDAAAAAAAAAAAAAAAjAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADGdldEJvb2xCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQcBAAAAGGdldE51bWJlckJ5QWRkcmVzc0FuZEtleQAAAAIAAAAHYWRkcmVzcwA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6E2tp Next: 9e6y7EU6GqvJvV4Z68gAataQY5KyTxBhtmcgsJEU1TDZ Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getInteger(this, b)
66 if ($isInstanceOf(c, "Int"))
77 then {
88 let d = c
99 d
1010 }
1111 else 0
1212 }
1313
1414
1515 func e (b) = {
1616 let c = getString(this, b)
1717 if ($isInstanceOf(c, "String"))
1818 then {
1919 let d = c
2020 d
2121 }
2222 else ""
2323 }
2424
2525
2626 func f (b) = {
2727 let c = getBoolean(this, b)
2828 if ($isInstanceOf(c, "Boolean"))
2929 then {
3030 let d = c
3131 d
3232 }
3333 else false
3434 }
3535
3636
3737 func g (h,b) = {
3838 let c = getInteger(addressFromStringValue(h), b)
3939 if ($isInstanceOf(c, "Int"))
4040 then {
4141 let d = c
4242 d
4343 }
4444 else 0
4545 }
4646
4747
4848 func i (h,b) = {
4949 let c = getString(addressFromStringValue(h), b)
5050 if ($isInstanceOf(c, "String"))
5151 then {
5252 let d = c
5353 d
5454 }
5555 else ""
5656 }
5757
5858
5959 let j = "_"
6060
6161 let k = 10000
6262
6363 let l = "neutrino_asset_id"
6464
6565 let m = "bond_asset_id"
6666
6767 let n = "neutrino_contract"
6868
6969 let o = "rpd_balance"
7070
7171 let p = "rpd_sync_index"
7272
7373 let q = "rpd_profit"
7474
7575 let r = "balance_history"
7676
7777 let s = "is_claimed"
7878
7979 func t (u) = ((r + "_") + u)
8080
8181
8282 func v (u,w) = ((((o + "_") + w) + "_") + u)
8383
8484
8585 func x (u,y,w) = ((v(u, w) + "_") + toString(y))
8686
8787
8888 func z (u,y) = ((((s + "_") + u) + "_") + toString(y))
8989
9090
9191 func A (w) = ((o + "_") + w)
9292
9393
9494 func B (y,w) = ((((o + "_") + w) + "_") + toString(y))
9595
9696
9797 func C (y) = ((q + "_") + toString(y))
9898
9999
100100 let D = e(n)
101101
102102 let E = fromBase58String(i(D, l))
103103
104104 let F = fromBase58String(i(D, m))
105105
106106 let G = g(D, p)
107107
108108 func H (w) = a(A(w))
109109
110110
111111 func I (y,w) = g(D, B(y, w))
112112
113113
114114 func J (y) = g(D, C(y))
115115
116116
117117 func K (u,w) = a(v(u, w))
118118
119119
120120 func L (u,y,w) = a(x(u, y, w))
121121
122122
123123 func M (u) = e(t(u))
124124
125125
126126 func N (u,y) = f(z(u, y))
127127
128128
129129 func O (y) = (toString(y) + j)
130130
131131
132132 func P (Q,R) = (Q + R)
133133
134134
135135 @Callable(S)
136136 func lockNeutrino () = {
137137 let T = extract(S.payment)
138138 if (if ((T.assetId != E))
139139 then (T.assetId != F)
140140 else false)
141141 then throw("can use neutrino or bond only")
142142 else {
143143 let U = toString(S.caller)
144144 let V = toBase58String(value(T.assetId))
145145 let W = (K(U, V) + T.amount)
146146 let X = M(U)
147147 let Q = split(X, j)
148148 let Y = (size(Q) - 2)
149149 let Z = if (if ((X != ""))
150150 then (parseIntValue(Q[Y]) == G)
151151 else false)
152152 then X
153153 else P(X, O(G))
154154 WriteSet([DataEntry(A(V), (H(V) + T.amount)), DataEntry(v(U, V), W), DataEntry(x(U, G, V), W), DataEntry(t(U), Z)])
155155 }
156156 }
157157
158158
159159
160160 @Callable(S)
161161 func unlockNeutrino (aa,V) = {
162162 let U = toString(S.caller)
163163 let w = fromBase58String(V)
164164 let W = (K(U, V) - aa)
165165 if ((0 > W))
166166 then throw("invalid amount")
167167 else if (if ((w != E))
168168 then (w != F)
169169 else false)
170170 then throw("can use neutrino or bond only")
171171 else {
172172 let X = M(U)
173173 let Q = split(X, j)
174174 let Y = (size(Q) - 2)
175175 let Z = if (if ((X != ""))
176176 then (parseIntValue(Q[Y]) == G)
177177 else false)
178178 then X
179179 else P(X, O(G))
180180 ScriptResult(WriteSet([DataEntry(o, (H(V) - aa)), DataEntry(v(U, V), W), DataEntry(x(U, G, V), W), DataEntry(t(U), Z)]), TransferSet([ScriptTransfer(addressFromStringValue(U), aa, E)]))
181181 }
182182 }
183183
184184
185185
186186 @Callable(S)
187187 func withdraw (ab,ac) = {
188188 let U = toString(S.caller)
189189 let X = M(U)
190190 let Q = split(X, j)
191191 let ad = parseIntValue(Q[ac])
192192 if (N(U, ab))
193193 then throw(("account is claimed rpd_count:" + toString(ab)))
194194 else if (if ((ab > ad))
195195 then true
196196 else if ((size(Q) > (ac + 2)))
197197 then (parseIntValue(Q[(ac + 1)]) > ab)
198198 else false)
199199 then throw("invalid history index")
200200 else {
201201 let ae = toBase58String(E)
202202 let af = toBase58String(F)
203203 let W = (L(U, ad, ae) + L(U, ad, af))
204204 let ag = (((W * k) * 100) / (I(ab, ae) + I(ab, af)))
205205 let ah = (((ag * J(ab)) / 100) / k)
206206 ScriptResult(WriteSet([DataEntry(z(U, ab), true)]), TransferSet([ScriptTransfer(addressFromStringValue(U), ah, E)]))
207207 }
208208 }
209209
210210

github/deemru/w8io/169f3d6 
44.71 ms