tx · DmMfn1M2JXWzVkMAgeH9v7nxCP4VBMyQbseqoWRKWy2P

3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn:  -0.01400000 Waves

2023.01.16 09:56 [2407161] smart account 3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn > SELF 0.00000000 Waves

{ "type": 13, "id": "DmMfn1M2JXWzVkMAgeH9v7nxCP4VBMyQbseqoWRKWy2P", "fee": 1400000, "feeAssetId": null, "timestamp": 1673852264224, "version": 2, "chainId": 84, "sender": "3N7mtXVHnAL3zdCRzVhrk8rzzXCQSL4kHJn", "senderPublicKey": "DYT8iqUugkScabWH82LqF3XuRKsgCPbKRadgqtLAxXF1", "proofs": [ "2WETeKDvDK6K2BTPCLqMRxkKMCf9urmVhExF8N1bByXxQToVACHhbjEgR5ie5Eo7SQ4KYnwYqhrxJTgBMfTZcdSJ" ], "script": "base64:AAIFAAAAAAAAAA4IAhIAEgMKAQgSAwoBAQAAAAAAAAADAAAAAWkBAAAAD3BsYWNlb3B0aW9uQ2FsbAAAAAAEAAAADWNhbGxlcmFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAScmVhZF9vcmFjbGVfc3RhdHVzCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzAgAAAA1vcmFjbGVfc3RhdHVzBAAAABRyZWFkX09wdGlvbkNvdW50ZXJJRAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAOMW1fY29udHJhY3RfaWQEAAAACmdldGJ0Y2RhdGEJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAHMW1fYnRjXwkAAaQAAAABBQAAABRyZWFkX09wdGlvbkNvdW50ZXJJRAQAAAAGc3dhcExpCQAEtQAAAAIFAAAACmdldGJ0Y2RhdGECAAAAAV8EAAAABXByaWNlCQABkQAAAAIFAAAABn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EdGhpcwkAASwAAAACAgAAAAcxbV9idGNfCQABpAAAAAEFAAAAB0NvdW50ZXIEAAAABnN3YXBMaQkABLUAAAACBQAAAApnZXRidGNkYXRhAgAAAAFfBAAAAAVwcmljZQkAAZEAAAACBQAAAAZzd2FwTGkAAAAAAAAAAAAEAAAABHRpbWUJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAABBAAAAAtibG9ja2hlaWdodAkAAZEAAAACBQAAAAZzd2FwTGkAAAAAAAAAAAIEAAAAA2RpdgkAAZEAAAACBQAAAAZzd2FwTGkAAAAAAAAAAAMJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAFcHJpY2UJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABHRpbWUJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAC2Jsb2NraGVpZ2h0CQABkQAAAAIFAAAABnN3YXBMaQAAAAAAAAAAAgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANkaXYJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAADBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlealRBDo=", "height": 2407161, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6QWWtaWX9dAtnnU5Qhwt4UHKctEHsErhTTsrzgpmM76R Next: FwimecRmaD3k3w4Qt7LHHuYPAQV9KJ8WNA5TycxwyQe9 Diff:
OldNewDifferences
5757 let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0]
5858 let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter))
5959 if ((0 > pricediff))
60- then [DeleteEntry(getOptionCallPrice), DeleteEntry(getOptionCall_Sequencedata), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "lose"), StringEntry("message", "You lose!")]
61- else [DeleteEntry(getOptionCallPrice), DeleteEntry(getOptionCall_Sequencedata), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "Win"), StringEntry("message", "You Win!")]
60+ then [DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence)), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "lose"), StringEntry("message", "You lose!")]
61+ else [DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence)), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "Win"), StringEntry("message", "You Win!")]
6262 }
6363
6464
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func placeoptionCall () = {
88 let calleraddress = toBase58String(i.caller.bytes)
99 let read_oracle_status = getStringValue(this, "oracle_status")
1010 let read_OptionCounterID = getIntegerValue(this, "1m_contract_id")
1111 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(read_OptionCounterID)))
1212 let swapLi = split(getbtcdata, "_")
1313 let price = swapLi[0]
1414 let block = parseIntValue(swapLi[2])
1515 let checkblockgap = (height - block)
1616 let OpionExpireCounter = 1
1717 let OptionExpireCounterID = (read_OptionCounterID + OpionExpireCounter)
1818 let PreviousCall = match getInteger(this, "Total_Calls") {
1919 case a: Int =>
2020 a
2121 case _ =>
2222 0
2323 }
2424 let TotalCall = (PreviousCall + 1)
2525 let PreviousUserCall = match getInteger(this, (calleraddress + "_Total_Calls")) {
2626 case a: Int =>
2727 a
2828 case _ =>
2929 0
3030 }
3131 let TotalUserCall = (PreviousUserCall + 1)
3232 if ((checkblockgap > 2))
3333 then throw("Something Wrong with Oracle or Height is not matched.")
3434 else if ((read_oracle_status == "Close"))
3535 then throw("Oracle is closed. Wait Until Oracle is Turned On.")
3636 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)]
3737 }
3838
3939
4040
4141 @Callable(i)
4242 func ClaimCall (Call_Sequence) = {
4343 let calleraddress = toBase58String(i.caller.bytes)
4444 let pmt = if ((size(i.payments) == 1))
4545 then i.payments[0]
4646 else throw("No payment attached, Please Attach Tokens in payment[1].")
4747 let getOptionCallPrice = getStringValue(this, ((("Call_" + calleraddress) + "_") + Call_Sequence))
4848 let getOptionCall_Sequencedata = getStringValue(this, ((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence))
4949 let splitStartEndCounter = split(getOptionCall_Sequencedata, "_")
5050 let getStartCounter = splitStartEndCounter[0]
5151 let getEndCounter = splitStartEndCounter[1]
5252 let getbtcdataAtStartCounter = getStringValue(this, ("1m_btc_" + getStartCounter))
5353 let splitbtcpriceAtStartCounter = split(getbtcdataAtStartCounter, "_")
5454 let getbtcpriceAtStartCounter = splitbtcpriceAtStartCounter[0]
5555 let getbtcdataAtEndCounter = getStringValue(this, ("1m_btc_" + getEndCounter))
5656 let splitbtcpriceAtEndCounter = split(getbtcdataAtEndCounter, "_")
5757 let getbtcpriceAtEndCounter = splitbtcpriceAtEndCounter[0]
5858 let pricediff = (parseIntValue(getbtcpriceAtEndCounter) - parseIntValue(getbtcpriceAtStartCounter))
5959 if ((0 > pricediff))
60- then [DeleteEntry(getOptionCallPrice), DeleteEntry(getOptionCall_Sequencedata), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "lose"), StringEntry("message", "You lose!")]
61- else [DeleteEntry(getOptionCallPrice), DeleteEntry(getOptionCall_Sequencedata), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "Win"), StringEntry("message", "You Win!")]
60+ then [DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence)), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "lose"), StringEntry("message", "You lose!")]
61+ else [DeleteEntry(((("Call_" + calleraddress) + "_") + Call_Sequence)), DeleteEntry(((("Call_Start_End_" + calleraddress) + "_") + Call_Sequence)), IntegerEntry("Diff", pricediff), StringEntry(((((((((((calleraddress + "_") + Call_Sequence) + "_") + getStartCounter) + "_") + getEndCounter) + "_") + getbtcpriceAtStartCounter) + "_") + getbtcpriceAtEndCounter), "Win"), StringEntry("message", "You Win!")]
6262 }
6363
6464
6565
6666 @Callable(i)
6767 func calldata (Counter) = {
6868 let getbtcdata = getStringValue(this, ("1m_btc_" + toString(Counter)))
6969 let swapLi = split(getbtcdata, "_")
7070 let price = swapLi[0]
7171 let time = swapLi[1]
7272 let blockheight = swapLi[2]
7373 let div = swapLi[3]
7474 [StringEntry("price", swapLi[0]), StringEntry("time", swapLi[1]), StringEntry("blockheight", swapLi[2]), StringEntry("div", swapLi[3])]
7575 }
7676
7777
7878 @Verifier(tx)
7979 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
8080

github/deemru/w8io/026f985 
38.36 ms