tx · GKejRvqVA5etzhpNdG191xJq1J7pRQvSzgyZN1FkPj6g

3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje:  -0.01400000 Waves

2023.01.30 16:00 [2427734] smart account 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje > SELF 0.00000000 Waves

{ "type": 13, "id": "GKejRvqVA5etzhpNdG191xJq1J7pRQvSzgyZN1FkPj6g", "fee": 1400000, "feeAssetId": null, "timestamp": 1675083697224, "version": 2, "chainId": 84, "sender": "3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje", "senderPublicKey": "515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB", "proofs": [ "5vmsbpy45YuZpogsV4Z7C6DAZgqv7J9TnVWs4NgVQ49g6ijDQavSPji6S3gCZRMJm7ruPfJN55N8JoiCYDUAAW1c" ], "script": "base64:AAIFAAAAAAAAABIIAhIAEgASAwoBCBIDCgEBEgAAAAACAAAAABREYXBwX0FkZHJlc3NfcHViX2tleQEAAAAgvHZQICGE3/5b1wAhqlA9b7vNXmYDAjYF3VxTne0xkiQAAAAAGW9yYWNsZV9jb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AAAABQAAAAFpAQAAAA9wbGFjZW9wdGlvbkNhbGwAAAAABAAAAA1jYWxsZXJhZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAEnJlYWRfb3JhY2xlX3N0YXR1cwkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwIAAAANb3JhY2xlX3N0YXR1cwQAAAAUcmVhZF9PcHRpb25Db3VudGVySUQJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMCAAAADjFtX2NvbnRyYWN0X2lkBAAAAApnZXRidGNkYXRhCQEAAAARQGV4dHJOYXRpdmUoMTA1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AACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5sCMp+A==", "height": 2427734, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8WeQyyer6HgXJY7VF9V7PFhoPKBZXaZjXNgNEiquTrLT Next: 8iS5rBhpnJBKgBERcguh4HCfnT3NNS3Gy4f4bEoXt3J Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let a = base58'DggHTfM1QvhBop9XaxzwBCeX1V6ksYiyoGvccEk3H8T5'
45
6+let b = addressFromPublicKey(a)
57
6-@Callable(a)
8+@Callable(c)
79 func placeoptionCall () = {
8- let b = toBase58String(a.caller.bytes)
9- let c = getStringValue(this, "oracle_status")
10- let d = getIntegerValue(this, "1m_contract_id")
11- let e = getStringValue(this, ("1m_btc_" + toString(d)))
12- let f = split(e, "_")
13- let g = f[0]
14- let h = parseIntValue(f[2])
15- let i = (height - h)
16- let j = 1
17- let k = (d + j)
18- let l = {
19- let m = getInteger(this, "Total_Calls")
20- if ($isInstanceOf(m, "Int"))
10+ let d = toBase58String(c.caller.bytes)
11+ let e = getStringValue(this, "oracle_status")
12+ let f = getIntegerValue(this, "1m_contract_id")
13+ let g = getStringValue(this, ("1m_btc_" + toString(f)))
14+ let h = split(g, "_")
15+ let i = h[0]
16+ let j = parseIntValue(h[2])
17+ let k = (height - j)
18+ let l = 1
19+ let m = (f + l)
20+ let n = {
21+ let o = getInteger(this, "Total_Calls")
22+ if ($isInstanceOf(o, "Int"))
2123 then {
22- let n = m
23- n
24+ let p = o
25+ p
2426 }
2527 else 0
2628 }
27- let o = (l + 1)
28- let p = {
29- let m = getInteger(this, (b + "_Total_Calls"))
30- if ($isInstanceOf(m, "Int"))
29+ let q = (n + 1)
30+ let r = {
31+ let o = getInteger(this, (d + "_Total_Calls"))
32+ if ($isInstanceOf(o, "Int"))
3133 then {
32- let n = m
33- n
34+ let p = o
35+ p
3436 }
3537 else 0
3638 }
37- let q = (p + 1)
38- if ((i > 2))
39+ let s = (r + 1)
40+ if ((k > 2))
3941 then throw("Something Wrong with Oracle or Height is not matched.")
40- else if ((c == "Close"))
42+ else if ((e == "Close"))
4143 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
42- else [StringEntry(((("Call_" + b) + "_") + toString(q)), g), StringEntry(((("Call_Start_End_" + b) + "_") + toString(q)), ((toString(d) + "_") + toString(k))), IntegerEntry("Total_Calls", o), IntegerEntry((b + "_Total_Calls"), q)]
44+ else [StringEntry(((("Call_" + d) + "_") + toString(s)), i), StringEntry(((("Call_Start_End_" + d) + "_") + toString(s)), ((toString(f) + "_") + toString(m))), IntegerEntry("Total_Calls", q), IntegerEntry((d + "_Total_Calls"), s)]
4345 }
4446
4547
4648
47-@Callable(a)
48-func ClaimCall (r) = {
49- let b = toBase58String(a.caller.bytes)
50- let s = if ((size(a.payments) == 1))
51- then a.payments[0]
52- else throw("No payment attached, Please Attach Tokens in payment[1].")
53- let t = getStringValue(this, ((("Call_" + b) + "_") + r))
54- let u = getStringValue(this, ((("Call_Start_End_" + b) + "_") + r))
55- let v = split(u, "_")
56- let w = v[0]
57- let x = v[1]
58- let y = getStringValue(this, ("1m_btc_" + w))
59- let z = split(y, "_")
60- let A = z[0]
61- let B = getStringValue(this, ("1m_btc_" + x))
62- let C = split(B, "_")
63- let D = C[0]
64- let E = (parseIntValue(D) - parseIntValue(A))
65- let F = {
66- let m = getInteger(this, "Total_Option_Call_Wins")
67- if ($isInstanceOf(m, "Int"))
49+@Callable(c)
50+func placeoptionPut () = {
51+ let d = toBase58String(c.caller.bytes)
52+ let e = getStringValue(this, "oracle_status")
53+ let f = getIntegerValue(this, "1m_contract_id")
54+ let g = getStringValue(this, ("1m_btc_" + toString(f)))
55+ let h = split(g, "_")
56+ let i = h[0]
57+ let j = parseIntValue(h[2])
58+ let k = (height - j)
59+ let l = 1
60+ let m = (f + l)
61+ let t = {
62+ let o = getInteger(this, "Total_Puts")
63+ if ($isInstanceOf(o, "Int"))
6864 then {
69- let n = m
70- n
65+ let p = o
66+ p
7167 }
7268 else 0
7369 }
74- let G = (F + 1)
75- let H = {
76- let m = getInteger(this, "Total_Option_Call_Lose")
77- if ($isInstanceOf(m, "Int"))
70+ let u = (t + 1)
71+ let v = {
72+ let o = getInteger(this, (d + "_Total_Puts"))
73+ if ($isInstanceOf(o, "Int"))
7874 then {
79- let n = m
80- n
75+ let p = o
76+ p
8177 }
8278 else 0
8379 }
84- let I = (H + 1)
85- if ((0 > E))
86- then [IntegerEntry("Diff", E), IntegerEntry("Total_Option_Call_Lose", I), StringEntry(((((((((((b + "_") + r) + "_") + w) + "_") + x) + "_") + A) + "_") + D), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + b) + "_") + r)), DeleteEntry(((("Call_Start_End_" + b) + "_") + r))]
87- else [IntegerEntry("Diff", E), IntegerEntry("Total_Option_Call_Wins", G), StringEntry(((((((((((b + "_") + r) + "_") + w) + "_") + x) + "_") + A) + "_") + D), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + b) + "_") + r)), DeleteEntry(((("Call_Start_End_" + b) + "_") + r))]
80+ let w = (v + 1)
81+ if ((k > 2))
82+ then throw("Something Wrong with Oracle or Height is not matched.")
83+ else if ((e == "Close"))
84+ then throw("Oracle is closed. Wait Until Oracle is Turned On.")
85+ else [StringEntry(((("Put_" + d) + "_") + toString(w)), i), StringEntry(((("Put_Start_End_" + d) + "_") + toString(w)), ((toString(f) + "_") + toString(m))), IntegerEntry("Total_Puts", u), IntegerEntry((d + "_Total_Puts"), w)]
8886 }
8987
9088
9189
92-@Callable(a)
93-func calldata (J) = {
94- let e = getStringValue(this, ("1m_btc_" + toString(J)))
95- let f = split(e, "_")
96- let g = f[0]
97- let K = f[1]
98- let L = f[2]
99- let M = f[3]
100-[StringEntry("price", f[0]), StringEntry("time", f[1]), StringEntry("blockheight", f[2]), StringEntry("div", f[3])]
90+@Callable(c)
91+func ClaimCall (x) = {
92+ let d = toBase58String(c.caller.bytes)
93+ let y = if ((size(c.payments) == 1))
94+ then c.payments[0]
95+ else throw("No payment attached, Please Attach Tokens in payment[1].")
96+ let z = getStringValue(this, ((("Call_" + d) + "_") + x))
97+ let A = getStringValue(this, ((("Call_Start_End_" + d) + "_") + x))
98+ let B = split(A, "_")
99+ let C = B[0]
100+ let D = B[1]
101+ let E = getStringValue(this, ("1m_btc_" + C))
102+ let F = split(E, "_")
103+ let G = F[0]
104+ let H = getStringValue(this, ("1m_btc_" + D))
105+ let I = split(H, "_")
106+ let J = I[0]
107+ let K = (parseIntValue(J) - parseIntValue(G))
108+ let L = {
109+ let o = getInteger(this, "Total_Option_Call_Wins")
110+ if ($isInstanceOf(o, "Int"))
111+ then {
112+ let p = o
113+ p
114+ }
115+ else 0
116+ }
117+ let M = (L + 1)
118+ let N = {
119+ let o = getInteger(this, "Total_Option_Call_Lose")
120+ if ($isInstanceOf(o, "Int"))
121+ then {
122+ let p = o
123+ p
124+ }
125+ else 0
126+ }
127+ let O = (N + 1)
128+ if ((0 > K))
129+ then [IntegerEntry("Diff", K), IntegerEntry("Total_Option_Call_Lose", O), StringEntry(((((((((((d + "_") + x) + "_") + C) + "_") + D) + "_") + G) + "_") + J), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + d) + "_") + x)), DeleteEntry(((("Call_Start_End_" + d) + "_") + x))]
130+ else [IntegerEntry("Diff", K), IntegerEntry("Total_Option_Call_Wins", M), StringEntry(((((((((((d + "_") + x) + "_") + C) + "_") + D) + "_") + G) + "_") + J), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + d) + "_") + x)), DeleteEntry(((("Call_Start_End_" + d) + "_") + x))]
101131 }
102132
103133
104-@Verifier(N)
105-func O () = sigVerify(N.bodyBytes, N.proofs[0], N.senderPublicKey)
134+
135+@Callable(c)
136+func calldata (P) = {
137+ let g = getStringValue(this, ("1m_btc_" + toString(P)))
138+ let h = split(g, "_")
139+ let i = h[0]
140+ let Q = h[1]
141+ let R = h[2]
142+ let S = h[3]
143+[StringEntry("price", h[0]), StringEntry("time", h[1]), StringEntry("blockheight", h[2]), StringEntry("div", h[3])]
144+ }
145+
146+
147+
148+@Callable(c)
149+func OpenOracle () = if ((c.caller != b))
150+ then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
151+ else [StringEntry("oracle_status", "Open")]
152+
153+
154+@Verifier(T)
155+func U () = sigVerify(T.bodyBytes, T.proofs[0], T.senderPublicKey)
106156

github/deemru/w8io/169f3d6 
90.69 ms