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+AAAAAAlweW10ZXJyb3ICAAAAL0RBcHAgTmVlZCAwLjEgV0FWRVMgVG9rZW4gYXMgQXR0YWNoIHBheW1lbnRbMV0uAAAAAAhjYXBlcnJvcgIAAAAlU29mdCBDYXAgY2FuJ3QgYmUgbW9yZSB0aGFuIEhhcmQgQ2FwLgAAAA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VkIEFkZHJlc3MgdG8gU2lnbiBpdC4DCQAAZgAAAAIFAAAAD1NvZnRfQ2FwX0Ftb3VudAUAAAAPSGFyZF9DYXBfQW1vdW50CQAAAgAAAAEFAAAAC21pbmJhbGVycm9yCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAYX1ByZXNhbGVfU3RhcnRfVGltZVN0YW1wBQAAAAdTdGFydFRTCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAWX1ByZXNhbGVfRW5kX1RpbWVTdGFtcAUAAAAFRW5kVFMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAaQAAAABBQAAAA1jdXJyZW50X3JvdW5kAgAAAAxfVG9rZW5fUHJpY2UFAAAAC1Rva2VuX1ByaWNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAQX1NvZnRfQ2FwX0Ftb3VudAUAAAAPU29mdF9DYXBfQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAPSGFyZF9DYXBfQW1vdW50BQAAAA9IYXJkX0NhcF9BbW91bnQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5L+unSg==", "height": 2692508, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 8mehkE9NGUtWP9t9ci1m3j51ARuLJasaRxdxLP2ZqvFL Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'JBuDu88GtcExo81bPQmt55D4SrGwKuvcc4dGy4R6KBNw' | |
5 | + | ||
6 | + | let b = addressFromPublicKey(a) | |
7 | + | ||
8 | + | let c = "Dapp will start Pre-Sale at Timestamp " | |
9 | + | ||
10 | + | let d = "<h1>You Transaction Submitted Successfully!</h1><br>" | |
11 | + | ||
12 | + | let e = "DApp Need 0.1 WAVES Token as Attach payment[1]." | |
13 | + | ||
14 | + | let f = "Soft Cap can't be more than Hard Cap." | |
15 | + | ||
16 | + | let g = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address." | |
17 | + | ||
18 | + | let h = "Incorrect asset attach, please attach WAVES Only." | |
19 | + | ||
20 | + | let i = "Pre-Sale Round is over for this Dapp." | |
21 | + | ||
22 | + | @Callable(j) | |
23 | + | func SetPreSaleParameters (k,l,m,n,o) = { | |
24 | + | let p = k | |
25 | + | let q = l | |
26 | + | let r = { | |
27 | + | let s = getInteger(this, "Current_Funding_Round") | |
28 | + | if ($isInstanceOf(s, "Int")) | |
29 | + | then { | |
30 | + | let t = s | |
31 | + | t | |
32 | + | } | |
33 | + | else 0 | |
34 | + | } | |
35 | + | let u = (r + 1) | |
36 | + | if ((j.caller != b)) | |
37 | + | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
38 | + | else if ((n > o)) | |
39 | + | then throw(g) | |
40 | + | else [IntegerEntry((toString(u) + "_Presale_Start_TimeStamp"), p), IntegerEntry((toString(u) + "_Presale_End_TimeStamp"), q), IntegerEntry((toString(u) + "_Token_Price"), m), IntegerEntry((toString(u) + "_Soft_Cap_Amount"), n), IntegerEntry((toString(u) + "Hard_Cap_Amount"), o)] | |
41 | + | } | |
42 | + | ||
43 | + | ||
44 | + | @Verifier(v) | |
45 | + | func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey) | |
46 | + |
github/deemru/w8io/169f3d6 28.01 ms ◑