Skip to content

Commit

Permalink
fixing some more package.json stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffywu committed Dec 26, 2022
1 parent f64693d commit 396d043
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deploy:goerli": "yarn run prepare:goerli && yarn run codegen && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ notional-finance/goerli-v2",
"deploy:mainnet": "yarn run prepare:mainnet && yarn run codegen && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ notional-finance/mainnet-v2",
"deploy:mainnet-debug": "yarn run prepare:mainnet && yarn run codegen && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ notional-finance/mainnet-debug",
"deploy:studio:mainnet": "yarn run prepare:mainnet && yarn run codegen && yarn run graph deploy --studio notional",
"deploy:studio:mainnet": "yarn run prepare:mainnet && yarn run codegen && yarn run graph deploy --studio notional-finance",
"testenv:up": "cd ../subgraph && ./start.sh",
"testenv:down": "cd ../subgraph && docker-compose down",
"compile:subgraph": "yarn run prepare:local && yarn run codegen && yarn run build && yarn run deploy:local"
Expand Down
15 changes: 0 additions & 15 deletions src/vaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,21 +552,6 @@ export function handleVaultEnterMaturity(event: VaultEnterMaturity): void {
);
}

/*
{
leveragedVaultTrades(orderBy: blockNumber, orderDirection:desc) {
blockNumber
primaryBorrowfCashAfter
primaryBorrowfCashBefore
netPrimaryBorrowfCashChange
vaultTradeType
netUnderlyingCash
netBorrowedUnderlying
netDepositUnderlying
}
}
*/

export function handleVaultExitPreMaturity(event: VaultExitPreMaturity): void {
let vault = getVault(event.params.vault.toHexString())
let notional = Notional.bind(event.address)
Expand Down

0 comments on commit 396d043

Please sign in to comment.