tx · C4nMM3c2veYW8yUHgPPRUPx2Db29wC1FhktcdZcqX7Vk

3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA:  -0.02000000 Waves

2023.08.10 08:57 [2704095] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves

{ "type": 13, "id": "C4nMM3c2veYW8yUHgPPRUPx2Db29wC1FhktcdZcqX7Vk", "fee": 2000000, "feeAssetId": null, "timestamp": 1691647105916, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "1Fa4PxRM7T3maeM9Fg7mhVawquMVUWnHtGnN2v2ZjmcDYNXBoKPCvaESKYkXCivFdrcnf2iWGmp8cGV4HdFCeKd" ], "script": "base64:AAIFAAAAAAAAABYIAhIICgYBAQEBAQQSAwoBARIDCgEBAAAADwAAAAAjcHJlc2FsZV90aW1lc3RhbXBfY29udHJvbGxlcl9wdWJrZXkBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABJjb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AAAAAAd0c2Vycm9yAgAAADxFbmQgVGltZXN0YW1wIGNhbid0IGJlIGxlc3MgdGhhbiBvciBlcXVhbCB0byBTdGFydCBUaW1lc3RhbXAAAAAACnByaWNlZXJyb3ICAAAAJlRva2VuIFByaWNlIGNhbid0IGJlIGxlc3MgdGhhbiBvciBaZXJvAAAAAAhjYXBlcnJvcgIAAAAzU29mdCBDYXAgQW1vdW50IGNhbid0IGJlIG1vcmUgdGhhbiBIYXJkIENhcCBBbW91bnQuAAAAAAhvcmRlcm1zZwIAAAAqPGgxPk9yZGVyIFN1Ym1pdHRlZCBTdWNj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AAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkmZHeY", "height": 2704095, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9d87yAku5vtZwekg92HwAjR2aDLVNsaDwygtjUyM2sVe Next: EbWL4boSVdJpPkW7QLrTMTvsXoQ2f6S1ezovPypbgdmR Diff:
OldNewDifferences
150150 let X = (60 * W)
151151 let Y = (F - E)
152152 let Z = (U + fraction(Y, 1, X))
153- if ((F > lastBlock.timestamp))
154- then throw((((n + " Please Wait ~") + toString(Z)) + " Blocks/Minutes."))
153+ if ((Z > lastBlock.height))
154+ then throw((((n + " Please Wait ~") + toString(Z)) + " Until Height."))
155155 else if ((I == false))
156156 then throw(o)
157157 else if (if ((S > 0))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
55
66 let b = addressFromPublicKey(a)
77
88 let c = "End Timestamp can't be less than or equal to Start Timestamp"
99
1010 let d = "Token Price can't be less than or Zero"
1111
1212 let e = "Soft Cap Amount can't be more than Hard Cap Amount."
1313
1414 let f = "<h1>Order Submitted Successfully!</h1><br>"
1515
1616 let g = "<h1>PreSale Parameters Submitted Successfully!</h1><br>"
1717
1818 let h = "<h1>Refund Received Successfully!.</h1><br>"
1919
2020 let i = "DApp Need WAVES Token as Attach payment[1]."
2121
2222 let j = "Attached payment[1] is less than token price "
2323
2424 let k = "Dapp will start Pre-Sale at Timestamp "
2525
2626 let l = "Minimum 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address to place order."
2727
2828 let m = "Pre-Sale is over for this Round."
2929
3030 let n = "Pre-Sale is not over for this Round."
3131
3232 let o = "Softcap or Hard Cap already Reached or probably PreSale was Set with False to Refund, so no Refund allowed for this Round."
3333
3434 @Callable(p)
3535 func SetPreSaleParameters (q,r,s,t,u,v) = {
3636 let w = q
3737 let x = r
3838 let y = {
3939 let z = getInteger(this, "Current_Funding_Round")
4040 if ($isInstanceOf(z, "Int"))
4141 then {
4242 let A = z
4343 A
4444 }
4545 else 0
4646 }
4747 let B = (y + 1)
4848 if ((p.caller != b))
4949 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
5050 else if ((size(toString(q)) != 13))
5151 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
5252 else if ((size(toString(r)) != 13))
5353 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
5454 else if ((1 > s))
5555 then throw(d)
5656 else if ((w >= x))
5757 then throw(c)
5858 else if ((t > u))
5959 then throw(e)
6060 else [IntegerEntry("Current_Funding_Round", B), IntegerEntry((toString(B) + "_Presale_Start_TimeStamp"), w), IntegerEntry((toString(B) + "_Presale_End_TimeStamp"), x), IntegerEntry((toString(B) + "_Token_Price"), s), IntegerEntry((toString(B) + "_Soft_Cap_Amount"), t), IntegerEntry((toString(B) + "_Hard_Cap_Amount"), u), IntegerEntry((toString(B) + "_Initiated_Height"), height), BooleanEntry((toString(B) + "_Allow_Refund"), v), StringEntry("message", g)]
6161 }
6262
6363
6464
6565 @Callable(p)
6666 func PlacePresaleOrder (C) = {
6767 let D = valueOrErrorMessage(getInteger(this, (toString(C) + "_Token_Price")), "Token Price not Found for this Presale Round.")
6868 let E = valueOrErrorMessage(getInteger(this, (toString(C) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.")
6969 let F = valueOrErrorMessage(getInteger(this, (toString(C) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.")
7070 let G = valueOrErrorMessage(getInteger(this, (toString(C) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.")
7171 let H = valueOrErrorMessage(getInteger(this, (toString(C) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.")
7272 let I = valueOrErrorMessage(getBoolean(this, (toString(C) + "_Allow_Refund")), "Refund is not set for this Presale Round.")
7373 let J = unit
7474 let K = toBase58String(p.caller.bytes)
7575 let L = if ((size(p.payments) == 1))
7676 then p.payments[0]
7777 else throw(i)
7878 let M = {
7979 let z = getInteger(this, (toString(C) + "_Funds_Collection"))
8080 if ($isInstanceOf(z, "Int"))
8181 then {
8282 let A = z
8383 A
8484 }
8585 else 0
8686 }
8787 let N = (M + L.amount)
8888 let O = {
8989 let z = getInteger(this, (toString(C) + "_total_txns"))
9090 if ($isInstanceOf(z, "Int"))
9191 then {
9292 let A = z
9393 A
9494 }
9595 else 0
9696 }
9797 let P = (O + 1)
9898 let Q = {
9999 let z = getInteger(this, ((toString(C) + "_") + K))
100100 if ($isInstanceOf(z, "Int"))
101101 then {
102102 let A = z
103103 A
104104 }
105105 else 0
106106 }
107107 let R = (Q + L.amount)
108108 let S = (G - N)
109109 let T = (H - N)
110110 if (isDefined(L.assetId))
111111 then throw(i)
112112 else if ((D > L.amount))
113113 then throw((((j + "[") + toString(D)) + "/10^8.]"))
114114 else if ((E > lastBlock.timestamp))
115115 then throw((k + toString(E)))
116116 else if ((lastBlock.timestamp > F))
117117 then throw(m)
118118 else if (if ((S > 0))
119119 then (T > 0)
120120 else false)
121121 then [IntegerEntry((toString(C) + "_Funds_Collection"), N), IntegerEntry(((toString(C) + "_") + K), R), IntegerEntry((toString(C) + "_total_txns"), P), IntegerEntry((toString(C) + "_pending_softcap_status"), S), IntegerEntry((toString(C) + "_pending_hardcap_status"), T), StringEntry((toString(C) + "_softcap_status"), "No"), StringEntry((toString(C) + "_hardcap_status"), "No"), BooleanEntry((toString(C) + "_Allow_Refund"), I), StringEntry("message", f)]
122122 else if (if ((0 >= S))
123123 then (T > 0)
124124 else false)
125125 then [IntegerEntry((toString(C) + "_Funds_Collection"), N), IntegerEntry(((toString(C) + "_") + K), R), IntegerEntry((toString(C) + "_total_txns"), P), IntegerEntry((toString(C) + "_pending_softcap_status"), S), IntegerEntry((toString(C) + "_pending_hardcap_status"), T), StringEntry((toString(C) + "_softcap_status"), "Yes"), StringEntry((toString(C) + "_hardcap_status"), "No"), BooleanEntry((toString(C) + "_Allow_Refund"), false), StringEntry("message", f)]
126126 else if (if ((0 >= S))
127127 then (0 >= T)
128128 else false)
129129 then [IntegerEntry((toString(C) + "_Funds_Collection"), N), IntegerEntry(((toString(C) + "_") + K), R), IntegerEntry((toString(C) + "_total_txns"), P), IntegerEntry((toString(C) + "_pending_softcap_status"), S), IntegerEntry((toString(C) + "_pending_hardcap_status"), T), StringEntry((toString(C) + "_softcap_status"), "Yes"), StringEntry((toString(C) + "_hardcap_status"), "Yes"), BooleanEntry((toString(C) + "_Allow_Refund"), false), StringEntry("message", f)]
130130 else throw("Error.")
131131 }
132132
133133
134134
135135 @Callable(p)
136136 func Refund (C) = {
137137 let K = toBase58String(p.caller.bytes)
138138 let U = valueOrErrorMessage(getInteger(this, (toString(C) + "_Initiated_Height")), "Initiated Height not Found for this Presale Round.")
139139 let D = valueOrErrorMessage(getInteger(this, (toString(C) + "_Token_Price")), "Token Price not Found for this Presale Round.")
140140 let E = valueOrErrorMessage(getInteger(this, (toString(C) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.")
141141 let F = valueOrErrorMessage(getInteger(this, (toString(C) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.")
142142 let G = valueOrErrorMessage(getInteger(this, (toString(C) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.")
143143 let H = valueOrErrorMessage(getInteger(this, (toString(C) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.")
144144 let V = valueOrErrorMessage(getInteger(this, (toString(C) + "_Funds_Collection")), "Total Funds Collection not Found for this Presale Round.")
145145 let Q = valueOrErrorMessage(getInteger(this, ((toString(C) + "_") + K)), "No Deposit was made by this Address for this Presale Round.")
146146 let I = valueOrErrorMessage(getBoolean(this, (toString(C) + "_Allow_Refund")), "Allow_Refund has no Boolen Entry for this Presale Round.")
147147 let S = (G - V)
148148 let T = (H - V)
149149 let W = 1000
150150 let X = (60 * W)
151151 let Y = (F - E)
152152 let Z = (U + fraction(Y, 1, X))
153- if ((F > lastBlock.timestamp))
154- then throw((((n + " Please Wait ~") + toString(Z)) + " Blocks/Minutes."))
153+ if ((Z > lastBlock.height))
154+ then throw((((n + " Please Wait ~") + toString(Z)) + " Until Height."))
155155 else if ((I == false))
156156 then throw(o)
157157 else if (if ((S > 0))
158158 then (T > 0)
159159 else false)
160160 then [ScriptTransfer(addressFromStringValue(K), Q, unit), IntegerEntry(((toString(C) + "_") + K), 0), StringEntry("message", h)]
161161 else if (if ((0 >= S))
162162 then (T > 0)
163163 else false)
164164 then throw("SoftCap Already Reached for this Round. Please Click on Claim to Receive Your Tokens.")
165165 else if (if ((0 >= S))
166166 then (0 >= T)
167167 else false)
168168 then throw("SoftCap and Hard Already Reached for this Round. Please Click on Claim to Receive Your Tokens.")
169169 else throw("Wrong Etry Found.")
170170 }
171171
172172
173173 @Verifier(aa)
174174 func ab () = sigVerify(aa.bodyBytes, aa.proofs[0], aa.senderPublicKey)
175175

github/deemru/w8io/026f985 
33.73 ms