Skip to content

Commit

Permalink
chore: upgrade address book (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Oct 16, 2024
1 parent 0055079 commit a0a9357
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"cache": "bun ./scripts/refreshCache.ts"
},
"devDependencies": {
"@bgd-labs/aave-address-book": "^3.1.1",
"@bgd-labs/aave-address-book": "^4.0.1-02c70ec5f8a433b38372b81d27ed44b79aa52f65.0",
"@bgd-labs/js-utils": "^1.4.2",
"@types/bun": "latest",
"bun-plugin-dts": "^0.2.3",
Expand All @@ -56,6 +56,6 @@
},
"peerDependencies": {
"viem": "^2.9.20",
"@bgd-labs/aave-address-book": "^3.1.1"
"@bgd-labs/aave-address-book": "^4.0.1-02c70ec5f8a433b38372b81d27ed44b79aa52f65.0"
}
}
2 changes: 1 addition & 1 deletion src/common/governance.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {type Client, type Address, getContract, getAbiItem} from 'viem';
import {getBlockNumber, getBlock} from 'viem/actions';
import {getBlockAtTimestamp, strategicGetLogs} from '@bgd-labs/js-utils';
import {IGovernanceCore_ABI} from '@bgd-labs/aave-address-book';
import {IGovernanceCore_ABI} from '@bgd-labs/aave-address-book/abis';
import type {
ProposalCanceledEvent,
ProposalCreatedEvent,
Expand Down
2 changes: 1 addition & 1 deletion src/common/payloadsController.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {type Client, type Address, getContract, getAbiItem} from 'viem';
import {getBlockNumber, getBlock} from 'viem/actions';
import {getBlockAtTimestamp, strategicGetLogs} from '@bgd-labs/js-utils';
import {IPayloadsControllerCore_ABI} from '@bgd-labs/aave-address-book';
import {IPayloadsControllerCore_ABI} from '@bgd-labs/aave-address-book/abis';
import type {
PayloadCreatedEvent,
PayloadEvent,
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import {
} from 'viem';
import type {AbiEvent} from 'abitype';
import type {ProposalMetadata} from '@bgd-labs/js-utils';
import type {IGovernanceCore_ABI, IPayloadsControllerCore_ABI} from '@bgd-labs/aave-address-book';
import type {
IGovernanceCore_ABI,
IPayloadsControllerCore_ABI,
} from '@bgd-labs/aave-address-book/abis';
import type {ExtractAbiEvent} from 'abitype';

type ArrayElement<ArrayType extends readonly unknown[]> =
Expand Down

0 comments on commit a0a9357

Please sign in to comment.