-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed440d4
commit 5f1078d
Showing
10 changed files
with
112 additions
and
2,942 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Deploy to Satsuma Service on testnet | ||
|
||
on: | ||
push: | ||
tags: | ||
- "test-*" | ||
|
||
jobs: | ||
buildAndDeploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16 | ||
- name: Install Yarn | ||
run: npm i -g yarn | ||
- name: Install Libs | ||
run: yarn --frozen-lockfile | ||
- name: Codegen | ||
run: yarn codegen:testnet | ||
- name: Build | ||
run: yarn build:testnet | ||
- name: Deploy to Satsuma on test | ||
run: | | ||
npx graph deploy aavegotchi-svg-amoy \ | ||
--deploy-key ${{secrets.SATSUMA_ACCESS_TOKEN}} \ | ||
--node https://subgraphs.alchemy.com/api/subgraphs/deploy \ | ||
--ipfs https://ipfs.satsuma.xyz \ | ||
--version-label ${GITHUB_REF#refs/*/} \ | ||
subgraph.testnet.yaml | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Deploy to Satsuma Service | ||
|
||
on: | ||
push: | ||
tags: | ||
- "prod-*" | ||
|
||
jobs: | ||
buildAndDeploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16 | ||
- name: Install Yarn | ||
run: npm i -g yarn | ||
- name: Install Libs | ||
run: yarn --frozen-lockfile | ||
- name: Codegen | ||
run: yarn codegen | ||
- name: Build | ||
run: yarn build | ||
- name: Deploy to Satsuma | ||
run: | | ||
npx graph deploy aavegotchi-svg-matic \ | ||
--deploy-key ${{secrets.SATSUMA_ACCESS_TOKEN}} \ | ||
--node https://subgraphs.alchemy.com/api/subgraphs/deploy \ | ||
--ipfs https://ipfs.satsuma.xyz \ | ||
--version-label ${GITHUB_REF#refs/*/} | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
build/ | ||
generated/ | ||
node_modules/ | ||
yarn-error.log | ||
yarn-error.log | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
import { BigInt } from "@graphprotocol/graph-ts"; | ||
|
||
export let BLOCK_SIDEVIEWS_ACTIVATED = BigInt.fromI32(39130900); | ||
// matic | ||
// export let BLOCK_SIDEVIEWS_ACTIVATED = BigInt.fromI32(39130900); | ||
// export const AAVEGOTCHI_DIAMOND = "0x86935F11C86623deC8a25696E1C19a8659CbF95d" | ||
|
||
// amoy | ||
export let BLOCK_SIDEVIEWS_ACTIVATED = BigInt.fromI32(8159213); | ||
export const AAVEGOTCHI_DIAMOND = "0xd4275abb81e8D30A42B69A588634570e56D25ada" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
specVersion: 0.0.4 | ||
schema: | ||
file: ./schema.graphql | ||
dataSources: | ||
- kind: ethereum/contract | ||
name: Contract | ||
network: polygon-amoy | ||
source: | ||
address: "0xd4275abb81e8D30A42B69A588634570e56D25ada" | ||
abi: Contract | ||
startBlock: 6760900 | ||
mapping: | ||
kind: ethereum/events | ||
apiVersion: 0.0.6 | ||
language: wasm/assemblyscript | ||
entities: | ||
- ClaimAavegotchi | ||
- EquipWearables | ||
abis: | ||
- name: Contract | ||
file: ./abis/Contract.json | ||
eventHandlers: | ||
- event: EquipWearables(indexed uint256,uint16[16],uint16[16]) | ||
handler: handleEquipWearables | ||
- event: ClaimAavegotchi(indexed uint256) | ||
handler: handleClaimAavegotchi | ||
blockHandlers: | ||
- handler: handleBlock | ||
file: ./src/mapping.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.