tx · FTecnQyKkWkpcNxi8A3kUzY2ZTzPvtJw5wPhtxG8c9sd 3Mv9Gu7Fc9sxgXLDqTbM8RvgBrwqGBCCHhc: -0.01400000 Waves 2022.01.01 23:14 [1860288] smart account 3Mv9Gu7Fc9sxgXLDqTbM8RvgBrwqGBCCHhc > SELF 0.00000000 Waves
{ "type": 13, "id": "FTecnQyKkWkpcNxi8A3kUzY2ZTzPvtJw5wPhtxG8c9sd", "fee": 1400000, "feeAssetId": null, "timestamp": 1641068131989, "version": 2, "chainId": 84, "sender": "3Mv9Gu7Fc9sxgXLDqTbM8RvgBrwqGBCCHhc", "senderPublicKey": "6G5tpz8pTVXVZ7VUJDEqBEpNLJQwBfQvdEjokfQPeTUD", "proofs": [ "3epMq33wHWcv8xSjWFr4cEnmGfyn5kHd4U7g6LoN3qnw8JsA3GuzUquRBDrNovzH893PEVHYpSrJrZrYMg7Rso8k" ], "script": "base64:AAIEAAAAAAAAACEIAhIECgIIARIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgAAAAFAAAAAAtVU0RUQXNzZXRJRAEAAAAgCGWEtw/wimoa8+Jo6C4IkCTD0ydYA80s9i5eC9/aFaQAAAAAC0NPREVBc3NldElEAQAAACAtb1sBuZ3lSm8ahGink+4TF5YYAu/xRHYwe1h195OooAAAAAAVQ29sbGVjdENPREVGZWVBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg/F4fmB0sxZ6ySMfiIAAAAAAZQ29sbGVjdFVTRFRTd2FwRmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAgUoPZoIvXkJI7M+XgQERyG3Ox4PxeH5gdLMWeskjH4iAAAAAAGkNvbGxlY3RBc3NldFN3YXBGZWVBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAACBSg9mgi9eQkjsz5eBARHIbc7Hg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5LI2ymw==", "height": 1860288, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: bB8vnDbv353uM39dg6w318MBc53JJAdHPQTn1EPyLJE Next: AzUW9LQh1agysVcsGaQMppofSyWPm7HkbAWo2YySU2Q3 Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = base58' | |
4 | + | let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | - | let b = base58' | |
6 | + | let b = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
7 | 7 | ||
8 | 8 | let c = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR') | |
9 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = base58' | |
4 | + | let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | - | let b = base58' | |
6 | + | let b = base58'44Mq8KqUhM94t93MiBq3S22iiuGczMxpKmse5dBy2w5y' | |
7 | 7 | ||
8 | 8 | let c = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR') | |
9 | 9 | ||
10 | 10 | let d = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR') | |
11 | 11 | ||
12 | 12 | let e = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR') | |
13 | 13 | ||
14 | 14 | @Callable(f) | |
15 | 15 | func RegisterPairForVoting (g,h) = { | |
16 | 16 | let i = value(f.payments[0]) | |
17 | 17 | let j = value(f.payments[1]) | |
18 | 18 | let k = 90 | |
19 | 19 | let l = toBase58String(f.caller.bytes) | |
20 | 20 | let m = !(isDefined(j.assetId)) | |
21 | 21 | let n = 1440 | |
22 | 22 | let o = (n * h) | |
23 | 23 | let p = (o - 43199) | |
24 | 24 | let q = ((100000 + ((11574 * p) / 10000)) * 100000000) | |
25 | 25 | let r = (height + o) | |
26 | 26 | let s = getString(this, ("Pair_UV_" + g)) | |
27 | 27 | let t = "F" | |
28 | 28 | let u = fromBase58String(g) | |
29 | 29 | if ((43 > size(g))) | |
30 | 30 | then throw("Wrong AssetID is Entered for Voting. Please Enter a Valid AssetID. Probably you entered an AssetID less than 43 Chars.") | |
31 | 31 | else if ((29 >= h)) | |
32 | 32 | then throw("Enter no. of days in between 30 to 90.") | |
33 | 33 | else if ((h > k)) | |
34 | 34 | then throw("You Entered days greater than 90 please Enter no. of days in between 1 to 90.") | |
35 | 35 | else if ((s == g)) | |
36 | 36 | then throw("Pair Already Exist in Voting List.") | |
37 | 37 | else if ((size(f.payments) != 2)) | |
38 | 38 | then throw("Two attached assets expected as payment. Kindly Attach payment1 = CODE Token & payment2 = Token you want to List for Voting.") | |
39 | 39 | else if ((i.assetId != b)) | |
40 | 40 | then throw("Incorrect asset attached for Voting in payment[1], please attach 2000 CODE Token only.") | |
41 | 41 | else if ((i.amount != 200000000000)) | |
42 | 42 | then throw((((("You attached only " + toString(fraction(i.amount, 1, 100000000))) + ".") + toString(fraction(i.amount, 1, 10000000))) + " CODE for Voting in payment[1], please attach 2000 CODE Token.")) | |
43 | 43 | else if ((j.assetId != u)) | |
44 | 44 | then throw("Input String & Attached AssetID in payment2 is not matching.") | |
45 | 45 | else if ((m == true)) | |
46 | 46 | then throw("You Attached TN Asset ID for Voting, please attach fsTN instead of TN or Token You want to list in payment[2].") | |
47 | 47 | else [StringEntry(("Pair_UV_" + g), g), StringEntry(("Voting_Status_" + g), t), IntegerEntry(("Voting_SH_" + g), height), IntegerEntry(("Voting_EH_" + g), r), IntegerEntry(("Voting_Period_" + g), o), IntegerEntry(("Listing_Fee_" + g), i.amount), IntegerEntry(("Votes_Req_" + g), (q / 3)), IntegerEntry(("Votes_Rcvd_" + g), 0), ScriptTransfer(c, i.amount, b)] | |
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | ||
52 | 52 | @Callable(f) | |
53 | 53 | func DoVoting (g) = { | |
54 | 54 | let v = if ((size(f.payments) == 1)) | |
55 | 55 | then f.payments[0] | |
56 | 56 | else throw((toBase58String(b) + "CODE Token is required as Attached payment")) | |
57 | 57 | let w = toBase58String(f.caller.bytes) | |
58 | 58 | let x = "P" | |
59 | 59 | let y = getIntegerValue(this, ("Voting_EH_" + g)) | |
60 | 60 | let z = getString(this, ("Pair_UV_" + g)) | |
61 | 61 | let A = getIntegerValue(this, ("Votes_Req_" + g)) | |
62 | 62 | let B = getIntegerValue(this, ("Votes_Rcvd_" + g)) | |
63 | 63 | let C = getStringValue(this, ("Voting_Status_" + g)) | |
64 | 64 | let D = { | |
65 | 65 | let E = getInteger(this, ("Votes_Rcvd_" + g)) | |
66 | 66 | if ($isInstanceOf(E, "Int")) | |
67 | 67 | then { | |
68 | 68 | let F = E | |
69 | 69 | F | |
70 | 70 | } | |
71 | 71 | else 0 | |
72 | 72 | } | |
73 | 73 | let G = (D + v.amount) | |
74 | 74 | let H = { | |
75 | 75 | let E = getInteger(this, ((("Votes_Rcvd_" + w) + "_") + g)) | |
76 | 76 | if ($isInstanceOf(E, "Int")) | |
77 | 77 | then { | |
78 | 78 | let I = E | |
79 | 79 | I | |
80 | 80 | } | |
81 | 81 | else 0 | |
82 | 82 | } | |
83 | 83 | let J = (H + v.amount) | |
84 | 84 | let K = (B >= A) | |
85 | 85 | let L = valueOrErrorMessage(assetInfo(fromBase58String(g)), (("Asset " + g) + " doesn't exist")) | |
86 | 86 | if ((z != g)) | |
87 | 87 | then throw("Pair is not available in Voting List.") | |
88 | 88 | else if ((height > y)) | |
89 | 89 | then throw((("Voting timeline for " + g) + " is expired.")) | |
90 | 90 | else if ((v.assetId != b)) | |
91 | 91 | then throw((("Kindly Attach Only " + toBase58String(b)) + " Token.")) | |
92 | 92 | else if ((C == x)) | |
93 | 93 | then throw((("Voting for " + g) + " pair is completed & it’s available in whitelist.")) | |
94 | 94 | else if (K) | |
95 | 95 | then [StringEntry(("Voting_Status_" + g), x), IntegerEntry(((("Balance_of_" + g) + "_") + toBase58String(a)), 0), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + g), 0), IntegerEntry(("Total_of_Pair_Txns_" + g), 0), IntegerEntry(((("Total_Swap_Fee_Collected_" + g) + "_") + toBase58String(a)), 0), IntegerEntry(("Total_Swap_Fee_Collected_" + g), 0), IntegerEntry(((("Votes_Rcvd_" + w) + "_") + g), J)] | |
96 | 96 | else [IntegerEntry(("Votes_Rcvd_" + g), G), IntegerEntry(((("Votes_Rcvd_" + w) + "_") + g), J)] | |
97 | 97 | } | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | ||
101 | 101 | @Callable(f) | |
102 | 102 | func WithdrawVotedTokens (g) = { | |
103 | 103 | let v = if ((size(f.payments) == 1)) | |
104 | 104 | then f.payments[0] | |
105 | 105 | else throw("0.1 TN Token is required as Attached payment.") | |
106 | 106 | let w = toBase58String(f.caller.bytes) | |
107 | 107 | let y = getIntegerValue(this, ("Voting_EH_" + g)) | |
108 | 108 | let z = getString(this, ("Pair_UV_" + g)) | |
109 | 109 | let M = valueOrErrorMessage(getInteger(this, ((("Votes_Rcvd_" + w) + "_") + g)), (w + " Address never voted & exist in list.")) | |
110 | 110 | let N = (y - height) | |
111 | 111 | if ((z != g)) | |
112 | 112 | then throw("Pair is not available in Voting List.") | |
113 | 113 | else if ((y > height)) | |
114 | 114 | then throw((("Voting Already Running. You can withdraw your CODE Token after " + toString(N)) + " blocks")) | |
115 | 115 | else if ((0 >= M)) | |
116 | 116 | then throw("You don't have any dues of CODE balance in this Voting Pair.") | |
117 | 117 | else if (isDefined(v.assetId)) | |
118 | 118 | then throw("Don't attach any other asset. Please attach 0.1 TN as a fee to release your token") | |
119 | 119 | else if ((v.amount != 10000000)) | |
120 | 120 | then throw("Please attach 0.1 TN as a fee to release your token.") | |
121 | 121 | else [IntegerEntry(((("Votes_Rcvd_" + w) + "_") + g), 0), ScriptTransfer(f.caller, M, b)] | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | ||
126 | 126 | @Callable(f) | |
127 | 127 | func IssueLPToken (g) = { | |
128 | 128 | let O = valueOrErrorMessage(getString(this, "LP_Admin_Rights"), "LP Admin Rights are Not Included into Smart Contract. Deploy Admin Rights First.") | |
129 | 129 | let w = toBase58String(f.caller.bytes) | |
130 | 130 | let z = valueOrErrorMessage(getString(this, ("Pair_UV_" + g)), "Asset not Found in Whitelisted Token") | |
131 | 131 | let L = valueOrErrorMessage(assetInfo(fromBase58String(g)), (("Asset " + g) + " doesn't exist")) | |
132 | 132 | let P = L.name | |
133 | 133 | let Q = L.decimals | |
134 | 134 | let x = "P" | |
135 | 135 | let C = valueOrErrorMessage(getString(this, ("Voting_Status_" + g)), ("Voting Status is Missing for " + g)) | |
136 | 136 | let R = Issue((("LP-" + take(P, 8)) + "-USDT"), (((("LP-" + P) + "-USDT") + " is a Liquidity Provider Token Issued Against ") + g), (1 * pow(10, 0, fraction((Q + 6), 1, 2), 0, 0, UP)), fraction((Q + 6), 1, 2), true) | |
137 | 137 | let S = calculateAssetId(R) | |
138 | 138 | if ((O != w)) | |
139 | 139 | then throw((("Your are not allowded to Issue LP Token. Only " + O) + " can issue the LP Token.")) | |
140 | 140 | else if ((z != g)) | |
141 | 141 | then throw("Pair is not available in Voting List.") | |
142 | 142 | else if ((C != x)) | |
143 | 143 | then throw("LP Token must be a Whitelisted Token.") | |
144 | 144 | else [R, StringEntry(("LP_" + g), toBase58String(S))] | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | ||
149 | 149 | @Callable(f) | |
150 | 150 | func AddLiquidity (g) = { | |
151 | 151 | let w = toBase58String(f.caller.bytes) | |
152 | 152 | let i = value(f.payments[0]) | |
153 | 153 | let j = value(f.payments[1]) | |
154 | 154 | let z = getString(this, ("Pair_UV_" + g)) | |
155 | 155 | let C = getStringValue(this, ("Voting_Status_" + g)) | |
156 | 156 | let T = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + g)), "LP Token is Missing or May be not Generated.")) | |
157 | 157 | let U = "F" | |
158 | 158 | let V = getIntegerValue(this, ((("Balance_of_" + g) + "_") + toBase58String(a))) | |
159 | 159 | let W = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + g)) | |
160 | 160 | let X = valueOrErrorMessage(assetInfo(fromBase58String(g)), (("Asset " + g) + " doesn't exist")) | |
161 | 161 | let Q = X.decimals | |
162 | 162 | let Y = pow((V / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) | |
163 | 163 | let Z = pow((W / pow(10, Q, Q, 0, 0, UP)), 0, 1, 0, 0, UP) | |
164 | 164 | let aa = pow((((Y * 1000000) / Z) * pow(10, 0, Q, 0, 0, UP)), 0, 1, 0, 0, UP) | |
165 | 165 | let ab = (6 + Q) | |
166 | 166 | let ac = (ab / 2) | |
167 | 167 | let ad = fraction(aa, i.amount, pow(10, 0, ab, 0, 0, UP)) | |
168 | 168 | let ae = pow((fraction(i.amount, 1, pow(10, 0, Q, 0, 0, UP)) * fraction(j.amount, 1, pow(10, 0, 6, 0, 0, UP))), 0, 5, 1, ac, DOWN) | |
169 | 169 | let af = { | |
170 | 170 | let E = getInteger(this, ((("Balance_of_" + g) + "_") + toBase58String(a))) | |
171 | 171 | if ($isInstanceOf(E, "Int")) | |
172 | 172 | then { | |
173 | 173 | let F = E | |
174 | 174 | F | |
175 | 175 | } | |
176 | 176 | else 0 | |
177 | 177 | } | |
178 | 178 | let ag = (af + j.amount) | |
179 | 179 | let ah = { | |
180 | 180 | let E = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + g)) | |
181 | 181 | if ($isInstanceOf(E, "Int")) | |
182 | 182 | then { | |
183 | 183 | let F = E | |
184 | 184 | F | |
185 | 185 | } | |
186 | 186 | else 0 | |
187 | 187 | } | |
188 | 188 | let ai = (ah + i.amount) | |
189 | 189 | let aj = { | |
190 | 190 | let E = getIntegerValue(this, ("Total_LP_" + g)) | |
191 | 191 | if ($isInstanceOf(E, "Int")) | |
192 | 192 | then { | |
193 | 193 | let F = E | |
194 | 194 | F | |
195 | 195 | } | |
196 | 196 | else 0 | |
197 | 197 | } | |
198 | 198 | let ak = (aj + ae) | |
199 | 199 | if ((z != g)) | |
200 | 200 | then throw("Pair is not available in Whitelisted Asset.") | |
201 | 201 | else if ((C == U)) | |
202 | 202 | then throw((g + " is not A Whitelisted Token Yet.")) | |
203 | 203 | else if ((g == toBase58String(a))) | |
204 | 204 | then throw("Input can Never be a USDT AssetID. Enter Whitelisted AssetID in input as well as in payment[1] & Attach USDT as an attachment Token in payment[2].") | |
205 | 205 | else if ((size(f.payments) != 2)) | |
206 | 206 | then throw("Two attached assets expected as payment in 50%-50%. Kindly Attach payment1 = Token you want to add for Liquidity & payment2 = Equivalent Amount of USDT Token.") | |
207 | 207 | else if ((i.assetId == a)) | |
208 | 208 | then throw("You Attached USDT asset in payment[1], please attach only whitelisted Token in payment[1] along with USDT in payment[2].") | |
209 | 209 | else if ((i.assetId != fromBase58String(g))) | |
210 | 210 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
211 | 211 | else if ((i.assetId != fromBase58String(g))) | |
212 | 212 | then throw("Incorrect asset attached for Liquidity in payment[1], please attach String Asset or Whitelisted Token only.") | |
213 | 213 | else if ((j.assetId != a)) | |
214 | 214 | then throw("Wrong Asset Attached in payments[2], Please attach payment[1] = Liquidity Token & payment[2] = USDT Token.") | |
215 | 215 | else if ((10000000 > j.amount)) | |
216 | 216 | then throw("please attach atleast 10 USDT in payment[2] & Equivalent worth of Token in payment[1]") | |
217 | 217 | else if ((j.amount != ad)) | |
218 | 218 | then throw(("Attached payment[2] quantity is not matching as per attached payment[1].payment[2] must be " + toString(ad))) | |
219 | 219 | else [IntegerEntry(((("Balance_of_" + g) + "_") + toBase58String(a)), ag), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + g), ai), IntegerEntry(("Total_LP_" + g), ak), Reissue(T, ae, true), ScriptTransfer(f.caller, ae, T)] | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | ||
224 | 224 | @Callable(f) | |
225 | 225 | func RemoveLiquidity (g) = { | |
226 | 226 | let w = toBase58String(f.caller.bytes) | |
227 | 227 | let v = if ((size(f.payments) == 1)) | |
228 | 228 | then f.payments[0] | |
229 | 229 | else throw("No payment attached, Please Attach LP Token as payment[1].") | |
230 | 230 | let z = getString(this, ("Pair_UV_" + g)) | |
231 | 231 | let C = getStringValue(this, ("Voting_Status_" + g)) | |
232 | 232 | let al = fromBase58String(valueOrErrorMessage(getString(this, ("LP_" + g)), "LP Token is Missing or not Generated.")) | |
233 | 233 | let U = "F" | |
234 | 234 | let V = getIntegerValue(this, ((("Balance_of_" + g) + "_") + toBase58String(a))) | |
235 | 235 | let W = getIntegerValue(this, ((("Balance_of_" + toBase58String(a)) + "_") + g)) | |
236 | 236 | let X = valueOrErrorMessage(assetInfo(fromBase58String(g)), (("Asset " + g) + " doesn't exist")) | |
237 | 237 | let Q = X.decimals | |
238 | 238 | let Y = pow((V / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) | |
239 | 239 | let Z = pow((W / pow(10, Q, Q, 0, 0, UP)), 0, 1, 0, 0, UP) | |
240 | 240 | let aa = pow((((Y * 1000000) / Z) * pow(10, 0, Q, 0, 0, UP)), 0, 1, 0, 0, UP) | |
241 | 241 | let ab = (6 + Q) | |
242 | 242 | let ac = (ab / 2) | |
243 | 243 | let am = fraction(pow(v.amount, ac, 2, 0, 6, HALFUP), 1, fraction(aa, 1, pow(10, 0, 6, 0, 0, UP))) | |
244 | 244 | let an = pow(am, 0, 5, 1, ac, DOWN) | |
245 | 245 | let ao = fraction(aa, an, pow(10, 0, ab, 0, 0, UP)) | |
246 | 246 | let af = { | |
247 | 247 | let E = getInteger(this, ((("Balance_of_" + g) + "_") + toBase58String(a))) | |
248 | 248 | if ($isInstanceOf(E, "Int")) | |
249 | 249 | then { | |
250 | 250 | let F = E | |
251 | 251 | F | |
252 | 252 | } | |
253 | 253 | else 0 | |
254 | 254 | } | |
255 | 255 | let ag = (af - ao) | |
256 | 256 | let ah = { | |
257 | 257 | let E = getInteger(this, ((("Balance_of_" + toBase58String(a)) + "_") + g)) | |
258 | 258 | if ($isInstanceOf(E, "Int")) | |
259 | 259 | then { | |
260 | 260 | let F = E | |
261 | 261 | F | |
262 | 262 | } | |
263 | 263 | else 0 | |
264 | 264 | } | |
265 | 265 | let ai = (ah - an) | |
266 | 266 | let aj = { | |
267 | 267 | let E = getIntegerValue(this, ("Total_LP_" + g)) | |
268 | 268 | if ($isInstanceOf(E, "Int")) | |
269 | 269 | then { | |
270 | 270 | let F = E | |
271 | 271 | F | |
272 | 272 | } | |
273 | 273 | else 0 | |
274 | 274 | } | |
275 | 275 | let ak = (aj - v.amount) | |
276 | 276 | if ((z != g)) | |
277 | 277 | then throw("Pair is not available in Whitelist.") | |
278 | 278 | else if ((C == U)) | |
279 | 279 | then throw((g + " is not A Whitelist Token Yet.")) | |
280 | 280 | else if ((fromBase58String(g) == a)) | |
281 | 281 | then throw("Don't choose USDT AssetID as Input, Only Whitelisted Asset as Input String & Attach LP Tokens as payment[1]") | |
282 | 282 | else if ((v.assetId != al)) | |
283 | 283 | then throw("Wrong Asset is attached in payment[1] or LP Token Not Found or Missing.") | |
284 | 284 | else [Burn(al, v.amount), IntegerEntry(("Total_LP_" + g), ak), IntegerEntry(((("Balance_of_" + g) + "_") + toBase58String(a)), ag), IntegerEntry(((("Balance_of_" + toBase58String(a)) + "_") + g), ai), ScriptTransfer(f.caller, ao, a), ScriptTransfer(f.caller, an, fromBase58String(g))] | |
285 | 285 | } | |
286 | 286 | ||
287 | 287 | ||
288 | 288 | @Verifier(ap) | |
289 | 289 | func aq () = { | |
290 | 290 | let E = ap | |
291 | 291 | sigVerify(ap.bodyBytes, ap.proofs[0], ap.senderPublicKey) | |
292 | 292 | } | |
293 | 293 |
github/deemru/w8io/169f3d6 112.28 ms ◑