From 3841b9104a81157c76b34a9aaf3be7c019bf5956 Mon Sep 17 00:00:00 2001 From: Andrey Dolgolev Date: Wed, 8 Sep 2021 20:41:25 +0300 Subject: [PATCH] Change tag:nfts -> ERC721. --- backend/moonstream/admin/subscription_types.py | 4 ++-- frontend/src/components/NewSubscription.js | 2 +- frontend/src/components/SubscriptionsList.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/moonstream/admin/subscription_types.py b/backend/moonstream/admin/subscription_types.py index bee40e00..ad45f004 100644 --- a/backend/moonstream/admin/subscription_types.py +++ b/backend/moonstream/admin/subscription_types.py @@ -20,7 +20,7 @@ CANONICAL_SUBSCRIPTION_TYPES = { "ethereum_blockchain": SubscriptionTypeResourceData( id="ethereum_blockchain", name="Ethereum transactions", - choices=["input:address", "tag:nfts"], + choices=["input:address", "tag:erc721"], description="Transactions that have been mined into the Ethereum blockchain", icon_url="https://s3.amazonaws.com/static.simiotics.com/moonstream/assets/ethereum/eth-diamond-purple.png", stripe_product_id=None, @@ -42,7 +42,7 @@ CANONICAL_SUBSCRIPTION_TYPES = { id="ethereum_txpool", name="Ethereum transaction pool", description="Transactions that have been submitted into the Ethereum transaction pool but not necessarily mined yet", - choices=["input:address", "tag:nfts"], + choices=["input:address", "tag:erc721"], icon_url="https://s3.amazonaws.com/static.simiotics.com/moonstream/assets/ethereum/eth-diamond-rainbow.png", stripe_product_id=None, stripe_price_id=None, diff --git a/frontend/src/components/NewSubscription.js b/frontend/src/components/NewSubscription.js index c4bd077d..5202445b 100644 --- a/frontend/src/components/NewSubscription.js +++ b/frontend/src/components/NewSubscription.js @@ -38,7 +38,7 @@ const _NewSubscription = ({ ); const mapper = { - "tag:nfts": "NFTs", + "tag:erc721": "NFTs", "input:address": "Address", }; diff --git a/frontend/src/components/SubscriptionsList.js b/frontend/src/components/SubscriptionsList.js index d398891f..ef1b006e 100644 --- a/frontend/src/components/SubscriptionsList.js +++ b/frontend/src/components/SubscriptionsList.js @@ -22,7 +22,7 @@ import ConfirmationRequest from "./ConfirmationRequest"; import ColorSelector from "./ColorSelector"; const mapper = { - "tag:nfts": "NFTs", + "tag:erc721": "NFTs", "input:address": "Address", };