tx · 6ARt7ebvjbErdkRLYQhVrH1S9xCpcsXL5UWeWrZ61muE

3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm:  -1.04000000 Waves

2023.04.01 12:18 [2515346] smart account 3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm > SELF 0.00000000 Waves

{ "type": 13, "id": "6ARt7ebvjbErdkRLYQhVrH1S9xCpcsXL5UWeWrZ61muE", "fee": 104000000, "feeAssetId": null, "timestamp": 1680340733810, "version": 2, "chainId": 84, "sender": "3N2ZtCEGncHQjQF4g4oQBDeRRZoUQ3kJ7Nm", "senderPublicKey": "EKmhAeU9yA52DSvBnr1WtWQWyyiCrauDYkmgnTns7ZkA", "proofs": [ "3cwVWhTy7gPZxx9WiSWuMFg6tUGEb9hwU7WvuPcE617wu736aeQy9XeLN6hHXBfy5kTqvMZSJ86cw6bJaUZbdGLU" ], "script": "base64:AAIFAAAAAAAAABwIAhILCgkBAQEBAQEIAQESCwoJAQEBAQEBCAEBAAAACAAAAAAURGFwcF9BZGRyZXNzX3B1Yl9rZXkBAAAAIDt0RfG+UDnkUrGYjjYAjr/q4kPWHyAQKg1dGLENBEMMAAAAABhwcm9kdWN0X2xhdW5jaF90aW1lc3RhbXAAAAABhgpF7AAAAAAAFHByb2R1Y3RfbGF1bmNoX2Vycm9yAgAAACNQcm9kdWN0IExhdW5jaCBUaW1lc3RhbXAgaXMgc2V0IGF0IAAAAAAQbm9fcGF5bWVudF9lcnJvcgIAAAA3Tm8gcGF5bWVudCBhdHRhY2hlZCwgUGxlYXNlIEF0dGFjaCBUb2tlbiBpbiBwYXltZW50WzFdLgAAAAASY2xvc2VkX29yYWNsZV9lcm9yAgAAADFPcmFjbGUgaXMgY2xvc2VkLiBXYWl0IFVudGlsIE9yYWNsZSBpcyBUdXJuZWQgT24uAAAAABF3aGl0ZWxpc3RfYWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAURGFwcF9BZG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ZXNzAgAAAAxfVG90YWxfUHV0c18JAAGkAAAAAQUAAAAUcmVhZF9PcHRpb25Db3VudGVySUQFAAAAHVRvdGFsVXNlclB1dGluU3BlY2lmaWNDb3VudGVyBQAAAANuaWwAAAAAlmviWA==", "height": 2515346, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DDm94CenkCkSGinB7Bd3TPiDWmi7W134WJe8JfxkeC1p Next: HW5i1hecWEjyQCr4AYGMgTXJt4T1Y3pt1rJR3MNVQW4a Diff:
OldNewDifferences
131131 }
132132
133133
134+
135+@Callable(i)
136+func placeoptionPut (j,k,l,m,n,o,p,q,r) = {
137+ let s = toBase58String(i.caller.bytes)
138+ let t = if ((size(i.payments) == 1))
139+ then i.payments[0]
140+ else throw(d)
141+ let u = getString(this, ("addr_BLACKLISTED_" + s))
142+ let v = q
143+ let w = r
144+ let x = j
145+ let y = (x + t.amount)
146+ let z = k
147+ let A = 1
148+ let B = (z + A)
149+ let C = {
150+ let D = getInteger(this, "Total_Option_Orders")
151+ if ($isInstanceOf(D, "Int"))
152+ then {
153+ let E = D
154+ E
155+ }
156+ else 0
157+ }
158+ let F = (C + 1)
159+ let G = {
160+ let D = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(z)))
161+ if ($isInstanceOf(D, "Int"))
162+ then {
163+ let E = D
164+ E
165+ }
166+ else 0
167+ }
168+ let H = (G + t.amount)
169+ let I = {
170+ let D = getInteger(this, ("Total_Option_Orders_" + toString(z)))
171+ if ($isInstanceOf(D, "Int"))
172+ then {
173+ let E = D
174+ E
175+ }
176+ else 0
177+ }
178+ let J = (I + 1)
179+ let U = {
180+ let D = getInteger(this, "Total_Puts")
181+ if ($isInstanceOf(D, "Int"))
182+ then {
183+ let E = D
184+ E
185+ }
186+ else 0
187+ }
188+ let V = (U + 1)
189+ let W = {
190+ let D = getInteger(this, ("Total_Puts_" + toString(z)))
191+ if ($isInstanceOf(D, "Int"))
192+ then {
193+ let E = D
194+ E
195+ }
196+ else 0
197+ }
198+ let X = (W + 1)
199+ let Y = {
200+ let D = getInteger(this, (s + "_Total_Puts"))
201+ if ($isInstanceOf(D, "Int"))
202+ then {
203+ let E = D
204+ E
205+ }
206+ else 0
207+ }
208+ let Z = (Y + 1)
209+ let aa = {
210+ let D = getInteger(this, ((s + "_Total_Puts_") + toString(z)))
211+ if ($isInstanceOf(D, "Int"))
212+ then {
213+ let E = D
214+ E
215+ }
216+ else 0
217+ }
218+ let ab = (aa + 1)
219+ let S = {
220+ let D = getInteger(this, "Pending_Option_Limits")
221+ if ($isInstanceOf(D, "Int"))
222+ then {
223+ let E = D
224+ E
225+ }
226+ else 0
227+ }
228+ let T = l
229+ if ((i.caller != f))
230+ then throw((("This Address is not Authorized. Only " + toString(f)) + " is Authorized Address to Sign it."))
231+ else if ((b > lastBlock.timestamp))
232+ then throw((c + toString(b)))
233+ else if ((p == "Close"))
234+ then throw(e)
235+ else if ((u == "Yes"))
236+ then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it."))
237+ else if (isDefined(t.assetId))
238+ then throw("Only TN is allowed to deposit at the moment")
239+ else if ((lastBlock.timestamp >= w))
240+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
241+ else if ((g > t.amount))
242+ then throw((("Placed Order Size is less than [" + toString(g)) + "/10^8] TN."))
243+ else if ((t.amount > h))
244+ then throw((("Placed Order Size is more than [" + toString(h)) + "/10^8] TN."))
245+ else [StringEntry(((("Put_" + s) + "_") + toString(Z)), toString(m)), IntegerEntry(((("Put_Amount_" + s) + "_") + toString(Z)), t.amount), StringEntry(((("Put_Start_End_" + s) + "_") + toString(Z)), ((toString(z) + "_") + toString(B))), IntegerEntry("Total_Option_Orders", F), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(z)), H), IntegerEntry("Total_Pool_Liquidity", y), IntegerEntry(("Total_Pool_Liquidity_" + toString(z)), (y - H)), IntegerEntry(("Funds_At_Risk_" + toString(z)), T), IntegerEntry("Call_Limits", n), IntegerEntry("Put_Limits", o), IntegerEntry(("Total_Option_Orders_" + toString(z)), J), IntegerEntry("Total_Puts", V), IntegerEntry(("Total_Puts_" + toString(z)), X), IntegerEntry((s + "_Total_Puts"), Z), IntegerEntry(((s + "_Total_Puts_") + toString(z)), ab)]
246+ }
247+
248+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB'
55
66 let b = 1675209600000
77
88 let c = "Product Launch Timestamp is set at "
99
1010 let d = "No payment attached, Please Attach Token in payment[1]."
1111
1212 let e = "Oracle is closed. Wait Until Oracle is Turned On."
1313
1414 let f = addressFromPublicKey(a)
1515
1616 let g = 10000000
1717
1818 let h = 10000000000
1919
2020 @Callable(i)
2121 func placeoptionCall (j,k,l,m,n,o,p,q,r) = {
2222 let s = toBase58String(i.caller.bytes)
2323 let t = if ((size(i.payments) == 1))
2424 then i.payments[0]
2525 else throw(d)
2626 let u = getString(this, ("addr_BLACKLISTED_" + s))
2727 let v = q
2828 let w = r
2929 let x = j
3030 let y = (x + t.amount)
3131 let z = k
3232 let A = 1
3333 let B = (z + A)
3434 let C = {
3535 let D = getInteger(this, "Total_Option_Orders")
3636 if ($isInstanceOf(D, "Int"))
3737 then {
3838 let E = D
3939 E
4040 }
4141 else 0
4242 }
4343 let F = (C + 1)
4444 let G = {
4545 let D = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(z)))
4646 if ($isInstanceOf(D, "Int"))
4747 then {
4848 let E = D
4949 E
5050 }
5151 else 0
5252 }
5353 let H = (G + t.amount)
5454 let I = {
5555 let D = getInteger(this, ("Total_Option_Orders_" + toString(z)))
5656 if ($isInstanceOf(D, "Int"))
5757 then {
5858 let E = D
5959 E
6060 }
6161 else 0
6262 }
6363 let J = (I + 1)
6464 let K = {
6565 let D = getInteger(this, "Total_Calls")
6666 if ($isInstanceOf(D, "Int"))
6767 then {
6868 let E = D
6969 E
7070 }
7171 else 0
7272 }
7373 let L = (K + 1)
7474 let M = {
7575 let D = getInteger(this, ("Total_Calls_" + toString(z)))
7676 if ($isInstanceOf(D, "Int"))
7777 then {
7878 let E = D
7979 E
8080 }
8181 else 0
8282 }
8383 let N = (M + 1)
8484 let O = {
8585 let D = getInteger(this, (s + "_Total_Calls"))
8686 if ($isInstanceOf(D, "Int"))
8787 then {
8888 let E = D
8989 E
9090 }
9191 else 0
9292 }
9393 let P = (O + 1)
9494 let Q = {
9595 let D = getInteger(this, ((s + "_Total_Calls_") + toString(z)))
9696 if ($isInstanceOf(D, "Int"))
9797 then {
9898 let E = D
9999 E
100100 }
101101 else 0
102102 }
103103 let R = (Q + 1)
104104 let S = {
105105 let D = getInteger(this, "Pending_Option_Limits")
106106 if ($isInstanceOf(D, "Int"))
107107 then {
108108 let E = D
109109 E
110110 }
111111 else 0
112112 }
113113 let T = l
114114 if ((i.caller != f))
115115 then throw((("This Address is not Authorized. Only " + toString(f)) + " is Authorized Address to Sign it."))
116116 else if ((b > lastBlock.timestamp))
117117 then throw((c + toString(b)))
118118 else if ((p == "Close"))
119119 then throw(e)
120120 else if ((u == "Yes"))
121121 then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it."))
122122 else if (isDefined(t.assetId))
123123 then throw("Only TN is allowed to deposit at the moment")
124124 else if ((lastBlock.timestamp >= w))
125125 then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
126126 else if ((g > t.amount))
127127 then throw((("Placed Order Size is less than [" + toString(g)) + "/10^8] TN."))
128128 else if ((t.amount > h))
129129 then throw((("Placed Order Size is more than [" + toString(h)) + "/10^8] TN."))
130130 else [StringEntry(((("Call_" + s) + "_") + toString(P)), toString(m)), IntegerEntry(((("Call_Amount_" + s) + "_") + toString(P)), t.amount), StringEntry(((("Call_Start_End_" + s) + "_") + toString(P)), ((toString(z) + "_") + toString(B))), IntegerEntry("Total_Option_Orders", F), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(z)), H), IntegerEntry("Total_Pool_Liquidity", y), IntegerEntry(("Total_Pool_Liquidity_" + toString(z)), (y - H)), IntegerEntry(("Funds_At_Risk_" + toString(z)), T), IntegerEntry("Call_Limits", n), IntegerEntry("Put_Limits", o), IntegerEntry(("Total_Option_Orders_" + toString(z)), J), IntegerEntry("Total_Calls", L), IntegerEntry(("Total_Calls_" + toString(z)), N), IntegerEntry((s + "_Total_Calls"), P), IntegerEntry(((s + "_Total_Calls_") + toString(z)), R)]
131131 }
132132
133133
134+
135+@Callable(i)
136+func placeoptionPut (j,k,l,m,n,o,p,q,r) = {
137+ let s = toBase58String(i.caller.bytes)
138+ let t = if ((size(i.payments) == 1))
139+ then i.payments[0]
140+ else throw(d)
141+ let u = getString(this, ("addr_BLACKLISTED_" + s))
142+ let v = q
143+ let w = r
144+ let x = j
145+ let y = (x + t.amount)
146+ let z = k
147+ let A = 1
148+ let B = (z + A)
149+ let C = {
150+ let D = getInteger(this, "Total_Option_Orders")
151+ if ($isInstanceOf(D, "Int"))
152+ then {
153+ let E = D
154+ E
155+ }
156+ else 0
157+ }
158+ let F = (C + 1)
159+ let G = {
160+ let D = getInteger(this, ("Total_Funds_Added_In_Option_Order_" + toString(z)))
161+ if ($isInstanceOf(D, "Int"))
162+ then {
163+ let E = D
164+ E
165+ }
166+ else 0
167+ }
168+ let H = (G + t.amount)
169+ let I = {
170+ let D = getInteger(this, ("Total_Option_Orders_" + toString(z)))
171+ if ($isInstanceOf(D, "Int"))
172+ then {
173+ let E = D
174+ E
175+ }
176+ else 0
177+ }
178+ let J = (I + 1)
179+ let U = {
180+ let D = getInteger(this, "Total_Puts")
181+ if ($isInstanceOf(D, "Int"))
182+ then {
183+ let E = D
184+ E
185+ }
186+ else 0
187+ }
188+ let V = (U + 1)
189+ let W = {
190+ let D = getInteger(this, ("Total_Puts_" + toString(z)))
191+ if ($isInstanceOf(D, "Int"))
192+ then {
193+ let E = D
194+ E
195+ }
196+ else 0
197+ }
198+ let X = (W + 1)
199+ let Y = {
200+ let D = getInteger(this, (s + "_Total_Puts"))
201+ if ($isInstanceOf(D, "Int"))
202+ then {
203+ let E = D
204+ E
205+ }
206+ else 0
207+ }
208+ let Z = (Y + 1)
209+ let aa = {
210+ let D = getInteger(this, ((s + "_Total_Puts_") + toString(z)))
211+ if ($isInstanceOf(D, "Int"))
212+ then {
213+ let E = D
214+ E
215+ }
216+ else 0
217+ }
218+ let ab = (aa + 1)
219+ let S = {
220+ let D = getInteger(this, "Pending_Option_Limits")
221+ if ($isInstanceOf(D, "Int"))
222+ then {
223+ let E = D
224+ E
225+ }
226+ else 0
227+ }
228+ let T = l
229+ if ((i.caller != f))
230+ then throw((("This Address is not Authorized. Only " + toString(f)) + " is Authorized Address to Sign it."))
231+ else if ((b > lastBlock.timestamp))
232+ then throw((c + toString(b)))
233+ else if ((p == "Close"))
234+ then throw(e)
235+ else if ((u == "Yes"))
236+ then throw((s + " Address is Blacklisted. Please contact Admin to Whitelist it."))
237+ else if (isDefined(t.assetId))
238+ then throw("Only TN is allowed to deposit at the moment")
239+ else if ((lastBlock.timestamp >= w))
240+ then throw("Option Order placing Timing Limits are Over. Please Join in Next Cycle.")
241+ else if ((g > t.amount))
242+ then throw((("Placed Order Size is less than [" + toString(g)) + "/10^8] TN."))
243+ else if ((t.amount > h))
244+ then throw((("Placed Order Size is more than [" + toString(h)) + "/10^8] TN."))
245+ else [StringEntry(((("Put_" + s) + "_") + toString(Z)), toString(m)), IntegerEntry(((("Put_Amount_" + s) + "_") + toString(Z)), t.amount), StringEntry(((("Put_Start_End_" + s) + "_") + toString(Z)), ((toString(z) + "_") + toString(B))), IntegerEntry("Total_Option_Orders", F), IntegerEntry(("Total_Funds_Added_In_Option_Order_" + toString(z)), H), IntegerEntry("Total_Pool_Liquidity", y), IntegerEntry(("Total_Pool_Liquidity_" + toString(z)), (y - H)), IntegerEntry(("Funds_At_Risk_" + toString(z)), T), IntegerEntry("Call_Limits", n), IntegerEntry("Put_Limits", o), IntegerEntry(("Total_Option_Orders_" + toString(z)), J), IntegerEntry("Total_Puts", V), IntegerEntry(("Total_Puts_" + toString(z)), X), IntegerEntry((s + "_Total_Puts"), Z), IntegerEntry(((s + "_Total_Puts_") + toString(z)), ab)]
246+ }
247+
248+

github/deemru/w8io/169f3d6 
41.98 ms