Skip to content

Commit

Permalink
refactor: use semiotic tap contracts bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Dec 14, 2023
1 parent 9041993 commit 68d587f
Show file tree
Hide file tree
Showing 5 changed files with 1,439 additions and 1,438 deletions.
2 changes: 1 addition & 1 deletion packages/indexer-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"dependencies": {
"@graphprotocol/common-ts": "2.0.9",
"@graphprotocol/cost-model": "0.1.16",
"@semiotic-labs/tap-contracts-bindings": "^1.1.0",
"@thi.ng/heaps": "1.2.38",
"@types/lodash.clonedeep": "^4.5.7",
"@types/lodash.intersection": "^4.4.7",
Expand Down Expand Up @@ -53,7 +54,6 @@
"p-timeout": "4.1.0",
"parsimmon": "^1.18.1",
"sequelize": "6.33.0",
"tap-contracts": "semiotic-ai/timeline-aggregation-protocol-contracts#ca1cfa653d0d1d209aee48ab021b0e562d2b5688",
"ts-custom-error": "^3.2.0",
"zod": "^3.21.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/indexer-common/src/allocations/query-fees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
Metrics,
Eventual,
} from '@graphprotocol/common-ts'
import { NetworkContracts as EscrowContracts } from 'tap-contracts'
import { NetworkContracts as EscrowContracts } from '@semiotic-labs/tap-contracts-bindings'
import {
Allocation,
AllocationReceipt,
Expand Down
2 changes: 1 addition & 1 deletion packages/indexer-common/src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Eventual,
toAddress,
} from '@graphprotocol/common-ts'
import { connectContracts as connectEscrowContracts } from 'tap-contracts'
import { connectContracts as connectEscrowContracts } from '@semiotic-labs/tap-contracts-bindings'
import {
INDEXER_ERROR_MESSAGES,
indexerError,
Expand Down
2 changes: 1 addition & 1 deletion packages/indexer-common/src/query-fees/models.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DataTypes, Sequelize, Model, Association } from 'sequelize'
import { Address } from '@graphprotocol/common-ts'
import { caip2IdRegex } from '../parsers'
import { TAPVerifier } from 'tap-contracts/generated/ts-bindings/TAPVerifier'
import { TAPVerifier } from '@semiotic-labs/tap-contracts-bindings'

export interface AllocationReceiptAttributes {
id: string
Expand Down
Loading

0 comments on commit 68d587f

Please sign in to comment.