tx · 9AHEkSqAEJ5Y5NGtqMAMWJhpk715N2rDTecARJL54HmH

3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA:  -0.01200000 Waves

2023.08.02 08:41 [2692543] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves

{ "type": 13, "id": "9AHEkSqAEJ5Y5NGtqMAMWJhpk715N2rDTecARJL54HmH", "fee": 1200000, "feeAssetId": null, "timestamp": 1690954909117, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "ifuiv88rb7XRyJ7BR8uzN76Jd1QHRm3mebgnkUNqB7bK4enZj5MVr2k1215uePooT9BeRuy1AeZ2aCqnSG7MdiJ" ], "script": "base64:AAIEAAAAAAAAAAsIAhIHCgUBAQEBAQAAAAsAAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACDjrdey1Io21qI8AxObYBZMNWPHMCK947HpXHsKae68IwAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACNwcmVzYWxlX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAMbGF1bmNoX2Vycm9yAgAAACZEYXBwIHdpbGwgc3RhcnQgUHJlLVNhbGUgYXQgVGltZXN0YW1wIAAAAAAGdHhubXNnAgAAADA8aDE+VHJhbnNhY3Rpb24gU3VibWl0dGVkIFN1Y2Nlc3NmdWxseSE8L2gxPjxicj4AAAAACXB5bXRlcnJvcgIAAAAvREFwcCBOZWVkIDAuMSBXQVZFUyBUb2tlbiBhcyBBdHRhY2ggcGF5bWVudFsxXS4AAAAAB3RzZXJyb3ICAAAAPEVuZCBUaW1lc3RhbXAgY2FuJ3QgYmUgbGVzcyB0aGFuIG9yIGVxdWFsIHRvI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VudF9yb3VuZAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABpAAAAAEFAAAADWN1cnJlbnRfcm91bmQCAAAAGF9QcmVzYWxlX1N0YXJ0X1RpbWVTdGFtcAUAAAAHU3RhcnRUUwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABpAAAAAEFAAAADWN1cnJlbnRfcm91bmQCAAAAFl9QcmVzYWxlX0VuZF9UaW1lU3RhbXAFAAAABUVuZFRTCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAMX1Rva2VuX1ByaWNlBQAAAAtUb2tlbl9QcmljZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABpAAAAAEFAAAADWN1cnJlbnRfcm91bmQCAAAAEF9Tb2Z0X0NhcF9BbW91bnQFAAAAD1NvZnRfQ2FwX0Ftb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABpAAAAAEFAAAADWN1cnJlbnRfcm91bmQCAAAAEF9IYXJkX0NhcF9BbW91bnQFAAAAD0hhcmRfQ2FwX0Ftb3VudAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdtZXNzYWdlBQAAAAZ0eG5tc2cFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5ETIMpg==", "height": 2692543, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 73ZJnwght2LPrUgeiwgCetzPxNGobXcRSaUXKASPoHVL Next: Dg1y5eWutS3omXBpRrAqMQEWMR8FBFqkrXTdhnKyQoJm Diff:
OldNewDifferences
4949 then throw(f)
5050 else if ((p > q))
5151 then throw(g)
52- else [IntegerEntry((toString(w) + "_Presale_Start_TimeStamp"), r), IntegerEntry((toString(w) + "_Presale_End_TimeStamp"), s), IntegerEntry((toString(w) + "_Token_Price"), o), IntegerEntry((toString(w) + "_Soft_Cap_Amount"), p), IntegerEntry((toString(w) + "_Hard_Cap_Amount"), q), StringEntry("message", d)]
52+ else [IntegerEntry("Current_Funding_Round", w), IntegerEntry((toString(w) + "_Presale_Start_TimeStamp"), r), IntegerEntry((toString(w) + "_Presale_End_TimeStamp"), s), IntegerEntry((toString(w) + "_Token_Price"), o), IntegerEntry((toString(w) + "_Soft_Cap_Amount"), p), IntegerEntry((toString(w) + "_Hard_Cap_Amount"), q), StringEntry("message", d)]
5353 }
5454
5555
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 = "Dapp will start Pre-Sale at Timestamp "
99
1010 let d = "<h1>Transaction Submitted Successfully!</h1><br>"
1111
1212 let e = "DApp Need 0.1 WAVES Token as Attach payment[1]."
1313
1414 let f = "End Timestamp can't be less than or equal to Start Timestamp"
1515
1616 let g = "Soft Cap Amount can't be more than Hard Cap Amount."
1717
1818 let h = "Token Price can't be less than or Zero"
1919
2020 let i = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address."
2121
2222 let j = "Incorrect asset attach, please attach WAVES Only."
2323
2424 let k = "Pre-Sale Round is over for this Dapp."
2525
2626 @Callable(l)
2727 func SetPreSaleParameters (m,n,o,p,q) = {
2828 let r = m
2929 let s = n
3030 let t = {
3131 let u = getInteger(this, "Current_Funding_Round")
3232 if ($isInstanceOf(u, "Int"))
3333 then {
3434 let v = u
3535 v
3636 }
3737 else 0
3838 }
3939 let w = (t + 1)
4040 if ((l.caller != b))
4141 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
4242 else if ((size(toString(m)) != 13))
4343 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4444 else if ((size(toString(n)) != 13))
4545 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4646 else if ((1 > o))
4747 then throw(h)
4848 else if ((r >= s))
4949 then throw(f)
5050 else if ((p > q))
5151 then throw(g)
52- else [IntegerEntry((toString(w) + "_Presale_Start_TimeStamp"), r), IntegerEntry((toString(w) + "_Presale_End_TimeStamp"), s), IntegerEntry((toString(w) + "_Token_Price"), o), IntegerEntry((toString(w) + "_Soft_Cap_Amount"), p), IntegerEntry((toString(w) + "_Hard_Cap_Amount"), q), StringEntry("message", d)]
52+ else [IntegerEntry("Current_Funding_Round", w), IntegerEntry((toString(w) + "_Presale_Start_TimeStamp"), r), IntegerEntry((toString(w) + "_Presale_End_TimeStamp"), s), IntegerEntry((toString(w) + "_Token_Price"), o), IntegerEntry((toString(w) + "_Soft_Cap_Amount"), p), IntegerEntry((toString(w) + "_Hard_Cap_Amount"), q), StringEntry("message", d)]
5353 }
5454
5555
5656 @Verifier(x)
5757 func y () = sigVerify(x.bodyBytes, x.proofs[0], x.senderPublicKey)
5858

github/deemru/w8io/169f3d6 
33.51 ms