tx · CPB4qTaHCyhm47E6kgrq9GaQ7G2gRwsU6fopKUWyBHWB

3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje:  -0.01400000 Waves

2023.01.16 02:23 [2406716] smart account 3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje > SELF 0.00000000 Waves

{ "type": 13, "id": "CPB4qTaHCyhm47E6kgrq9GaQ7G2gRwsU6fopKUWyBHWB", "fee": 1400000, "feeAssetId": null, "timestamp": 1673825049352, "version": 2, "chainId": 84, "sender": "3NC9boevS259eTsMAkFAxCPorzK4Z9bpWje", "senderPublicKey": "515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB", "proofs": [ "3cu1CaNhUXwLRf5NmcEYnmAhvY7B6yqXTRuGP4B5suoQFeeGKg8ZTKRscBHTiyFmizjTdssNZuWuuWxS3SrKcdEN" ], "script": "base64:AAIFAAAAAAAAAA4IAhIAEgMKAQgSAwoBAQAAAAAAAAADAAAAAWkBAAAAD3BsYWNlb3B0aW9uQ2FsbAAAAAAEAAAADWNhbGxlcmFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAScmVhZF9vcmFjbGVfc3RhdHVzCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzAgAAAA1vcmFjbGVfc3RhdHVzBAAAABRyZWFkX09wdGlvbkNvdW50ZXJJRAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAOMW1fY29udHJhY3RfaWQEAAAACmdldGJ0Y2RhdGEJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAHMW1fYnRjXwkAAaQAAAABBQAAABRyZWFkX09wdGlvbkNvdW50ZXJJRAQAAAAGc3dhcExpCQAEtQAAAAIFAAAACmdldGJ0Y2RhdGECAAAAAV8EAAAABXByaWNlCQABkQAAAAIFAAAABnN3YXBMaQAAAAA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YXBMaQAAAAAAAAAAAgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANkaXYJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAADBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZEERP0=", "height": 2406716, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CV2z9p53QrtUMC1C1sDtX2VZqJ72gLLAmKZvvxvF1dp8 Next: 7zpE3Ese1RkSRtX5zRWaXM4uFudhLTQBrGTkvauGGY6Z Diff:
OldNewDifferences
5353 let v = u[0]
5454 let w = u[1]
5555 let x = getStringValue(this, ("1m_btc_" + v))
56- let y = getStringValue(this, ("1m_btc_" + w))
57-[StringEntry("Contract_Start_value", v), StringEntry("Contract_End_value", w), StringEntry("Blank1", x), StringEntry("Blank2", y), DeleteEntry(((("Call_Start_End_" + b) + "_") + r)), DeleteEntry(s)]
56+ let y = split(x, "_")
57+ let z = y[0]
58+ let A = getStringValue(this, ("1m_btc_" + w))
59+[StringEntry("Contract_Start_value", v), StringEntry("Contract_End_value", w), StringEntry("Blank1", z), StringEntry("Blank2", A), DeleteEntry(((("Call_Start_End_" + b) + "_") + r)), DeleteEntry(s)]
5860 }
5961
6062
6163
6264 @Callable(a)
63-func calldata (z) = {
64- let e = getStringValue(this, ("1m_btc_" + toString(z)))
65+func calldata (B) = {
66+ let e = getStringValue(this, ("1m_btc_" + toString(B)))
6567 let f = split(e, "_")
6668 let g = f[0]
67- let A = f[1]
68- let B = f[2]
69- let C = f[3]
69+ let C = f[1]
70+ let D = f[2]
71+ let E = f[3]
7072 [StringEntry("price", f[0]), StringEntry("time", f[1]), StringEntry("blockheight", f[2]), StringEntry("div", f[3])]
7173 }
7274
7375
74-@Verifier(D)
75-func E () = sigVerify(D.bodyBytes, D.proofs[0], D.senderPublicKey)
76+@Verifier(F)
77+func G () = sigVerify(F.bodyBytes, F.proofs[0], F.senderPublicKey)
7678
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func placeoptionCall () = {
88 let b = toBase58String(a.caller.bytes)
99 let c = getStringValue(this, "oracle_status")
1010 let d = getIntegerValue(this, "1m_contract_id")
1111 let e = getStringValue(this, ("1m_btc_" + toString(d)))
1212 let f = split(e, "_")
1313 let g = f[0]
1414 let h = parseIntValue(f[2])
1515 let i = (height - h)
1616 let j = 1
1717 let k = (d + j)
1818 let l = {
1919 let m = getInteger(this, "Total_Calls")
2020 if ($isInstanceOf(m, "Int"))
2121 then {
2222 let n = m
2323 n
2424 }
2525 else 0
2626 }
2727 let o = (l + 1)
2828 let p = {
2929 let m = getInteger(this, (b + "_Total_Calls"))
3030 if ($isInstanceOf(m, "Int"))
3131 then {
3232 let n = m
3333 n
3434 }
3535 else 0
3636 }
3737 let q = (p + 1)
3838 if ((i > 2))
3939 then throw("Something Wrong with Oracle or Height is not matched.")
4040 else if ((c == "Close"))
4141 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
4242 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)]
4343 }
4444
4545
4646
4747 @Callable(a)
4848 func ClaimCall (r) = {
4949 let b = toBase58String(a.caller.bytes)
5050 let s = getStringValue(this, ((("Call_" + b) + "_") + r))
5151 let t = getStringValue(this, ((("Call_Start_End_" + b) + "_") + r))
5252 let u = split(t, "_")
5353 let v = u[0]
5454 let w = u[1]
5555 let x = getStringValue(this, ("1m_btc_" + v))
56- let y = getStringValue(this, ("1m_btc_" + w))
57-[StringEntry("Contract_Start_value", v), StringEntry("Contract_End_value", w), StringEntry("Blank1", x), StringEntry("Blank2", y), DeleteEntry(((("Call_Start_End_" + b) + "_") + r)), DeleteEntry(s)]
56+ let y = split(x, "_")
57+ let z = y[0]
58+ let A = getStringValue(this, ("1m_btc_" + w))
59+[StringEntry("Contract_Start_value", v), StringEntry("Contract_End_value", w), StringEntry("Blank1", z), StringEntry("Blank2", A), DeleteEntry(((("Call_Start_End_" + b) + "_") + r)), DeleteEntry(s)]
5860 }
5961
6062
6163
6264 @Callable(a)
63-func calldata (z) = {
64- let e = getStringValue(this, ("1m_btc_" + toString(z)))
65+func calldata (B) = {
66+ let e = getStringValue(this, ("1m_btc_" + toString(B)))
6567 let f = split(e, "_")
6668 let g = f[0]
67- let A = f[1]
68- let B = f[2]
69- let C = f[3]
69+ let C = f[1]
70+ let D = f[2]
71+ let E = f[3]
7072 [StringEntry("price", f[0]), StringEntry("time", f[1]), StringEntry("blockheight", f[2]), StringEntry("div", f[3])]
7173 }
7274
7375
74-@Verifier(D)
75-func E () = sigVerify(D.bodyBytes, D.proofs[0], D.senderPublicKey)
76+@Verifier(F)
77+func G () = sigVerify(F.bodyBytes, F.proofs[0], F.senderPublicKey)
7678

github/deemru/w8io/169f3d6 
79.23 ms