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

fix: rm collateral #156

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
4 changes: 2 additions & 2 deletions packages/web-app/components/agreement/context/types.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export interface PositionParams {
status: string;
collateral: string;
// collateral: string;
}

export interface ResolverParams {
Expand All @@ -11,7 +11,7 @@ export interface ResolverParams {
export interface UserPosition {
status: string;
deposit: string;
collateral: string;
// collateral: string;
resolver?: ResolverParams;
}

Expand Down
3 changes: 1 addition & 2 deletions packages/web-app/lib/subgraph/agreement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface AgreementData {
createdAt: string;
positions: {
party: string;
collateral: string;
// collateral: string;
deposit: string;
status: string;
}[];
Expand All @@ -36,7 +36,6 @@ export const agreementQuery = gql`
createdAt
positions {
party
collateral
deposit
status
}
Expand Down
3 changes: 1 addition & 2 deletions packages/web-app/lib/subgraph/agreements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { gql } from "graphql-request";
export interface AgreementPositionsData {
agreementPositions: {
party: string;
collateral: string;
// collateral: string;
status: string;
agreement: {
id: string;
Expand All @@ -19,7 +19,6 @@ export const agreementsPositionsQuery = gql`
query GetUserAgreements($account: Bytes!) {
agreementPositions(where: { party: $account }) {
party
collateral
status
agreement {
id
Expand Down
2 changes: 1 addition & 1 deletion packages/web-app/lib/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface Agreement extends AgreementBase {

export interface AgreementPosition {
party: string;
collateral: string;
// collateral: string;
deposit: string;
status: string;
resolver?: {
Expand Down
Loading