tx · Ef3ndKwh9MKx9MCmb8UJYKX8FBebvEzFsKhvDqZHVNRY 3MuAPY3jP4q2AoNYX27B5BU9EoLU77mr7pS: -0.02000000 Waves 2022.02.11 18:43 [1919149] smart account 3MuAPY3jP4q2AoNYX27B5BU9EoLU77mr7pS > SELF 0.00000000 Waves
{ "type": 13, "id": "Ef3ndKwh9MKx9MCmb8UJYKX8FBebvEzFsKhvDqZHVNRY", "fee": 2000000, "feeAssetId": null, "timestamp": 1644594264374, "version": 1, "sender": "3MuAPY3jP4q2AoNYX27B5BU9EoLU77mr7pS", "senderPublicKey": "rqCnkHfz5ix6HNKiVvYE3URUtLs6f2nWzt4hpdGGQdm", "proofs": [ "4dBhkRCdKxkJ9TwLhXAewvzyZG4hXnESuHjJVScoXsvFM9V4PVnf7cBnKxHTw5RTmyzaB3KefpFKo5HVZzrxwSKw" ], "script": "base64:AAIFAAAAAAAAAAgIAhIAEgASAAAAAFQAAAAAEG5ldXRyaW5vQ29udHJhY3QJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNNemJ4MzRFeDVyUmJuMzl2VUh4OWtpd2gzbm5lRjhTNXdlAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAAEG5ldXRyaW5vQ29udHJhY3QFAAAAA2tleQAAAAAAAAAAAAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAABBuZXV0cmlub0NvbnRyYWN0BQAAAANrZXkCAAAAAAEAAAAMZ2V0Qm9vbEJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQbAAAAAgUAAAAQbmV1dHJpbm9Db250cmFjdAUAAAADa2V5BwEAAAAYZ2V0TnVtYmVyQnlBZGRyZXNzQW5kS2V5AAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBA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RQcmljZVJFU1QAAAAABAAAAA5uc2J0UHJpY2VUdXBsZQkBAAAAFHByaXZhdGVOc2J0UHJpY2VSRVNUAAAAAAQAAAAObnNidDJ1c2RuUHJpY2UICAUAAAAObnNidFByaWNlVHVwbGUAAAACXzEAAAAFdmFsdWUEAAAAD25zYnQyd2F2ZXNQcmljZQgIBQAAAA5uc2J0UHJpY2VUdXBsZQAAAAJfMgAAAAV2YWx1ZQQAAAAIcmVzdERhdGEJAAS5AAAAAgkABEwAAAACAgAAABJzdGFydE5zYnRQcmljZVJFU1QJAARMAAAAAgkAAaQAAAABBQAAAA5uc2J0MnVzZG5QcmljZQkABEwAAAACCQABpAAAAAEFAAAAD25zYnQyd2F2ZXNQcmljZQkABEwAAAACAgAAABBlbmROc2J0UHJpY2VSRVNUBQAAAANuaWwCAAAAAl9fCQAAAgAAAAEFAAAACHJlc3REYXRhAAAAAEAI2Ck=", "chainId": 84, "height": 1919149, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GKCEuH6PJmQ5pPg5nPMfzPLaE7chqSnP8GqdCaPfMrE5 Next: Aa5vrUS7PeT22UnfNs7jkUM23C2vz7SuCvdo67S8pTuA Diff:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = addressFromStringValue("3Mzbx34Ex5rRbn39vUHx9kiwh3nneF8S5we") | |
207 | 207 | } | |
208 | 208 | ||
209 | 209 | ||
210 | - | @Callable(bi) | |
211 | - | func neutrinoStateREST () = throw(makeString(["resultNeutrinoStateREST", toString(av), toString(aw), toString(ax), toString(ay), toString(az), toString(aA), toString(aB), toString(aC), toString(aD), toString(aG)], "__")) | |
210 | + | func bi () = makeString(["resultNeutrinoStateREST", toString(av), toString(aw), toString(ax), toString(ay), toString(az), toString(aA), toString(aB), toString(aC), toString(aD), toString(aG)], "__") | |
211 | + | ||
212 | + | ||
213 | + | @Callable(bj) | |
214 | + | func neutrinoStateREST () = throw(bi()) | |
212 | 215 | ||
213 | 216 | ||
214 | 217 | ||
215 | - | @Callable(bi) | |
218 | + | @Callable(bj) | |
219 | + | func neutrinoStateREADONLY () = $Tuple2(nil, bi()) | |
220 | + | ||
221 | + | ||
222 | + | ||
223 | + | @Callable(bj) | |
216 | 224 | func nsbtPriceREST () = { | |
217 | - | let | |
218 | - | let bg = | |
219 | - | let bh = | |
220 | - | let | |
221 | - | throw( | |
225 | + | let bk = bb() | |
226 | + | let bg = bk._1.value | |
227 | + | let bh = bk._2.value | |
228 | + | let bl = makeString(["startNsbtPriceREST", toString(bg), toString(bh), "endNsbtPriceREST"], "__") | |
229 | + | throw(bl) | |
222 | 230 | } | |
223 | 231 | ||
224 | 232 |
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = addressFromStringValue("3Mzbx34Ex5rRbn39vUHx9kiwh3nneF8S5we") | |
5 | 5 | ||
6 | 6 | func b (c) = valueOrElse(getInteger(a, c), 0) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func d (c) = valueOrElse(getString(a, c), "") | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func e (c) = valueOrElse(getBoolean(a, c), false) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func f (g,c) = valueOrElse(getInteger(addressFromStringValue(g), c), 0) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func h (g,c) = valueOrElse(getString(addressFromStringValue(g), c), "") | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func i (g,c) = valueOrElse(getBoolean(addressFromStringValue(g), c), false) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | let j = 30 | |
25 | 25 | ||
26 | 26 | let k = "_" | |
27 | 27 | ||
28 | 28 | let l = "+" | |
29 | 29 | ||
30 | 30 | let m = 100000000 | |
31 | 31 | ||
32 | 32 | let n = 1000000 | |
33 | 33 | ||
34 | 34 | let o = 1000000 | |
35 | 35 | ||
36 | 36 | let p = 100000000 | |
37 | 37 | ||
38 | 38 | let q = 8 | |
39 | 39 | ||
40 | 40 | let r = "neutrino_asset_id" | |
41 | 41 | ||
42 | 42 | let s = "bond_asset_id" | |
43 | 43 | ||
44 | 44 | let t = "auction_contract" | |
45 | 45 | ||
46 | 46 | let u = "liquidation_contract" | |
47 | 47 | ||
48 | 48 | let v = "rpd_contract" | |
49 | 49 | ||
50 | 50 | let w = "control_contract" | |
51 | 51 | ||
52 | 52 | let x = "balance_waves_lock_interval" | |
53 | 53 | ||
54 | 54 | let y = "balance_neutrino_lock_interval" | |
55 | 55 | ||
56 | 56 | let z = "min_waves_swap_amount" | |
57 | 57 | ||
58 | 58 | let A = "min_neutrino_swap_amount" | |
59 | 59 | ||
60 | 60 | let B = "node_oracle_provider" | |
61 | 61 | ||
62 | 62 | let C = "rpd_balance" | |
63 | 63 | ||
64 | 64 | func D (E) = ((C + "_") + toBase58String(E)) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | let F = "price" | |
68 | 68 | ||
69 | 69 | let G = "price_index" | |
70 | 70 | ||
71 | 71 | let H = "is_blocked" | |
72 | 72 | ||
73 | 73 | func I (J) = ((F + "_") + toString(J)) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func K (L) = ((G + "_") + toString(L)) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | let M = "balance_lock_" | |
80 | 80 | ||
81 | 81 | let N = (M + "waves") | |
82 | 82 | ||
83 | 83 | let O = (M + "neutrino") | |
84 | 84 | ||
85 | 85 | func P (Q,E) = ((((C + "_") + toBase58String(E)) + "_") + toString(Q)) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func R (S) = (("cancel_lease_tx_reserve_fee" + "_") + S) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func T (U) = ((N + "_") + U) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func V (U) = ((O + "_") + U) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func W (U) = ("balance_unlock_block_" + U) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func X (Q) = (("rpd_profit" + "_") + toString(Q)) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func Y (Z,aa) = fraction(fraction(Z, o, aa), m, n) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func ab (Z,aa) = fraction(fraction(Z, aa, o), n, m) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func ac (Z,aa) = ab(Z, aa) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func ad (ae) = split(ae, ",") | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | let af = d(u) | |
116 | 116 | ||
117 | 117 | let ag = d(r) | |
118 | 118 | ||
119 | 119 | let ah = fromBase58String(ag) | |
120 | 120 | ||
121 | 121 | let ai = d(t) | |
122 | 122 | ||
123 | 123 | let aj = d(v) | |
124 | 124 | ||
125 | 125 | let ak = d(w) | |
126 | 126 | ||
127 | 127 | let al = f(ak, G) | |
128 | 128 | ||
129 | 129 | let am = i(ak, H) | |
130 | 130 | ||
131 | 131 | let an = fromBase58String(d(B)) | |
132 | 132 | ||
133 | 133 | let ao = b(x) | |
134 | 134 | ||
135 | 135 | let ap = b(y) | |
136 | 136 | ||
137 | 137 | let aq = b(z) | |
138 | 138 | ||
139 | 139 | let ar = b(A) | |
140 | 140 | ||
141 | 141 | let as = getStringValue(a, s) | |
142 | 142 | ||
143 | 143 | let at = fromBase58String(as) | |
144 | 144 | ||
145 | 145 | let au = fromBase58String("975akZBfnMj513U7MZaHKzQrmsEx5aE3wdWKTrHBhbjF") | |
146 | 146 | ||
147 | 147 | let av = f(ak, F) | |
148 | 148 | ||
149 | 149 | let aw = b(O) | |
150 | 150 | ||
151 | 151 | let ax = b(N) | |
152 | 152 | ||
153 | 153 | let ay = (wavesBalance(a).regular - ax) | |
154 | 154 | ||
155 | 155 | let az = ab(ay, av) | |
156 | 156 | ||
157 | 157 | let aA = (((aw + value(assetInfo(ah)).quantity) - assetBalance(a, ah)) - assetBalance(addressFromStringValue(af), ah)) | |
158 | 158 | ||
159 | 159 | let aB = (az - aA) | |
160 | 160 | ||
161 | 161 | let aC = (fraction(aB, n, aA) * 100) | |
162 | 162 | ||
163 | 163 | let aD = fraction(az, n, aA) | |
164 | 164 | ||
165 | 165 | let aE = addressFromStringValue(ai) | |
166 | 166 | ||
167 | 167 | let aF = value(assetInfo(at)).quantity | |
168 | 168 | ||
169 | 169 | let aG = (aF - assetBalance(aE, at)) | |
170 | 170 | ||
171 | 171 | let aH = 0 | |
172 | 172 | ||
173 | 173 | let aI = 1 | |
174 | 174 | ||
175 | 175 | let aJ = 2 | |
176 | 176 | ||
177 | 177 | let aK = 3 | |
178 | 178 | ||
179 | 179 | let aL = 4 | |
180 | 180 | ||
181 | 181 | let aM = 5 | |
182 | 182 | ||
183 | 183 | let aN = 6 | |
184 | 184 | ||
185 | 185 | func aO (aP,aQ,aa,aR,aS) = { | |
186 | 186 | let aT = 271828100 | |
187 | 187 | let aU = valueOrElse(getInteger(this, "nsbtCurveParam_a"), 3) | |
188 | 188 | let aV = valueOrElse(getInteger(this, "nsbtCurveParam_b"), ((3 * n) / 10)) | |
189 | 189 | let aW = ab(aP, aa) | |
190 | 190 | let aX = fraction(aW, p, aQ) | |
191 | 191 | let aY = (aU * (aX - (1 * p))) | |
192 | 192 | let aZ = pow(aT, q, aY, q, q, DOWN) | |
193 | 193 | let ba = fraction(aV, aZ, n) | |
194 | 194 | [aU, aV, aW, aX, aY, aZ, ba] | |
195 | 195 | } | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func bb () = { | |
199 | 199 | let bc = aO(ay, aA, av, aF, aG) | |
200 | 200 | let ba = bc[aN] | |
201 | 201 | let bd = fraction(aF, p, (aF - aG)) | |
202 | 202 | let be = fraction(bd, bd, p) | |
203 | 203 | let bf = fraction(ba, be, p) | |
204 | 204 | let bg = fraction(bf, n, p) | |
205 | 205 | let bh = fraction(bg, n, av) | |
206 | 206 | $Tuple2(IntegerEntry("nsbt2usdnPrice", bg), IntegerEntry("nsbt2wavesPrice", bh)) | |
207 | 207 | } | |
208 | 208 | ||
209 | 209 | ||
210 | - | @Callable(bi) | |
211 | - | func neutrinoStateREST () = throw(makeString(["resultNeutrinoStateREST", toString(av), toString(aw), toString(ax), toString(ay), toString(az), toString(aA), toString(aB), toString(aC), toString(aD), toString(aG)], "__")) | |
210 | + | func bi () = makeString(["resultNeutrinoStateREST", toString(av), toString(aw), toString(ax), toString(ay), toString(az), toString(aA), toString(aB), toString(aC), toString(aD), toString(aG)], "__") | |
211 | + | ||
212 | + | ||
213 | + | @Callable(bj) | |
214 | + | func neutrinoStateREST () = throw(bi()) | |
212 | 215 | ||
213 | 216 | ||
214 | 217 | ||
215 | - | @Callable(bi) | |
218 | + | @Callable(bj) | |
219 | + | func neutrinoStateREADONLY () = $Tuple2(nil, bi()) | |
220 | + | ||
221 | + | ||
222 | + | ||
223 | + | @Callable(bj) | |
216 | 224 | func nsbtPriceREST () = { | |
217 | - | let | |
218 | - | let bg = | |
219 | - | let bh = | |
220 | - | let | |
221 | - | throw( | |
225 | + | let bk = bb() | |
226 | + | let bg = bk._1.value | |
227 | + | let bh = bk._2.value | |
228 | + | let bl = makeString(["startNsbtPriceREST", toString(bg), toString(bh), "endNsbtPriceREST"], "__") | |
229 | + | throw(bl) | |
222 | 230 | } | |
223 | 231 | ||
224 | 232 |
github/deemru/w8io/026f985 40.84 ms ◑