Skip to content

Commit

Permalink
chore: update contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoDex committed Jun 24, 2024
1 parent 9d14892 commit e32779d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 41 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compolabs/spark-orderbook-ts-sdk",
"version": "1.3.2-beta",
"version": "1.3.3-beta",
"type": "module",
"main": "./dist/index.сjs",
"module": "./dist/index.js",
Expand Down
34 changes: 2 additions & 32 deletions src/types/market/MarketContractAbi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
/* eslint-disable */

/*
Fuels version: 0.89.2
Fuels version: 0.90.0
Forc version: 0.60.0
Fuel-Core version: 0.27.0
Fuel-Core version: 0.30.0
*/

import type {
Expand Down Expand Up @@ -96,36 +96,6 @@ interface MarketContractAbiInterface extends Interface {
order_id: FunctionFragment;
user_orders: FunctionFragment;
};

encodeFunctionData(functionFragment: 'cancel_order', values: [string]): Uint8Array;
encodeFunctionData(functionFragment: 'deposit', values: []): Uint8Array;
encodeFunctionData(functionFragment: 'match_order_pair', values: [string, string]): Uint8Array;
encodeFunctionData(functionFragment: 'match_orders', values: [Vec<string>]): Uint8Array;
encodeFunctionData(functionFragment: 'open_order', values: [BigNumberish, AssetTypeInput, OrderTypeInput, BigNumberish]): Uint8Array;
encodeFunctionData(functionFragment: 'set_fee', values: [BigNumberish, Option<IdentityInput>]): Uint8Array;
encodeFunctionData(functionFragment: 'withdraw', values: [BigNumberish, AssetTypeInput]): Uint8Array;
encodeFunctionData(functionFragment: 'account', values: [IdentityInput]): Uint8Array;
encodeFunctionData(functionFragment: 'config', values: []): Uint8Array;
encodeFunctionData(functionFragment: 'fee', values: [Option<IdentityInput>]): Uint8Array;
encodeFunctionData(functionFragment: 'order', values: [string]): Uint8Array;
encodeFunctionData(functionFragment: 'order_change_info', values: [string]): Uint8Array;
encodeFunctionData(functionFragment: 'order_id', values: [AssetTypeInput, OrderTypeInput, IdentityInput, BigNumberish, BigNumberish]): Uint8Array;
encodeFunctionData(functionFragment: 'user_orders', values: [IdentityInput]): Uint8Array;

decodeFunctionData(functionFragment: 'cancel_order', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'deposit', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'match_order_pair', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'match_orders', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'open_order', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'set_fee', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'withdraw', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'account', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'config', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'fee', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'order', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'order_change_info', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'order_id', data: BytesLike): DecodedValue;
decodeFunctionData(functionFragment: 'user_orders', data: BytesLike): DecodedValue;
}

export class MarketContractAbi extends Contract {
Expand Down
4 changes: 2 additions & 2 deletions src/types/market/MarketContractAbi.hex.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/types/market/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
/* eslint-disable */

/*
Fuels version: 0.89.2
Fuels version: 0.90.0
Forc version: 0.60.0
Fuel-Core version: 0.27.0
Fuel-Core version: 0.30.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/types/market/factories/MarketContractAbi__factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
/* eslint-disable */

/*
Fuels version: 0.89.2
Fuels version: 0.90.0
Forc version: 0.60.0
Fuel-Core version: 0.27.0
Fuel-Core version: 0.30.0
*/

import { Interface, Contract, ContractFactory } from "fuels";
Expand Down
4 changes: 2 additions & 2 deletions src/types/market/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
/* eslint-disable */

/*
Fuels version: 0.89.2
Fuels version: 0.90.0
Forc version: 0.60.0
Fuel-Core version: 0.27.0
Fuel-Core version: 0.30.0
*/

export type { MarketContractAbi } from './MarketContractAbi';
Expand Down

0 comments on commit e32779d

Please sign in to comment.