tx · CDBF7rrjp8YsqXy7TAFxyuVcF4x5LoTG8oprfDrJts6b

3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA:  -0.01200000 Waves

2023.08.02 08:04 [2692508] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves

{ "type": 13, "id": "CDBF7rrjp8YsqXy7TAFxyuVcF4x5LoTG8oprfDrJts6b", "fee": 1200000, "feeAssetId": null, "timestamp": 1690952691689, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "37yaouUuS3CMpFCC7mTMDFZxHYacyfo4DeK2mPgj9QLeMGiVoQoy265TDbEvGdpFCinqFCi7GednKQbvHjnhLVTZ" ], "script": "base64:AAIEAAAAAAAAAAsIAhIHCgUBAQEBAQAAAAkAAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACD/YYispMq/mHQM33D1xq9HZgUL+GXxbpAIz7QxreuRQAAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACNwcmVzYWxlX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAMbGF1bmNoX2Vycm9yAgAAACZEYXBwIHdpbGwgc3RhcnQgUHJlLVNhbGUgYXQgVGltZXN0YW1wIAAAAAADbXNnAgAAADQ8aDE+WW91IFRyYW5zYWN0aW9uIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+AAAAAAlweW10ZXJyb3ICAAAAL0RBcHAgTmVlZCAwLjEgV0FWRVMgVG9rZW4gYXMgQXR0YWNoIHBheW1lbnRbMV0uAAAAAAhjYXBlcnJvcgIAAAAlU29mdCBDYXAgY2FuJ3QgYmUgbW9yZSB0aGFuIEhhcmQgQ2FwLgAAA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emVkIEFkZHJlc3MgdG8gU2lnbiBpdC4DCQAAZgAAAAIFAAAAD1NvZnRfQ2FwX0Ftb3VudAUAAAAPSGFyZF9DYXBfQW1vdW50CQAAAgAAAAEFAAAAC21pbmJhbGVycm9yCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAYX1ByZXNhbGVfU3RhcnRfVGltZVN0YW1wBQAAAAdTdGFydFRTCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAWX1ByZXNhbGVfRW5kX1RpbWVTdGFtcAUAAAAFRW5kVFMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAaQAAAABBQAAAA1jdXJyZW50X3JvdW5kAgAAAAxfVG9rZW5fUHJpY2UFAAAAC1Rva2VuX1ByaWNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAQX1NvZnRfQ2FwX0Ftb3VudAUAAAAPU29mdF9DYXBfQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAPSGFyZF9DYXBfQW1vdW50BQAAAA9IYXJkX0NhcF9BbW91bnQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5L+unSg==", "height": 2692508, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 8mehkE9NGUtWP9t9ci1m3j51ARuLJasaRxdxLP2ZqvFL Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let presale_timestamp_controller_pubkey = base58'JBuDu88GtcExo81bPQmt55D4SrGwKuvcc4dGy4R6KBNw'
5+
6+let controller_address = addressFromPublicKey(presale_timestamp_controller_pubkey)
7+
8+let launch_error = "Dapp will start Pre-Sale at Timestamp "
9+
10+let msg = "<h1>You Transaction Submitted Successfully!</h1><br>"
11+
12+let pymterror = "DApp Need 0.1 WAVES Token as Attach payment[1]."
13+
14+let caperror = "Soft Cap can't be more than Hard Cap."
15+
16+let minbalerror = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address."
17+
18+let asseterr = "Incorrect asset attach, please attach WAVES Only."
19+
20+let voteErr = "Pre-Sale Round is over for this Dapp."
21+
22+@Callable(i)
23+func SetPreSaleParameters (Presale_Start_TimeStamp,Presale_End_TimeStamp,Token_Price,Soft_Cap_Amount,Hard_Cap_Amount) = {
24+ let StartTS = Presale_Start_TimeStamp
25+ let EndTS = Presale_End_TimeStamp
26+ let read_funding_round = match getInteger(this, "Current_Funding_Round") {
27+ case a: Int =>
28+ a
29+ case _ =>
30+ 0
31+ }
32+ let current_round = (read_funding_round + 1)
33+ if ((i.caller != controller_address))
34+ then throw((("This Address is not Authorized. Only " + toString(controller_address)) + " is Authorized Address to Sign it."))
35+ else if ((Soft_Cap_Amount > Hard_Cap_Amount))
36+ then throw(minbalerror)
37+ else [IntegerEntry((toString(current_round) + "_Presale_Start_TimeStamp"), StartTS), IntegerEntry((toString(current_round) + "_Presale_End_TimeStamp"), EndTS), IntegerEntry((toString(current_round) + "_Token_Price"), Token_Price), IntegerEntry((toString(current_round) + "_Soft_Cap_Amount"), Soft_Cap_Amount), IntegerEntry((toString(current_round) + "Hard_Cap_Amount"), Hard_Cap_Amount)]
38+ }
39+
40+
41+@Verifier(tx)
42+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
43+

github/deemru/w8io/169f3d6 
15.21 ms