@bulletxyz/bullet-sdk 0.17.3-rc.6 → 0.17.4-rc.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.
- package/dist/browser/index.js +1266 -1263
- package/dist/browser/index.js.map +4 -4
- package/dist/node/index.js +1269 -1266
- package/dist/node/index.js.map +4 -4
- package/dist/types/bullet-wasm/index.d.ts +37 -0
- package/dist/types/calc.d.ts +3 -3
- package/dist/types/client.d.ts +33 -29
- package/dist/types/connection.d.ts +2 -3
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/exchange.d.ts +3 -3
- package/dist/types/orderbook.d.ts +3 -3
- package/dist/types/rollupTypes.d.ts +135 -0
- package/dist/types/types.d.ts +2 -15
- package/dist/types/wallet/nodeWallet.d.ts +2 -2
- package/dist/types/wallet/wallet.d.ts +2 -2
- package/dist/types/zod-types/rest.d.ts +82 -16
- package/dist/types/zod-types/wasm.d.ts +1 -13
- package/package.json +7 -3
- package/dist/types/test/wasm.d.ts +0 -1
- package/dist/types/zetax-wasm/wasm.d.ts +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export enum EquityType {
|
|
4
|
+
Unweighted = 0,
|
|
5
|
+
WeightedInitial = 1,
|
|
6
|
+
WeightedMaintenance = 2,
|
|
7
|
+
}
|
|
8
|
+
export enum MarginType {
|
|
9
|
+
Initial = 0,
|
|
10
|
+
Maintenance = 1,
|
|
11
|
+
}
|
|
12
|
+
export enum Side {
|
|
13
|
+
Bid = 0,
|
|
14
|
+
Ask = 1,
|
|
15
|
+
}
|
|
16
|
+
export class BulletWasm {
|
|
17
|
+
free(): void;
|
|
18
|
+
constructor();
|
|
19
|
+
static dummy(a: number): number;
|
|
20
|
+
static convert_token_id_to_bytes(token_id: string): Uint8Array;
|
|
21
|
+
static convert_rust_decimal_to_json(decimal_str: string): any;
|
|
22
|
+
static calculate_total_perp_unrealized_pnl(user_account: any, margin_context: any): string;
|
|
23
|
+
static calculate_account_equity(user_account: any, conservative: boolean, equity_type: EquityType, margin_context: any): string;
|
|
24
|
+
static calculate_account_leverage(user_account: any, margin_context: any): string;
|
|
25
|
+
static calculate_available_margin(user_account: any, conservative: boolean, margin_type: MarginType, margin_context: any): string;
|
|
26
|
+
static calculate_used_margin(user_account: any, margin_type: MarginType, margin_context: any): string;
|
|
27
|
+
static calculate_withdrawable_amount_of_asset(user_account: any, asset_id: number, margin_context: any): string;
|
|
28
|
+
static calculate_estimated_liquidation_price(user_account: any, asset_id: number, margin_context: any): string;
|
|
29
|
+
static calculate_liquidation_risk_percentage(user_account: any, margin_context: any): string;
|
|
30
|
+
static calculate_force_close_risk_percentage(user_account: any, margin_context: any): string;
|
|
31
|
+
static calculate_max_borrow_amount(asset_id: number, user_account: any, margin_context: any): string;
|
|
32
|
+
static calculate_max_order_size(user_account: any, asset_id: number, side: Side, price: string, reduce_only: boolean, margin_context: any, maker_book: any, n_iterations: number, error_tolerance: string): string;
|
|
33
|
+
static simulate_used_margin_on_borrow(asset_id: number, borrow_amount: string, user_account: any, margin_type: MarginType, margin_context: any): any;
|
|
34
|
+
static simulate_used_margin_on_order(_user_account: any, _margin_context: any): string;
|
|
35
|
+
static calculate_positions_additional_metadata(user_account: any, margin_context: any, funding_parameters: any): any;
|
|
36
|
+
static calculate_borrow_lend_additional_metadata(borrow_lend_market: any): any;
|
|
37
|
+
}
|
package/dist/types/calc.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Asset, AssetId, Side } from "./types";
|
|
2
|
-
import { BorrowLendMarket, MarginConfig, OrderbookData, PerpMarket, Pricing, UserAccount } from "./zod-types/rest";
|
|
3
|
-
import { EquityType, MarginType } from "./bullet-wasm";
|
|
4
1
|
import Decimal from "decimal.js";
|
|
2
|
+
import { type EquityType, type MarginType } from "./bullet-wasm";
|
|
3
|
+
import type { Asset, AssetId, Side } from "./types";
|
|
4
|
+
import type { BorrowLendMarket, MarginConfig, OrderbookData, PerpMarket, Pricing, UserAccount } from "./zod-types/rest";
|
|
5
5
|
export declare function calculateOrderbookMidpoint(orderbook: OrderbookData): Decimal | undefined;
|
|
6
6
|
export declare function calculateEntryPrice(asset: Asset, userAccount: UserAccount): Decimal;
|
|
7
7
|
export interface MarginContext {
|
package/dist/types/client.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Transaction, TransactionResult } from "@sovereign-sdk/web3";
|
|
2
|
-
import
|
|
3
|
-
import { Side, Asset, Network, Address, TokenId, CallMessage, TpslOrder, OrderType } from "./types";
|
|
4
|
-
import { Wallet } from "./wallet";
|
|
1
|
+
import { type Transaction, type TransactionResult } from "@sovereign-sdk/web3";
|
|
2
|
+
import type Decimal from "decimal.js";
|
|
5
3
|
import { Connection } from "./connection";
|
|
6
|
-
import
|
|
4
|
+
import { ExchangeConnection } from "./exchange";
|
|
5
|
+
import type { RuntimeCall } from "./rollupTypes";
|
|
6
|
+
import { type Address, type Asset, type Network, type OrderType, type Side, type TokenId, type TpslOrder } from "./types";
|
|
7
|
+
import type { Wallet } from "./wallet";
|
|
7
8
|
export interface TransactionOpts {
|
|
8
9
|
maxPriorityFeeBps: number;
|
|
9
10
|
maxFee: number;
|
|
@@ -53,6 +54,9 @@ export declare class Client {
|
|
|
53
54
|
side: "Bid" | "Ask";
|
|
54
55
|
order_id: bigint;
|
|
55
56
|
reduce_only: boolean;
|
|
57
|
+
filled_size: Decimal;
|
|
58
|
+
average_filled_price: Decimal;
|
|
59
|
+
tpsl_order_ids: bigint[];
|
|
56
60
|
}[];
|
|
57
61
|
position: {
|
|
58
62
|
size: Decimal;
|
|
@@ -79,36 +83,36 @@ export declare class Client {
|
|
|
79
83
|
}[];
|
|
80
84
|
}>;
|
|
81
85
|
}>;
|
|
82
|
-
submitTransaction(runtimeCall:
|
|
83
|
-
transfer(to: Address, amount: bigint, tokenId: TokenId): Promise<
|
|
84
|
-
mint(to: Address, amount: bigint, tokenId: TokenId): Promise<
|
|
85
|
-
setValue(value: number): Promise<
|
|
86
|
-
deposit(asset: Asset, amount: Decimal): Promise<
|
|
87
|
-
withdraw(asset: Asset, amount: Decimal): Promise<
|
|
88
|
-
borrowSpot(asset: Asset, amount: Decimal): Promise<
|
|
89
|
-
placeOrder(asset: Asset, price: Decimal, size: Decimal, side: Side, orderType?: OrderType, reduceOnly?: boolean, tpslOrders?: TpslOrder[]): Promise<
|
|
90
|
-
placeTpsls(asset: Asset, tpslOrders: TpslOrder[]): Promise<
|
|
91
|
-
replaceOrder(existingOrderId: bigint, asset: Asset, price: Decimal, size: Decimal, side: Side, orderType?: OrderType, reduceOnly?: boolean, tpslOrders?: TpslOrder[]): Promise<
|
|
92
|
-
cancelTpsl(tpslOrderId: bigint): Promise<
|
|
93
|
-
cancelOrder(orderId: bigint): Promise<
|
|
94
|
-
cancelAllOrders(asset: Asset): Promise<
|
|
86
|
+
submitTransaction(runtimeCall: RuntimeCall): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
87
|
+
transfer(to: Address, amount: bigint, tokenId: TokenId): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
88
|
+
mint(to: Address, amount: bigint, tokenId: TokenId): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
89
|
+
setValue(value: number): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
90
|
+
deposit(asset: Asset, amount: Decimal): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
91
|
+
withdraw(asset: Asset, amount: Decimal): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
92
|
+
borrowSpot(asset: Asset, amount: Decimal): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
93
|
+
placeOrder(asset: Asset, price: Decimal, size: Decimal, side: Side, orderType?: OrderType, reduceOnly?: boolean, tpslOrders?: TpslOrder[]): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
94
|
+
placeTpsls(asset: Asset, tpslOrders: TpslOrder[]): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
95
|
+
replaceOrder(existingOrderId: bigint, asset: Asset, price: Decimal, size: Decimal, side: Side, orderType?: OrderType, reduceOnly?: boolean, tpslOrders?: TpslOrder[]): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
96
|
+
cancelTpsl(tpslOrderId: bigint): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
97
|
+
cancelOrder(orderId: bigint): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
98
|
+
cancelAllOrders(asset: Asset): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
95
99
|
updatePricing(pricing_updates: {
|
|
96
100
|
asset: Asset;
|
|
97
101
|
medianCexPrice: Decimal;
|
|
98
102
|
oraclePrice: Decimal;
|
|
99
103
|
diffEma: Decimal;
|
|
100
|
-
}[], publishTimestamp?: number): Promise<
|
|
101
|
-
updateAssetMaxLeverage(asset: Asset, maxLeverage: number): Promise<
|
|
102
|
-
updatePremiumIndexes(assetIds: Asset[]): Promise<
|
|
103
|
-
updateFunding(assetIds: Asset[]): Promise<
|
|
104
|
-
applyFunding(addresses: Address[]): Promise<
|
|
105
|
-
forceCancelOrders(address: Address): Promise<
|
|
106
|
-
forceClosePositions(address: Address): Promise<
|
|
104
|
+
}[], publishTimestamp?: number): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
105
|
+
updateAssetMaxLeverage(asset: Asset, maxLeverage: number): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
106
|
+
updatePremiumIndexes(assetIds: Asset[]): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
107
|
+
updateFunding(assetIds: Asset[]): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
108
|
+
applyFunding(addresses: Address[]): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
109
|
+
forceCancelOrders(address: Address): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
110
|
+
forceClosePositions(address: Address): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
107
111
|
liquidate(address: Address, positions?: {
|
|
108
112
|
asset: Asset;
|
|
109
113
|
size: Decimal;
|
|
110
|
-
}[]): Promise<
|
|
111
|
-
liquidateSpotLiability(address: Address, liabilityAssetId: Asset, collateralAssetId: Asset, liabilityAmount: Decimal): Promise<
|
|
112
|
-
depositToUsdcPnlPool(amount: Decimal): Promise<
|
|
113
|
-
depositToInsuranceFund(amount: Decimal): Promise<
|
|
114
|
+
}[]): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
115
|
+
liquidateSpotLiability(address: Address, liabilityAssetId: Asset, collateralAssetId: Asset, liabilityAmount: Decimal): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
116
|
+
depositToUsdcPnlPool(amount: Decimal): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
117
|
+
depositToInsuranceFund(amount: Decimal): Promise<TransactionResult<Transaction<RuntimeCall>>>;
|
|
114
118
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Address, TokenId } from "./types";
|
|
2
2
|
export declare class BaseConnection {
|
|
3
3
|
endpoint: string;
|
|
4
|
-
constructor(
|
|
4
|
+
constructor(rawEndpoint?: string);
|
|
5
5
|
protected fetchApiResource<T>(path: string, params?: Record<string, string>): Promise<T>;
|
|
6
6
|
}
|
|
7
7
|
export declare class Connection extends BaseConnection {
|
|
8
|
-
constructor(endpoint: string);
|
|
9
8
|
getNonce(address: Address): Promise<number>;
|
|
10
9
|
getTokenBalance(address: Address, token_id: TokenId): Promise<bigint>;
|
|
11
10
|
getTotalSupply(token_id: TokenId): Promise<bigint>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Network } from "./types";
|
|
1
|
+
import type { Network } from "./types";
|
|
2
2
|
export declare const TOKEN_ADDRESSES: {
|
|
3
3
|
readonly GAS: "token_1nyl0e0yweragfsatygt24zmd8jrr2vqtvdfptzjhxkguz2xxx3vs0y07u7";
|
|
4
4
|
readonly USDC: "token_1zh04r2k3kk0jf3xzr8cfpcm6qntumxwdvglq75g2ynwcu7daca0qm9ccg3";
|
package/dist/types/exchange.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseConnection } from "./connection";
|
|
2
|
-
import { Orderbook } from "./orderbook";
|
|
3
|
-
import { AssetId, Network } from "./types";
|
|
4
|
-
import { Order, OrderbookData,
|
|
2
|
+
import type { Orderbook } from "./orderbook";
|
|
3
|
+
import type { AssetId, Network } from "./types";
|
|
4
|
+
import { type BorrowLendMarket, type MarginConfig, type Order, type OrderbookData, type PerpMarket, type Pricing, type UsdcInsuranceFund, type UsdcPnlPool, type UserAccount } from "./zod-types/rest";
|
|
5
5
|
export declare class ExchangeConnection extends BaseConnection {
|
|
6
6
|
private wsManager;
|
|
7
7
|
constructor(network: Network);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Asset } from "./types";
|
|
2
|
-
import { OrderbookData } from "./zod-types/rest";
|
|
3
|
-
import { OrderbookUpdate } from "./zod-types/ws";
|
|
1
|
+
import type { Asset } from "./types";
|
|
2
|
+
import type { OrderbookData } from "./zod-types/rest";
|
|
3
|
+
import type { OrderbookUpdate } from "./zod-types/ws";
|
|
4
4
|
type Price = number;
|
|
5
5
|
type TotalSize = number;
|
|
6
6
|
type OrderbookLevel = [Price, TotalSize];
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { Address, AssetId, TokenId } from "./types";
|
|
2
|
+
type ExactlyOne<T, Keys extends keyof T = keyof T> = {
|
|
3
|
+
[K in Keys]: {
|
|
4
|
+
[P in K]: T[P];
|
|
5
|
+
} & {
|
|
6
|
+
[P in Exclude<Keys, K>]?: never;
|
|
7
|
+
};
|
|
8
|
+
}[Keys];
|
|
9
|
+
type BankCallMessage = {
|
|
10
|
+
transfer: {
|
|
11
|
+
to: Address;
|
|
12
|
+
coins: {
|
|
13
|
+
amount: string;
|
|
14
|
+
token_id: TokenId;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
mint: {
|
|
18
|
+
mint_to_address: Address;
|
|
19
|
+
coins: {
|
|
20
|
+
amount: string;
|
|
21
|
+
token_id: TokenId;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type Tpsl = {
|
|
26
|
+
order_price: number;
|
|
27
|
+
trigger_price: number;
|
|
28
|
+
trigger_direction: string;
|
|
29
|
+
tpsl_price_condition: string;
|
|
30
|
+
size: number;
|
|
31
|
+
order_type: string;
|
|
32
|
+
};
|
|
33
|
+
type ExchangeCallMessage = {
|
|
34
|
+
set_value: number;
|
|
35
|
+
deposit: {
|
|
36
|
+
asset_id: AssetId;
|
|
37
|
+
amount: number;
|
|
38
|
+
};
|
|
39
|
+
withdraw: {
|
|
40
|
+
asset_id: AssetId;
|
|
41
|
+
amount: number;
|
|
42
|
+
};
|
|
43
|
+
borrow_spot: {
|
|
44
|
+
asset_id: AssetId;
|
|
45
|
+
amount: number;
|
|
46
|
+
};
|
|
47
|
+
place_order: {
|
|
48
|
+
order_args: {
|
|
49
|
+
asset_id: AssetId;
|
|
50
|
+
price: number;
|
|
51
|
+
size: number;
|
|
52
|
+
side: string;
|
|
53
|
+
order_type: string;
|
|
54
|
+
reduce_only: boolean;
|
|
55
|
+
};
|
|
56
|
+
tpsls: Tpsl[];
|
|
57
|
+
};
|
|
58
|
+
place_tpsls: {
|
|
59
|
+
asset_id: AssetId;
|
|
60
|
+
tpsls: Tpsl[];
|
|
61
|
+
};
|
|
62
|
+
replace_order: {
|
|
63
|
+
existing_order_id: string;
|
|
64
|
+
order_args: {
|
|
65
|
+
asset_id: AssetId;
|
|
66
|
+
price: number;
|
|
67
|
+
size: number;
|
|
68
|
+
side: string;
|
|
69
|
+
order_type: string;
|
|
70
|
+
reduce_only: boolean;
|
|
71
|
+
};
|
|
72
|
+
tpsls: Tpsl[];
|
|
73
|
+
};
|
|
74
|
+
cancel_tpsl: {
|
|
75
|
+
tpsl_order_id: string;
|
|
76
|
+
};
|
|
77
|
+
cancel_order: {
|
|
78
|
+
order_id: string;
|
|
79
|
+
};
|
|
80
|
+
cancel_all_orders: {
|
|
81
|
+
asset_id: AssetId;
|
|
82
|
+
};
|
|
83
|
+
update_pricing: {
|
|
84
|
+
prices_to_update: {
|
|
85
|
+
asset_id: AssetId;
|
|
86
|
+
median_cex_price: number;
|
|
87
|
+
oracle_price: number;
|
|
88
|
+
diff_ema: number;
|
|
89
|
+
}[];
|
|
90
|
+
publish_timestamp: number;
|
|
91
|
+
};
|
|
92
|
+
update_asset_max_leverage: {
|
|
93
|
+
asset_id: AssetId;
|
|
94
|
+
max_leverage: number;
|
|
95
|
+
};
|
|
96
|
+
update_premium_indexes: {
|
|
97
|
+
asset_ids: AssetId[];
|
|
98
|
+
};
|
|
99
|
+
update_funding: {
|
|
100
|
+
asset_ids: AssetId[];
|
|
101
|
+
};
|
|
102
|
+
apply_funding: {
|
|
103
|
+
addresses: Address[];
|
|
104
|
+
};
|
|
105
|
+
force_cancel_orders: {
|
|
106
|
+
user_address: Address;
|
|
107
|
+
};
|
|
108
|
+
force_close_positions: {
|
|
109
|
+
address: Address;
|
|
110
|
+
};
|
|
111
|
+
liquidate: {
|
|
112
|
+
address: Address;
|
|
113
|
+
positions: {
|
|
114
|
+
asset_id: AssetId;
|
|
115
|
+
size: number;
|
|
116
|
+
}[] | null;
|
|
117
|
+
};
|
|
118
|
+
liquidate_spot_liability: {
|
|
119
|
+
liquidatee_address: Address;
|
|
120
|
+
liability_asset_id: AssetId;
|
|
121
|
+
collateral_asset_id: AssetId;
|
|
122
|
+
liability_amount: number;
|
|
123
|
+
};
|
|
124
|
+
deposit_to_usdc_pnl_pool: {
|
|
125
|
+
usdc_amount: number;
|
|
126
|
+
};
|
|
127
|
+
deposit_to_insurance_fund: {
|
|
128
|
+
usdc_amount: number;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export type RuntimeCall = ExactlyOne<{
|
|
132
|
+
exchange: ExactlyOne<ExchangeCallMessage>;
|
|
133
|
+
bank: ExactlyOne<BankCallMessage>;
|
|
134
|
+
}>;
|
|
135
|
+
export {};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[module: string]: {
|
|
4
|
-
[instruction: string]: string | number | object;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
1
|
+
export { MarginType, EquityType } from "./bullet-wasm";
|
|
2
|
+
import type Decimal from "decimal.js";
|
|
7
3
|
export type PrivateKey = string;
|
|
8
4
|
export type PublicKey = string;
|
|
9
5
|
export type Address = string;
|
|
@@ -42,15 +38,6 @@ export type TpslOrder = {
|
|
|
42
38
|
size: Decimal;
|
|
43
39
|
orderType: OrderType;
|
|
44
40
|
};
|
|
45
|
-
export declare enum EquityType {
|
|
46
|
-
Unweighted = 0,
|
|
47
|
-
WeightedInitial = 1,
|
|
48
|
-
WeightedMaintenance = 2
|
|
49
|
-
}
|
|
50
|
-
export declare enum MarginType {
|
|
51
|
-
Initial = 0,
|
|
52
|
-
Maintenance = 1
|
|
53
|
-
}
|
|
54
41
|
export declare class BulletError extends Error {
|
|
55
42
|
originalError?: Error | undefined;
|
|
56
43
|
code: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Signer } from "@sovereign-sdk/signers";
|
|
2
|
+
import type { PrivateKey, PublicKey } from "../types";
|
|
2
3
|
import { Wallet } from "./wallet";
|
|
3
|
-
import { Signer } from "@sovereign-sdk/signers";
|
|
4
4
|
export declare class NodeWallet extends Wallet {
|
|
5
5
|
private privateKey;
|
|
6
6
|
chainId: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Signer } from "@sovereign-sdk/signers";
|
|
2
|
+
import type { Address, PublicKey } from "../types";
|
|
3
3
|
export declare abstract class Wallet {
|
|
4
4
|
address: Address;
|
|
5
5
|
publicKey: PublicKey;
|