tx · E173anzkbj7VYPpxpKbXTJDEX3ijRHeAthGQLcY7xWjG 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2: -0.03200000 Waves 2023.11.30 08:58 [2865744] smart account 3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2 > SELF 0.00000000 Waves
{ "type": 13, "id": "E173anzkbj7VYPpxpKbXTJDEX3ijRHeAthGQLcY7xWjG", "fee": 3200000, "feeAssetId": null, "timestamp": 1701323929563, "version": 2, "chainId": 84, "sender": "3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2", "senderPublicKey": "DNKNL32sAVUYg4iGA3tW8Z6VXrENmGCmKfG6DLar82aP", "proofs": [ "4Wx56sNXqnHsUFrZrZ98WUP3rV3uRiEyFZULxgB6q2LhFmm5FuPyD93V4zDdmBuAY7jHVi4M4ay49h1YTKv1wm29" ], "script": "base64:AAIFAAAAAAAAADsIAhIMCgoBAQgIAQEBCAEBEgwKCgEBCAgBAQEIAQESABIFCgMBCAgSABIECgIIARIDCgEIEgMKAQgSAAAAAA4AAAAAFnBvb2xfbGlxdWlkaXR5X2FkZHJlc3MCAAAAIzNONHdCZ1l0V2dKVzJMVFJlZjJla1dRVHJFWENSZlhtR0xoAAAAABREYXBwX0FkZHJlc3NfcHViX2tleQEAAAAgyO2Y2obuVTVYYMc8lugqW2L1IjDFH+TsgVEJaOfOGnMAAAAAGHByb2R1Y3RfbGF1bmNoX3RpbWVzdGFtcAAAAAGKv2AWIAAAAAALQ3VycmVuY3lfSUQCAAAABVdBVkVTAAAAABRwcm9kdWN0X2xhdW5jaF9lcnJvcgIAAAAjUHJvZHVjdCBMYXVuY2ggVGltZXN0YW1wIGlzIHNldCBhdCAAAAAAEG5vX3BheW1lbnRfZXJyb3ICAAAAN05vIHBheW1lbnQgYXR0YWNoZWQsIFBsZWFzZSBBdHRhY2ggVG9rZW4gaW4gcGF5bWVudFsxXS4AAAAAEmNsb3NlZF9vcmFjbGVfZXJvcgIAAAAxT3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JVRoaXMgQWRkcmVzcyBpcyBub3QgQXV0aG9yaXplZC4gT25seSAJAAQlAAAAAQUAAAARd2hpdGVsaXN0X2FkZHJlc3MCAAAAIiBpcyBBdXRob3JpemVkIEFkZHJlc3MgdG8gU2lnbiBpdC4DCQAAAAAAAAIFAAAAEWFkZFNodXRkb3duU3RhdHVzAAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA9TaHV0ZG93bl9TdGF0dXMAAAAAAAAAAAEFAAAAA25pbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAPU2h1dGRvd25fU3RhdHVzAAAAAAAAAAAABQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkxcGfn", "height": 2865744, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DGQ7dFmFdCs3Q2zPdwsu7bf91K5FctJMRcE98WwqdprS Next: HDjjYweTkrTjetLFdSEUjat5dojRYYsTgPJ8LkXJ1s8b Diff:
Old | New | Differences | |
---|---|---|---|
134 | 134 | then (E == 0) | |
135 | 135 | else false) | |
136 | 136 | then throw("User Balance and Voucher Balance both are Zero. Please Add Funds to Dapp.") | |
137 | - | else if (if (( | |
138 | - | then ( | |
137 | + | else if (if (((k + j) > D)) | |
138 | + | then ((k + j) > F) | |
139 | 139 | else false) | |
140 | - | then throw((((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(D)) + "], Voucher Balance [-") + toString(F)) + "]")) | |
141 | - | else if ((k > p)) | |
142 | - | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
143 | - | else if ((p > l)) | |
144 | - | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
145 | - | else if ((size(toString(x)) != 13)) | |
146 | - | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
147 | - | else if ((size(toString(y)) != 13)) | |
148 | - | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
149 | - | else if (if ((E == 0)) | |
150 | - | then true | |
151 | - | else (0 > F)) | |
152 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
153 | - | else if ((F > p)) | |
154 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
155 | - | else throw("Wrong Entry.") | |
140 | + | then throw((("Voucher Funds and User Balance both are less than minimum order size" + toString((k + j))) + "/10^8 WAVES including network fee.")) | |
141 | + | else if (if ((0 > D)) | |
142 | + | then (0 > F) | |
143 | + | else false) | |
144 | + | then throw((((("Placed Order Amount is going negative. Please reduce the Order Size. User Fund Amount = [-" + toString(D)) + "], Voucher Balance [-") + toString(F)) + "]")) | |
145 | + | else if ((0 > D)) | |
146 | + | then throw((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(D)) + "]")) | |
147 | + | else if ((k > p)) | |
148 | + | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
149 | + | else if ((p > l)) | |
150 | + | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
151 | + | else if ((size(toString(x)) != 13)) | |
152 | + | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
153 | + | else if ((size(toString(y)) != 13)) | |
154 | + | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
155 | + | else if (if ((E == 0)) | |
156 | + | then true | |
157 | + | else (0 > F)) | |
158 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
159 | + | else if ((F > p)) | |
160 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
161 | + | else throw("Wrong Entry.") | |
156 | 162 | } | |
157 | 163 | ||
158 | 164 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "3N4wBgYtWgJW2LTRef2ekWQTrEXCRfXmGLh" | |
5 | 5 | ||
6 | 6 | let b = base58'EXLfxKmqhQPiProBaoPatTentUSZX5Dd8A8bYDcmfNwt' | |
7 | 7 | ||
8 | 8 | let c = 1695427860000 | |
9 | 9 | ||
10 | 10 | let d = "WAVES" | |
11 | 11 | ||
12 | 12 | let e = "Product Launch Timestamp is set at " | |
13 | 13 | ||
14 | 14 | let f = "No payment attached, Please Attach Token in payment[1]." | |
15 | 15 | ||
16 | 16 | let g = "Oracle is closed. Wait Until Oracle is Turned On." | |
17 | 17 | ||
18 | 18 | let h = addressFromPublicKey(b) | |
19 | 19 | ||
20 | 20 | let i = addressFromPublicKey(base58'6oay51Q6zPcFP9bSwUC4Potx2KGyD4AUjpL5uLR4QeRN') | |
21 | 21 | ||
22 | 22 | let j = 900000 | |
23 | 23 | ||
24 | 24 | let k = 10000000 | |
25 | 25 | ||
26 | 26 | let l = 10000000000 | |
27 | 27 | ||
28 | 28 | let m = 100000000 | |
29 | 29 | ||
30 | 30 | let n = valueOrErrorMessage(getInteger(this, "Shutdown_Status"), "Initiate_Contract_Shutdown function value is not Set, Please Sign that first.") | |
31 | 31 | ||
32 | 32 | @Callable(o) | |
33 | 33 | func placeoptionCall (p,q,r,s,t,u,v,w,x,y) = { | |
34 | 34 | let z = toBase58String(o.caller.bytes) | |
35 | 35 | let A = getString(this, ("addr_BLACKLISTED_" + s)) | |
36 | 36 | let B = valueOrErrorMessage(getInteger(addressFromStringValue(a), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.") | |
37 | 37 | let C = valueOrElse(getInteger(((d + "_") + s)), 0) | |
38 | 38 | let D = ((C - p) - j) | |
39 | 39 | let E = valueOrElse(getInteger((s + "_Voucher_Balance")), 0) | |
40 | 40 | let F = ((E - p) - j) | |
41 | 41 | let G = x | |
42 | 42 | let H = y | |
43 | 43 | let I = q | |
44 | 44 | let J = 1 | |
45 | 45 | let K = (I + J) | |
46 | 46 | let L = { | |
47 | 47 | let M = getInteger(this, "Total_Option_Orders") | |
48 | 48 | if ($isInstanceOf(M, "Int")) | |
49 | 49 | then { | |
50 | 50 | let N = M | |
51 | 51 | N | |
52 | 52 | } | |
53 | 53 | else 0 | |
54 | 54 | } | |
55 | 55 | let O = (L + 1) | |
56 | 56 | let P = { | |
57 | 57 | let M = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(I))) | |
58 | 58 | if ($isInstanceOf(M, "Int")) | |
59 | 59 | then { | |
60 | 60 | let N = M | |
61 | 61 | N | |
62 | 62 | } | |
63 | 63 | else 0 | |
64 | 64 | } | |
65 | 65 | let Q = (P + p) | |
66 | 66 | let R = { | |
67 | 67 | let M = getInteger(this, ("Total_Option_Orders_" + toString(I))) | |
68 | 68 | if ($isInstanceOf(M, "Int")) | |
69 | 69 | then { | |
70 | 70 | let N = M | |
71 | 71 | N | |
72 | 72 | } | |
73 | 73 | else 0 | |
74 | 74 | } | |
75 | 75 | let S = (R + 1) | |
76 | 76 | let T = { | |
77 | 77 | let M = getInteger(this, "Total_Calls") | |
78 | 78 | if ($isInstanceOf(M, "Int")) | |
79 | 79 | then { | |
80 | 80 | let N = M | |
81 | 81 | N | |
82 | 82 | } | |
83 | 83 | else 0 | |
84 | 84 | } | |
85 | 85 | let U = (T + 1) | |
86 | 86 | let V = { | |
87 | 87 | let M = getInteger(this, ("Total_Calls_" + toString(I))) | |
88 | 88 | if ($isInstanceOf(M, "Int")) | |
89 | 89 | then { | |
90 | 90 | let N = M | |
91 | 91 | N | |
92 | 92 | } | |
93 | 93 | else 0 | |
94 | 94 | } | |
95 | 95 | let W = (V + 1) | |
96 | 96 | let X = { | |
97 | 97 | let M = getInteger(this, (s + "_Total_Calls")) | |
98 | 98 | if ($isInstanceOf(M, "Int")) | |
99 | 99 | then { | |
100 | 100 | let N = M | |
101 | 101 | N | |
102 | 102 | } | |
103 | 103 | else 0 | |
104 | 104 | } | |
105 | 105 | let Y = (X + 1) | |
106 | 106 | let Z = { | |
107 | 107 | let M = getInteger(this, ((s + "_Total_Calls_") + toString(I))) | |
108 | 108 | if ($isInstanceOf(M, "Int")) | |
109 | 109 | then { | |
110 | 110 | let N = M | |
111 | 111 | N | |
112 | 112 | } | |
113 | 113 | else 0 | |
114 | 114 | } | |
115 | 115 | let aa = (Z + 1) | |
116 | 116 | let ab = fraction(B, 5, 100) | |
117 | 117 | if (if ((o.caller != h)) | |
118 | 118 | then (o.caller != i) | |
119 | 119 | else false) | |
120 | 120 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
121 | 121 | else if ((n == 1)) | |
122 | 122 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
123 | 123 | else if ((c > lastBlock.timestamp)) | |
124 | 124 | then throw((e + toString(c))) | |
125 | 125 | else if ((w == "CLOSE")) | |
126 | 126 | then throw(g) | |
127 | 127 | else if ((A == "Yes")) | |
128 | 128 | then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
129 | 129 | else if ((lastBlock.timestamp >= H)) | |
130 | 130 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
131 | 131 | else if ((Q > ab)) | |
132 | 132 | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(ab)) + ", Pending House Risk is ") + toString((ab - P))) + ". Join in next Cycle.")) | |
133 | 133 | else if (if ((C == 0)) | |
134 | 134 | then (E == 0) | |
135 | 135 | else false) | |
136 | 136 | then throw("User Balance and Voucher Balance both are Zero. Please Add Funds to Dapp.") | |
137 | - | else if (if (( | |
138 | - | then ( | |
137 | + | else if (if (((k + j) > D)) | |
138 | + | then ((k + j) > F) | |
139 | 139 | else false) | |
140 | - | then throw((((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(D)) + "], Voucher Balance [-") + toString(F)) + "]")) | |
141 | - | else if ((k > p)) | |
142 | - | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
143 | - | else if ((p > l)) | |
144 | - | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
145 | - | else if ((size(toString(x)) != 13)) | |
146 | - | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
147 | - | else if ((size(toString(y)) != 13)) | |
148 | - | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
149 | - | else if (if ((E == 0)) | |
150 | - | then true | |
151 | - | else (0 > F)) | |
152 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
153 | - | else if ((F > p)) | |
154 | - | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
155 | - | else throw("Wrong Entry.") | |
140 | + | then throw((("Voucher Funds and User Balance both are less than minimum order size" + toString((k + j))) + "/10^8 WAVES including network fee.")) | |
141 | + | else if (if ((0 > D)) | |
142 | + | then (0 > F) | |
143 | + | else false) | |
144 | + | then throw((((("Placed Order Amount is going negative. Please reduce the Order Size. User Fund Amount = [-" + toString(D)) + "], Voucher Balance [-") + toString(F)) + "]")) | |
145 | + | else if ((0 > D)) | |
146 | + | then throw((("Placed Order Amount is going negative. Please reduce the Order Size.User Fund Amount = [-" + toString(D)) + "]")) | |
147 | + | else if ((k > p)) | |
148 | + | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
149 | + | else if ((p > l)) | |
150 | + | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
151 | + | else if ((size(toString(x)) != 13)) | |
152 | + | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
153 | + | else if ((size(toString(y)) != 13)) | |
154 | + | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
155 | + | else if (if ((E == 0)) | |
156 | + | then true | |
157 | + | else (0 > F)) | |
158 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
159 | + | else if ((F > p)) | |
160 | + | then [StringEntry(("User_ID_" + s), r), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Call_" + s) + "_") + toString(Y)), toString(t)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(Y)), p), StringEntry(((("Call_Start_End_" + s) + "_") + toString(Y)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Calls", U), IntegerEntry(("Total_Calls_" + toString(I)), W), IntegerEntry((s + "_Total_Calls"), Y), IntegerEntry(((s + "_Total_Calls_") + toString(I)), aa), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
161 | + | else throw("Wrong Entry.") | |
156 | 162 | } | |
157 | 163 | ||
158 | 164 | ||
159 | 165 | ||
160 | 166 | @Callable(o) | |
161 | 167 | func placeoptionPut (p,q,r,s,t,u,v,w,x,y) = { | |
162 | 168 | let z = toBase58String(o.caller.bytes) | |
163 | 169 | let A = getString(this, ("addr_BLACKLISTED_" + s)) | |
164 | 170 | let B = valueOrErrorMessage(getInteger(addressFromStringValue(a), "Total_Pool_Liquidity"), "No Initial Pool Liquidity was Found.") | |
165 | 171 | let C = valueOrElse(getInteger(((d + "_") + s)), 0) | |
166 | 172 | let D = ((C - p) - j) | |
167 | 173 | let E = valueOrElse(getInteger((s + "_Voucher_Balance")), 0) | |
168 | 174 | let F = (E - p) | |
169 | 175 | let G = x | |
170 | 176 | let H = y | |
171 | 177 | let I = q | |
172 | 178 | let J = 1 | |
173 | 179 | let K = (I + J) | |
174 | 180 | let L = { | |
175 | 181 | let M = getInteger(this, "Total_Option_Orders") | |
176 | 182 | if ($isInstanceOf(M, "Int")) | |
177 | 183 | then { | |
178 | 184 | let N = M | |
179 | 185 | N | |
180 | 186 | } | |
181 | 187 | else 0 | |
182 | 188 | } | |
183 | 189 | let O = (L + 1) | |
184 | 190 | let P = { | |
185 | 191 | let M = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(I))) | |
186 | 192 | if ($isInstanceOf(M, "Int")) | |
187 | 193 | then { | |
188 | 194 | let N = M | |
189 | 195 | N | |
190 | 196 | } | |
191 | 197 | else 0 | |
192 | 198 | } | |
193 | 199 | let Q = (P + p) | |
194 | 200 | let R = { | |
195 | 201 | let M = getInteger(this, ("Total_Option_Orders_" + toString(I))) | |
196 | 202 | if ($isInstanceOf(M, "Int")) | |
197 | 203 | then { | |
198 | 204 | let N = M | |
199 | 205 | N | |
200 | 206 | } | |
201 | 207 | else 0 | |
202 | 208 | } | |
203 | 209 | let S = (R + 1) | |
204 | 210 | let ac = { | |
205 | 211 | let M = getInteger(this, "Total_Puts") | |
206 | 212 | if ($isInstanceOf(M, "Int")) | |
207 | 213 | then { | |
208 | 214 | let N = M | |
209 | 215 | N | |
210 | 216 | } | |
211 | 217 | else 0 | |
212 | 218 | } | |
213 | 219 | let ad = (ac + 1) | |
214 | 220 | let ae = { | |
215 | 221 | let M = getInteger(this, ("Total_Puts_" + toString(I))) | |
216 | 222 | if ($isInstanceOf(M, "Int")) | |
217 | 223 | then { | |
218 | 224 | let N = M | |
219 | 225 | N | |
220 | 226 | } | |
221 | 227 | else 0 | |
222 | 228 | } | |
223 | 229 | let af = (ae + 1) | |
224 | 230 | let ag = { | |
225 | 231 | let M = getInteger(this, (s + "_Total_Puts")) | |
226 | 232 | if ($isInstanceOf(M, "Int")) | |
227 | 233 | then { | |
228 | 234 | let N = M | |
229 | 235 | N | |
230 | 236 | } | |
231 | 237 | else 0 | |
232 | 238 | } | |
233 | 239 | let ah = (ag + 1) | |
234 | 240 | let ai = { | |
235 | 241 | let M = getInteger(this, ((s + "_Total_Puts_") + toString(I))) | |
236 | 242 | if ($isInstanceOf(M, "Int")) | |
237 | 243 | then { | |
238 | 244 | let N = M | |
239 | 245 | N | |
240 | 246 | } | |
241 | 247 | else 0 | |
242 | 248 | } | |
243 | 249 | let aj = (ai + 1) | |
244 | 250 | let ab = fraction(B, 5, 100) | |
245 | 251 | if (if ((o.caller != h)) | |
246 | 252 | then (o.caller != i) | |
247 | 253 | else false) | |
248 | 254 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
249 | 255 | else if ((n == 1)) | |
250 | 256 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
251 | 257 | else if ((c > lastBlock.timestamp)) | |
252 | 258 | then throw((e + toString(c))) | |
253 | 259 | else if ((w == "CLOSE")) | |
254 | 260 | then throw(g) | |
255 | 261 | else if ((A == "Yes")) | |
256 | 262 | then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
257 | 263 | else if ((lastBlock.timestamp >= H)) | |
258 | 264 | then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.") | |
259 | 265 | else if ((Q > ab)) | |
260 | 266 | then throw((((("No more orders accepted, Option House Risk Size is only limited to " + toString(ab)) + ", Pending House Risk is ") + toString((ab - P))) + ". Join in next Cycle.")) | |
261 | 267 | else if ((k > p)) | |
262 | 268 | then throw((("Placed Order Size is less than [" + toString(k)) + "/10^8] WAVES.")) | |
263 | 269 | else if ((p > l)) | |
264 | 270 | then throw((("Placed Order Size is more than [" + toString(l)) + "/10^8] WAVES.")) | |
265 | 271 | else if ((0 > D)) | |
266 | 272 | then throw(("Placed Order Amount is going negative. Please reduce the Order Size. Negative Fund Amount = " + toString(D))) | |
267 | 273 | else if ((size(toString(x)) != 13)) | |
268 | 274 | then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
269 | 275 | else if ((size(toString(y)) != 13)) | |
270 | 276 | then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.") | |
271 | 277 | else [StringEntry(("User_ID_" + s), r), IntegerEntry(((d + "_") + s), D), IntegerEntry((s + "_Voucher_Balance"), F), IntegerEntry("Network_Fee_To_Place_Order", j), StringEntry(((("Put_" + s) + "_") + toString(ah)), toString(t)), IntegerEntry(((("Put_Amount_" + s) + "_") + toString(ah)), p), StringEntry(((("Put_Start_End_" + s) + "_") + toString(ah)), ((toString(I) + "_") + toString(K))), IntegerEntry("Total_Option_Orders", O), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(I)), Q), IntegerEntry("Total_Pool_Liquidity", B), IntegerEntry(("Funds_At_Risk_" + toString(I)), ab), IntegerEntry("Call_Limits", u), IntegerEntry("Put_Limits", v), IntegerEntry(("Total_Option_Orders_" + toString(I)), S), IntegerEntry("Total_Puts", ad), IntegerEntry(("Total_Puts_" + toString(I)), af), IntegerEntry((s + "_Total_Puts"), ah), IntegerEntry(((s + "_Total_Puts_") + toString(I)), aj), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(a), p, unit)] | |
272 | 278 | } | |
273 | 279 | ||
274 | 280 | ||
275 | 281 | ||
276 | 282 | @Callable(o) | |
277 | 283 | func Fill_Vouchers_Liquidity () = { | |
278 | 284 | let z = toBase58String(o.caller.bytes) | |
279 | 285 | let ak = if ((size(o.payments) == 1)) | |
280 | 286 | then o.payments[0] | |
281 | 287 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
282 | 288 | let al = { | |
283 | 289 | let M = getInteger(this, "Available_Vouchers_Balance") | |
284 | 290 | if ($isInstanceOf(M, "Int")) | |
285 | 291 | then { | |
286 | 292 | let N = M | |
287 | 293 | N | |
288 | 294 | } | |
289 | 295 | else 0 | |
290 | 296 | } | |
291 | 297 | let am = (al + ak.amount) | |
292 | 298 | let an = { | |
293 | 299 | let M = getInteger(this, "Vouchers_Counter_ID") | |
294 | 300 | if ($isInstanceOf(M, "Int")) | |
295 | 301 | then { | |
296 | 302 | let N = M | |
297 | 303 | N | |
298 | 304 | } | |
299 | 305 | else 0 | |
300 | 306 | } | |
301 | 307 | let ao = (an + 1) | |
302 | 308 | if (isDefined(ak.assetId)) | |
303 | 309 | then throw("Only WAVES is allowed to deposit at the moment") | |
304 | 310 | else if ((n == 1)) | |
305 | 311 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
306 | 312 | else [IntegerEntry("Available_Vouchers_Balance", am), IntegerEntry((toString(ao) + "_Voucher_Added_Amount"), ak.amount), IntegerEntry("Vouchers_Counter_ID", ao)] | |
307 | 313 | } | |
308 | 314 | ||
309 | 315 | ||
310 | 316 | ||
311 | 317 | @Callable(o) | |
312 | 318 | func Issue_Vouchers (ap,r,s) = { | |
313 | 319 | let aq = valueOrErrorMessage(getInteger(this, "Available_Vouchers_Balance"), "Available_Vouchers_Balance Entry is not Found. Initiate Fill_Vouchers_Liquidity Function first.") | |
314 | 320 | let ar = (aq - ap) | |
315 | 321 | let as = { | |
316 | 322 | let M = getInteger(this, ("Total_Vouchers_Issued_To_" + s)) | |
317 | 323 | if ($isInstanceOf(M, "Int")) | |
318 | 324 | then { | |
319 | 325 | let N = M | |
320 | 326 | N | |
321 | 327 | } | |
322 | 328 | else 0 | |
323 | 329 | } | |
324 | 330 | let at = (as + 1) | |
325 | 331 | let au = { | |
326 | 332 | let M = getInteger(this, ("Total_Vouchers_Amount_Issued_To_" + s)) | |
327 | 333 | if ($isInstanceOf(M, "Int")) | |
328 | 334 | then { | |
329 | 335 | let N = M | |
330 | 336 | N | |
331 | 337 | } | |
332 | 338 | else 0 | |
333 | 339 | } | |
334 | 340 | let av = (au + ap) | |
335 | 341 | let aw = { | |
336 | 342 | let M = getInteger(this, (s + "_Voucher_Balance")) | |
337 | 343 | if ($isInstanceOf(M, "Int")) | |
338 | 344 | then { | |
339 | 345 | let N = M | |
340 | 346 | N | |
341 | 347 | } | |
342 | 348 | else 0 | |
343 | 349 | } | |
344 | 350 | let ax = (aw + ap) | |
345 | 351 | if ((o.caller != h)) | |
346 | 352 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
347 | 353 | else if ((n == 1)) | |
348 | 354 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
349 | 355 | else if ((0 >= ap)) | |
350 | 356 | then throw((("Voucher Balance can't be 0 or go in negative State. Increase the Voucher Amount where maximum limit is " + toString(m)) + "/10^8 Waves.")) | |
351 | 357 | else if ((0 >= ar)) | |
352 | 358 | then throw((("Updated Voucher Balance can't go in negative State of " + toString(ar)) + " /10^8 WAVES. Reduce the Voucher Amount.")) | |
353 | 359 | else if ((ap > m)) | |
354 | 360 | then throw((("Input Voucher Balance can't exceed the set maximum limit of " + toString(m)) + "/10^8 Waves.")) | |
355 | 361 | else if ((ax > m)) | |
356 | 362 | then throw((((s + " Voucher Balance is exceeding the limit of ") + toString(m)) + "/10^8 Waves.")) | |
357 | 363 | else [IntegerEntry(("Total_Vouchers_Issued_To_" + s), at), IntegerEntry(("Total_Vouchers_Amount_Issued_To_" + s), av), IntegerEntry((s + "_Voucher_Balance"), ax), IntegerEntry("Available_Vouchers_Balance", ar)] | |
358 | 364 | } | |
359 | 365 | ||
360 | 366 | ||
361 | 367 | ||
362 | 368 | @Callable(o) | |
363 | 369 | func DepositUserFunds () = { | |
364 | 370 | let z = toBase58String(o.caller.bytes) | |
365 | 371 | let ak = if ((size(o.payments) == 1)) | |
366 | 372 | then o.payments[0] | |
367 | 373 | else throw("No payment attached, Please Attach only Whitelisted Tokens in payment[1].") | |
368 | 374 | let A = getString(this, ("addr_BLACKLISTED_" + z)) | |
369 | 375 | let ay = { | |
370 | 376 | let M = getInteger(this, ((d + "_") + z)) | |
371 | 377 | if ($isInstanceOf(M, "Int")) | |
372 | 378 | then { | |
373 | 379 | let N = M | |
374 | 380 | N | |
375 | 381 | } | |
376 | 382 | else 0 | |
377 | 383 | } | |
378 | 384 | let az = (ay + ak.amount) | |
379 | 385 | let aA = { | |
380 | 386 | let M = getInteger(this, "Deposit_Counter_ID") | |
381 | 387 | if ($isInstanceOf(M, "Int")) | |
382 | 388 | then { | |
383 | 389 | let N = M | |
384 | 390 | N | |
385 | 391 | } | |
386 | 392 | else 0 | |
387 | 393 | } | |
388 | 394 | let aB = (aA + 1) | |
389 | 395 | if ((c > lastBlock.timestamp)) | |
390 | 396 | then throw((e + toString(c))) | |
391 | 397 | else if ((n == 1)) | |
392 | 398 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
393 | 399 | else if ((A == "Yes")) | |
394 | 400 | then throw((z + " Address is Blacklisted. Please contact Admin to Whitelist it.")) | |
395 | 401 | else if (isDefined(ak.assetId)) | |
396 | 402 | then throw("Only WAVES is allowed to deposit at the moment") | |
397 | 403 | else [IntegerEntry(((d + "_") + z), az), IntegerEntry(((((toString(aB) + "_") + d) + "_") + z), ak.amount), IntegerEntry("Deposit_Counter_ID", aB)] | |
398 | 404 | } | |
399 | 405 | ||
400 | 406 | ||
401 | 407 | ||
402 | 408 | @Callable(o) | |
403 | 409 | func WithdrawUserFunds (s,p) = { | |
404 | 410 | let z = toBase58String(o.caller.bytes) | |
405 | 411 | let aC = getIntegerValue(((d + "_") + s)) | |
406 | 412 | let D = ((aC - p) - j) | |
407 | 413 | let aD = 10000000 | |
408 | 414 | if ((o.caller != h)) | |
409 | 415 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
410 | 416 | else if ((n == 1)) | |
411 | 417 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
412 | 418 | else if ((aD > p)) | |
413 | 419 | then throw((("Minimum Withdraw Amount is " + toString(aD)) + "/10^8] WAVES.")) | |
414 | 420 | else if ((0 > D)) | |
415 | 421 | then throw((("Placed Withdraw Amount is going in negative State of " + toString(D)) + "/10^8] WAVES.")) | |
416 | 422 | else [IntegerEntry("Previous_Balance", aC), IntegerEntry("Network_Fee_To_Withdraw", j), IntegerEntry(((d + "_") + s), D), ScriptTransfer(h, j, unit), ScriptTransfer(addressFromStringValue(s), p, unit)] | |
417 | 423 | } | |
418 | 424 | ||
419 | 425 | ||
420 | 426 | ||
421 | 427 | @Callable(o) | |
422 | 428 | func BlackListAddress (aE) = { | |
423 | 429 | let A = getString(this, ("addr_BLACKLISTED_" + aE)) | |
424 | 430 | let aF = { | |
425 | 431 | let M = getInteger(this, "Total_Black_Listed_Address") | |
426 | 432 | if ($isInstanceOf(M, "Int")) | |
427 | 433 | then { | |
428 | 434 | let N = M | |
429 | 435 | N | |
430 | 436 | } | |
431 | 437 | else 0 | |
432 | 438 | } | |
433 | 439 | let aG = (aF + 1) | |
434 | 440 | if ((c > lastBlock.timestamp)) | |
435 | 441 | then throw((e + toString(c))) | |
436 | 442 | else if ((o.caller != h)) | |
437 | 443 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
438 | 444 | else if ((n == 1)) | |
439 | 445 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
440 | 446 | else if ((A == "Yes")) | |
441 | 447 | then throw("Address is already available in Blacklist.") | |
442 | 448 | else [StringEntry(("addr_BLACKLISTED_" + aE), "Yes"), IntegerEntry("Total_Black_Listed_Address", aG)] | |
443 | 449 | } | |
444 | 450 | ||
445 | 451 | ||
446 | 452 | ||
447 | 453 | @Callable(o) | |
448 | 454 | func DeleteBlackListAddress (aE) = { | |
449 | 455 | let A = getString(this, ("addr_BLACKLISTED_" + aE)) | |
450 | 456 | let aF = { | |
451 | 457 | let M = getInteger(this, "Total_Black_Listed_Address") | |
452 | 458 | if ($isInstanceOf(M, "Int")) | |
453 | 459 | then { | |
454 | 460 | let N = M | |
455 | 461 | N | |
456 | 462 | } | |
457 | 463 | else 0 | |
458 | 464 | } | |
459 | 465 | let aG = (aF - 1) | |
460 | 466 | if ((c > lastBlock.timestamp)) | |
461 | 467 | then throw(("Product Launch Timestamp is set at " + toString(c))) | |
462 | 468 | else if ((o.caller != h)) | |
463 | 469 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
464 | 470 | else if ((n == 1)) | |
465 | 471 | then throw("Contract Status is Currently Shutdown. Please Sign the Function Initiate_Contract_Shutdown.") | |
466 | 472 | else if ((A == "Yes")) | |
467 | 473 | then [DeleteEntry(("addr_BLACKLISTED_" + aE)), IntegerEntry("Total_Black_Listed_Address", aG)] | |
468 | 474 | else throw("Address is not available in Blacklist.") | |
469 | 475 | } | |
470 | 476 | ||
471 | 477 | ||
472 | 478 | ||
473 | 479 | @Callable(o) | |
474 | 480 | func Initiate_Contract_Shutdown () = { | |
475 | 481 | let aH = { | |
476 | 482 | let M = getInteger(this, "Shutdown_Status") | |
477 | 483 | if ($isInstanceOf(M, "Int")) | |
478 | 484 | then { | |
479 | 485 | let N = M | |
480 | 486 | N | |
481 | 487 | } | |
482 | 488 | else 0 | |
483 | 489 | } | |
484 | 490 | if ((o.caller != h)) | |
485 | 491 | then throw((("This Address is not Authorized. Only " + toString(h)) + " is Authorized Address to Sign it.")) | |
486 | 492 | else if ((aH == 0)) | |
487 | 493 | then [IntegerEntry("Shutdown_Status", 1)] | |
488 | 494 | else [IntegerEntry("Shutdown_Status", 0)] | |
489 | 495 | } | |
490 | 496 | ||
491 | 497 | ||
492 | 498 | @Verifier(aI) | |
493 | 499 | func aJ () = { | |
494 | 500 | let M = aI | |
495 | 501 | if (if ($isInstanceOf(M, "Order")) | |
496 | 502 | then true | |
497 | 503 | else if ($isInstanceOf(M, "ExchangeTransaction")) | |
498 | 504 | then true | |
499 | 505 | else if ($isInstanceOf(M, "MassTransferTransaction")) | |
500 | 506 | then true | |
501 | 507 | else $isInstanceOf(M, "TransferTransaction")) | |
502 | 508 | then { | |
503 | 509 | let aK = M | |
504 | 510 | false | |
505 | 511 | } | |
506 | 512 | else sigVerify(aI.bodyBytes, aI.proofs[0], aI.senderPublicKey) | |
507 | 513 | } | |
508 | 514 |
github/deemru/w8io/026f985 85.88 ms ◑