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