tx · CjE4Ht59wiHZNFPeK3LTuc2JB8uhyC7jbnVZfauqpvQu

3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA:  -0.01200000 Waves

2023.08.02 08:21 [2692523] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves

{ "type": 13, "id": "CjE4Ht59wiHZNFPeK3LTuc2JB8uhyC7jbnVZfauqpvQu", "fee": 1200000, "feeAssetId": null, "timestamp": 1690953692014, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "4PBtfcWfNj9Q1TbRuF8PNVoQ7ebypHuR8R6Voj2Lyi3LYB6LPyKKfxJCCQp6AUU4KYd3SfGSEhY4tEpgkm9HYuV3" ], "script": "base64:AAIEAAAAAAAAAAsIAhIHCgUBAQEBAQAAAAoAAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACDjrdey1Io21qI8AxObYBZMNWPHMCK947HpXHsKae68IwAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACNwcmVzYWxlX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAMbGF1bmNoX2Vycm9yAgAAACZEYXBwIHdpbGwgc3RhcnQgUHJlLVNhbGUgYXQgVGltZXN0YW1wIAAAAAADbXNnAgAAADQ8aDE+WW91IFRyYW5zYWN0aW9uIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+AAAAAAlweW10ZXJyb3ICAAAAL0RBcHAgTmVlZCAwLjEgV0FWRVMgVG9rZW4gYXMgQXR0YWNoIHBheW1lbnRbMV0uAAAAAAd0c2Vycm9yAgAAADBFbmQgVGltZXN0YW1wIGNhbid0IGJlIGxlc3MgdGhhbiBTdGFydC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UAAAAFRW5kVFMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAaQAAAABBQAAAA1jdXJyZW50X3JvdW5kAgAAAAxfVG9rZW5fUHJpY2UFAAAAC1Rva2VuX1ByaWNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAQX1NvZnRfQ2FwX0Ftb3VudAUAAAAPU29mdF9DYXBfQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAPSGFyZF9DYXBfQW1vdW50BQAAAA9IYXJkX0NhcF9BbW91bnQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5aoTrPA==", "height": 2692523, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AwH6b9RNAsMW6U5HGFKZX3f653Nawo5244dZeZYxm9RW Next: Cmhd1rvHdeMeNGyPaUiVmP1iQLd4W8XNA1UDuhHjR5iY Diff:
OldNewDifferences
3434 let current_round = (read_funding_round + 1)
3535 if ((i.caller != controller_address))
3636 then throw((("This Address is not Authorized. Only " + toString(controller_address)) + " is Authorized Address to Sign it."))
37- else if ((EndTS > StartTS))
37+ else if ((EndTS >= StartTS))
3838 then throw(tserror)
3939 else if ((Soft_Cap_Amount > Hard_Cap_Amount))
4040 then throw(caperror)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let presale_timestamp_controller_pubkey = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr'
55
66 let controller_address = addressFromPublicKey(presale_timestamp_controller_pubkey)
77
88 let launch_error = "Dapp will start Pre-Sale at Timestamp "
99
1010 let msg = "<h1>You Transaction Submitted Successfully!</h1><br>"
1111
1212 let pymterror = "DApp Need 0.1 WAVES Token as Attach payment[1]."
1313
1414 let tserror = "End Timestamp can't be less than Start Timestamp"
1515
1616 let caperror = "Soft Cap can't be more than Hard Cap."
1717
1818 let minbalerror = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address."
1919
2020 let asseterr = "Incorrect asset attach, please attach WAVES Only."
2121
2222 let voteErr = "Pre-Sale Round is over for this Dapp."
2323
2424 @Callable(i)
2525 func SetPreSaleParameters (Presale_Start_TimeStamp,Presale_End_TimeStamp,Token_Price,Soft_Cap_Amount,Hard_Cap_Amount) = {
2626 let StartTS = Presale_Start_TimeStamp
2727 let EndTS = Presale_End_TimeStamp
2828 let read_funding_round = match getInteger(this, "Current_Funding_Round") {
2929 case a: Int =>
3030 a
3131 case _ =>
3232 0
3333 }
3434 let current_round = (read_funding_round + 1)
3535 if ((i.caller != controller_address))
3636 then throw((("This Address is not Authorized. Only " + toString(controller_address)) + " is Authorized Address to Sign it."))
37- else if ((EndTS > StartTS))
37+ else if ((EndTS >= StartTS))
3838 then throw(tserror)
3939 else if ((Soft_Cap_Amount > Hard_Cap_Amount))
4040 then throw(caperror)
4141 else if ((size(toString(Presale_Start_TimeStamp)) != 13))
4242 then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4343 else if ((size(toString(Presale_End_TimeStamp)) != 13))
4444 then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
4545 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)]
4646 }
4747
4848
4949 @Verifier(tx)
5050 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5151

github/deemru/w8io/169f3d6 
39.30 ms