{"_id":"@avocadodefi/avocadodefi-subgraph","_rev":"1-69acb4a88949ee9f37c99adc61c11da1","name":"@avocadodefi/avocadodefi-subgraph","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@avocadodefi/avocadodefi-subgraph","description":"avocadodefi Subgraph","version":"0.0.1","repository":{"type":"git","url":"git+https://github.com/avocadodefi/avocado-subgraph.git"},"author":{"name":"PancakeSwap"},"license":"MIT","scripts":{"codegen:blocks":"graph codegen subgraphs/blocks.yaml","codegen:exchange":"graph codegen subgraphs/exchange.yaml","codegen:pairs":"graph codegen subgraphs/pairs.yaml","codegen:prediction":"graph codegen subgraphs/prediction.yaml","codegen:profile":"graph codegen subgraphs/profile.yaml","codegen:timelock":"graph codegen subgraphs/timelock.yaml","codegen:trading":"graph codegen subgraphs/trading.yaml","build:blocks":"graph build subgraphs/blocks.yaml","build:exchange":"graph build subgraphs/exchange.yaml","build:pairs":"graph build subgraphs/pairs.yaml","build:prediction":"graph build subgraphs/prediction.yaml","build:profile":"graph build subgraphs/profile.yaml","build:timelock":"graph build subgraphs/timelock.yaml","build:trading":"graph build subgraphs/trading.yaml","deploy:blocks":"graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/blocks subgraphs/blocks.yaml","deploy:exchange":"graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/exchange subgraphs/exchange.yaml","deploy:pairs":"graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/pairs subgraphs/pairs.yaml","deploy:prediction":"graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/prediction subgraphs/prediction.yaml","deploy:profile":"graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/profile subgraphs/profile.yaml","deploy:timelock":"graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/timelock subgraphs/timelock.yaml","deploy:trading":"graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ pancakeswap/trading-competition-v1 subgraphs/trading.yaml","format":"prettier --write '*/**/*.{js,ts}'","lint":"eslint '*/**/*.{js,ts}'"},"husky":{"hooks":{"pre-commit":"yarn format","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"devDependencies":{"@commitlint/cli":"^12.0.0","@commitlint/config-conventional":"^12.0.0","@graphprotocol/graph-cli":"^0.20.0","@graphprotocol/graph-ts":"^0.20.0","@typescript-eslint/eslint-plugin":"^4.16.1","@typescript-eslint/parser":"^4.16.1","eslint":"^7.20.0","eslint-config-prettier":"^7.2.0","husky":"^4.3.8","prettier":"^2.2.1","typescript":"^4.2.2"},"gitHead":"ab82cf55e02c104f6a6257f7e4e3a62bb8a242da","bugs":{"url":"https://github.com/avocadodefi/avocado-subgraph/issues"},"homepage":"https://github.com/avocadodefi/avocado-subgraph#readme","_id":"@avocadodefi/avocadodefi-subgraph@0.0.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-g7Dac/GLS5wvKQ5TdOwJvZPrjsfn4crXhWqw6KIHTQhb/OuIgS1UP1yWwBzf5E3uhzZdi8prNsb/xKrcmc7Jmg==","shasum":"5a98d48b95e46984b3de6c1c880b45763b058915","tarball":"https://registry.npmjs.org/@avocadodefi/avocadodefi-subgraph/-/avocadodefi-subgraph-0.0.1.tgz","fileCount":47,"unpackedSize":171527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqPqXCRA9TVsSAnZWagAA7BwP/32nFfR7vnote8LdL2/L\nNf7IBtJO2IJk/vSIh3DEwLfM4xEpzA2S4bGQnyBCeJAVZlrw0HV7uMFMx++4\nRehFF5JVdlm1pjvzPhw6F94n/i23jNnFJHxNy4tBBllgUKd1wQAx9FnC1m+u\nYubDgPN4UB8c1PQREABPC5IK/vi0Pq4Wls/dyqCQfIb+weB50izS4JQurbKl\nK2S4WcHSjXv3u1l3RKDHMm2nXs0rDwS0UjBtKmRRbShbIANm2wDYDsEj3zYx\nQfh/dLwRfUo7tARiJ4Iw86fsfiFikwOsK3y4QnGlK9WOm2Km8IChlzYzNfby\nQZC7DpqnuBBdf6PxY6WLiY0tbUSo+80nWEPpBNwZMfaaO/cXR1rHFbysUMeW\nqlg4c8bWqiVE0fa/bKQTiBji8cuE9z70rGD7sbj3KF6Q4PBVVOiIiEitu7lA\nquy5eUdkMXbuJVBkj8idk51emV5/+LjG9JlcfcK/LXZWJ1HolknvK9PkaYAN\nM1AcwI8BLZES21+hAhJmBNG1mqOS1AwQi8DzofhzHL4LIDbR4x1kfWsY8OSb\nkLrZDavKM6Gwd1XiP2KX2w9uMGiBNqTat/9DEL7poFLH4e11MCi1Exxa3Ttd\nrv4ba1j8YD3uduRxfPGQ+bSPnM3jv7VUOuXc8+kHUtbPfM8OKG6I6fKxN62F\n/YNA\r\n=TKt1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSdJlcA4mU6X/0GZK42MZVLN1a5ku+K4xaVGRG8z9vPQIgY/tcc0WVT7xFxeHvhK4wuydV7kzmwlpM0c6p3zxYQho="}]},"_npmUser":{"name":"avocadodefi","email":"encorecorps@gmail.com"},"directories":{},"maintainers":[{"name":"avocadodefi","email":"encorecorps@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/avocadodefi-subgraph_0.0.1_1621686935232_0.3261635593116474"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-22T12:35:35.145Z","0.0.1":"2021-05-22T12:35:35.379Z","modified":"2022-04-04T16:48:06.031Z"},"maintainers":[{"name":"avocadodefi","email":"encorecorps@gmail.com"}],"description":"avocadodefi Subgraph","homepage":"https://github.com/avocadodefi/avocado-subgraph#readme","repository":{"type":"git","url":"git+https://github.com/avocadodefi/avocado-subgraph.git"},"author":{"name":"PancakeSwap"},"bugs":{"url":"https://github.com/avocadodefi/avocado-subgraph/issues"},"license":"MIT","readme":"# PancakeSwap Subgraph\r\n\r\nTheGraph exposes a GraphQL endpoint to query the events and entities within the Binance Smart Chain and PancakeSwap ecosystem.\r\n\r\nCurrently, there are multiple subgraphs, but additional subgraphs can be added to this repo:\r\n\r\n1. **[Blocks](https://thegraph.com/explorer/subgraph/pancakeswap/blocks)**: Tracks all blocks on Binance Smart Chain.\r\n\r\n2. **[Pairs](https://thegraph.com/explorer/subgraph/pancakeswap/pairs)**: Tracks all PancakeSwap Pairs and Tokens.\r\n\r\n3. **[Exchange](https://thegraph.com/explorer/subgraph/pancakeswap/exchange)**: Tracks all PancakeSwap Exchange data with price, volume, liquidity, ...\r\n\r\n4. **[Profile](https://thegraph.com/explorer/subgraph/pancakeswap/profile)**: Tracks all PancakeSwap Profile with teams, users, points and campaign.\r\n\r\n5. **[Timelock](https://thegraph.com/explorer/subgraph/pancakeswap/timelock)**: Tracks all timelock transactions queued, executed, and cancelled.\r\n\r\n6. **[Trading Competition v1](https://thegraph.com/explorer/subgraph/pancakeswap/trading-competition-v1)**: Tracks all metrics for the Easter Battle (April 07—14, 2021).\r\n\r\n## v1\r\n\r\nTo access subgraphs related to PancakeSwap v1 ecosystem ([article](https://pancakeswap.medium.com/the-great-migration-vote-4093cb3edf23)), use [`v1`](https://github.com/pancakeswap/pancake-subgraph/tree/v1) branch.\r\n\r\n## To setup and deploy\r\n\r\nFor any of the subgraph: `blocks` as `[subgraph]`\r\n\r\n1. Run the `yarn run codegen:[subgraph]` command to prepare the TypeScript sources for the GraphQL (generated/*).\r\n\r\n2. Run the `yarn run build:[subgraph]` command to build the subgraph, and check compilation errors before deploying.\r\n\r\n3. Run `graph auth https://api.thegraph.com/deploy/ '<ACCESS_TOKEN>'`\r\n\r\n4. Deploy via `yarn run deploy:[subgraph]`.\r\n","readmeFilename":"README.md"}