Add sepolia to types.

pull/1112/head
Andrey 2024-07-22 14:27:18 +03:00
rodzic d86a6fe410
commit 03323de76e
3 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -29,12 +29,12 @@ CANONICAL_SUBSCRIPTION_TYPES = {
stripe_price_id=None,
active=True,
),
"ethereum_sepolia_smartcontract": SubscriptionTypeResourceData(
id="ethereum_sepolia_smartcontract",
name="Ethereum Sepolia smartcontracts",
blockchain="ethereum_sepolia",
"sepolia_smartcontract": SubscriptionTypeResourceData(
id="sepolia_smartcontract",
name="Sepolia smartcontracts",
blockchain="sepolia",
choices=["input:address", "tag:erc721"],
description="Contracts events and tx_calls of contract of Ethereum Sepolia blockchain",
description="Contracts events and tx_calls of contract of Sepolia blockchain",
icon_url="https://static.simiotics.com/moonstream/assets/ethereum/eth-diamond-purple.png",
stripe_product_id=None,
stripe_price_id=None,

Wyświetl plik

@ -153,11 +153,11 @@ class EthereumReorgs(EvmBasedReorgs):
__tablename__ = "ethereum_reorgs"
class EthereumSepoliaBlockIndex(EvmBasedBlocks):
class SepoliaBlockIndex(EvmBasedBlocks):
__tablename__ = "ethereum_sepolia_blocks"
class EthereumSepoliaTransactionIndex(EvmBasedTransactions):
class SepoliaTransactionIndex(EvmBasedTransactions):
__tablename__ = "ethereum_sepolia_transactions"
block_number = Column(
@ -168,7 +168,7 @@ class EthereumSepoliaTransactionIndex(EvmBasedTransactions):
)
class EthereumSepoliaLogIndex(EvmBasedLogs):
class SepoliaLogIndex(EvmBasedLogs):
__tablename__ = "ethereum_sepolia_logs"
@ -202,7 +202,7 @@ class EthereumSepoliaLogIndex(EvmBasedLogs):
)
class EthereumSepoliaReorgs(EvmBasedReorgs):
class SepoliaReorgs(EvmBasedReorgs):
__tablename__ = "ethereum_sepolia_reorgs"

Wyświetl plik

@ -1 +1 @@
0.0.4
0.0.5