-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
114 additions
and
46 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
pragma-sdk/pragma_sdk/common/fetchers/generic_fetchers/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from pragma_sdk.common.fetchers.generic_fetchers.deribit import DeribitGenericFetcher | ||
from pragma_sdk.common.fetchers.generic_fetchers.deribit import DeribitOptionsFetcher | ||
|
||
__all__ = [ | ||
"DeribitGenericFetcher", | ||
"DeribitOptionsFetcher", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
from typing import Any | ||
|
||
from starknet_py.net.client import Client | ||
from starknet_py.net.account.account import Account | ||
|
||
from pragma_sdk.onchain.types import Contract | ||
|
||
|
||
class MerkleFeedMixin: | ||
""" | ||
Class used to retrieve values from the Deribit options Merkle Feed. | ||
The Merkle Feed is in fact a merkle root stored in a GenericEntry. | ||
""" | ||
|
||
client: Client | ||
account: Account | ||
summary_stats: Contract | ||
|
||
async def publish_merkle_feed(self) -> None: | ||
raise NotImplementedError("🙅♀ publish_merkle_feed not implemented yet!") | ||
|
||
async def get_merkle_feed(self) -> Any: | ||
raise NotImplementedError("🙅♀ get_merkle_feed not implemented yet!") | ||
async def i_do_not_know_yet(self) -> None: | ||
raise NotImplementedError("🙅♀ i_do_not_know_yet not implemented yet!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters