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/hxwE0cwMFuJmegviyQmGySeZGqn46Eb83C8AAAAAGW9yYWNsZV9jb250cm9sbGVyX2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AAAABQAAAAFpAQAAAA9wbGFjZW9wdGlvbkNhbGwAAAAABAAAAA1jYWxsZXJhZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAEnJlYWRfb3JhY2xlX3N0YXR1cwkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwIAAAANb3JhY2xlX3N0YXR1cwQAAAAUcmVhZF9PcHRpb25Db3VudGVySUQJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMCAAAADjFtX2NvbnRyYWN0X2lkBAAAAApnZXRidGNkYXRhCQEAAAARQGV4dHJOYXRp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AAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BFNdrg==", "height": 2427741, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8iS5rBhpnJBKgBERcguh4HCfnT3NNS3Gy4f4bEoXt3J Next: AkQH5dMrNAfPyDww271RCqnu2ub6UHquW76D8XHVrWZh Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let Dapp_Address_pub_key = base58'515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB'
4+let Dapp_Address_pub_key = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE'
55
66 let oracle_controller_address = addressFromPublicKey(Dapp_Address_pub_key)
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let Dapp_Address_pub_key = base58'515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB'
4+let Dapp_Address_pub_key = base58'CYbv2nupcWmnVFixN6Q2sxd9ChbDsq1KqXQ66VjsZBJE'
55
66 let oracle_controller_address = addressFromPublicKey(Dapp_Address_pub_key)
77
88 @Callable(i)
99 func placeoptionCall () = {
1010 let calleraddress = toBase58String(i.caller.bytes)
1111 let read_oracle_status = getStringValue(this, "oracle_status")
1212 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
1313 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID)))
1414 let swapLi = split(getbtcdata, "_")
1515 let price = swapLi[0]
1616 let block = parseIntValue(swapLi[2])
1717 let checkblockgap = (height - block)
1818 let OpionExpireCounter = 1
1919 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
2020 let PreviousCall = match getInteger(this, "Total_Calls") {
2121 case a: Int =>
2222 a
2323 case _ =>
2424 0
2525 }
2626 let TotalCall = (PreviousCall + 1)
2727 let PreviousUserCall = match getInteger(this, (calleraddress + "_Total_Calls")) {
2828 case a: Int =>
2929 a
3030 case _ =>
3131 0
3232 }
3333 let TotalUserCall = (PreviousUserCall + 1)
3434 if ((checkblockgap > 2))
3535 then throw("Something Wrong with Oracle or Height is not matched.")
3636 else if ((read_oracle_status == "Close"))
3737 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
3838 else [StringEntry(((("Call_" + calleraddress) + "_") + toString(TotalUserCall)), price), StringEntry(((("Call_Start_End_" + calleraddress) + "_") + toString(TotalUserCall)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Calls", TotalCall), IntegerEntry((calleraddress + "_Total_Calls"), TotalUserCall)]
3939 }
4040
4141
4242
4343 @Callable(i)
4444 func placeoptionPut () = {
4545 let calleraddress = toBase58String(i.caller.bytes)
4646 let read_oracle_status = getStringValue(this, "oracle_status")
4747 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
4848 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID)))
4949 let swapLi = split(getbtcdata, "_")
5050 let price = swapLi[0]
5151 let block = parseIntValue(swapLi[2])
5252 let checkblockgap = (height - block)
5353 let OpionExpireCounter = 1
5454 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
5555 let PreviousPut = match getInteger(this, "Total_Puts") {
5656 case a: Int =>
5757 a
5858 case _ =>
5959 0
6060 }
6161 let TotalPut = (PreviousPut + 1)
6262 let PreviousUserPut = match getInteger(this, (calleraddress + "_Total_Puts")) {
6363 case a: Int =>
6464 a
6565 case _ =>
6666 0
6767 }
6868 let TotalUserPut = (PreviousUserPut + 1)
6969 if ((checkblockgap > 2))
7070 then throw("Something Wrong with Oracle or Height is not matched.")
7171 else if ((read_oracle_status == "Close"))
7272 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
7373 else [StringEntry(((("Put_" + calleraddress) + "_") + toString(TotalUserPut)), price), StringEntry(((("Put_Start_End_" + calleraddress) + "_") + toString(TotalUserPut)), ((toString(read_OptionCounterID) + "_") + toString(OptionExpireCounterID))), IntegerEntry("Total_Puts", TotalPut), IntegerEntry((calleraddress + "_Total_Puts"), TotalUserPut)]
7474 }
7575
7676
7777
7878 @Callable(i)
7979 func ClaimCall (Call_Sequence) = {
8080 let calleraddress = toBase58String(i.caller.bytes)
8181 let pmt = if ((size(i.payments) == 1))
8282 then i.payments[0]
8383 else throw("No payment attached, Please Attach Tokens in payment[1].")
8484 let getOptionCallPrice = getStringValue(this, ((("Call_" + calleraddress) + "_") + Call_Sequence))
8585 let getOptionCall_Sequencedata = getStringValue(this, ((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))
8686 let splitStartEndCounter = split(getOptionCall_Sequencedata, "_")
8787 let getStartCounter = splitStartEndCounter[0]
8888 let getEndCounter = splitStartEndCounter[1]
8989 let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter))
9090 let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_")
9191 let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0]
9292 let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter))
9393 let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_")
9494 let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0]
9595 let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter))
9696 let PreviousCallWin = match getInteger(this, "Total_Option_Call_Wins") {
9797 case a: Int =>
9898 a
9999 case _ =>
100100 0
101101 }
102102 let TotalCallWin = (PreviousCallWin + 1)
103103 let PreviousCallLose = match getInteger(this, "Total_Option_Call_Lose") {
104104 case a: Int =>
105105 a
106106 case _ =>
107107 0
108108 }
109109 let TotalCallLose = (PreviousCallLose + 1)
110110 if ((0 > pricediff))
111111 then [IntegerEntry("Diff", pricediff), IntegerEntry("Total_Option_Call_Lose", TotalCallLose), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "lose"), StringEntry("message", "You lose!"), DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))]
112112 else [IntegerEntry("Diff", pricediff), IntegerEntry("Total_Option_Call_Wins", TotalCallWin), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "Win"), StringEntry("message", "You Win!"), DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))]
113113 }
114114
115115
116116
117117 @Callable(i)
118118 func calldata (Counter) = {
119119 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(Counter)))
120120 let swapLi = split(getbtcdata, "_")
121121 let price = swapLi[0]
122122 let time = swapLi[1]
123123 let blockheight = swapLi[2]
124124 let div = swapLi[3]
125125 [StringEntry("price", swapLi[0]), StringEntry("time", swapLi[1]), StringEntry("blockheight", swapLi[2]), StringEntry("div", swapLi[3])]
126126 }
127127
128128
129129
130130 @Callable(i)
131131 func OpenOracle () = if ((i.caller != oracle_controller_address))
132132 then throw((("This Address is not Authorized. Only " + toString(oracle_controller_address)) + " is Authorized Address to Sign it."))
133133 else [StringEntry("oracle_status", "Open")]
134134
135135
136136 @Verifier(tx)
137137 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
138138

github/deemru/w8io/026f985 
35.90 ms