tx · 9yRGktn9YvxTe56Pw1EtAxoRueg1FPKiCbqguNuwuBh9 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA: -0.01500000 Waves 2023.08.04 11:45 [2695613] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves
{ "type": 13, "id": "9yRGktn9YvxTe56Pw1EtAxoRueg1FPKiCbqguNuwuBh9", "fee": 1500000, "feeAssetId": null, "timestamp": 1691138753022, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "H5tBqHFQhLMehuFstHfCmN9nYYrFUZYpPRKETpBLQT1d8z94qfLzkksecsAUrkB1HBJs3Hkmgb4RpTFyFH4NxFh" ], "script": "base64:AAIFAAAAAAAAABEIAhIICgYBAQEBAQQSAwoBAQAAAAwAAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACDjrdey1Io21qI8AxObYBZMNWPHMCK947HpXHsKae68IwAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACNwcmVzYWxlX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAHdHNlcnJvcgIAAAA8RW5kIFRpbWVzdGFtcCBjYW4ndCBiZSBsZXNzIHRoYW4gb3IgZXF1YWwgdG8gU3RhcnQgVGltZXN0YW1wAAAAAApwcmljZWVycm9yAgAAACZUb2tlbiBQcmljZSBjYW4ndCBiZSBsZXNzIHRoYW4gb3IgWmVybwAAAAAIY2FwZXJyb3ICAAAAM1NvZnQgQ2FwIEFtb3VudCBjYW4ndCBiZSBtb3JlIHRoYW4gSGFyZCBDYXAgQW1vdW50LgAAAAAIb3JkZXJtc2cCAAAAKjxoMT5PcmRlciBTdWJtaXR0ZWQgU3VjY2Vzc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AaQAAAABBQAAABNFbnRlcl9QcmVzYWxlX1JvdW5kAgAAAA9fc29mdGNhcF9zdGF0dXMCAAAAA1llcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAATRW50ZXJfUHJlc2FsZV9Sb3VuZAIAAAAPX2hhcmRjYXBfc3RhdHVzAgAAAANZZXMJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIJAAEsAAAAAgkAAaQAAAABBQAAABNFbnRlcl9QcmVzYWxlX1JvdW5kAgAAAA1fQWxsb3dfUmVmdW5kBwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdtZXNzYWdlBQAAAAhvcmRlcm1zZwUAAAADbmlsCQAAAgAAAAECAAAABkVycm9yLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V58Rok+Q==", "height": 2695613, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6uWedbKzQcVALPPWuzi2XNVCYoj2f7mFB9DiZ4nC32ud Next: 7Jibi6PwQYbnjLc22B49PiCURZnSwycn1DMETTcDQ7u5 Diff:
Old | New | Differences | |
---|---|---|---|
107 | 107 | then throw((((i + "[") + toString(A)) + "/10^8.]")) | |
108 | 108 | else if ((B > lastBlock.timestamp)) | |
109 | 109 | then throw((j + toString(B))) | |
110 | - | else if (if ((P > 0)) | |
111 | - | then (Q > 0) | |
112 | - | else false) | |
113 | - | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "No"), StringEntry((toString(z) + "_hardcap_status"), "No"), BooleanEntry((toString(z) + "_Allow_Refund"), F), StringEntry("message", f)] | |
114 | - | else if (if ((0 >= P)) | |
110 | + | else if ((lastBlock.timestamp > C)) | |
111 | + | then throw(l) | |
112 | + | else if (if ((P > 0)) | |
115 | 113 | then (Q > 0) | |
116 | 114 | else false) | |
117 | - | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), " | |
115 | + | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "No"), StringEntry((toString(z) + "_hardcap_status"), "No"), BooleanEntry((toString(z) + "_Allow_Refund"), F), StringEntry("message", f)] | |
118 | 116 | else if (if ((0 >= P)) | |
119 | - | then ( | |
117 | + | then (Q > 0) | |
120 | 118 | else false) | |
121 | - | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "Yes"), BooleanEntry((toString(z) + "_Allow_Refund"), false), StringEntry("message", f)] | |
122 | - | else throw("Error.") | |
119 | + | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "No"), BooleanEntry((toString(z) + "_Allow_Refund"), false), StringEntry("message", f)] | |
120 | + | else if (if ((0 >= P)) | |
121 | + | then (0 >= Q) | |
122 | + | else false) | |
123 | + | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "Yes"), BooleanEntry((toString(z) + "_Allow_Refund"), false), StringEntry("message", f)] | |
124 | + | else throw("Error.") | |
123 | 125 | } | |
124 | 126 | ||
125 | 127 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'GKmJ6BchUgQfwKp4mp5eX8Y9xLioYRm6e1gDfFgdAcCr' | |
5 | 5 | ||
6 | 6 | let b = addressFromPublicKey(a) | |
7 | 7 | ||
8 | 8 | let c = "End Timestamp can't be less than or equal to Start Timestamp" | |
9 | 9 | ||
10 | 10 | let d = "Token Price can't be less than or Zero" | |
11 | 11 | ||
12 | 12 | let e = "Soft Cap Amount can't be more than Hard Cap Amount." | |
13 | 13 | ||
14 | 14 | let f = "<h1>Order Submitted Successfully!</h1><br>" | |
15 | 15 | ||
16 | 16 | let g = "<h1>PreSale Parameters Submitted Successfully!</h1><br>" | |
17 | 17 | ||
18 | 18 | let h = "DApp Need WAVES Token as Attach payment[1]." | |
19 | 19 | ||
20 | 20 | let i = "Attached payment[1] is less than token price " | |
21 | 21 | ||
22 | 22 | let j = "Dapp will start Pre-Sale at Timestamp " | |
23 | 23 | ||
24 | 24 | let k = "Minimum 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address to place order." | |
25 | 25 | ||
26 | 26 | let l = "Pre-Sale is over for this Round." | |
27 | 27 | ||
28 | 28 | @Callable(m) | |
29 | 29 | func SetPreSaleParameters (n,o,p,q,r,s) = { | |
30 | 30 | let t = n | |
31 | 31 | let u = o | |
32 | 32 | let v = { | |
33 | 33 | let w = getInteger(this, "Current_Funding_Round") | |
34 | 34 | if ($isInstanceOf(w, "Int")) | |
35 | 35 | then { | |
36 | 36 | let x = w | |
37 | 37 | x | |
38 | 38 | } | |
39 | 39 | else 0 | |
40 | 40 | } | |
41 | 41 | let y = (v + 1) | |
42 | 42 | if ((m.caller != b)) | |
43 | 43 | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
44 | 44 | else if ((size(toString(n)) != 13)) | |
45 | 45 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
46 | 46 | else if ((size(toString(o)) != 13)) | |
47 | 47 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
48 | 48 | else if ((1 > p)) | |
49 | 49 | then throw(d) | |
50 | 50 | else if ((t >= u)) | |
51 | 51 | then throw(c) | |
52 | 52 | else if ((q > r)) | |
53 | 53 | then throw(e) | |
54 | 54 | else [IntegerEntry("Current_Funding_Round", y), IntegerEntry((toString(y) + "_Presale_Start_TimeStamp"), t), IntegerEntry((toString(y) + "_Presale_End_TimeStamp"), u), IntegerEntry((toString(y) + "_Token_Price"), p), IntegerEntry((toString(y) + "_Soft_Cap_Amount"), q), IntegerEntry((toString(y) + "_Hard_Cap_Amount"), r), IntegerEntry((toString(y) + "_Initiated_Height"), height), BooleanEntry((toString(y) + "_Allow_Refund"), s), StringEntry("message", g)] | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | ||
59 | 59 | @Callable(m) | |
60 | 60 | func PlacePresaleOrder (z) = { | |
61 | 61 | let A = valueOrErrorMessage(getInteger(this, (toString(z) + "_Token_Price")), "Token Price not Found for this Presale Round.") | |
62 | 62 | let B = valueOrErrorMessage(getInteger(this, (toString(z) + "_Presale_Start_TimeStamp")), "Start Timestamp not Found for this Presale Round.") | |
63 | 63 | let C = valueOrErrorMessage(getInteger(this, (toString(z) + "_Presale_End_TimeStamp")), "End Timestamp not Found for this Presale Round.") | |
64 | 64 | let D = valueOrErrorMessage(getInteger(this, (toString(z) + "_Soft_Cap_Amount")), "Soft Cap Amount not Found for this Presale Round.") | |
65 | 65 | let E = valueOrErrorMessage(getInteger(this, (toString(z) + "_Hard_Cap_Amount")), "Hard Cap Amount not Found for this Presale Round.") | |
66 | 66 | let F = valueOrErrorMessage(getBoolean(this, (toString(z) + "_Allow_Refund")), "Refund is not set for this Presale Round.") | |
67 | 67 | let G = unit | |
68 | 68 | let H = toBase58String(m.caller.bytes) | |
69 | 69 | let I = if ((size(m.payments) == 1)) | |
70 | 70 | then m.payments[0] | |
71 | 71 | else throw(h) | |
72 | 72 | let J = { | |
73 | 73 | let w = getInteger(this, (toString(z) + "_Funds_Collection")) | |
74 | 74 | if ($isInstanceOf(w, "Int")) | |
75 | 75 | then { | |
76 | 76 | let x = w | |
77 | 77 | x | |
78 | 78 | } | |
79 | 79 | else 0 | |
80 | 80 | } | |
81 | 81 | let K = (J + I.amount) | |
82 | 82 | let L = { | |
83 | 83 | let w = getInteger(this, (toString(z) + "_total_txns")) | |
84 | 84 | if ($isInstanceOf(w, "Int")) | |
85 | 85 | then { | |
86 | 86 | let x = w | |
87 | 87 | x | |
88 | 88 | } | |
89 | 89 | else 0 | |
90 | 90 | } | |
91 | 91 | let M = (L + 1) | |
92 | 92 | let N = { | |
93 | 93 | let w = getInteger(this, ((toString(z) + "_") + H)) | |
94 | 94 | if ($isInstanceOf(w, "Int")) | |
95 | 95 | then { | |
96 | 96 | let x = w | |
97 | 97 | x | |
98 | 98 | } | |
99 | 99 | else 0 | |
100 | 100 | } | |
101 | 101 | let O = (N + I.amount) | |
102 | 102 | let P = (D - K) | |
103 | 103 | let Q = (E - K) | |
104 | 104 | if (isDefined(I.assetId)) | |
105 | 105 | then throw(h) | |
106 | 106 | else if ((A > I.amount)) | |
107 | 107 | then throw((((i + "[") + toString(A)) + "/10^8.]")) | |
108 | 108 | else if ((B > lastBlock.timestamp)) | |
109 | 109 | then throw((j + toString(B))) | |
110 | - | else if (if ((P > 0)) | |
111 | - | then (Q > 0) | |
112 | - | else false) | |
113 | - | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "No"), StringEntry((toString(z) + "_hardcap_status"), "No"), BooleanEntry((toString(z) + "_Allow_Refund"), F), StringEntry("message", f)] | |
114 | - | else if (if ((0 >= P)) | |
110 | + | else if ((lastBlock.timestamp > C)) | |
111 | + | then throw(l) | |
112 | + | else if (if ((P > 0)) | |
115 | 113 | then (Q > 0) | |
116 | 114 | else false) | |
117 | - | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), " | |
115 | + | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "No"), StringEntry((toString(z) + "_hardcap_status"), "No"), BooleanEntry((toString(z) + "_Allow_Refund"), F), StringEntry("message", f)] | |
118 | 116 | else if (if ((0 >= P)) | |
119 | - | then ( | |
117 | + | then (Q > 0) | |
120 | 118 | else false) | |
121 | - | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "Yes"), BooleanEntry((toString(z) + "_Allow_Refund"), false), StringEntry("message", f)] | |
122 | - | else throw("Error.") | |
119 | + | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "No"), BooleanEntry((toString(z) + "_Allow_Refund"), false), StringEntry("message", f)] | |
120 | + | else if (if ((0 >= P)) | |
121 | + | then (0 >= Q) | |
122 | + | else false) | |
123 | + | then [IntegerEntry((toString(z) + "_Funds_Collection"), K), IntegerEntry(((toString(z) + "_") + H), O), IntegerEntry((toString(z) + "_total_txns"), M), IntegerEntry((toString(z) + "_pending_softcap_status"), P), IntegerEntry((toString(z) + "_pending_hardcap_status"), Q), StringEntry((toString(z) + "_softcap_status"), "Yes"), StringEntry((toString(z) + "_hardcap_status"), "Yes"), BooleanEntry((toString(z) + "_Allow_Refund"), false), StringEntry("message", f)] | |
124 | + | else throw("Error.") | |
123 | 125 | } | |
124 | 126 | ||
125 | 127 | ||
126 | 128 | @Verifier(R) | |
127 | 129 | func S () = sigVerify(R.bodyBytes, R.proofs[0], R.senderPublicKey) | |
128 | 130 |
github/deemru/w8io/169f3d6 50.16 ms ◑