@triadxyz/triad-protocol 4.2.8 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,20 @@ export type WithdrawArgs = {
19
19
  amount: number;
20
20
  customerId: number;
21
21
  };
22
+ export type DepositExtArgs = {
23
+ authority: PublicKey;
24
+ amount: number;
25
+ refer: PublicKey;
26
+ customerId: number;
27
+ depositId: string;
28
+ };
29
+ export type WithdrawExtArgs = {
30
+ authority: PublicKey;
31
+ amount: number;
32
+ customerId: number;
33
+ key: string;
34
+ extAta: PublicKey;
35
+ };
22
36
  export type CollectRewardsArgs = {
23
37
  authority: PublicKey;
24
38
  customerId: number;
@@ -7,8 +7,8 @@ export type PlaceBidOrderArgs = {
7
7
  price: number;
8
8
  orderDirection: OrderDirectionEncoded;
9
9
  marketId: number;
10
+ customerId: number;
10
11
  }[];
11
- customerId: number;
12
12
  };
13
13
  export type PlaceAskOrderArgs = {
14
14
  orders: {
@@ -16,26 +16,26 @@ export type PlaceAskOrderArgs = {
16
16
  price: number;
17
17
  orderDirection: OrderDirectionEncoded;
18
18
  marketId: number;
19
+ customerId: number;
19
20
  }[];
20
- customerId: number;
21
21
  };
22
22
  export type CancelBidOrderArgs = {
23
23
  orders: {
24
24
  authority: PublicKey;
25
+ predictor: PublicKey;
25
26
  marketId: number;
26
27
  bookOrderId: number;
27
28
  orderDirection: OrderDirectionEncoded;
28
29
  }[];
29
- customerId: number;
30
30
  };
31
31
  export type CancelAskOrderArgs = {
32
32
  orders: {
33
33
  authority: PublicKey;
34
+ predictor: PublicKey;
34
35
  marketId: number;
35
36
  bookOrderId: number;
36
37
  orderDirection: OrderDirectionEncoded;
37
38
  }[];
38
- customerId: number;
39
39
  };
40
40
  export type MarketBidOrderArgs = {
41
41
  marketId: number;