Skip to content

Commit

Permalink
refactor: adding contract type to user
Browse files Browse the repository at this point in the history
  • Loading branch information
CalicoNino committed Mar 11, 2024
1 parent 3bb03d8 commit 7857b2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/gql/heart-monitor/heart-monitor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,7 @@ test("wasm", async () => {
where: {
contractAddress: { like: "123" },
userAddress: { eq: "456" },
contractType: { eq: "airdrop" },
},
limit: 1,
},
Expand Down
4 changes: 2 additions & 2 deletions src/gql/query/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ export * from "./featureFlags"
export * from "./governance"
export * from "./ibc"
export * from "./inflation"
export * from "./marketing"
export * from "./markPriceCandles"
export * from "./marketing"
export * from "./oracle"
export * from "./perp"
export * from "./redelegations"
export * from "./spotLpPositions"
export * from "./spotPoolCreated"
export * from "./spotPoolExited"
export * from "./spotPoolJoined"
export * from "./spotPools"
export * from "./spotPoolSwap"
export * from "./spotPools"
export * from "./stats"
export * from "./unbondings"
export * from "./users"
Expand Down
1 change: 1 addition & 0 deletions src/gql/utils/defaultObjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ export const defaultIbcChannelsResponse: GQLIbcChannelsResponse = {
export const defaultUserContract: GQLUserContract = {
user: defaultUser,
contractAddress: "",
contractType: "",
}

export const defaultInflationDistribution: GQLInflationDistribution = {
Expand Down

0 comments on commit 7857b2b

Please sign in to comment.