diff --git a/moonstreamapi/moonstreamapi/admin/subscription_types.py b/moonstreamapi/moonstreamapi/admin/subscription_types.py index e41dfd4a..3284a9ed 100644 --- a/moonstreamapi/moonstreamapi/admin/subscription_types.py +++ b/moonstreamapi/moonstreamapi/admin/subscription_types.py @@ -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, diff --git a/moonstreamdb-v3/moonstreamdbv3/models_indexes.py b/moonstreamdb-v3/moonstreamdbv3/models_indexes.py index 3a34aec3..d0802857 100644 --- a/moonstreamdb-v3/moonstreamdbv3/models_indexes.py +++ b/moonstreamdb-v3/moonstreamdbv3/models_indexes.py @@ -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" diff --git a/types/python/moonstreamtypes/version.txt b/types/python/moonstreamtypes/version.txt index 81340c7e..bbdeab62 100644 --- a/types/python/moonstreamtypes/version.txt +++ b/types/python/moonstreamtypes/version.txt @@ -1 +1 @@ -0.0.4 +0.0.5