Skip to content

Commit

Permalink
feat: index assets contracts (FuelLabs#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobranas authored and raghukapur9 committed Sep 25, 2024
1 parent fdce3b4 commit b6f8fb9
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions packages/graphql/src/graphql/generated/sdk-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,36 @@ export type GQLAssetNetworkFuel = {
type?: Maybe<Scalars['String']['output']>;
};

export type GQLAsset = {
__typename: 'Asset';
assetId?: Maybe<Scalars['String']['output']>;
contractId?: Maybe<Scalars['String']['output']>;
decimals?: Maybe<Scalars['U64']['output']>;
icon?: Maybe<Scalars['String']['output']>;
name?: Maybe<Scalars['String']['output']>;
networks?: Maybe<Array<Maybe<GQLAssetNetwork>>>;
symbol?: Maybe<Scalars['String']['output']>;
verified?: Maybe<Scalars['Boolean']['output']>;
};

export type GQLAssetNetwork = GQLAssetNetworkEthereum | GQLAssetNetworkFuel;

export type GQLAssetNetworkEthereum = {
__typename: 'AssetNetworkEthereum';
address?: Maybe<Scalars['String']['output']>;
decimals?: Maybe<Scalars['U64']['output']>;
type?: Maybe<Scalars['String']['output']>;
};

export type GQLAssetNetworkFuel = {
__typename: 'AssetNetworkFuel';
assetId?: Maybe<Scalars['String']['output']>;
chainId?: Maybe<Scalars['U64']['output']>;
contractId?: Maybe<Scalars['String']['output']>;
decimals?: Maybe<Scalars['U64']['output']>;
type?: Maybe<Scalars['String']['output']>;
};

export type GQLBalance = {
__typename: 'Balance';
amount: Scalars['U64']['output'];
Expand Down Expand Up @@ -1058,6 +1088,11 @@ export type GQLQueryAssetArgs = {
assetId: Scalars['String']['input'];
};

export type GQLQueryAssetArgs = {
assetId: Scalars['String']['input'];
};


export type GQLQueryBalanceArgs = {
assetId: Scalars['AssetId']['input'];
owner: Scalars['Address']['input'];
Expand Down
35 changes: 35 additions & 0 deletions packages/graphql/src/graphql/generated/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,36 @@ export type GQLAssetNetworkFuel = {
type?: Maybe<Scalars['String']['output']>;
};

export type GQLAsset = {
__typename: 'Asset';
assetId?: Maybe<Scalars['String']['output']>;
contractId?: Maybe<Scalars['String']['output']>;
decimals?: Maybe<Scalars['U64']['output']>;
icon?: Maybe<Scalars['String']['output']>;
name?: Maybe<Scalars['String']['output']>;
networks?: Maybe<Array<Maybe<GQLAssetNetwork>>>;
symbol?: Maybe<Scalars['String']['output']>;
verified?: Maybe<Scalars['Boolean']['output']>;
};

export type GQLAssetNetwork = GQLAssetNetworkEthereum | GQLAssetNetworkFuel;

export type GQLAssetNetworkEthereum = {
__typename: 'AssetNetworkEthereum';
address?: Maybe<Scalars['String']['output']>;
decimals?: Maybe<Scalars['U64']['output']>;
type?: Maybe<Scalars['String']['output']>;
};

export type GQLAssetNetworkFuel = {
__typename: 'AssetNetworkFuel';
assetId?: Maybe<Scalars['String']['output']>;
chainId?: Maybe<Scalars['U64']['output']>;
contractId?: Maybe<Scalars['String']['output']>;
decimals?: Maybe<Scalars['U64']['output']>;
type?: Maybe<Scalars['String']['output']>;
};

export type GQLBalance = {
__typename: 'Balance';
amount: Scalars['U64']['output'];
Expand Down Expand Up @@ -1058,6 +1088,11 @@ export type GQLQueryAssetArgs = {
assetId: Scalars['String']['input'];
};

export type GQLQueryAssetArgs = {
assetId: Scalars['String']['input'];
};


export type GQLQueryBalanceArgs = {
assetId: Scalars['AssetId']['input'];
owner: Scalars['Address']['input'];
Expand Down

0 comments on commit b6f8fb9

Please sign in to comment.