Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package updates #35

Merged
merged 2 commits into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
env:
NETWORK_NAME: mainnet
START_BLOCK_NUMBER: 14265505
START_BLOCK_NUMBER: 16265505
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
if: github.ref == 'refs/heads/dev'
env:
NETWORK_NAME: mainnet
START_BLOCK_NUMBER: 14265505
START_BLOCK_NUMBER: 16265505
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
if: github.ref == 'refs/heads/main'
env:
NETWORK_NAME: mainnet
START_BLOCK_NUMBER: 14265505
START_BLOCK_NUMBER: 16265505
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"lint": "prettier --ignore-path .gitignore --list-different \"**/*.{ts,js,json,yaml}\""
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.67.1",
"@graphprotocol/graph-ts": "^0.32.0",
"@graphprotocol/graph-cli": "0.60.0",
"@graphprotocol/graph-ts": "0.32.0",
"@graphql-codegen/cli": "^2.6.2",
"@tsconfig/node16": "^1.0.2",
"@types/fs-extra": "^9.0.13",
Expand All @@ -47,6 +47,7 @@
"*.{ts,js,json,yaml}": "prettier --write"
},
"dependencies": {
"@protofire/subgraph-toolkit": "0.1.2"
"@protofire/subgraph-toolkit": "0.1.2",
"assemblyscript": "AssemblyScript/assemblyscript"
}
}
7 changes: 1 addition & 6 deletions subgraph/handlers/Alchemist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,7 @@ export function handleSnap(event: Snap): void {
entity.save();
}

export function handleSweepTokens(event: SweepTokens): void {
const entity = createAlchemistEvent<AlchemistSweepTokensEvent>(event);
entity.amount = event.params.amount;
entity.rewardToken = event.params.rewardToken;
entity.save();
}
export function handleSweepTokens(): void {}

export function handleTokenAdapterUpdated(event: TokenAdapterUpdated): void {
const entity = createAlchemistEvent<AlchemistTokenAdapterUpdatedEvent>(event);
Expand Down
3 changes: 3 additions & 0 deletions subgraph/handlers/EthAssetManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,6 @@

// getOrCreateEthAssetManagerMetaPoolTokenBalanceHistory(token, event.params.amount.times(BigInt.fromI32(-1)), event);
// }

// export function handleSweepEth(): void {}
// export function handleSweepToken(): void {}
4 changes: 4 additions & 0 deletions subgraph/handlers/FactoryPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ function getTokenInfo(address: Address): TokenInfo {
decimals.reverted ? 18 : decimals.value,
);
}

export function handleRampA(): void {}
export function handleStopRampA(): void {}

export function handleTokenExchange(event: TokenExchange): void {}
// export function handleTokenExchange(event: TokenExchange): void {
// let pool = getOrCreatePool(event.address, event);
Expand Down
2 changes: 2 additions & 0 deletions subgraph/handlers/TransmuterBuffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,5 @@ export function handleSetDivertToAmo(event: SetDivertToAmo): void {
entity.divert = event.params.divert;
entity.save();
}

export function handleSetTransmuter(): void {}
Loading
Loading