tx · A3osnWz3LAfBtmRyqDTN4wPUUMNb8KmMdEzBZNmfMfxz 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje: -0.01400000 Waves 2023.01.30 16:07 [2427741] smart account 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje > SELF 0.00000000 Waves
{ "type": 13, "id": "A3osnWz3LAfBtmRyqDTN4wPUUMNb8KmMdEzBZNmfMfxz", "fee": 1400000, "feeAssetId": null, "timestamp": 1675084059749, "version": 2, "chainId": 84, "sender": "3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje", "senderPublicKey": "515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB", "proofs": [ "6n6KUXHzMeWMdTi5m53kHa51mVQEwEPpgJu2L4QqJ7A8zVK1tVjYXbWFD4TmpQpH9Hv9SNj8h4e9bSbQySq6n6h" ], "script": "base64:AAIFAAAAAAAAABIIAhIAEgASAwoBCBIDCgEBEgAAAAACAAAAABREYXBwX0FkZHJlc3NfcHViX2tleQEAAAAgq4kJ/Yx/hxwE0cwMFuJmegviyQmGySeZGqn46Eb83C8AAAAAGW9yYWNsZV9jb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AAAABQAAAAFpAQAAAA9wbGFjZW9wdGlvbkNhbGwAAAAABAAAAA1jYWxsZXJhZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAEnJlYWRfb3JhY2xlX3N0YXR1cwkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwIAAAANb3JhY2xlX3N0YXR1cwQAAAAUcmVhZF9PcHRpb25Db3VudGVySUQJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMCAAAADjFtX2NvbnRyYWN0X2lkBAAAAApnZXRidGNkYXRhCQEAAAARQGV4dHJOYXRpd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AAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BFNdrg==", "height": 2427741, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8iS5rBhpnJBKgBERcguh4HCfnT3NNS3Gy4f4bEoXt3J Next: AkQH5dMrNAfPyDww271RCqnu2ub6UHquW76D8XHVrWZh Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = base58' | |
4 | + | let a = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE' | |
5 | 5 | ||
6 | 6 | let b = addressFromPublicKey(a) | |
7 | 7 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = base58' | |
4 | + | let a = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE' | |
5 | 5 | ||
6 | 6 | let b = addressFromPublicKey(a) | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func placeoptionCall () = { | |
10 | 10 | let d = toBase58String(c.caller.bytes) | |
11 | 11 | let e = getStringValue(this, "oracle_status") | |
12 | 12 | let f = getIntegerValue(this, "1m_contract_id") | |
13 | 13 | let g = getStringValue(this, ("1m_btc_" + toString(f))) | |
14 | 14 | let h = split(g, "_") | |
15 | 15 | let i = h[0] | |
16 | 16 | let j = parseIntValue(h[2]) | |
17 | 17 | let k = (height - j) | |
18 | 18 | let l = 1 | |
19 | 19 | let m = (f + l) | |
20 | 20 | let n = { | |
21 | 21 | let o = getInteger(this, "Total_Calls") | |
22 | 22 | if ($isInstanceOf(o, "Int")) | |
23 | 23 | then { | |
24 | 24 | let p = o | |
25 | 25 | p | |
26 | 26 | } | |
27 | 27 | else 0 | |
28 | 28 | } | |
29 | 29 | let q = (n + 1) | |
30 | 30 | let r = { | |
31 | 31 | let o = getInteger(this, (d + "_Total_Calls")) | |
32 | 32 | if ($isInstanceOf(o, "Int")) | |
33 | 33 | then { | |
34 | 34 | let p = o | |
35 | 35 | p | |
36 | 36 | } | |
37 | 37 | else 0 | |
38 | 38 | } | |
39 | 39 | let s = (r + 1) | |
40 | 40 | if ((k > 2)) | |
41 | 41 | then throw("Something Wrong with Oracle or Height is not matched.") | |
42 | 42 | else if ((e == "Close")) | |
43 | 43 | then throw("Oracle is closed. Wait Until Oracle is Turned On.") | |
44 | 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)] | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | ||
49 | 49 | @Callable(c) | |
50 | 50 | func placeoptionPut () = { | |
51 | 51 | let d = toBase58String(c.caller.bytes) | |
52 | 52 | let e = getStringValue(this, "oracle_status") | |
53 | 53 | let f = getIntegerValue(this, "1m_contract_id") | |
54 | 54 | let g = getStringValue(this, ("1m_btc_" + toString(f))) | |
55 | 55 | let h = split(g, "_") | |
56 | 56 | let i = h[0] | |
57 | 57 | let j = parseIntValue(h[2]) | |
58 | 58 | let k = (height - j) | |
59 | 59 | let l = 1 | |
60 | 60 | let m = (f + l) | |
61 | 61 | let t = { | |
62 | 62 | let o = getInteger(this, "Total_Puts") | |
63 | 63 | if ($isInstanceOf(o, "Int")) | |
64 | 64 | then { | |
65 | 65 | let p = o | |
66 | 66 | p | |
67 | 67 | } | |
68 | 68 | else 0 | |
69 | 69 | } | |
70 | 70 | let u = (t + 1) | |
71 | 71 | let v = { | |
72 | 72 | let o = getInteger(this, (d + "_Total_Puts")) | |
73 | 73 | if ($isInstanceOf(o, "Int")) | |
74 | 74 | then { | |
75 | 75 | let p = o | |
76 | 76 | p | |
77 | 77 | } | |
78 | 78 | else 0 | |
79 | 79 | } | |
80 | 80 | let w = (v + 1) | |
81 | 81 | if ((k > 2)) | |
82 | 82 | then throw("Something Wrong with Oracle or Height is not matched.") | |
83 | 83 | else if ((e == "Close")) | |
84 | 84 | then throw("Oracle is closed. Wait Until Oracle is Turned On.") | |
85 | 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)] | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | ||
90 | 90 | @Callable(c) | |
91 | 91 | func ClaimCall (x) = { | |
92 | 92 | let d = toBase58String(c.caller.bytes) | |
93 | 93 | let y = if ((size(c.payments) == 1)) | |
94 | 94 | then c.payments[0] | |
95 | 95 | else throw("No payment attached, Please Attach Tokens in payment[1].") | |
96 | 96 | let z = getStringValue(this, ((("Call_" + d) + "_") + x)) | |
97 | 97 | let A = getStringValue(this, ((("Call_Start_End_" + d) + "_") + x)) | |
98 | 98 | let B = split(A, "_") | |
99 | 99 | let C = B[0] | |
100 | 100 | let D = B[1] | |
101 | 101 | let E = getStringValue(this, ("1m_btc_" + C)) | |
102 | 102 | let F = split(E, "_") | |
103 | 103 | let G = F[0] | |
104 | 104 | let H = getStringValue(this, ("1m_btc_" + D)) | |
105 | 105 | let I = split(H, "_") | |
106 | 106 | let J = I[0] | |
107 | 107 | let K = (parseIntValue(J) - parseIntValue(G)) | |
108 | 108 | let L = { | |
109 | 109 | let o = getInteger(this, "Total_Option_Call_Wins") | |
110 | 110 | if ($isInstanceOf(o, "Int")) | |
111 | 111 | then { | |
112 | 112 | let p = o | |
113 | 113 | p | |
114 | 114 | } | |
115 | 115 | else 0 | |
116 | 116 | } | |
117 | 117 | let M = (L + 1) | |
118 | 118 | let N = { | |
119 | 119 | let o = getInteger(this, "Total_Option_Call_Lose") | |
120 | 120 | if ($isInstanceOf(o, "Int")) | |
121 | 121 | then { | |
122 | 122 | let p = o | |
123 | 123 | p | |
124 | 124 | } | |
125 | 125 | else 0 | |
126 | 126 | } | |
127 | 127 | let O = (N + 1) | |
128 | 128 | if ((0 > K)) | |
129 | 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 | 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))] | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | ||
135 | 135 | @Callable(c) | |
136 | 136 | func calldata (P) = { | |
137 | 137 | let g = getStringValue(this, ("1m_btc_" + toString(P))) | |
138 | 138 | let h = split(g, "_") | |
139 | 139 | let i = h[0] | |
140 | 140 | let Q = h[1] | |
141 | 141 | let R = h[2] | |
142 | 142 | let S = h[3] | |
143 | 143 | [StringEntry("price", h[0]), StringEntry("time", h[1]), StringEntry("blockheight", h[2]), StringEntry("div", h[3])] | |
144 | 144 | } | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | ||
148 | 148 | @Callable(c) | |
149 | 149 | func OpenOracle () = if ((c.caller != b)) | |
150 | 150 | then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it.")) | |
151 | 151 | else [StringEntry("oracle_status", "Open")] | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | @Verifier(T) | |
155 | 155 | func U () = sigVerify(T.bodyBytes, T.proofs[0], T.senderPublicKey) | |
156 | 156 |
github/deemru/w8io/026f985 34.07 ms ◑