diff --git a/package.json b/package.json index b589476..77658bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xsquid/squid-types", - "version": "0.1.97", + "version": "0.1.98", "description": "JS and TS types relating to 0xsquid related projects.", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/path/index.ts b/src/path/index.ts index 82f48f3..cf3c254 100644 --- a/src/path/index.ts +++ b/src/path/index.ts @@ -64,8 +64,11 @@ export interface ActionBaseData { // bridges name: string; + + // rfq provider: string; liquidityProvider: string; + fillerAddress: string; } export interface PathAction { diff --git a/src/rfq/index.ts b/src/rfq/index.ts index f010ad1..5f693cd 100644 --- a/src/rfq/index.ts +++ b/src/rfq/index.ts @@ -10,3 +10,22 @@ export enum HubEventType { SETTLEMENT_FILLED = "SettlementFilled", SETTLEMENT_PROCESSED = "SettlementProcessed", } + +export type Order = { + fromAddress: string; + toAddress: string; + filler: string; + fromToken: string; + toToken: string; + expiry: string; + fromAssetType: string; + toAssetType: string; + fromAmount: string; + tokenId: string; + fillAmount: string; + fillTokenId: string; + feeRate: string; + fromChain: string; + toChain: string; + postHookHash: string; +}; diff --git a/src/routes/index.ts b/src/routes/index.ts index 238976d..b03b069 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -179,6 +179,8 @@ export interface LiquidityProviderDetails { name: string; logoURI?: string; calls?: ChainCall[]; + fillerAddress: string; + expiry: string; } export interface Integrator {