tx · EByVVuysyKBGm1MT36c1j5ZTGvMNz1snDRdS6sJpHHUR

3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA:  -0.01500000 Waves

2023.08.02 21:33 [2693317] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves

{ "type": 13, "id": "EByVVuysyKBGm1MT36c1j5ZTGvMNz1snDRdS6sJpHHUR", "fee": 1500000, "feeAssetId": null, "timestamp": 1691001283559, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "2wDve2P8kjD7VsPXX917X51L5ZChjBJ4Qf4vNbHYwMLgrEBQs5SS6icshJuwzhiQ3WS4Use7WeRaqVwaoek5haHj" ], "script": "base64:AAIEAAAAAAAAABAIAhIHCgUBAQEBARIDCgEBAAAADAAAAAAjcHJlc2FsZV90aW1lc3RhbXBfY29udHJvbGxlcl9wdWJrZXkBAAAAIOOt17LUijbWojwDE5tgFkw1Y8cwIr3jselcewpp7rwjAAAAABJjb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AAAAAAd0c2Vycm9yAgAAADxFbmQgVGltZXN0YW1wIGNhbid0IGJlIGxlc3MgdGhhbiBvciBlcXVhbCB0byBTdGFydCBUaW1lc3RhbXAAAAAACnByaWNlZXJyb3ICAAAAJlRva2VuIFByaWNlIGNhbid0IGJlIGxlc3MgdGhhbiBvciBaZXJvAAAAAAhjYXBlcnJvcgIAAAAzU29mdCBDYXAgQW1vdW50IGNhbid0IGJlIG1vcmUgdGhhbiBIYXJkIENhcCBBbW91bnQuAAAAAAhvcmRlcm1zZwIAAAAqPGgxPk9yZGVyIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkh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zb2Z0Y2FwX3N0YXR1cwUAAAAWcGVuZGluZ19zb2Z0Y2FwX3N0YXR1cwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABpAAAAAEFAAAAE0VudGVyX1ByZXNhbGVfUm91bmQCAAAAF19wZW5kaW5nX2hhcmRjYXBfc3RhdHVzBQAAABZwZW5kaW5nX2hhcmRjYXBfc3RhdHVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAAaQAAAABBQAAABNFbnRlcl9QcmVzYWxlX1JvdW5kAgAAAA9fc29mdGNhcF9zdGF0dXMCAAAAA1llcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAATRW50ZXJfUHJlc2FsZV9Sb3VuZAIAAAAPX2hhcmRjYXBfc3RhdHVzAgAAAANZZXMJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHbWVzc2FnZQUAAAAIb3JkZXJtc2cFAAAAA25pbAkAAAIAAAABAgAAAAZFcnJvci4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleX8YD94=", "height": 2693317, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5X9GfwLqG3S7YAiJoFZXQi95Zqzui4uWFqN8j1Gwe8UA Next: 2ZJMrBW4bzkuYGB8nuugMNKymREuSuuxAE13Tx9Jt77B Diff:
OldNewDifferences
9898 else 0
9999 }
100100 let M = (L + G.amount)
101- let N = (I - C)
102- let O = (I - D)
101+ let N = (C - I)
102+ let O = (D - I)
103103 if (isDefined(G.assetId))
104104 then throw(h)
105105 else if ((z > G.amount))
109109 else if (if ((N > 0))
110110 then (O > 0)
111111 else false)
112- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "pending_softcap_status"), N), IntegerEntry((toString(y) + "pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "No"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
112+ then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "No"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
113113 else if (if ((0 > N))
114114 then (O > 0)
115115 else false)
116- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "pending_softcap_status"), N), IntegerEntry((toString(y) + "pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
116+ then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
117117 else if (if ((0 >= N))
118118 then (0 >= O)
119119 else false)
120- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "pending_softcap_status"), N), IntegerEntry((toString(y) + "pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
120+ then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
121121 else throw("Error.")
122122 }
123123
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
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 = "DApp Need WAVES Token as Attach payment[1]."
1919
2020 let i = "Attached payment[1] is less than token price "
2121
2222 let j = "Dapp will start Pre-Sale at Timestamp "
2323
2424 let k = "Minimum 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address to place order."
2525
2626 let l = "Pre-Sale is over for this Round."
2727
2828 @Callable(m)
2929 func SetPreSaleParameters (n,o,p,q,r) = {
3030 let s = n
3131 let t = o
3232 let u = {
3333 let v = getInteger(this, "Current_Funding_Round")
3434 if ($isInstanceOf(v, "Int"))
3535 then {
3636 let w = v
3737 w
3838 }
3939 else 0
4040 }
4141 let x = (u + 1)
4242 if ((m.caller != b))
4343 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
4444 else if ((size(toString(n)) != 13))
4545 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4646 else if ((size(toString(o)) != 13))
4747 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4848 else if ((1 > p))
4949 then throw(d)
5050 else if ((s >= t))
5151 then throw(c)
5252 else if ((q > r))
5353 then throw(e)
5454 else [IntegerEntry("Current_Funding_Round", x), IntegerEntry((toString(x) + "_Presale_Start_TimeStamp"), s), IntegerEntry((toString(x) + "_Presale_End_TimeStamp"), t), IntegerEntry((toString(x) + "_Token_Price"), p), IntegerEntry((toString(x) + "_Soft_Cap_Amount"), q), IntegerEntry((toString(x) + "_Hard_Cap_Amount"), r), IntegerEntry((toString(x) + "_Initiated_Height"), height), StringEntry("message", g)]
5555 }
5656
5757
5858
5959 @Callable(m)
6060 func PlacePresaleOrder (y) = {
6161 let z = valueOrErrorMessage(getInteger(this, (toString(y) + "_Token_Price")), "Token Price not Found for this Presale Round.")
6262 let A = valueOrErrorMessage(getInteger(this, (toString(y) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.")
6363 let B = valueOrErrorMessage(getInteger(this, (toString(y) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.")
6464 let C = valueOrErrorMessage(getInteger(this, (toString(y) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.")
6565 let D = valueOrErrorMessage(getInteger(this, (toString(y) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.")
6666 let E = unit
6767 let F = toBase58String(m.caller.bytes)
6868 let G = if ((size(m.payments) == 1))
6969 then m.payments[0]
7070 else throw(h)
7171 let H = {
7272 let v = getInteger(this, (toString(y) + "_Funds_Collection"))
7373 if ($isInstanceOf(v, "Int"))
7474 then {
7575 let w = v
7676 w
7777 }
7878 else 0
7979 }
8080 let I = (H + G.amount)
8181 let J = {
8282 let v = getInteger(this, (toString(y) + "_total_txns"))
8383 if ($isInstanceOf(v, "Int"))
8484 then {
8585 let w = v
8686 w
8787 }
8888 else 0
8989 }
9090 let K = (J + 1)
9191 let L = {
9292 let v = getInteger(this, ((toString(y) + "_") + F))
9393 if ($isInstanceOf(v, "Int"))
9494 then {
9595 let w = v
9696 w
9797 }
9898 else 0
9999 }
100100 let M = (L + G.amount)
101- let N = (I - C)
102- let O = (I - D)
101+ let N = (C - I)
102+ let O = (D - I)
103103 if (isDefined(G.assetId))
104104 then throw(h)
105105 else if ((z > G.amount))
106106 then throw((((i + "[") + toString(z)) + "/10^8.]"))
107107 else if ((A > lastBlock.timestamp))
108108 then throw((j + toString(A)))
109109 else if (if ((N > 0))
110110 then (O > 0)
111111 else false)
112- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "pending_softcap_status"), N), IntegerEntry((toString(y) + "pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "No"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
112+ then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "No"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
113113 else if (if ((0 > N))
114114 then (O > 0)
115115 else false)
116- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "pending_softcap_status"), N), IntegerEntry((toString(y) + "pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
116+ then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "No"), StringEntry("message", f)]
117117 else if (if ((0 >= N))
118118 then (0 >= O)
119119 else false)
120- then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "pending_softcap_status"), N), IntegerEntry((toString(y) + "pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
120+ then [IntegerEntry((toString(y) + "_Funds_Collection"), I), IntegerEntry(((toString(y) + "_") + F), M), IntegerEntry((toString(y) + "_total_txns"), K), IntegerEntry((toString(y) + "_pending_softcap_status"), N), IntegerEntry((toString(y) + "_pending_hardcap_status"), O), StringEntry((toString(y) + "_softcap_status"), "Yes"), StringEntry((toString(y) + "_hardcap_status"), "Yes"), StringEntry("message", f)]
121121 else throw("Error.")
122122 }
123123
124124
125125 @Verifier(P)
126126 func Q () = sigVerify(P.bodyBytes, P.proofs[0], P.senderPublicKey)
127127

github/deemru/w8io/026f985 
35.76 ms