tx · 3uSteQfx19b4f9U12LcapF9t7Yrpx8owEQJA7k7LkQ6g

3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP:  -0.01000000 Waves

2023.06.19 10:15 [2629197] smart account 3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP > SELF 0.00000000 Waves

{ "type": 13, "id": "3uSteQfx19b4f9U12LcapF9t7Yrpx8owEQJA7k7LkQ6g", "fee": 1000000, "feeAssetId": null, "timestamp": 1687158924428, "version": 2, "chainId": 84, "sender": "3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP", "senderPublicKey": "5sTpaMQe2KW8dskXeG41rUyomuUePPeo57FbhuoSsq2R", "proofs": [ "42yc1F8pKWLPQkgpZ3H928ih5RMYhtKRSiP7zXZDvcqrx8G9nQt4EjY4yEznmWgshtSi26k32esNsDKvXY33t24S" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIBAAAAAAAAAABAAAAAWkBAAAACWdldFRXQVA2MAAAAAIAAAAIYXNzZXRTdHIAAAAFZGVidWcEAAAAA3ZhbAMJAAAAAAAAAgUAAAAIYXNzZXRTdHICAAAABVdBVkVTCQAFFAAAAAIFAAAAA25pbAkABRQAAAACAAAAAAAAGLggAAAAAAAAGLggAwkAAAAAAAACBQAAAAhhc3NldFN0cgIAAAAsMjVGRXFFalJrcUs2eUNraVQ3THo2U0FZejdnVUZDdHhmQ0NobnJWRkQ1QVQJAAUUAAAAAgUAAAADbmlsCQAFFAAAAAIAAAAAAAANu6AAAAAAAAANu6AEAAAAAXAKAAAAAAFACQAD/AAAAAQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRHYdFKTc5/+9vupfS91sItmkjqQtK5YZsCAAAAGmdldFNoYXJlQXNzZXRQcmljZVJFQURPTkxZCQAETAAAAAIFAAAACGFzc2V0U3RyBQAAAANuaWwFAAAAA25pbAMJAAABAAAAAgUAAAABQAIAAAADSW50BQAAAAFACQAAAgAAAAECAAAAGENvdWxkbid0IGNhc3QgQW55IHRvIEludAMJAAAAAAAAAgUAAAABcAUAAAABcAkABRQAAAACBQAAAANuaWwJAAUUAAAAAgUAAAABcAUAAAABcAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4DBQAAAAVkZWJ1ZwkAAAIAAAABCQABpAAAAAEICAUAAAADdmFsAAAAAl8yAAAAAl8xBQAAAAN2YWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZCZLfY=", "height": 2629197, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CMY2TTKidChKDvSJBo9vv6htBKFdaik3QCEp7ZKDL18Z Next: EWgBK4hpDSwyEe17LoyazmWZsuKiEFAuA3sVrz2rRWQe Diff:
OldNewDifferences
1111 then $Tuple2(nil, $Tuple2(900000, 900000))
1212 else {
1313 let p = {
14- let @ = invoke(Address(base58'3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS'), "getSharePriceREADONLY", [assetStr], nil)
14+ let @ = invoke(Address(base58'3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS'), "getShareAssetPriceREADONLY", [assetStr], nil)
1515 if ($isInstanceOf(@, "Int"))
1616 then @
1717 else throw("Couldn't cast Any to Int")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func getTWAP60 (assetStr,debug) = {
88 let val = if ((assetStr == "WAVES"))
99 then $Tuple2(nil, $Tuple2(1620000, 1620000))
1010 else if ((assetStr == "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"))
1111 then $Tuple2(nil, $Tuple2(900000, 900000))
1212 else {
1313 let p = {
14- let @ = invoke(Address(base58'3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS'), "getSharePriceREADONLY", [assetStr], nil)
14+ let @ = invoke(Address(base58'3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS'), "getShareAssetPriceREADONLY", [assetStr], nil)
1515 if ($isInstanceOf(@, "Int"))
1616 then @
1717 else throw("Couldn't cast Any to Int")
1818 }
1919 if ((p == p))
2020 then $Tuple2(nil, $Tuple2(p, p))
2121 else throw("Strict value is not equal to itself.")
2222 }
2323 if (debug)
2424 then throw(toString(val._2._1))
2525 else val
2626 }
2727
2828
2929 @Verifier(tx)
3030 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3131

github/deemru/w8io/169f3d6 
32.09 ms