Skip to content

Commit

Permalink
Update Manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbayly committed Oct 9, 2023
1 parent 662a6e2 commit a535e5e
Show file tree
Hide file tree
Showing 47 changed files with 135 additions and 0 deletions.
1 change: 1 addition & 0 deletions Arbitrum/arbitrum-nova-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Arbitrum/arbitrum-one-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Arbitrum/arbitrum-one-winr/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Avalanche/avalanche-fuji-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Avalanche/avalanche-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Avalanche/crabada-nft/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Avalanche/pangolin-rewards-tutorial/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@ const project: EthereumProject = {
repository: "https://github.com/jamesbayly/pangolin-rewards-tutorial",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions BNB Smart Chain/bsc-mobox-rewards/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions BNB Smart Chain/bsc-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions BNB Smart Chain/bsc-testnet-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions BNB Smart Chain/opbnb-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Base/base-goerli-faucet/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Base/base-goerli-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Base/base-nft/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Base/base-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Boba/boba-bnb-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Boba/boba-eth-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Celo/celo-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions EOS/eos-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-chainlink/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ const project: EthereumProject = {
],
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-ens/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,4 +387,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-goerli-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-gravatar/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-opensea/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-sepolia-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Ethereum/ethereum-uniswap-v3/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Fantom/fantom-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Gnosis/gnosis-poap/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Gnosis/gnosis-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Harmony/harmony-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
89 changes: 89 additions & 0 deletions Heco/heco-starter/project.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
import {
EthereumProject,
EthereumDatasourceKind,
EthereumHandlerKind,
} from "@subql/types-ethereum";

// Can expand the Datasource processor types via the generic param
const project: EthereumProject = {
specVersion: "1.0.0",
version: "0.0.1",
name: "heco-starter",
description:
"This project can be use as a starting point for developing your Heco Chains SubQuery project",
runner: {
node: {
name: "@subql/node-ethereum",
version: ">=3.0.0",
},
query: {
name: "@subql/query",
version: "*",
},
},
schema: {
file: "./schema.graphql",
},
network: {
/**
* chainId is the EVM Chain ID, for Heco this is 128
* https://chainlist.org/chain/128
*/
chainId: "128",
/**
* These endpoint(s) should be non-pruned archive nodes
* Public nodes may be rate limited, which can affect indexing speed
* When developing your project we suggest getting a private API key
# We suggest providing an array of endpoints for increased speed and reliability
*/
endpoint: ["wss://ws-mainnet.hecochain.com"],
// dictionary: 'https://gx.api.subquery.network/sq/subquery/heko-dictionary' // Not ready yet
},
dataSources: [
{
kind: EthereumDatasourceKind.Runtime,
startBlock: 29205957, // The start block the contract was deployed on https://www.hecoinfo.com/en-us/token/0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f
options: {
// Must be a key of assets
abi: "erc20",
// This is the contract address for Wrapped HT https://www.hecoinfo.com/en-us/token/0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f
address: "0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f",
},
assets: new Map([["erc20", { file: "./abis/erc20.abi.json" }]]),
mapping: {
file: "./dist/index.js",
handlers: [
{
kind: EthereumHandlerKind.Call,
handler: "handleTransaction",
filter: {
/**
* The function can either be the function fragment or signature
* function: '0x095ea7b3'
* function: '0x7ff36ab500000000000000000000000000000000000000000000000000000000'
*/
function: "approve(address spender, uint256 rawAmount)",
},
},
{
kind: EthereumHandlerKind.Event,
handler: "handleLog",
filter: {
/**
* Follows standard log filters https://docs.ethers.io/v5/concepts/events/
* address: "0x60781C2586D68229fde47564546784ab3fACA982"
*/
topics: [
"Transfer(address indexed from, address indexed to, uint256 amount)",
],
},
},
],
},
},
],
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Immutable/immutable-testnet-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Klaytn/klaytn-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Linea/linea-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Mantle/mantle-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Meter/meter-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Metis/metis-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Optimism/optimism-airdrop/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Optimism/optimism-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Polygon/polygon-mumbai-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Polygon/polygon-plasma-bridge/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Polygon/polygon-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Polygon/polygon-zkevm-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Scroll/scroll-sepolia-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Skale/skale-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;
1 change: 1 addition & 0 deletions Zksync/zksync-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ const project: EthereumProject = {
repository: "https://github.com/subquery/ethereum-subql-starter",
};

// Must set default to the project instance
export default project;

0 comments on commit a535e5e

Please sign in to comment.