@sodax/types 1.5.6-beta → 2.0.0-rc.1
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/README.md +49 -21
- package/dist/backend/backendApi.d.ts +75 -0
- package/dist/backend/backendApi.d.ts.map +1 -0
- package/dist/backend/backendApi.js +2 -0
- package/dist/backend/backendApi.js.map +1 -0
- package/dist/backend/index.d.ts +1 -80
- package/dist/backend/index.d.ts.map +1 -1
- package/dist/backend/index.js +1 -1
- package/dist/backend/index.js.map +1 -1
- package/dist/{btc/index.d.ts → bitcoin/bitcoin.d.ts} +31 -31
- package/dist/bitcoin/bitcoin.d.ts.map +1 -0
- package/dist/{btc/index.js → bitcoin/bitcoin.js} +5 -4
- package/dist/bitcoin/bitcoin.js.map +1 -0
- package/dist/bitcoin/index.d.ts +2 -0
- package/dist/bitcoin/index.d.ts.map +1 -0
- package/dist/bitcoin/index.js +2 -0
- package/dist/bitcoin/index.js.map +1 -0
- package/dist/chains/chain-keys.d.ts +31 -0
- package/dist/chains/chain-keys.d.ts.map +1 -0
- package/dist/chains/chain-keys.js +39 -0
- package/dist/chains/chain-keys.js.map +1 -0
- package/dist/chains/chains.d.ts +3491 -0
- package/dist/chains/chains.d.ts.map +1 -0
- package/dist/chains/chains.js +712 -0
- package/dist/chains/chains.js.map +1 -0
- package/dist/chains/index.d.ts +3 -0
- package/dist/chains/index.d.ts.map +1 -0
- package/dist/chains/index.js +3 -0
- package/dist/chains/index.js.map +1 -0
- package/dist/chains/tokens.d.ts +4390 -0
- package/dist/chains/tokens.d.ts.map +1 -0
- package/dist/chains/tokens.js +2139 -0
- package/dist/chains/tokens.js.map +1 -0
- package/dist/common/common.d.ts +282 -0
- package/dist/common/common.d.ts.map +1 -0
- package/dist/common/common.js +30 -0
- package/dist/common/common.js.map +1 -0
- package/dist/common/constants.d.ts +70 -0
- package/dist/common/constants.d.ts.map +1 -0
- package/dist/common/constants.js +31 -0
- package/dist/common/constants.js.map +1 -0
- package/dist/common/index.d.ts +2 -274
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +2 -1
- package/dist/common/index.js.map +1 -1
- package/dist/dex/dex.d.ts +268 -0
- package/dist/dex/dex.d.ts.map +1 -0
- package/dist/dex/dex.js +128 -0
- package/dist/dex/dex.js.map +1 -0
- package/dist/dex/index.d.ts +2 -0
- package/dist/dex/index.d.ts.map +1 -0
- package/dist/dex/index.js +2 -0
- package/dist/dex/index.js.map +1 -0
- package/dist/dex/pancakeswap-infinity.d.ts +539 -0
- package/dist/dex/pancakeswap-infinity.d.ts.map +1 -0
- package/dist/dex/pancakeswap-infinity.js +3 -0
- package/dist/dex/pancakeswap-infinity.js.map +1 -0
- package/dist/evm/evm.d.ts +48 -0
- package/dist/evm/evm.d.ts.map +1 -0
- package/dist/evm/evm.js +2 -0
- package/dist/evm/evm.js.map +1 -0
- package/dist/evm/index.d.ts +1 -39
- package/dist/evm/index.d.ts.map +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/evm/index.js.map +1 -1
- package/dist/icon/icon.d.ts +55 -0
- package/dist/icon/icon.d.ts.map +1 -0
- package/dist/icon/icon.js +2 -0
- package/dist/icon/icon.js.map +1 -0
- package/dist/icon/index.d.ts +1 -35
- package/dist/icon/index.d.ts.map +1 -1
- package/dist/icon/index.js +1 -1
- package/dist/icon/index.js.map +1 -1
- package/dist/index.d.ts +15 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/dist/injective/index.d.ts +1 -67
- package/dist/injective/index.d.ts.map +1 -1
- package/dist/injective/index.js +1 -16
- package/dist/injective/index.js.map +1 -1
- package/dist/injective/injective.d.ts +103 -0
- package/dist/injective/injective.d.ts.map +1 -0
- package/dist/injective/injective.js +2 -0
- package/dist/injective/injective.js.map +1 -0
- package/dist/moneyMarket/index.d.ts +2 -0
- package/dist/moneyMarket/index.d.ts.map +1 -0
- package/dist/moneyMarket/index.js +2 -0
- package/dist/moneyMarket/index.js.map +1 -0
- package/dist/moneyMarket/moneyMarket.d.ts +2440 -0
- package/dist/moneyMarket/moneyMarket.d.ts.map +1 -0
- package/dist/moneyMarket/moneyMarket.js +194 -0
- package/dist/moneyMarket/moneyMarket.js.map +1 -0
- package/dist/near/index.d.ts +1 -69
- package/dist/near/index.d.ts.map +1 -1
- package/dist/near/index.js +1 -1
- package/dist/near/index.js.map +1 -1
- package/dist/near/near-api-js.d.ts +6119 -0
- package/dist/near/near-api-js.d.ts.map +1 -0
- package/dist/near/near-api-js.js +2 -0
- package/dist/near/near-api-js.js.map +1 -0
- package/dist/near/near.d.ts +75 -0
- package/dist/near/near.d.ts.map +1 -0
- package/dist/near/near.js +2 -0
- package/dist/near/near.js.map +1 -0
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +2 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/shared.d.ts +17 -0
- package/dist/shared/shared.d.ts.map +1 -0
- package/dist/shared/shared.js +6 -0
- package/dist/shared/shared.js.map +1 -0
- package/dist/sodax-config/index.d.ts +2 -0
- package/dist/sodax-config/index.d.ts.map +1 -0
- package/dist/sodax-config/index.js +2 -0
- package/dist/sodax-config/index.js.map +1 -0
- package/dist/sodax-config/sodax-config.d.ts +6070 -0
- package/dist/{constants/index.d.ts.map → sodax-config/sodax-config.d.ts.map} +1 -1
- package/dist/sodax-config/sodax-config.js +22 -0
- package/dist/sodax-config/sodax-config.js.map +1 -0
- package/dist/solana/index.d.ts +1 -99
- package/dist/solana/index.d.ts.map +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/solana/index.js.map +1 -1
- package/dist/solana/solana-web3.d.ts +390 -0
- package/dist/solana/solana-web3.d.ts.map +1 -0
- package/dist/solana/solana-web3.js +2 -0
- package/dist/solana/solana-web3.js.map +1 -0
- package/dist/solana/solana.d.ts +111 -0
- package/dist/solana/solana.d.ts.map +1 -0
- package/dist/solana/solana.js +2 -0
- package/dist/solana/solana.js.map +1 -0
- package/dist/stacks/index.d.ts +1 -16
- package/dist/stacks/index.d.ts.map +1 -1
- package/dist/stacks/index.js +1 -1
- package/dist/stacks/index.js.map +1 -1
- package/dist/stacks/stacks.d.ts +211 -0
- package/dist/stacks/stacks.d.ts.map +1 -0
- package/dist/stacks/stacks.js +2 -0
- package/dist/stacks/stacks.js.map +1 -0
- package/dist/stellar/index.d.ts +1 -69
- package/dist/stellar/index.d.ts.map +1 -1
- package/dist/stellar/index.js +1 -1
- package/dist/stellar/index.js.map +1 -1
- package/dist/stellar/stellar.d.ts +97 -0
- package/dist/stellar/stellar.d.ts.map +1 -0
- package/dist/stellar/stellar.js +2 -0
- package/dist/stellar/stellar.js.map +1 -0
- package/dist/sui/index.d.ts +1 -32
- package/dist/sui/index.d.ts.map +1 -1
- package/dist/sui/index.js +1 -1
- package/dist/sui/index.js.map +1 -1
- package/dist/sui/sui.d.ts +312 -0
- package/dist/sui/sui.d.ts.map +1 -0
- package/dist/sui/sui.js +2 -0
- package/dist/sui/sui.js.map +1 -0
- package/dist/swap/index.d.ts +2 -0
- package/dist/swap/index.d.ts.map +1 -0
- package/dist/swap/index.js +2 -0
- package/dist/swap/index.js.map +1 -0
- package/dist/swap/swap.d.ts +3369 -0
- package/dist/swap/swap.d.ts.map +1 -0
- package/dist/swap/swap.js +242 -0
- package/dist/swap/swap.js.map +1 -0
- package/dist/utils/deep-partial.d.ts +9 -0
- package/dist/utils/deep-partial.d.ts.map +1 -0
- package/dist/utils/deep-partial.js +2 -0
- package/dist/utils/deep-partial.js.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/utils.d.ts +61 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/dist/utils/utils.js +144 -0
- package/dist/utils/utils.js.map +1 -0
- package/dist/wallet/index.d.ts +3 -0
- package/dist/wallet/index.d.ts.map +1 -0
- package/dist/wallet/index.js +3 -0
- package/dist/wallet/index.js.map +1 -0
- package/dist/wallet/providers.d.ts +24 -0
- package/dist/wallet/providers.d.ts.map +1 -0
- package/dist/wallet/providers.js +2 -0
- package/dist/wallet/providers.js.map +1 -0
- package/dist/wallet/wallet.d.ts +19 -0
- package/dist/wallet/wallet.d.ts.map +1 -0
- package/dist/wallet/wallet.js +2 -0
- package/dist/wallet/wallet.js.map +1 -0
- package/package.json +17 -9
- package/dist/btc/index.d.ts.map +0 -1
- package/dist/btc/index.js.map +0 -1
- package/dist/constants/index.d.ts +0 -7228
- package/dist/constants/index.js +0 -3204
- package/dist/constants/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"sodax-config.d.ts","sourceRoot":"","sources":["../../src/sodax-config/sodax-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAEL,KAAK,SAAS,EAEd,KAAK,gBAAgB,EACrB,KAAK,aAAa,EACnB,MAAM,qBAAqB,CAAC;AAI7B,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,eAAe,GAAG;IACvD,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { apiConfig, solverConfig, relayConfig, } from '../common/constants.js';
|
|
2
|
+
import { moneyMarketConfig } from '../moneyMarket/moneyMarket.js';
|
|
3
|
+
import { dexConfig } from '../dex/dex.js';
|
|
4
|
+
import { swapsConfig } from '../swap/swap.js';
|
|
5
|
+
import { spokeChainConfig, hubConfig, } from '../chains/chains.js';
|
|
6
|
+
export const bridgeConfig = {
|
|
7
|
+
partnerFee: undefined,
|
|
8
|
+
};
|
|
9
|
+
// default sodax config object which can always be overriden through Sodax instance (i.e. new Sodax(...config))
|
|
10
|
+
export const sodaxConfig = {
|
|
11
|
+
fee: undefined,
|
|
12
|
+
chains: spokeChainConfig,
|
|
13
|
+
swaps: swapsConfig,
|
|
14
|
+
moneyMarket: moneyMarketConfig,
|
|
15
|
+
bridge: bridgeConfig,
|
|
16
|
+
dex: dexConfig,
|
|
17
|
+
hub: hubConfig,
|
|
18
|
+
api: apiConfig,
|
|
19
|
+
solver: solverConfig,
|
|
20
|
+
relay: relayConfig,
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=sodax-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sodax-config.js","sourceRoot":"","sources":["../../src/sodax-config/sodax-config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,WAAW,GAIZ,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAkB,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAoB,MAAM,iBAAiB,CAAC;AAChE,OAAO,EACL,gBAAgB,EAEhB,SAAS,GAGV,MAAM,qBAAqB,CAAC;AAgC7B,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE,SAAS;CACC,CAAC;AAezB,+GAA+G;AAC/G,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,gBAAgB;IACxB,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,iBAAiB;IAC9B,MAAM,EAAE,YAAY;IACpB,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,YAAY;IACpB,KAAK,EAAE,WAAW;CACG,CAAC"}
|
package/dist/solana/index.d.ts
CHANGED
|
@@ -1,100 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type SolanaEoaAddress = string;
|
|
3
|
-
export type TransactionSignature = string;
|
|
4
|
-
export type SolanaSerializedTransaction = Uint8Array;
|
|
5
|
-
export type SolanaBase58PublicKey = string;
|
|
6
|
-
type Context = {
|
|
7
|
-
slot: number;
|
|
8
|
-
};
|
|
9
|
-
export type SolanaAccountMeta = {
|
|
10
|
-
/** An account's public key */
|
|
11
|
-
pubkey: SolanaBase58PublicKey;
|
|
12
|
-
/** True if an instruction requires a transaction signature matching `pubkey` */
|
|
13
|
-
isSigner: boolean;
|
|
14
|
-
/** True if the `pubkey` can be loaded as a read-write account. */
|
|
15
|
-
isWritable: boolean;
|
|
16
|
-
};
|
|
17
|
-
export type SolanaRawTransactionInstruction = {
|
|
18
|
-
/**
|
|
19
|
-
* Public keys to include in this transaction
|
|
20
|
-
* Boolean represents whether this pubkey needs to sign the transaction
|
|
21
|
-
*/
|
|
22
|
-
keys: Array<SolanaAccountMeta>;
|
|
23
|
-
/**
|
|
24
|
-
* Program Id to execute
|
|
25
|
-
*/
|
|
26
|
-
programId: SolanaBase58PublicKey;
|
|
27
|
-
/**
|
|
28
|
-
* Program input
|
|
29
|
-
*/
|
|
30
|
-
data: Uint8Array;
|
|
31
|
-
};
|
|
32
|
-
export type SolanaTokenAmount = {
|
|
33
|
-
/** Raw amount of tokens as string ignoring decimals */
|
|
34
|
-
amount: string;
|
|
35
|
-
/** Number of decimals configured for token's mint */
|
|
36
|
-
decimals: number;
|
|
37
|
-
/** Token amount as float, accounts for decimals */
|
|
38
|
-
uiAmount: number | null;
|
|
39
|
-
/** Token amount as string, accounts for decimals */
|
|
40
|
-
uiAmountString?: string;
|
|
41
|
-
};
|
|
42
|
-
type TokenAmount = {
|
|
43
|
-
/** Raw amount of tokens as string ignoring decimals */
|
|
44
|
-
amount: string;
|
|
45
|
-
/** Number of decimals configured for token's mint */
|
|
46
|
-
decimals: number;
|
|
47
|
-
/** Token amount as float, accounts for decimals */
|
|
48
|
-
uiAmount: number | null;
|
|
49
|
-
/** Token amount as string, accounts for decimals */
|
|
50
|
-
uiAmountString?: string;
|
|
51
|
-
};
|
|
52
|
-
export type SolanaRpcResponseAndContext<T> = {
|
|
53
|
-
/** response context */
|
|
54
|
-
context: Context;
|
|
55
|
-
/** response value */
|
|
56
|
-
value: T;
|
|
57
|
-
};
|
|
58
|
-
export type SolanaSignatureResult = {
|
|
59
|
-
err: TransactionError | null;
|
|
60
|
-
};
|
|
61
|
-
type RpcResponseAndContext<T> = {
|
|
62
|
-
/** response context */
|
|
63
|
-
context: Context;
|
|
64
|
-
/** response value */
|
|
65
|
-
value: T;
|
|
66
|
-
};
|
|
67
|
-
export type Commitment = 'processed' | 'confirmed' | 'finalized' | 'recent' | 'single' | 'singleGossip' | 'root' | 'max';
|
|
68
|
-
type TransactionError = {} | string;
|
|
69
|
-
export type RawTransaction = {
|
|
70
|
-
signatures: {
|
|
71
|
-
publicKey: string;
|
|
72
|
-
signature: string | null;
|
|
73
|
-
}[];
|
|
74
|
-
message: {
|
|
75
|
-
header: {
|
|
76
|
-
numRequiredSignatures: number;
|
|
77
|
-
numReadonlySignedAccounts: number;
|
|
78
|
-
numReadonlyUnsignedAccounts: number;
|
|
79
|
-
};
|
|
80
|
-
accountKeys: string[];
|
|
81
|
-
recentBlockhash: string;
|
|
82
|
-
instructions: {
|
|
83
|
-
programIdIndex: number;
|
|
84
|
-
accounts: number[];
|
|
85
|
-
data: string;
|
|
86
|
-
}[];
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
export interface ISolanaWalletProvider extends WalletAddressProvider {
|
|
90
|
-
getWalletAddress: () => Promise<string>;
|
|
91
|
-
sendTransaction: (rawTransaction: Uint8Array | Array<number>) => Promise<TransactionSignature>;
|
|
92
|
-
waitForConfirmation: (signature: TransactionSignature, commitment: Commitment) => Promise<SolanaRpcResponseAndContext<SolanaSignatureResult>>;
|
|
93
|
-
buildV0Txn: (instructions: SolanaRawTransactionInstruction[]) => Promise<SolanaSerializedTransaction>;
|
|
94
|
-
getWalletBase58PublicKey: () => SolanaBase58PublicKey;
|
|
95
|
-
getAssociatedTokenAddress: (mint: SolanaBase58PublicKey) => Promise<SolanaBase58PublicKey>;
|
|
96
|
-
getBalance: (publicKey: SolanaBase58PublicKey) => Promise<number>;
|
|
97
|
-
getTokenAccountBalance: (publicKey: SolanaBase58PublicKey) => Promise<RpcResponseAndContext<TokenAmount>>;
|
|
98
|
-
}
|
|
99
|
-
export {};
|
|
1
|
+
export * from './solana.js';
|
|
100
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/solana/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/solana/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
package/dist/solana/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './solana.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/solana/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/solana/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/solana/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import type { Buffer } from 'buffer';
|
|
2
|
+
declare class Struct {
|
|
3
|
+
constructor(properties: any);
|
|
4
|
+
encode(): Buffer;
|
|
5
|
+
static decode(data: Buffer): any;
|
|
6
|
+
static decodeUnchecked(data: Buffer): any;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Value to be converted into public key
|
|
10
|
+
*/
|
|
11
|
+
type PublicKeyInitData = number | string | Uint8Array | Array<number> | PublicKeyData;
|
|
12
|
+
/**
|
|
13
|
+
* JSON object representation of PublicKey class
|
|
14
|
+
*/
|
|
15
|
+
type PublicKeyData = {};
|
|
16
|
+
/**
|
|
17
|
+
* A public key
|
|
18
|
+
*/
|
|
19
|
+
declare class PublicKey extends Struct {
|
|
20
|
+
/**
|
|
21
|
+
* Create a new PublicKey object
|
|
22
|
+
* @param value ed25519 public key as buffer or base-58 encoded string
|
|
23
|
+
*/
|
|
24
|
+
constructor(value: PublicKeyInitData);
|
|
25
|
+
/**
|
|
26
|
+
* Returns a unique PublicKey for tests and benchmarks using a counter
|
|
27
|
+
*/
|
|
28
|
+
static unique(): PublicKey;
|
|
29
|
+
/**
|
|
30
|
+
* Default public key value. The base58-encoded string representation is all ones (as seen below)
|
|
31
|
+
* The underlying BN number is 32 bytes that are all zeros
|
|
32
|
+
*/
|
|
33
|
+
static default: PublicKey;
|
|
34
|
+
/**
|
|
35
|
+
* Checks if two publicKeys are equal
|
|
36
|
+
*/
|
|
37
|
+
equals(publicKey: PublicKey): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Return the base-58 representation of the public key
|
|
40
|
+
*/
|
|
41
|
+
toBase58(): string;
|
|
42
|
+
toJSON(): string;
|
|
43
|
+
/**
|
|
44
|
+
* Return the byte array representation of the public key in big endian
|
|
45
|
+
*/
|
|
46
|
+
toBytes(): Uint8Array;
|
|
47
|
+
/**
|
|
48
|
+
* Return the Buffer representation of the public key in big endian
|
|
49
|
+
*/
|
|
50
|
+
toBuffer(): Buffer;
|
|
51
|
+
get [Symbol.toStringTag](): string;
|
|
52
|
+
/**
|
|
53
|
+
* Return the base-58 representation of the public key
|
|
54
|
+
*/
|
|
55
|
+
toString(): string;
|
|
56
|
+
/**
|
|
57
|
+
* Derive a public key from another key, a seed, and a program ID.
|
|
58
|
+
* The program ID will also serve as the owner of the public key, giving
|
|
59
|
+
* it permission to write data to the account.
|
|
60
|
+
*/
|
|
61
|
+
static createWithSeed(fromPublicKey: PublicKey, seed: string, programId: PublicKey): Promise<PublicKey>;
|
|
62
|
+
/**
|
|
63
|
+
* Derive a program address from seeds and a program ID.
|
|
64
|
+
*/
|
|
65
|
+
static createProgramAddressSync(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): PublicKey;
|
|
66
|
+
/**
|
|
67
|
+
* Async version of createProgramAddressSync
|
|
68
|
+
* For backwards compatibility
|
|
69
|
+
*
|
|
70
|
+
* @deprecated Use {@link createProgramAddressSync} instead
|
|
71
|
+
*/
|
|
72
|
+
static createProgramAddress(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): Promise<PublicKey>;
|
|
73
|
+
/**
|
|
74
|
+
* Find a valid program address
|
|
75
|
+
*
|
|
76
|
+
* Valid program addresses must fall off the ed25519 curve. This function
|
|
77
|
+
* iterates a nonce until it finds one that when combined with the seeds
|
|
78
|
+
* results in a valid program address.
|
|
79
|
+
*/
|
|
80
|
+
static findProgramAddressSync(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): [PublicKey, number];
|
|
81
|
+
/**
|
|
82
|
+
* Async version of findProgramAddressSync
|
|
83
|
+
* For backwards compatibility
|
|
84
|
+
*
|
|
85
|
+
* @deprecated Use {@link findProgramAddressSync} instead
|
|
86
|
+
*/
|
|
87
|
+
static findProgramAddress(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): Promise<[PublicKey, number]>;
|
|
88
|
+
/**
|
|
89
|
+
* Check that a pubkey is on the ed25519 curve.
|
|
90
|
+
*/
|
|
91
|
+
static isOnCurve(pubkeyData: PublicKeyInitData): boolean;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Blockhash as Base58 string.
|
|
95
|
+
*/
|
|
96
|
+
type Blockhash = string;
|
|
97
|
+
type AccountKeysFromLookups = LoadedAddresses;
|
|
98
|
+
declare class MessageAccountKeys {
|
|
99
|
+
staticAccountKeys: Array<PublicKey>;
|
|
100
|
+
accountKeysFromLookups?: AccountKeysFromLookups;
|
|
101
|
+
constructor(staticAccountKeys: Array<PublicKey>, accountKeysFromLookups?: AccountKeysFromLookups);
|
|
102
|
+
keySegments(): Array<Array<PublicKey>>;
|
|
103
|
+
get(index: number): PublicKey | undefined;
|
|
104
|
+
get length(): number;
|
|
105
|
+
compileInstructions(instructions: Array<TransactionInstruction>): Array<MessageCompiledInstruction>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* An instruction to execute by a program
|
|
109
|
+
*
|
|
110
|
+
* @property {number} programIdIndex
|
|
111
|
+
* @property {number[]} accounts
|
|
112
|
+
* @property {string} data
|
|
113
|
+
*/
|
|
114
|
+
type CompiledInstruction = {
|
|
115
|
+
/** Index into the transaction keys array indicating the program account that executes this instruction */
|
|
116
|
+
programIdIndex: number;
|
|
117
|
+
/** Ordered indices into the transaction keys array indicating which accounts to pass to the program */
|
|
118
|
+
accounts: number[];
|
|
119
|
+
/** The program input data encoded as base 58 */
|
|
120
|
+
data: string;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Message constructor arguments
|
|
124
|
+
*/
|
|
125
|
+
type MessageArgs = {
|
|
126
|
+
/** The message header, identifying signed and read-only `accountKeys` */
|
|
127
|
+
header: MessageHeader;
|
|
128
|
+
/** All the account keys used by this transaction */
|
|
129
|
+
accountKeys: string[] | PublicKey[];
|
|
130
|
+
/** The hash of a recent ledger block */
|
|
131
|
+
recentBlockhash: Blockhash;
|
|
132
|
+
/** Instructions that will be executed in sequence and committed in one atomic transaction if all succeed. */
|
|
133
|
+
instructions: CompiledInstruction[];
|
|
134
|
+
};
|
|
135
|
+
type CompileLegacyArgs = {
|
|
136
|
+
payerKey: PublicKey;
|
|
137
|
+
instructions: Array<TransactionInstruction>;
|
|
138
|
+
recentBlockhash: Blockhash;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* List of instructions to be processed atomically
|
|
142
|
+
*/
|
|
143
|
+
declare class Message {
|
|
144
|
+
header: MessageHeader;
|
|
145
|
+
accountKeys: PublicKey[];
|
|
146
|
+
recentBlockhash: Blockhash;
|
|
147
|
+
instructions: CompiledInstruction[];
|
|
148
|
+
constructor(args: MessageArgs);
|
|
149
|
+
get version(): 'legacy';
|
|
150
|
+
get staticAccountKeys(): Array<PublicKey>;
|
|
151
|
+
get compiledInstructions(): Array<MessageCompiledInstruction>;
|
|
152
|
+
get addressTableLookups(): Array<MessageAddressTableLookup>;
|
|
153
|
+
getAccountKeys(): MessageAccountKeys;
|
|
154
|
+
static compile(args: CompileLegacyArgs): Message;
|
|
155
|
+
isAccountSigner(index: number): boolean;
|
|
156
|
+
isAccountWritable(index: number): boolean;
|
|
157
|
+
isProgramId(index: number): boolean;
|
|
158
|
+
programIds(): PublicKey[];
|
|
159
|
+
nonProgramIds(): PublicKey[];
|
|
160
|
+
serialize(): Buffer;
|
|
161
|
+
/**
|
|
162
|
+
* Decode a compiled message into a Message object.
|
|
163
|
+
*/
|
|
164
|
+
static from(buffer: Buffer | Uint8Array | Array<number>): Message;
|
|
165
|
+
}
|
|
166
|
+
type AddressLookupTableState = {
|
|
167
|
+
deactivationSlot: bigint;
|
|
168
|
+
lastExtendedSlot: number;
|
|
169
|
+
lastExtendedSlotStartIndex: number;
|
|
170
|
+
authority?: PublicKey;
|
|
171
|
+
addresses: Array<PublicKey>;
|
|
172
|
+
};
|
|
173
|
+
type AddressLookupTableAccountArgs = {
|
|
174
|
+
key: PublicKey;
|
|
175
|
+
state: AddressLookupTableState;
|
|
176
|
+
};
|
|
177
|
+
declare class AddressLookupTableAccount {
|
|
178
|
+
key: PublicKey;
|
|
179
|
+
state: AddressLookupTableState;
|
|
180
|
+
constructor(args: AddressLookupTableAccountArgs);
|
|
181
|
+
isActive(): boolean;
|
|
182
|
+
static deserialize(accountData: Uint8Array): AddressLookupTableState;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Message constructor arguments
|
|
186
|
+
*/
|
|
187
|
+
type MessageV0Args = {
|
|
188
|
+
/** The message header, identifying signed and read-only `accountKeys` */
|
|
189
|
+
header: MessageHeader;
|
|
190
|
+
/** The static account keys used by this transaction */
|
|
191
|
+
staticAccountKeys: PublicKey[];
|
|
192
|
+
/** The hash of a recent ledger block */
|
|
193
|
+
recentBlockhash: Blockhash;
|
|
194
|
+
/** Instructions that will be executed in sequence and committed in one atomic transaction if all succeed. */
|
|
195
|
+
compiledInstructions: MessageCompiledInstruction[];
|
|
196
|
+
/** Instructions that will be executed in sequence and committed in one atomic transaction if all succeed. */
|
|
197
|
+
addressTableLookups: MessageAddressTableLookup[];
|
|
198
|
+
};
|
|
199
|
+
type CompileV0Args = {
|
|
200
|
+
payerKey: PublicKey;
|
|
201
|
+
instructions: Array<TransactionInstruction>;
|
|
202
|
+
recentBlockhash: Blockhash;
|
|
203
|
+
addressLookupTableAccounts?: Array<AddressLookupTableAccount>;
|
|
204
|
+
};
|
|
205
|
+
type GetAccountKeysArgs = {
|
|
206
|
+
accountKeysFromLookups?: AccountKeysFromLookups | null;
|
|
207
|
+
} | {
|
|
208
|
+
addressLookupTableAccounts?: AddressLookupTableAccount[] | null;
|
|
209
|
+
};
|
|
210
|
+
declare class MessageV0 {
|
|
211
|
+
header: MessageHeader;
|
|
212
|
+
staticAccountKeys: Array<PublicKey>;
|
|
213
|
+
recentBlockhash: Blockhash;
|
|
214
|
+
compiledInstructions: Array<MessageCompiledInstruction>;
|
|
215
|
+
addressTableLookups: Array<MessageAddressTableLookup>;
|
|
216
|
+
constructor(args: MessageV0Args);
|
|
217
|
+
get version(): 0;
|
|
218
|
+
get numAccountKeysFromLookups(): number;
|
|
219
|
+
getAccountKeys(args?: GetAccountKeysArgs): MessageAccountKeys;
|
|
220
|
+
isAccountSigner(index: number): boolean;
|
|
221
|
+
isAccountWritable(index: number): boolean;
|
|
222
|
+
resolveAddressTableLookups(addressLookupTableAccounts: AddressLookupTableAccount[]): AccountKeysFromLookups;
|
|
223
|
+
static compile(args: CompileV0Args): MessageV0;
|
|
224
|
+
serialize(): Uint8Array;
|
|
225
|
+
static deserialize(serializedMessage: Uint8Array): MessageV0;
|
|
226
|
+
}
|
|
227
|
+
type VersionedMessage = Message | MessageV0;
|
|
228
|
+
declare const VersionedMessage: {
|
|
229
|
+
deserializeMessageVersion(serializedMessage: Uint8Array): "legacy" | number;
|
|
230
|
+
deserialize: (serializedMessage: Uint8Array) => VersionedMessage;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* The message header, identifying signed and read-only account
|
|
234
|
+
*/
|
|
235
|
+
type MessageHeader = {
|
|
236
|
+
/**
|
|
237
|
+
* The number of signatures required for this message to be considered valid. The
|
|
238
|
+
* signatures must match the first `numRequiredSignatures` of `accountKeys`.
|
|
239
|
+
*/
|
|
240
|
+
numRequiredSignatures: number;
|
|
241
|
+
/** The last `numReadonlySignedAccounts` of the signed keys are read-only accounts */
|
|
242
|
+
numReadonlySignedAccounts: number;
|
|
243
|
+
/** The last `numReadonlySignedAccounts` of the unsigned keys are read-only accounts */
|
|
244
|
+
numReadonlyUnsignedAccounts: number;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* An address table lookup used to load additional accounts
|
|
248
|
+
*/
|
|
249
|
+
type MessageAddressTableLookup = {
|
|
250
|
+
accountKey: PublicKey;
|
|
251
|
+
writableIndexes: Array<number>;
|
|
252
|
+
readonlyIndexes: Array<number>;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* An instruction to execute by a program
|
|
256
|
+
*
|
|
257
|
+
* @property {number} programIdIndex
|
|
258
|
+
* @property {number[]} accountKeyIndexes
|
|
259
|
+
* @property {Uint8Array} data
|
|
260
|
+
*/
|
|
261
|
+
type MessageCompiledInstruction = {
|
|
262
|
+
/** Index into the transaction keys array indicating the program account that executes this instruction */
|
|
263
|
+
programIdIndex: number;
|
|
264
|
+
/** Ordered indices into the transaction keys array indicating which accounts to pass to the program */
|
|
265
|
+
accountKeyIndexes: number[];
|
|
266
|
+
/** The program input data */
|
|
267
|
+
data: Uint8Array;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Account metadata used to define instructions
|
|
271
|
+
*/
|
|
272
|
+
type AccountMeta = {
|
|
273
|
+
/** An account's public key */
|
|
274
|
+
pubkey: PublicKey;
|
|
275
|
+
/** True if an instruction requires a transaction signature matching `pubkey` */
|
|
276
|
+
isSigner: boolean;
|
|
277
|
+
/** True if the `pubkey` can be loaded as a read-write account. */
|
|
278
|
+
isWritable: boolean;
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* List of TransactionInstruction object fields that may be initialized at construction
|
|
282
|
+
*/
|
|
283
|
+
type TransactionInstructionCtorFields = {
|
|
284
|
+
keys: Array<AccountMeta>;
|
|
285
|
+
programId: PublicKey;
|
|
286
|
+
data?: Buffer;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Transaction Instruction class
|
|
290
|
+
*/
|
|
291
|
+
declare class TransactionInstruction {
|
|
292
|
+
/**
|
|
293
|
+
* Public keys to include in this transaction
|
|
294
|
+
* Boolean represents whether this pubkey needs to sign the transaction
|
|
295
|
+
*/
|
|
296
|
+
keys: Array<AccountMeta>;
|
|
297
|
+
/**
|
|
298
|
+
* Program Id to execute
|
|
299
|
+
*/
|
|
300
|
+
programId: PublicKey;
|
|
301
|
+
/**
|
|
302
|
+
* Program input
|
|
303
|
+
*/
|
|
304
|
+
data: Buffer;
|
|
305
|
+
constructor(opts: TransactionInstructionCtorFields);
|
|
306
|
+
}
|
|
307
|
+
type TransactionVersion = 'legacy' | 0;
|
|
308
|
+
type TokenBalance = {
|
|
309
|
+
accountIndex: number;
|
|
310
|
+
mint: string;
|
|
311
|
+
owner?: string;
|
|
312
|
+
programId?: string;
|
|
313
|
+
uiTokenAmount: TokenAmount;
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* Collection of addresses loaded by a transaction using address table lookups
|
|
317
|
+
*/
|
|
318
|
+
type LoadedAddresses = {
|
|
319
|
+
writable: Array<PublicKey>;
|
|
320
|
+
readonly: Array<PublicKey>;
|
|
321
|
+
};
|
|
322
|
+
type CompiledInnerInstruction = {
|
|
323
|
+
index: number;
|
|
324
|
+
instructions: CompiledInstruction[];
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Metadata for a confirmed transaction on the ledger
|
|
328
|
+
*/
|
|
329
|
+
type ConfirmedTransactionMeta = {
|
|
330
|
+
/** The fee charged for processing the transaction */
|
|
331
|
+
fee: number;
|
|
332
|
+
/** An array of cross program invoked instructions */
|
|
333
|
+
innerInstructions?: CompiledInnerInstruction[] | null;
|
|
334
|
+
/** The balances of the transaction accounts before processing */
|
|
335
|
+
preBalances: Array<number>;
|
|
336
|
+
/** The balances of the transaction accounts after processing */
|
|
337
|
+
postBalances: Array<number>;
|
|
338
|
+
/** An array of program log messages emitted during a transaction */
|
|
339
|
+
logMessages?: Array<string> | null;
|
|
340
|
+
/** The token balances of the transaction accounts before processing */
|
|
341
|
+
preTokenBalances?: Array<TokenBalance> | null;
|
|
342
|
+
/** The token balances of the transaction accounts after processing */
|
|
343
|
+
postTokenBalances?: Array<TokenBalance> | null;
|
|
344
|
+
/** The error result of transaction processing */
|
|
345
|
+
err: TransactionError | null;
|
|
346
|
+
/** The collection of addresses loaded using address lookup tables */
|
|
347
|
+
loadedAddresses?: LoadedAddresses;
|
|
348
|
+
/** The compute units consumed after processing the transaction */
|
|
349
|
+
computeUnitsConsumed?: number;
|
|
350
|
+
};
|
|
351
|
+
/**
|
|
352
|
+
* A processed transaction from the RPC API
|
|
353
|
+
*/
|
|
354
|
+
export type VersionedTransactionResponse = {
|
|
355
|
+
/** The slot during which the transaction was processed */
|
|
356
|
+
slot: number;
|
|
357
|
+
/** The transaction */
|
|
358
|
+
transaction: {
|
|
359
|
+
/** The transaction message */
|
|
360
|
+
message: VersionedMessage;
|
|
361
|
+
/** The transaction signatures */
|
|
362
|
+
signatures: string[];
|
|
363
|
+
};
|
|
364
|
+
/** Metadata produced from the transaction */
|
|
365
|
+
meta: ConfirmedTransactionMeta | null;
|
|
366
|
+
/** The unix timestamp of when the transaction was processed */
|
|
367
|
+
blockTime?: number | null;
|
|
368
|
+
/** The transaction version */
|
|
369
|
+
version?: TransactionVersion;
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* Token amount object which returns a token amount in different formats
|
|
373
|
+
* for various client use cases.
|
|
374
|
+
*/
|
|
375
|
+
type TokenAmount = {
|
|
376
|
+
/** Raw amount of tokens as string ignoring decimals */
|
|
377
|
+
amount: string;
|
|
378
|
+
/** Number of decimals configured for token's mint */
|
|
379
|
+
decimals: number;
|
|
380
|
+
/** Token amount as float, accounts for decimals */
|
|
381
|
+
uiAmount: number | null;
|
|
382
|
+
/** Token amount as string, accounts for decimals */
|
|
383
|
+
uiAmountString?: string;
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* Transaction error
|
|
387
|
+
*/
|
|
388
|
+
type TransactionError = {} | string;
|
|
389
|
+
export {};
|
|
390
|
+
//# sourceMappingURL=solana-web3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solana-web3.d.ts","sourceRoot":"","sources":["../../src/solana/solana-web3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrC,OAAO,OAAO,MAAM;gBACJ,UAAU,EAAE,GAAG;IAC3B,MAAM,IAAI,MAAM;IAChB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;IAChC,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;CAC5C;AAeD;;GAEG;AACH,KAAK,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC;AACtF;;GAEG;AACH,KAAK,aAAa,GAAG,EAAE,CAAC;AACxB;;GAEG;AACH,OAAO,OAAO,SAAU,SAAQ,MAAM;IAClC;;;OAGG;gBACS,KAAK,EAAE,iBAAiB;IACpC;;OAEG;IACH,MAAM,CAAC,MAAM,IAAI,SAAS;IAC1B;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO;IACrC;;OAEG;IACH,QAAQ,IAAI,MAAM;IAClB,MAAM,IAA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