Skip to content

Commit

Permalink
Merge branch 'deploy/datasource-subquery' into deploy/subquery-transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
mckrava committed Jan 12, 2024
2 parents 5d16845 + 04dc7d9 commit 4f42181
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 41 deletions.
10 changes: 5 additions & 5 deletions deployment/prod/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ data:
DATA_SOURCE__SUBSQUID__MOONRIVER__TRANSFER: 'https://squid.subsquid.io/gs-main-moonriver/graphql'
DATA_SOURCE__SUBSQUID__ASTAR__TRANSFER: 'https://squid.subsquid.io/gs-main-astar/graphql'

DATA_SOURCE__SUBQUERY__POLKADOT__TRANSFER: 'https://kepler-auth.subquery.network/query/QmaKL376q6hmmsEAAeaFjKGDXJUjPp9qRPC1qjkNNUNomR'
DATA_SOURCE__SUBQUERY__KUSAMA__TRANSFER: 'https://kepler-auth.subquery.network/query/QmPgkh7a5ziXfiHE11AMXBA5qkF2d3NdoNKKKeo68VeouC'
DATA_SOURCE__SUBQUERY__MOONBEAM__TRANSFER: 'https://kepler-auth.subquery.network/query/QmSZNKPCNxAuiSjgDyTiK7VJBFdCcp8b11NzuUYvE7akEi'
DATA_SOURCE__SUBQUERY__MOONRIVER__TRANSFER: 'https://kepler-auth.subquery.network/query/QmQnXCkFo9hhxLJHMBotCB2S8zhMR4tBkeiFHrLTBHjXja'
DATA_SOURCE__SUBQUERY__ASTAR__TRANSFER: 'https://kepler-auth.subquery.network/query/QmZt47LXCtv9unSAaD9SbdEFfQQTLv9CTMHQKNKh2VDfwX'
DATA_SOURCE__SUBQUERY__POLKADOT__TRANSFER: 'https://api.subquery.network/sq/nova-wallet/nova-wallet-polkadot'
DATA_SOURCE__SUBQUERY__KUSAMA__TRANSFER: 'https://api.subquery.network/sq/nova-wallet/nova-wallet-kusama'
DATA_SOURCE__SUBQUERY__MOONBEAM__TRANSFER: 'https://api.subquery.network/sq/nova-wallet/nova-wallet-moonbeam'
DATA_SOURCE__SUBQUERY__MOONRIVER__TRANSFER: 'https://api.subquery.network/sq/nova-wallet/nova-wallet-moonriver'
DATA_SOURCE__SUBQUERY__ASTAR__TRANSFER: 'https://api.subquery.network/sq/nova-wallet/nova-wallet-astar'
DATA_SOURCE__SUBQUERY__SUBSOCIAL__TRANSFER: 'https://api.subquery.network/sq/nova-wallet/nova-wallet-subsocial'

DATA_SOURCE_PROVIDER_TRANSFER: 'SUBQUERY'
Expand Down
71 changes: 35 additions & 36 deletions src/constants/blockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export enum BlockchainTag {
ASTAR = 'ASTAR',
SUBSOCIAL = 'SUBSOCIAL',
}

// https://github.com/polkadot-js/apps/blob/7c12692ee34aadd815b282ff4dca3d0a4763a9ca/packages/apps-config/src/endpoints/productionRelayPolkadot.ts#L645

// https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json
Expand Down Expand Up @@ -78,41 +77,41 @@ export const supportedBlockchainDetails: Omit<Blockchain, 'id'>[] = [
];

export const blockchainDataSourceConfigs = [
{
tag: BlockchainTag.POLKADOT,
events: {
[NativeTransactionKind.TRANSFER]: null,
// [NativeTransactionKind.REWARD]: null,
},
},
{
tag: BlockchainTag.KUSAMA,
events: {
[NativeTransactionKind.TRANSFER]: null,
// [NativeTransactionKind.REWARD]: null,
},
},
{
tag: BlockchainTag.MOONBEAM,
events: {
[NativeTransactionKind.TRANSFER]: null,
// [NativeTransactionKind.REWARD]: null,
},
},
{
tag: BlockchainTag.MOONRIVER,
events: {
[NativeTransactionKind.TRANSFER]: null,
// [NativeTransactionKind.REWARD]: null,
},
},
{
tag: BlockchainTag.ASTAR,
events: {
[NativeTransactionKind.TRANSFER]: null,
// [NativeTransactionKind.REWARD]: null,
},
},
// {
// tag: BlockchainTag.POLKADOT,
// events: {
// [NativeTransactionKind.TRANSFER]: null,
// // [NativeTransactionKind.REWARD]: null,
// },
// },
// {
// tag: BlockchainTag.KUSAMA,
// events: {
// [NativeTransactionKind.TRANSFER]: null,
// // [NativeTransactionKind.REWARD]: null,
// },
// },
// {
// tag: BlockchainTag.MOONBEAM,
// events: {
// [NativeTransactionKind.TRANSFER]: null,
// // [NativeTransactionKind.REWARD]: null,
// },
// },
// {
// tag: BlockchainTag.MOONRIVER,
// events: {
// [NativeTransactionKind.TRANSFER]: null,
// // [NativeTransactionKind.REWARD]: null,
// },
// },
// {
// tag: BlockchainTag.ASTAR,
// events: {
// [NativeTransactionKind.TRANSFER]: null,
// // [NativeTransactionKind.REWARD]: null,
// },
// },
{
tag: BlockchainTag.SUBSOCIAL,
events: {
Expand Down

0 comments on commit 4f42181

Please sign in to comment.