tx · 7db3EagPT5AMAaWX5Dy3d2ZZZuQr8JsggwNYQDaWGhGq 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA: -0.02500000 Waves 2023.08.14 18:01 [2710385] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves
{ "type": 13, "id": "7db3EagPT5AMAaWX5Dy3d2ZZZuQr8JsggwNYQDaWGhGq", "fee": 2500000, "feeAssetId": null, "timestamp": 1692025267680, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "5uKPcSXFxPHggsZShYp7vyKUgc1GKcZowpfzevnnBDr5WS5G9NwPVWHGR1aXz35CMFVDf4FLSYwNA3PnXfLSdpNN" ], "script": "base64:AAIFAAAAAAAAACEIAhIICgYBAQEBAQQSAwoBARIDCgEBEgMKAQESBAoCCAgAAAATAAAAABR0b2tlbl9pc3N1ZV9pbml0X21zZwIAAAAfQk1MIFRva2VuIENyZWF0ZWQgU3VjY2Vzc2Z1bGx5LgAAAAARdG9rZW5faXNzdWVfZXJyb3ICAAAAWlRoZSBCTUwgdG9rZW4gY291bGQgbm90IGJlIGZvdW5kLiBQbGVhc2UgdXNlIHRoZSBDcmVhdGVfQk1MIGZ1bmN0aW9uIHRvIGlzc3VlIGEgQk1MIHRva2VuLgAAAAALQk1MX1Rva2VuSUQJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkAAlkAAAABCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzAgAAAAtCTUxfVG9rZW5JRAUAAAARdG9rZW5faXNzdWVfZXJyb3IAAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACDjrdey1Io21qI8AxObYBZMNWPHMCK947HpXHsKae68IwAAAAASY29udHJvbGxlcl9hZGRy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AAACAgAAABNBc3NldF9Jc3N1ZV9Db3VudGVyBQAAABJyZWFkX3RvdGFsX2NvdW50ZXIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHbWVzc2FnZQUAAAAUdG9rZW5faXNzdWVfaW5pdF9tc2cJAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAdhc3NldElkAAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleYYaWCQ=", "height": 2710385, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9bRmPr2Jf4AUW4RWvokUZLd7wmrWx6t8LsGbVMwbHWY2 Next: 3uYyd338tNmD3kVzgbPzsgKXEJZMCAkget1tesmqfrgS Diff:
Old | New | Differences | |
---|---|---|---|
238 | 238 | else if (if ((aj == "Yes")) | |
239 | 239 | then true | |
240 | 240 | else (ak == "Yes")) | |
241 | - | then [IntegerEntry((toString(G) + "_Tokens_Claimed"), ao), IntegerEntry((toString(G) + "_Pending_Tokens_To_Claim"), ap), ScriptTransfer(addressFromStringValue(O), am, c)] | |
241 | + | then [IntegerEntry((toString(G) + "_Tokens_Claimed"), ao), IntegerEntry((toString(G) + "_Pending_Tokens_To_Claim"), ap), Reissue(c, am, true), ScriptTransfer(addressFromStringValue(O), am, c)] | |
242 | 242 | else throw("Wrong Entry Found.") | |
243 | 243 | } | |
244 | 244 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "BML Token Created Successfully." | |
5 | 5 | ||
6 | 6 | let b = "The BML token could not be found. Please use the Create_BML function to issue a BML token." | |
7 | 7 | ||
8 | 8 | let c = valueOrErrorMessage(fromBase58String(getStringValue(this, "BML_TokenID")), b) | |
9 | 9 | ||
10 | 10 | let d = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr' | |
11 | 11 | ||
12 | 12 | let e = addressFromPublicKey(d) | |
13 | 13 | ||
14 | 14 | let f = "Start Timestamp can't be less than last block Timestamp." | |
15 | 15 | ||
16 | 16 | let g = "End Timestamp can't be less than or equal to Start Timestamp" | |
17 | 17 | ||
18 | 18 | let h = "Token Price can't be less than or Zero" | |
19 | 19 | ||
20 | 20 | let i = "Soft Cap Amount can't be more than Hard Cap Amount." | |
21 | 21 | ||
22 | 22 | let j = "<h1>Presale Order Submitted Successfully!</h1><br>" | |
23 | 23 | ||
24 | 24 | let k = "<h1>PreSale Parameters Submitted Successfully!</h1><br>" | |
25 | 25 | ||
26 | 26 | let l = "DApp Need WAVES Token as Attach payment[1]." | |
27 | 27 | ||
28 | 28 | let m = "Attached payment[1] is less than token price " | |
29 | 29 | ||
30 | 30 | let n = "Dapp will start Pre-Sale at Timestamp " | |
31 | 31 | ||
32 | 32 | let o = "Minimum 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address to place order." | |
33 | 33 | ||
34 | 34 | let p = "Pre-Sale is over for this Round." | |
35 | 35 | ||
36 | 36 | let q = "Pre-Sale is not over for this Round." | |
37 | 37 | ||
38 | 38 | let r = "Softcap or Hard Cap already Reached or probably PreSale was Set with False to Refund, so no Refund allowed for this Round." | |
39 | 39 | ||
40 | 40 | let s = "<h1>Refund Received Successfully!.</h1><br>" | |
41 | 41 | ||
42 | 42 | @Callable(t) | |
43 | 43 | func SetPreSaleParameters (u,v,w,x,y,z) = { | |
44 | 44 | let A = u | |
45 | 45 | let B = v | |
46 | 46 | let C = { | |
47 | 47 | let D = getInteger(this, "Current_Funding_Round") | |
48 | 48 | if ($isInstanceOf(D, "Int")) | |
49 | 49 | then { | |
50 | 50 | let E = D | |
51 | 51 | E | |
52 | 52 | } | |
53 | 53 | else 0 | |
54 | 54 | } | |
55 | 55 | let F = (C + 1) | |
56 | 56 | if ((t.caller != e)) | |
57 | 57 | then throw((("This Address is not Authorized. Only " + toString(e)) + " is Authorized Address to Sign it.")) | |
58 | 58 | else if ((lastBlock.timestamp > u)) | |
59 | 59 | then throw(f) | |
60 | 60 | else if ((size(toString(u)) != 13)) | |
61 | 61 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
62 | 62 | else if ((size(toString(v)) != 13)) | |
63 | 63 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
64 | 64 | else if ((1 > w)) | |
65 | 65 | then throw(h) | |
66 | 66 | else if ((A >= B)) | |
67 | 67 | then throw(g) | |
68 | 68 | else if ((x > y)) | |
69 | 69 | then throw(i) | |
70 | 70 | else [IntegerEntry("Current_Funding_Round", F), IntegerEntry((toString(F) + "_Presale_Start_TimeStamp"), A), IntegerEntry((toString(F) + "_Presale_End_TimeStamp"), B), IntegerEntry((toString(F) + "_Token_Price"), w), IntegerEntry((toString(F) + "_Soft_Cap_Amount"), x), IntegerEntry((toString(F) + "_Hard_Cap_Amount"), y), IntegerEntry((toString(F) + "_Initiated_Height"), height), BooleanEntry((toString(F) + "_Allow_Refund"), z), StringEntry("message", k)] | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | ||
75 | 75 | @Callable(t) | |
76 | 76 | func PlacePresaleOrder (G) = { | |
77 | 77 | let H = valueOrErrorMessage(getInteger(this, (toString(G) + "_Token_Price")), "Token Price not Found for this Presale Round.") | |
78 | 78 | let I = valueOrErrorMessage(getInteger(this, (toString(G) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.") | |
79 | 79 | let J = valueOrErrorMessage(getInteger(this, (toString(G) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.") | |
80 | 80 | let K = valueOrErrorMessage(getInteger(this, (toString(G) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.") | |
81 | 81 | let L = valueOrErrorMessage(getInteger(this, (toString(G) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.") | |
82 | 82 | let M = valueOrErrorMessage(getBoolean(this, (toString(G) + "_Allow_Refund")), "Refund is not set for this Presale Round.") | |
83 | 83 | let N = unit | |
84 | 84 | let O = toBase58String(t.caller.bytes) | |
85 | 85 | let P = if ((size(t.payments) == 1)) | |
86 | 86 | then t.payments[0] | |
87 | 87 | else throw(l) | |
88 | 88 | let Q = { | |
89 | 89 | let D = getInteger(this, (toString(G) + "_Funds_Collection")) | |
90 | 90 | if ($isInstanceOf(D, "Int")) | |
91 | 91 | then { | |
92 | 92 | let E = D | |
93 | 93 | E | |
94 | 94 | } | |
95 | 95 | else 0 | |
96 | 96 | } | |
97 | 97 | let R = (Q + P.amount) | |
98 | 98 | let S = { | |
99 | 99 | let D = getInteger(this, (toString(G) + "_total_auto_withdraw_txns")) | |
100 | 100 | if ($isInstanceOf(D, "Int")) | |
101 | 101 | then { | |
102 | 102 | let E = D | |
103 | 103 | E | |
104 | 104 | } | |
105 | 105 | else 0 | |
106 | 106 | } | |
107 | 107 | let T = (S + 1) | |
108 | 108 | let U = { | |
109 | 109 | let D = getInteger(this, (toString(G) + "_total_txns")) | |
110 | 110 | if ($isInstanceOf(D, "Int")) | |
111 | 111 | then { | |
112 | 112 | let E = D | |
113 | 113 | E | |
114 | 114 | } | |
115 | 115 | else 0 | |
116 | 116 | } | |
117 | 117 | let V = (U + 1) | |
118 | 118 | let W = { | |
119 | 119 | let D = getInteger(this, ((toString(G) + "_") + O)) | |
120 | 120 | if ($isInstanceOf(D, "Int")) | |
121 | 121 | then { | |
122 | 122 | let E = D | |
123 | 123 | E | |
124 | 124 | } | |
125 | 125 | else 0 | |
126 | 126 | } | |
127 | 127 | let X = (W + P.amount) | |
128 | 128 | let Y = (K - R) | |
129 | 129 | let Z = (L - R) | |
130 | 130 | if (isDefined(P.assetId)) | |
131 | 131 | then throw(l) | |
132 | 132 | else if ((H > P.amount)) | |
133 | 133 | then throw((((m + "[") + toString(H)) + "/10^8.]")) | |
134 | 134 | else if ((I > lastBlock.timestamp)) | |
135 | 135 | then throw((n + toString(I))) | |
136 | 136 | else if ((lastBlock.timestamp > J)) | |
137 | 137 | then throw(p) | |
138 | 138 | else if (if ((Y > 0)) | |
139 | 139 | then (Z > 0) | |
140 | 140 | else false) | |
141 | 141 | then [IntegerEntry((toString(G) + "_Funds_Collection"), R), IntegerEntry(((toString(G) + "_") + O), X), IntegerEntry((toString(G) + "_total_auto_withdraw_txns"), S), IntegerEntry((toString(G) + "_total_txns"), V), IntegerEntry((toString(G) + "_pending_softcap_status"), Y), IntegerEntry((toString(G) + "_pending_hardcap_status"), Z), StringEntry((toString(G) + "_softcap_status"), "No"), StringEntry((toString(G) + "_hardcap_status"), "No"), BooleanEntry((toString(G) + "_Allow_Refund"), M), StringEntry("message", j)] | |
142 | 142 | else if (if (if ((0 >= Y)) | |
143 | 143 | then (Z > 0) | |
144 | 144 | else false) | |
145 | 145 | then (T == 1) | |
146 | 146 | else false) | |
147 | 147 | then [IntegerEntry((toString(G) + "_Funds_Collection"), R), IntegerEntry(((toString(G) + "_") + O), X), IntegerEntry((toString(G) + "_total_auto_withdraw_txns"), T), IntegerEntry((toString(G) + "_total_txns"), V), IntegerEntry((toString(G) + "_pending_softcap_status"), Y), IntegerEntry((toString(G) + "_pending_hardcap_status"), Z), StringEntry((toString(G) + "_softcap_status"), "Yes"), StringEntry((toString(G) + "_hardcap_status"), "No"), BooleanEntry((toString(G) + "_Allow_Refund"), false), ScriptTransfer(e, R, unit), StringEntry("message", j)] | |
148 | 148 | else if (if (if ((0 >= Y)) | |
149 | 149 | then (Z > 0) | |
150 | 150 | else false) | |
151 | 151 | then (T > 1) | |
152 | 152 | else false) | |
153 | 153 | then [IntegerEntry((toString(G) + "_Funds_Collection"), R), IntegerEntry(((toString(G) + "_") + O), X), IntegerEntry((toString(G) + "_total_auto_withdraw_txns"), T), IntegerEntry((toString(G) + "_total_txns"), V), IntegerEntry((toString(G) + "_pending_softcap_status"), Y), IntegerEntry((toString(G) + "_pending_hardcap_status"), Z), StringEntry((toString(G) + "_softcap_status"), "Yes"), StringEntry((toString(G) + "_hardcap_status"), "No"), BooleanEntry((toString(G) + "_Allow_Refund"), false), ScriptTransfer(e, P.amount, unit), StringEntry("message", j)] | |
154 | 154 | else if (if (if ((0 >= Y)) | |
155 | 155 | then (0 >= Z) | |
156 | 156 | else false) | |
157 | 157 | then (T == 1) | |
158 | 158 | else false) | |
159 | 159 | then [IntegerEntry((toString(G) + "_Funds_Collection"), R), IntegerEntry(((toString(G) + "_") + O), X), IntegerEntry((toString(G) + "_total_auto_withdraw_txns"), T), IntegerEntry((toString(G) + "_total_txns"), V), IntegerEntry((toString(G) + "_pending_softcap_status"), Y), IntegerEntry((toString(G) + "_pending_hardcap_status"), Z), StringEntry((toString(G) + "_softcap_status"), "Yes"), StringEntry((toString(G) + "_hardcap_status"), "Yes"), BooleanEntry((toString(G) + "_Allow_Refund"), false), ScriptTransfer(e, R, unit), StringEntry("message", j)] | |
160 | 160 | else if (if (if ((0 >= Y)) | |
161 | 161 | then (0 >= Z) | |
162 | 162 | else false) | |
163 | 163 | then (T > 1) | |
164 | 164 | else false) | |
165 | 165 | then [IntegerEntry((toString(G) + "_Funds_Collection"), R), IntegerEntry(((toString(G) + "_") + O), X), IntegerEntry((toString(G) + "_total_auto_withdraw_txns"), T), IntegerEntry((toString(G) + "_total_txns"), V), IntegerEntry((toString(G) + "_pending_softcap_status"), Y), IntegerEntry((toString(G) + "_pending_hardcap_status"), Z), StringEntry((toString(G) + "_softcap_status"), "Yes"), StringEntry((toString(G) + "_hardcap_status"), "Yes"), BooleanEntry((toString(G) + "_Allow_Refund"), false), ScriptTransfer(e, P.amount, unit), StringEntry("message", j)] | |
166 | 166 | else throw("Error.") | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | ||
171 | 171 | @Callable(t) | |
172 | 172 | func Refund (G) = { | |
173 | 173 | let N = unit | |
174 | 174 | let O = toBase58String(t.caller.bytes) | |
175 | 175 | let aa = valueOrErrorMessage(getInteger(this, (toString(G) + "_Initiated_Height")), "Initiated Height not Found for this Presale Round.") | |
176 | 176 | let H = valueOrErrorMessage(getInteger(this, (toString(G) + "_Token_Price")), "Token Price not Found for this Presale Round.") | |
177 | 177 | let I = valueOrErrorMessage(getInteger(this, (toString(G) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.") | |
178 | 178 | let J = valueOrErrorMessage(getInteger(this, (toString(G) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.") | |
179 | 179 | let K = valueOrErrorMessage(getInteger(this, (toString(G) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.") | |
180 | 180 | let L = valueOrErrorMessage(getInteger(this, (toString(G) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.") | |
181 | 181 | let ab = valueOrErrorMessage(getInteger(this, (toString(G) + "_Funds_Collection")), "Total Funds Collection not Found for this Presale Round.") | |
182 | 182 | let W = valueOrErrorMessage(getInteger(this, ((toString(G) + "_") + O)), "No Deposit was made by this Address for this Presale Round.") | |
183 | 183 | let M = valueOrErrorMessage(getBoolean(this, (toString(G) + "_Allow_Refund")), "Allow_Refund has no Boolen Entry for this Presale Round.") | |
184 | 184 | let Y = (K - ab) | |
185 | 185 | let Z = (L - ab) | |
186 | 186 | let ac = 1000 | |
187 | 187 | let ad = (60 * ac) | |
188 | 188 | let ae = (J - I) | |
189 | 189 | let af = 10 | |
190 | 190 | let ag = ((aa + fraction(ae, 1, ad)) + af) | |
191 | 191 | let ah = (ab - W) | |
192 | 192 | if ((ag > lastBlock.height)) | |
193 | 193 | then throw((((q + " Please Wait Until ~") + toString(ag)) + " Height is reached.")) | |
194 | 194 | else if ((M == false)) | |
195 | 195 | then throw(r) | |
196 | 196 | else if ((W == 0)) | |
197 | 197 | then throw("Refund has been Already Claimed by this Address.") | |
198 | 198 | else if (if ((Y > 0)) | |
199 | 199 | then (Z > 0) | |
200 | 200 | else false) | |
201 | 201 | then [ScriptTransfer(addressFromStringValue(O), W, N), IntegerEntry(((toString(G) + "_") + "Pending_Refund"), ah), IntegerEntry(((toString(G) + "_") + O), 0), StringEntry("message", s)] | |
202 | 202 | else if (if ((0 >= Y)) | |
203 | 203 | then (Z > 0) | |
204 | 204 | else false) | |
205 | 205 | then throw("SoftCap Already Reached for this Round. Please Click on 'Claim Tokens' Function to Receive Your Tokens.") | |
206 | 206 | else if (if ((0 >= Y)) | |
207 | 207 | then (0 >= Z) | |
208 | 208 | else false) | |
209 | 209 | then throw("SoftCap and Hard Already Reached for this Round. Please Click on Claim to Receive Your Tokens.") | |
210 | 210 | else throw("Wrong Entry Found.") | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | ||
215 | 215 | @Callable(t) | |
216 | 216 | func Claim_Tokens (G) = { | |
217 | 217 | let O = toBase58String(t.caller.bytes) | |
218 | 218 | let ai = 100000000 | |
219 | 219 | let aj = valueOrErrorMessage(getString(this, (toString(G) + "_softcap_status")), "SoftCap Status not Found for this Presale Round.") | |
220 | 220 | let ak = valueOrErrorMessage(getString(this, (toString(G) + "_hardcap_status")), "HardCap Status not Found for this Presale Round.") | |
221 | 221 | let H = valueOrErrorMessage(getInteger(this, (toString(G) + "_Token_Price")), "Token Price not Found for this Presale Round.") | |
222 | 222 | let W = valueOrErrorMessage(getInteger(this, ((toString(G) + "_") + O)), "No Deposit was made by this Address for this Presale Round.") | |
223 | 223 | let al = fraction(W, ai, H) | |
224 | 224 | let am = fraction(W, ai, H) | |
225 | 225 | let an = { | |
226 | 226 | let D = getInteger(this, (toString(G) + "_Tokens_Claimed")) | |
227 | 227 | if ($isInstanceOf(D, "Int")) | |
228 | 228 | then { | |
229 | 229 | let E = D | |
230 | 230 | E | |
231 | 231 | } | |
232 | 232 | else 0 | |
233 | 233 | } | |
234 | 234 | let ao = (an + am) | |
235 | 235 | let ap = (al - am) | |
236 | 236 | if ((aj == "No")) | |
237 | 237 | then throw("No Tokens Claim,as SoftCap Amount didn't reach numbers for this Round.") | |
238 | 238 | else if (if ((aj == "Yes")) | |
239 | 239 | then true | |
240 | 240 | else (ak == "Yes")) | |
241 | - | then [IntegerEntry((toString(G) + "_Tokens_Claimed"), ao), IntegerEntry((toString(G) + "_Pending_Tokens_To_Claim"), ap), ScriptTransfer(addressFromStringValue(O), am, c)] | |
241 | + | then [IntegerEntry((toString(G) + "_Tokens_Claimed"), ao), IntegerEntry((toString(G) + "_Pending_Tokens_To_Claim"), ap), Reissue(c, am, true), ScriptTransfer(addressFromStringValue(O), am, c)] | |
242 | 242 | else throw("Wrong Entry Found.") | |
243 | 243 | } | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | ||
247 | 247 | @Callable(t) | |
248 | 248 | func Mint_BML (aq,ar) = { | |
249 | 249 | let as = Issue(aq, ar, 1, 8, true) | |
250 | 250 | let at = calculateAssetId(as) | |
251 | 251 | let au = { | |
252 | 252 | let D = getInteger(this, "Asset_Issue_Counter") | |
253 | 253 | if ($isInstanceOf(D, "Int")) | |
254 | 254 | then { | |
255 | 255 | let E = D | |
256 | 256 | E | |
257 | 257 | } | |
258 | 258 | else 0 | |
259 | 259 | } | |
260 | 260 | let av = (au + 1) | |
261 | 261 | if ((t.caller != e)) | |
262 | 262 | then throw((("This Address is not Authorized. Only " + toString(e)) + " is Authorized Address to Sign it.")) | |
263 | 263 | else if ((av > 1)) | |
264 | 264 | then throw("BML Token Already Issued.") | |
265 | 265 | else [as, StringEntry("BML_TokenID", toBase58String(at)), IntegerEntry("Asset_Issue_Counter", av), StringEntry("message", a), Burn(at, 1)] | |
266 | 266 | } | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | @Verifier(aw) | |
270 | 270 | func ax () = sigVerify(aw.bodyBytes, aw.proofs[0], aw.senderPublicKey) | |
271 | 271 |
github/deemru/w8io/026f985 84.38 ms ◑