@thruputchain/client 0.29.0 → 0.30.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/README.md +2 -2
- package/dist/{actions-UEYKD22C.js → actions-B7htk5FS.js} +59 -14
- package/dist/{actions-UEYKD22C.js.map → actions-B7htk5FS.js.map} +1 -1
- package/dist/{actions-B2gV8Vzr.cjs → actions-CIaI049y.cjs} +64 -13
- package/dist/actions-CIaI049y.cjs.map +1 -0
- package/dist/actions.cjs +2 -1
- package/dist/actions.d.cts +2 -2
- package/dist/actions.d.ts +2 -2
- package/dist/actions.js +2 -2
- package/dist/contract.d.cts +1 -2
- package/dist/contract.d.ts +1 -2
- package/dist/contracts.d.cts +5 -88
- package/dist/contracts.d.cts.map +1 -1
- package/dist/contracts.d.ts +5 -88
- package/dist/contracts.d.ts.map +1 -1
- package/dist/default_wallet-DkqsCa5C.d.ts +90 -0
- package/dist/default_wallet-DkqsCa5C.d.ts.map +1 -0
- package/dist/default_wallet-Dqs4_iTD.d.cts +90 -0
- package/dist/default_wallet-Dqs4_iTD.d.cts.map +1 -0
- package/dist/{index-Btl_jMCT.d.ts → index-BmOG68Hd.d.ts} +39 -7
- package/dist/index-BmOG68Hd.d.ts.map +1 -0
- package/dist/{index-BZ5j5P5d.d.ts → index-Dtv_GV6M.d.ts} +32 -5
- package/dist/index-Dtv_GV6M.d.ts.map +1 -0
- package/dist/{index-BhOeIyrZ.d.cts → index-JKm4TBlY.d.cts} +32 -5
- package/dist/index-JKm4TBlY.d.cts.map +1 -0
- package/dist/{index-BfYEEVHm.d.cts → index-ozfbEuYI.d.cts} +39 -7
- package/dist/index-ozfbEuYI.d.cts.map +1 -0
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +4 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/signed-op.d.cts +1 -1
- package/dist/signed-op.d.ts +1 -1
- package/dist/{signed_op-DoHFpSH4.d.cts → signed_op-DHb4n2JO.d.cts} +2 -2
- package/dist/{signed_op-DoHFpSH4.d.cts.map → signed_op-DHb4n2JO.d.cts.map} +1 -1
- package/dist/{signed_op-BvbOHWKK.d.ts → signed_op-Dfa8WD0j.d.ts} +2 -2
- package/dist/{signed_op-BvbOHWKK.d.ts.map → signed_op-Dfa8WD0j.d.ts.map} +1 -1
- package/package.json +4 -4
- package/dist/actions-B2gV8Vzr.cjs.map +0 -1
- package/dist/artifact-RIAPVmVX.d.cts +0 -36
- package/dist/artifact-RIAPVmVX.d.cts.map +0 -1
- package/dist/artifact-RIAPVmVX.d.ts +0 -36
- package/dist/artifact-RIAPVmVX.d.ts.map +0 -1
- package/dist/index-BZ5j5P5d.d.ts.map +0 -1
- package/dist/index-BfYEEVHm.d.cts.map +0 -1
- package/dist/index-BhOeIyrZ.d.cts.map +0 -1
- package/dist/index-Btl_jMCT.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default_wallet-DkqsCa5C.d.ts","names":[],"sources":["../src/contracts/default_wallet.ts"],"mappings":";;;;;kBAuBiB,cAAA;EAAA,UACE,IAAA;IAAA,UACE,UAAA;MAAA,UACE,UAAA;QACf,MAAA,EAAQ,aAAA,CAAc,eAAA;QACtB,UAAA,EAAY,UAAA;QACZ,SAAA;QACA,QAAA,EAAU,UAAA,CAAW,UAAA;QACrB,MAAA,EAAQ,YAAA,CAAa,6CAAA;MAAA;MAAA,KAGX,WAAA;MAAA,UAEK,cAAA;QACf,UAAA,EAAY,UAAA;QACZ,SAAA;QACA,QAAA,EAAU,UAAA,CAAW,UAAA;MAAA;MAAA,KAGX,cAAA;QACN,IAAA;QAAgB,KAAA;MAAA;QAChB,IAAA;QAAkB,KAAA;UAAS,IAAA;UAAc,KAAA;QAAA;MAAA;IAAA;EAAA;AAAA;AAAA,kBAKpC,aAAA;EAAA,UACE,IAAA;IAAA,UACE,UAAA;MACf,KAAA,EAAO,UAAA;MACP,YAAA,EAAc,UAAA;MACd,MAAA;MACA,WAAA,EAAa,YAAA,CAAa,6CAAA;IAAA;IAAA,KAEhB,YAAA,GAAe,aAAA,CAAc,eAAA;IAAA,UAExB,WAAA;MACf,KAAA,EAAO,UAAA,CAAW,UAAA;MAClB,KAAA,EAAO,YAAA,CAAa,yCAAA;IAAA;IAAA,KAEV,aAAA,GAAgB,UAAA,CAAW,UAAA;IAAA,KAE3B,iBAAA;MACV,IAAA;MACA,IAAA;MACA,QAAA;MACA,KAAA,EAAO,YAAA,CAAa,0CAAA;IAAA;IAAA,KAEV,SAAA,GACV,iBAAA,CAAuC,iBAAA;EAAA;AAAA;AAAA,cAIhC,IAAA,EAAM,YAyRlB;AAAA,cAMY,aAAA;EAAA;;;;;cAiFA,cAAA;EAAA;;;;;;;;;;;;;;;;kBAmBI,YAAA;EAAA,KACH,yCAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,UAAA;EAAA,KACrB,0CAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,WAAA;EAAA,KACrB,6CAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,cAAA;EAAA,KACrB,6CAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,cAAA;AAAA"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Bt as ContractSpec, F as ContractException, R as ContractMethod } from "./requestAirdrop-T1eVn3l5.cjs";
|
|
2
|
+
import { n as FixedBytes } from "./index-ozfbEuYI.cjs";
|
|
3
|
+
import * as __gh_protocol from "@thruputchain/protocol";
|
|
4
|
+
|
|
5
|
+
//#region src/contracts/default_wallet.d.ts
|
|
6
|
+
declare namespace default_wallet {
|
|
7
|
+
namespace v0_1 {
|
|
8
|
+
namespace $interface {
|
|
9
|
+
interface WalletCall {
|
|
10
|
+
target: __gh_protocol.ContractAddress;
|
|
11
|
+
entrypoint: FixedBytes<8>;
|
|
12
|
+
gas_limit: bigint;
|
|
13
|
+
calldata: globalThis.Uint8Array;
|
|
14
|
+
tokens: __gh_codegen.default_wallet$v0_1$$interface$WalletTokenRef[];
|
|
15
|
+
}
|
|
16
|
+
type WalletError = 1n | 2n | 3n | 4n | 5n | 6n | 7n | 8n | 9n;
|
|
17
|
+
interface WalletInitCall {
|
|
18
|
+
entrypoint: FixedBytes<8>;
|
|
19
|
+
gas_limit: bigint;
|
|
20
|
+
calldata: globalThis.Uint8Array;
|
|
21
|
+
}
|
|
22
|
+
type WalletTokenRef = {
|
|
23
|
+
case: "Minted";
|
|
24
|
+
value: readonly [bigint];
|
|
25
|
+
} | {
|
|
26
|
+
case: "Returned";
|
|
27
|
+
value: {
|
|
28
|
+
call: bigint;
|
|
29
|
+
index: bigint;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
declare namespace DefaultWallet {
|
|
36
|
+
namespace v0_1 {
|
|
37
|
+
interface DeployArgs {
|
|
38
|
+
nonce: FixedBytes<32>;
|
|
39
|
+
contractHash: FixedBytes<32>;
|
|
40
|
+
amount: bigint;
|
|
41
|
+
initializer: __gh_codegen.default_wallet$v0_1$$interface$WalletInitCall | null;
|
|
42
|
+
}
|
|
43
|
+
type DeployResult = __gh_protocol.ContractAddress;
|
|
44
|
+
interface ExecuteArgs {
|
|
45
|
+
mints: globalThis.Uint8Array[];
|
|
46
|
+
calls: __gh_codegen.default_wallet$v0_1$$interface$WalletCall[];
|
|
47
|
+
}
|
|
48
|
+
type ExecuteResult = globalThis.Uint8Array[];
|
|
49
|
+
type DeclaredException = {
|
|
50
|
+
kind: "declared";
|
|
51
|
+
name: "WalletError";
|
|
52
|
+
selector: 0x931d3297d37d1bdfn;
|
|
53
|
+
value: __gh_codegen.default_wallet$v0_1$$interface$WalletError;
|
|
54
|
+
};
|
|
55
|
+
type Exception = ContractException<DeclaredException>;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
declare const spec: ContractSpec;
|
|
59
|
+
declare const DefaultWallet: {
|
|
60
|
+
readonly v0_1: {
|
|
61
|
+
readonly deploy: ContractMethod<DefaultWallet.v0_1.DeployArgs, __gh_protocol.ContractAddress, DefaultWallet.v0_1.DeclaredException>;
|
|
62
|
+
readonly execute: ContractMethod<DefaultWallet.v0_1.ExecuteArgs, DefaultWallet.v0_1.ExecuteResult, DefaultWallet.v0_1.DeclaredException>;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
declare const default_wallet: {
|
|
66
|
+
readonly v0_1: {
|
|
67
|
+
readonly $interface: {
|
|
68
|
+
readonly WalletError: {
|
|
69
|
+
readonly NotRootInvocation: 1n;
|
|
70
|
+
readonly InvalidAuthClaim: 2n;
|
|
71
|
+
readonly EmptyCallList: 3n;
|
|
72
|
+
readonly TooManyCalls: 4n;
|
|
73
|
+
readonly CallAborted: 5n;
|
|
74
|
+
readonly CallFaulted: 6n;
|
|
75
|
+
readonly ReturnDataTooLarge: 7n;
|
|
76
|
+
readonly InvalidTokenRef: 8n;
|
|
77
|
+
readonly TokenAlreadyForwarded: 9n;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
declare namespace __gh_codegen {
|
|
83
|
+
type default_wallet$v0_1$$interface$WalletCall = default_wallet.v0_1.$interface.WalletCall;
|
|
84
|
+
type default_wallet$v0_1$$interface$WalletError = default_wallet.v0_1.$interface.WalletError;
|
|
85
|
+
type default_wallet$v0_1$$interface$WalletInitCall = default_wallet.v0_1.$interface.WalletInitCall;
|
|
86
|
+
type default_wallet$v0_1$$interface$WalletTokenRef = default_wallet.v0_1.$interface.WalletTokenRef;
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
export { default_wallet as n, spec as r, DefaultWallet as t };
|
|
90
|
+
//# sourceMappingURL=default_wallet-Dqs4_iTD.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default_wallet-Dqs4_iTD.d.cts","names":[],"sources":["../src/contracts/default_wallet.ts"],"mappings":";;;;;kBAuBiB,cAAA;EAAA,UACE,IAAA;IAAA,UACE,UAAA;MAAA,UACE,UAAA;QACf,MAAA,EAAQ,aAAA,CAAc,eAAA;QACtB,UAAA,EAAY,UAAA;QACZ,SAAA;QACA,QAAA,EAAU,UAAA,CAAW,UAAA;QACrB,MAAA,EAAQ,YAAA,CAAa,6CAAA;MAAA;MAAA,KAGX,WAAA;MAAA,UAEK,cAAA;QACf,UAAA,EAAY,UAAA;QACZ,SAAA;QACA,QAAA,EAAU,UAAA,CAAW,UAAA;MAAA;MAAA,KAGX,cAAA;QACN,IAAA;QAAgB,KAAA;MAAA;QAChB,IAAA;QAAkB,KAAA;UAAS,IAAA;UAAc,KAAA;QAAA;MAAA;IAAA;EAAA;AAAA;AAAA,kBAKpC,aAAA;EAAA,UACE,IAAA;IAAA,UACE,UAAA;MACf,KAAA,EAAO,UAAA;MACP,YAAA,EAAc,UAAA;MACd,MAAA;MACA,WAAA,EAAa,YAAA,CAAa,6CAAA;IAAA;IAAA,KAEhB,YAAA,GAAe,aAAA,CAAc,eAAA;IAAA,UAExB,WAAA;MACf,KAAA,EAAO,UAAA,CAAW,UAAA;MAClB,KAAA,EAAO,YAAA,CAAa,yCAAA;IAAA;IAAA,KAEV,aAAA,GAAgB,UAAA,CAAW,UAAA;IAAA,KAE3B,iBAAA;MACV,IAAA;MACA,IAAA;MACA,QAAA;MACA,KAAA,EAAO,YAAA,CAAa,0CAAA;IAAA;IAAA,KAEV,SAAA,GACV,iBAAA,CAAuC,iBAAA;EAAA;AAAA;AAAA,cAIhC,IAAA,EAAM,YAyRlB;AAAA,cAMY,aAAA;EAAA;;;;;cAiFA,cAAA;EAAA;;;;;;;;;;;;;;;;kBAmBI,YAAA;EAAA,KACH,yCAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,UAAA;EAAA,KACrB,0CAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,WAAA;EAAA,KACrB,6CAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,cAAA;EAAA,KACrB,6CAAA,GACV,cAAA,CAAe,IAAA,CAAK,UAAA,CAAW,cAAA;AAAA"}
|
|
@@ -1,7 +1,39 @@
|
|
|
1
|
-
import { Bt as ContractSpec, K as ContractViewOptions, Kt as ContractType$1, R as ContractMethod, qt as ContractTypeDef, rt as ThruputClient } from "./requestAirdrop-DBCOST2B.js";
|
|
1
|
+
import { Bt as ContractSpec$1, K as ContractViewOptions, Kt as ContractType$1, R as ContractMethod, qt as ContractTypeDef$1, rt as ThruputClient } from "./requestAirdrop-DBCOST2B.js";
|
|
2
2
|
import { Calldata, Contract, ContractAddress, Invocation, SHA256Hash } from "@thruputchain/protocol";
|
|
3
3
|
import { FixedArray, FixedBytes as FixedBytes$1, XdrCodec, fixedArray as fixedArray$1, fixedBytes as fixedBytes$1 } from "@thruputchain/xdr";
|
|
4
|
+
import { ContractSpec } from "@thruputchain/contract-spec";
|
|
4
5
|
|
|
6
|
+
//#region src/contract/artifact.d.ts
|
|
7
|
+
/** Authenticated metadata. Native identifiers do not authenticate runtime code. */
|
|
8
|
+
type ContractArtifactSpec = {
|
|
9
|
+
kind: "native";
|
|
10
|
+
} | {
|
|
11
|
+
kind: "unsupportedContract";
|
|
12
|
+
contractType: number;
|
|
13
|
+
} | {
|
|
14
|
+
kind: "unsupportedFormat";
|
|
15
|
+
formatVersion: number;
|
|
16
|
+
} | {
|
|
17
|
+
kind: "absent";
|
|
18
|
+
} | {
|
|
19
|
+
kind: "unsupportedSchema";
|
|
20
|
+
schemaVersion: number;
|
|
21
|
+
bytes: Uint8Array;
|
|
22
|
+
} | {
|
|
23
|
+
kind: "spec";
|
|
24
|
+
schemaVersion: 1;
|
|
25
|
+
spec: ContractSpec;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Verify complete Contract XDR against the requested hash, then read its spec.
|
|
29
|
+
* Rejects malformed known envelopes. Unknown versions remain explicit results.
|
|
30
|
+
* Reads RV32 artifact formats v5, v6 and v7. Reads v5 as having no spec. In v6
|
|
31
|
+
* and v7, validates all extension framing and skips unknown kinds. Only the
|
|
32
|
+
* contract-spec extension body is interpreted.
|
|
33
|
+
* This proves byte identity, not deployment, executable validity, or spec truth.
|
|
34
|
+
*/
|
|
35
|
+
declare function readContractArtifactSpec(contractXdr: Uint8Array, expectedHash: SHA256Hash): ContractArtifactSpec;
|
|
36
|
+
//#endregion
|
|
5
37
|
//#region src/contract/encode.d.ts
|
|
6
38
|
/**
|
|
7
39
|
* Resolve a contract-spec type into the XDR/CXS codec used to encode values.
|
|
@@ -28,14 +60,14 @@ declare function resolveCodec(ty: ContractType$1, namedCodecs?: Record<string, X
|
|
|
28
60
|
* );
|
|
29
61
|
* ```
|
|
30
62
|
*/
|
|
31
|
-
declare function encodeCalldata(spec: ContractSpec, interfaceName: string, methodName: string, args: unknown[], namedCodecs: Record<string, XdrCodec<unknown>>): Calldata;
|
|
63
|
+
declare function encodeCalldata(spec: ContractSpec$1, interfaceName: string, methodName: string, args: unknown[], namedCodecs: Record<string, XdrCodec<unknown>>): Calldata;
|
|
32
64
|
/**
|
|
33
65
|
* Decode contract calldata into an object keyed by argument name.
|
|
34
66
|
*
|
|
35
67
|
* This is primarily useful for tooling, tests, and debugging generated
|
|
36
68
|
* invocations.
|
|
37
69
|
*/
|
|
38
|
-
declare function decodeCalldata(spec: ContractSpec, interfaceName: string, methodName: string, data: Uint8Array, namedCodecs: Record<string, XdrCodec<unknown>>): Record<string, unknown>;
|
|
70
|
+
declare function decodeCalldata(spec: ContractSpec$1, interfaceName: string, methodName: string, data: Uint8Array, namedCodecs: Record<string, XdrCodec<unknown>>): Record<string, unknown>;
|
|
39
71
|
//#endregion
|
|
40
72
|
//#region src/contract/specMethod.d.ts
|
|
41
73
|
/** A declared exception decoded from a spec without generated value types. */
|
|
@@ -58,7 +90,7 @@ interface SpecDecodedCall {
|
|
|
58
90
|
* Unknown selectors return null; malformed known inputs throw. The caller must
|
|
59
91
|
* establish the spec's identity. A current spec does not prove historical code.
|
|
60
92
|
*/
|
|
61
|
-
declare function createContractCallDecoder(spec: ContractSpec): (invocation: Pick<Invocation, "entrypoint" | "calldata">) => SpecDecodedCall | null;
|
|
93
|
+
declare function createContractCallDecoder(spec: ContractSpec$1): (invocation: Pick<Invocation, "entrypoint" | "calldata">) => SpecDecodedCall | null;
|
|
62
94
|
//#endregion
|
|
63
95
|
//#region src/contract/codegen.d.ts
|
|
64
96
|
/**
|
|
@@ -71,7 +103,7 @@ declare function createContractCallDecoder(spec: ContractSpec): (invocation: Pic
|
|
|
71
103
|
*
|
|
72
104
|
* @throws If two definitions share a spec id.
|
|
73
105
|
*/
|
|
74
|
-
declare function buildNamedCodecs(typeDefs: ContractTypeDef[]): Record<string, XdrCodec<unknown>>;
|
|
106
|
+
declare function buildNamedCodecs(typeDefs: ContractTypeDef$1[]): Record<string, XdrCodec<unknown>>;
|
|
75
107
|
//#endregion
|
|
76
108
|
//#region src/contract/hash.d.ts
|
|
77
109
|
/**
|
|
@@ -150,5 +182,5 @@ declare function getContract<T extends Record<string, ContractMethod<any, unknow
|
|
|
150
182
|
client: Pick<ThruputClient, "simulateInvocation">;
|
|
151
183
|
}): ContractInstance<T>;
|
|
152
184
|
//#endregion
|
|
153
|
-
export { decodeCalldata as _, BoundContractMethod as a, SignedToken as c, deriveContractAddress as d, hashContract as f, createContractCallDecoder as g, SpecDecodedCall as h, fixedBytes$1 as i, isSignedToken as l, SpecDeclaredException as m, FixedBytes$1 as n, ContractInstance as o, buildNamedCodecs as p, fixedArray$1 as r, getContract as s, FixedArray as t, signedToken as u, encodeCalldata as v, resolveCodec as y };
|
|
154
|
-
//# sourceMappingURL=index-
|
|
185
|
+
export { decodeCalldata as _, BoundContractMethod as a, ContractArtifactSpec as b, SignedToken as c, deriveContractAddress as d, hashContract as f, createContractCallDecoder as g, SpecDecodedCall as h, fixedBytes$1 as i, isSignedToken as l, SpecDeclaredException as m, FixedBytes$1 as n, ContractInstance as o, buildNamedCodecs as p, fixedArray$1 as r, getContract as s, FixedArray as t, signedToken as u, encodeCalldata as v, readContractArtifactSpec as x, resolveCodec as y };
|
|
186
|
+
//# sourceMappingURL=index-BmOG68Hd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BmOG68Hd.d.ts","names":[],"sources":["../src/contract/artifact.ts","../src/contract/encode.ts","../src/contract/specMethod.ts","../src/contract/codegen.ts","../src/contract/hash.ts","../src/derivation/contractAddress.ts","../src/contract/signedToken.ts","../src/contract/instance.ts"],"mappings":"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"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Bt as ContractSpec, Wi as UnsupportedRpcValue, Yr as RpcContractDeploymentResult, b as SubmissionEvidence, cn as TransportRequestOptions, i as RpcClient, nt as CoreThruputClient, ti as RpcEffectiveContractResult } from "./requestAirdrop-DBCOST2B.js";
|
|
2
|
-
import {
|
|
2
|
+
import { b as ContractArtifactSpec } from "./index-BmOG68Hd.js";
|
|
3
|
+
import { t as DefaultWallet } from "./default_wallet-DkqsCa5C.js";
|
|
3
4
|
import { D as WalletAccount, x as PrepareTransactionRequest } from "./execution-uiuFPV0d.js";
|
|
4
|
-
import { Invocation, NetworkHash, SHA256Hash, SignedTransaction, Transaction } from "@thruputchain/protocol";
|
|
5
|
+
import { AuthTokenNode, Invocation, NetworkHash, SHA256Hash, SignedTransaction, Transaction } from "@thruputchain/protocol";
|
|
5
6
|
|
|
6
7
|
//#region src/actions/public/getContractSpec.d.ts
|
|
7
8
|
/** Snapshot deployment evidence and its authenticated metadata, if deployed. */
|
|
@@ -42,11 +43,37 @@ interface WalletRequests {
|
|
|
42
43
|
wrapper: "DefaultWallet.execute" | "DefaultWallet.deploy";
|
|
43
44
|
requestedCalls: Invocation[];
|
|
44
45
|
}
|
|
46
|
+
/** A mint in its original position, including the bytes of an unreadable grant. */
|
|
47
|
+
type WalletMint = {
|
|
48
|
+
kind: "decoded";
|
|
49
|
+
node: AuthTokenNode;
|
|
50
|
+
} | {
|
|
51
|
+
kind: "unreadable";
|
|
52
|
+
bytes: Uint8Array;
|
|
53
|
+
};
|
|
54
|
+
/** Calls and grants requested by a wallet root, in calldata order. */
|
|
55
|
+
interface WalletRequestDescription {
|
|
56
|
+
wrapper: WalletRequests["wrapper"];
|
|
57
|
+
mints: WalletMint[];
|
|
58
|
+
calls: {
|
|
59
|
+
invocation: Invocation; /** Ordered references to mints or to tokens returned by earlier calls. */
|
|
60
|
+
tokens: DefaultWallet.v0_1.ExecuteArgs["calls"][number]["tokens"];
|
|
61
|
+
}[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Describe the grants and calls in a known DefaultWallet root before execution.
|
|
65
|
+
* The caller must establish wallet identity. An unknown selector returns null;
|
|
66
|
+
* malformed wrapper calldata throws. An unreadable mint retains its bytes and
|
|
67
|
+
* position. Token references describe requests; they do not establish that a
|
|
68
|
+
* token exists or will be returned.
|
|
69
|
+
*/
|
|
70
|
+
declare function describeDefaultWalletRequests(root: Invocation): WalletRequestDescription | null;
|
|
45
71
|
/**
|
|
46
72
|
* Interpret a known DefaultWallet root using built-in binding descriptors.
|
|
47
73
|
* Call only after identifying the root as DefaultWallet; matching selectors
|
|
48
74
|
* alone do not establish wallet identity. Malformed recognized inputs throw,
|
|
49
|
-
* as does an `execute` that mints or forwards auth tokens.
|
|
75
|
+
* as does an `execute` that mints or forwards auth tokens. To read grants,
|
|
76
|
+
* use {@link describeDefaultWalletRequests}.
|
|
50
77
|
*/
|
|
51
78
|
declare function decodeDefaultWalletRequests(root: Invocation): WalletRequests | null;
|
|
52
79
|
//#endregion
|
|
@@ -88,5 +115,5 @@ declare function sendInvocation(client: Pick<CoreThruputClient, "getChainTip" |
|
|
|
88
115
|
onSigned?: (evidence: SubmissionEvidence) => void | Promise<void>;
|
|
89
116
|
}): Promise<SHA256Hash>;
|
|
90
117
|
//#endregion
|
|
91
|
-
export {
|
|
92
|
-
//# sourceMappingURL=index-
|
|
118
|
+
export { WalletMint as a, decodeDefaultWalletRequests as c, getEffectiveContractSpec as d, ContractSpecResult as f, readTransactionInput as i, describeDefaultWalletRequests as l, sendTransaction as n, WalletRequestDescription as o, getContractSpec as p, VerifiedTransactionInput as r, WalletRequests as s, sendInvocation as t, EffectiveContractSpecResult as u };
|
|
119
|
+
//# sourceMappingURL=index-Dtv_GV6M.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-Dtv_GV6M.d.ts","names":[],"sources":["../src/actions/public/getContractSpec.ts","../src/actions/public/getEffectiveContractSpec.ts","../src/actions/public/decodeWalletRequests.ts","../src/actions/public/readTransactionInput.ts","../src/actions/wallet/sendTransaction.ts","../src/actions/wallet/sendInvocation.ts"],"mappings":";;;;;;;;UAoBiB,kBAAA,SAA2B,2BAA2B;EACrE,YAAA,EAAc,oBAAA;AAAA;;;;;;iBAQM,eAAA,CACpB,MAAA,EAAQ,SAAA,EACR,OAAA;EAAW,OAAA,EAAS,UAAA;AAAA,GACpB,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,kBAAA;;;UCVM,2BAAA,SAAoC,0BAAA;EACnD,YAAA,EAAc,oBAAA;EDJC;ECMf,eAAA;IAAmB,IAAA;IAAuB,IAAA,EAAM,YAAA;EAAA;AAAA;;;ADLd;AAQpC;;iBCKsB,wBAAA,CACpB,MAAA,EAAQ,SAAA,EACR,OAAA;EAAW,OAAA,EAAS,UAAA;EAAY,OAAA;AAAA,GAChC,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,2BAAA;;;;UCvBM,cAAA;EACf,OAAA;EACA,cAAA,EAAgB,UAAU;AAAA;AFG5B;AAAA,KECY,UAAA;EACN,IAAA;EAAiB,IAAA,EAAM,aAAA;AAAA;EACvB,IAAA;EAAoB,KAAA,EAAO,UAAU;AAAA;AFFP;AAAA,UEKnB,wBAAA;EACf,OAAA,EAAS,cAAA;EACT,KAAA,EAAO,UAAA;EACP,KAAA;IACE,UAAA,EAAY,UAAA,EFEJ;IEAR,MAAA,EAAQ,aAAA,CAAc,IAAA,CAAK,WAAA;EAAA;AAAA;;;;;;;;iBAWf,6BAAA,CACd,IAAA,EAAM,UAAA,GACL,wBAAwB;;;;AFZE;;;;iBEiCb,2BAAA,CACd,IAAA,EAAM,UAAA,GACL,cAAc;;;;KCnDL,wBAAA;EAEN,MAAA;EACA,eAAA,EAAiB,UAAA;EACjB,WAAA;EACA,cAAA,EAAgB,UAAA;EAChB,WAAA,EAAa,WAAA;AAAA;EAEb,MAAA;AAAA,IACF,mBAAA;;AHLgC;AAQpC;;;iBGIsB,oBAAA,CACpB,MAAA,EAAQ,SAAA,EACR,OAAA;EAAW,eAAA,EAAiB,UAAA;AAAA,GAC5B,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,wBAAA;;;;;;;AHjBX;;;;iBIWsB,eAAA,CACpB,MAAA,EAAQ,IAAA,CAAK,SAAA,oCACb,QAAA,EAAU,iBAAA,EACV,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,UAAA;;;AJfX;AAAA,iBKkBsB,cAAA,CACpB,MAAA,EAAQ,IAAA,CACN,iBAAA,uEAGF,OAAA,EAAS,aAAA,EACT,WAAA,EAAa,WAAA,EACb,OAAA,EAAS,yBAAA,EACT,QAAA;EACE,MAAA,GAAS,WAAA;EACT,QAAA,IAAY,QAAA,EAAU,kBAAA,YAA8B,OAAA;AAAA,IAErD,OAAA,CAAQ,UAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Bt as ContractSpec, Wi as UnsupportedRpcValue, Yr as RpcContractDeploymentResult, b as SubmissionEvidence, cn as TransportRequestOptions, i as RpcClient, nt as CoreThruputClient, ti as RpcEffectiveContractResult } from "./requestAirdrop-T1eVn3l5.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { b as ContractArtifactSpec } from "./index-ozfbEuYI.cjs";
|
|
3
|
+
import { t as DefaultWallet } from "./default_wallet-Dqs4_iTD.cjs";
|
|
3
4
|
import { D as WalletAccount, x as PrepareTransactionRequest } from "./execution-pSt6k620.cjs";
|
|
4
|
-
import { Invocation, NetworkHash, SHA256Hash, SignedTransaction, Transaction } from "@thruputchain/protocol";
|
|
5
|
+
import { AuthTokenNode, Invocation, NetworkHash, SHA256Hash, SignedTransaction, Transaction } from "@thruputchain/protocol";
|
|
5
6
|
|
|
6
7
|
//#region src/actions/public/getContractSpec.d.ts
|
|
7
8
|
/** Snapshot deployment evidence and its authenticated metadata, if deployed. */
|
|
@@ -42,11 +43,37 @@ interface WalletRequests {
|
|
|
42
43
|
wrapper: "DefaultWallet.execute" | "DefaultWallet.deploy";
|
|
43
44
|
requestedCalls: Invocation[];
|
|
44
45
|
}
|
|
46
|
+
/** A mint in its original position, including the bytes of an unreadable grant. */
|
|
47
|
+
type WalletMint = {
|
|
48
|
+
kind: "decoded";
|
|
49
|
+
node: AuthTokenNode;
|
|
50
|
+
} | {
|
|
51
|
+
kind: "unreadable";
|
|
52
|
+
bytes: Uint8Array;
|
|
53
|
+
};
|
|
54
|
+
/** Calls and grants requested by a wallet root, in calldata order. */
|
|
55
|
+
interface WalletRequestDescription {
|
|
56
|
+
wrapper: WalletRequests["wrapper"];
|
|
57
|
+
mints: WalletMint[];
|
|
58
|
+
calls: {
|
|
59
|
+
invocation: Invocation; /** Ordered references to mints or to tokens returned by earlier calls. */
|
|
60
|
+
tokens: DefaultWallet.v0_1.ExecuteArgs["calls"][number]["tokens"];
|
|
61
|
+
}[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Describe the grants and calls in a known DefaultWallet root before execution.
|
|
65
|
+
* The caller must establish wallet identity. An unknown selector returns null;
|
|
66
|
+
* malformed wrapper calldata throws. An unreadable mint retains its bytes and
|
|
67
|
+
* position. Token references describe requests; they do not establish that a
|
|
68
|
+
* token exists or will be returned.
|
|
69
|
+
*/
|
|
70
|
+
declare function describeDefaultWalletRequests(root: Invocation): WalletRequestDescription | null;
|
|
45
71
|
/**
|
|
46
72
|
* Interpret a known DefaultWallet root using built-in binding descriptors.
|
|
47
73
|
* Call only after identifying the root as DefaultWallet; matching selectors
|
|
48
74
|
* alone do not establish wallet identity. Malformed recognized inputs throw,
|
|
49
|
-
* as does an `execute` that mints or forwards auth tokens.
|
|
75
|
+
* as does an `execute` that mints or forwards auth tokens. To read grants,
|
|
76
|
+
* use {@link describeDefaultWalletRequests}.
|
|
50
77
|
*/
|
|
51
78
|
declare function decodeDefaultWalletRequests(root: Invocation): WalletRequests | null;
|
|
52
79
|
//#endregion
|
|
@@ -88,5 +115,5 @@ declare function sendInvocation(client: Pick<CoreThruputClient, "getChainTip" |
|
|
|
88
115
|
onSigned?: (evidence: SubmissionEvidence) => void | Promise<void>;
|
|
89
116
|
}): Promise<SHA256Hash>;
|
|
90
117
|
//#endregion
|
|
91
|
-
export {
|
|
92
|
-
//# sourceMappingURL=index-
|
|
118
|
+
export { WalletMint as a, decodeDefaultWalletRequests as c, getEffectiveContractSpec as d, ContractSpecResult as f, readTransactionInput as i, describeDefaultWalletRequests as l, sendTransaction as n, WalletRequestDescription as o, getContractSpec as p, VerifiedTransactionInput as r, WalletRequests as s, sendInvocation as t, EffectiveContractSpecResult as u };
|
|
119
|
+
//# sourceMappingURL=index-JKm4TBlY.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-JKm4TBlY.d.cts","names":[],"sources":["../src/actions/public/getContractSpec.ts","../src/actions/public/getEffectiveContractSpec.ts","../src/actions/public/decodeWalletRequests.ts","../src/actions/public/readTransactionInput.ts","../src/actions/wallet/sendTransaction.ts","../src/actions/wallet/sendInvocation.ts"],"mappings":";;;;;;;;UAoBiB,kBAAA,SAA2B,2BAA2B;EACrE,YAAA,EAAc,oBAAA;AAAA;;;;;;iBAQM,eAAA,CACpB,MAAA,EAAQ,SAAA,EACR,OAAA;EAAW,OAAA,EAAS,UAAA;AAAA,GACpB,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,kBAAA;;;UCVM,2BAAA,SAAoC,0BAAA;EACnD,YAAA,EAAc,oBAAA;EDJC;ECMf,eAAA;IAAmB,IAAA;IAAuB,IAAA,EAAM,YAAA;EAAA;AAAA;;;ADLd;AAQpC;;iBCKsB,wBAAA,CACpB,MAAA,EAAQ,SAAA,EACR,OAAA;EAAW,OAAA,EAAS,UAAA;EAAY,OAAA;AAAA,GAChC,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,2BAAA;;;;UCvBM,cAAA;EACf,OAAA;EACA,cAAA,EAAgB,UAAU;AAAA;AFG5B;AAAA,KECY,UAAA;EACN,IAAA;EAAiB,IAAA,EAAM,aAAA;AAAA;EACvB,IAAA;EAAoB,KAAA,EAAO,UAAU;AAAA;AFFP;AAAA,UEKnB,wBAAA;EACf,OAAA,EAAS,cAAA;EACT,KAAA,EAAO,UAAA;EACP,KAAA;IACE,UAAA,EAAY,UAAA,EFEJ;IEAR,MAAA,EAAQ,aAAA,CAAc,IAAA,CAAK,WAAA;EAAA;AAAA;;;;;;;;iBAWf,6BAAA,CACd,IAAA,EAAM,UAAA,GACL,wBAAwB;;;;AFZE;;;;iBEiCb,2BAAA,CACd,IAAA,EAAM,UAAA,GACL,cAAc;;;;KCnDL,wBAAA;EAEN,MAAA;EACA,eAAA,EAAiB,UAAA;EACjB,WAAA;EACA,cAAA,EAAgB,UAAA;EAChB,WAAA,EAAa,WAAA;AAAA;EAEb,MAAA;AAAA,IACF,mBAAA;;AHLgC;AAQpC;;;iBGIsB,oBAAA,CACpB,MAAA,EAAQ,SAAA,EACR,OAAA;EAAW,eAAA,EAAiB,UAAA;AAAA,GAC5B,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,wBAAA;;;;;;;AHjBX;;;;iBIWsB,eAAA,CACpB,MAAA,EAAQ,IAAA,CAAK,SAAA,oCACb,QAAA,EAAU,iBAAA,EACV,OAAA,GAAU,uBAAA,GACT,OAAA,CAAQ,UAAA;;;AJfX;AAAA,iBKkBsB,cAAA,CACpB,MAAA,EAAQ,IAAA,CACN,iBAAA,uEAGF,OAAA,EAAS,aAAA,EACT,WAAA,EAAa,WAAA,EACb,OAAA,EAAS,yBAAA,EACT,QAAA;EACE,MAAA,GAAS,WAAA;EACT,QAAA,IAAY,QAAA,EAAU,kBAAA,YAA8B,OAAA;AAAA,IAErD,OAAA,CAAQ,UAAA"}
|
|
@@ -1,7 +1,39 @@
|
|
|
1
|
-
import { Bt as ContractSpec, K as ContractViewOptions, Kt as ContractType, R as ContractMethod, qt as ContractTypeDef, rt as ThruputClient } from "./requestAirdrop-T1eVn3l5.cjs";
|
|
1
|
+
import { Bt as ContractSpec$1, K as ContractViewOptions, Kt as ContractType, R as ContractMethod, qt as ContractTypeDef$1, rt as ThruputClient } from "./requestAirdrop-T1eVn3l5.cjs";
|
|
2
2
|
import { Calldata, Contract, ContractAddress, Invocation, SHA256Hash } from "@thruputchain/protocol";
|
|
3
|
+
import { ContractSpec } from "@thruputchain/contract-spec";
|
|
3
4
|
import { FixedArray, FixedBytes as FixedBytes$1, XdrCodec, fixedArray, fixedBytes } from "@thruputchain/xdr";
|
|
4
5
|
|
|
6
|
+
//#region src/contract/artifact.d.ts
|
|
7
|
+
/** Authenticated metadata. Native identifiers do not authenticate runtime code. */
|
|
8
|
+
type ContractArtifactSpec = {
|
|
9
|
+
kind: "native";
|
|
10
|
+
} | {
|
|
11
|
+
kind: "unsupportedContract";
|
|
12
|
+
contractType: number;
|
|
13
|
+
} | {
|
|
14
|
+
kind: "unsupportedFormat";
|
|
15
|
+
formatVersion: number;
|
|
16
|
+
} | {
|
|
17
|
+
kind: "absent";
|
|
18
|
+
} | {
|
|
19
|
+
kind: "unsupportedSchema";
|
|
20
|
+
schemaVersion: number;
|
|
21
|
+
bytes: Uint8Array;
|
|
22
|
+
} | {
|
|
23
|
+
kind: "spec";
|
|
24
|
+
schemaVersion: 1;
|
|
25
|
+
spec: ContractSpec;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Verify complete Contract XDR against the requested hash, then read its spec.
|
|
29
|
+
* Rejects malformed known envelopes. Unknown versions remain explicit results.
|
|
30
|
+
* Reads RV32 artifact formats v5, v6 and v7. Reads v5 as having no spec. In v6
|
|
31
|
+
* and v7, validates all extension framing and skips unknown kinds. Only the
|
|
32
|
+
* contract-spec extension body is interpreted.
|
|
33
|
+
* This proves byte identity, not deployment, executable validity, or spec truth.
|
|
34
|
+
*/
|
|
35
|
+
declare function readContractArtifactSpec(contractXdr: Uint8Array, expectedHash: SHA256Hash): ContractArtifactSpec;
|
|
36
|
+
//#endregion
|
|
5
37
|
//#region src/contract/encode.d.ts
|
|
6
38
|
/**
|
|
7
39
|
* Resolve a contract-spec type into the XDR/CXS codec used to encode values.
|
|
@@ -28,14 +60,14 @@ declare function resolveCodec(ty: ContractType, namedCodecs?: Record<string, Xdr
|
|
|
28
60
|
* );
|
|
29
61
|
* ```
|
|
30
62
|
*/
|
|
31
|
-
declare function encodeCalldata(spec: ContractSpec, interfaceName: string, methodName: string, args: unknown[], namedCodecs: Record<string, XdrCodec<unknown>>): Calldata;
|
|
63
|
+
declare function encodeCalldata(spec: ContractSpec$1, interfaceName: string, methodName: string, args: unknown[], namedCodecs: Record<string, XdrCodec<unknown>>): Calldata;
|
|
32
64
|
/**
|
|
33
65
|
* Decode contract calldata into an object keyed by argument name.
|
|
34
66
|
*
|
|
35
67
|
* This is primarily useful for tooling, tests, and debugging generated
|
|
36
68
|
* invocations.
|
|
37
69
|
*/
|
|
38
|
-
declare function decodeCalldata(spec: ContractSpec, interfaceName: string, methodName: string, data: Uint8Array, namedCodecs: Record<string, XdrCodec<unknown>>): Record<string, unknown>;
|
|
70
|
+
declare function decodeCalldata(spec: ContractSpec$1, interfaceName: string, methodName: string, data: Uint8Array, namedCodecs: Record<string, XdrCodec<unknown>>): Record<string, unknown>;
|
|
39
71
|
//#endregion
|
|
40
72
|
//#region src/contract/specMethod.d.ts
|
|
41
73
|
/** A declared exception decoded from a spec without generated value types. */
|
|
@@ -58,7 +90,7 @@ interface SpecDecodedCall {
|
|
|
58
90
|
* Unknown selectors return null; malformed known inputs throw. The caller must
|
|
59
91
|
* establish the spec's identity. A current spec does not prove historical code.
|
|
60
92
|
*/
|
|
61
|
-
declare function createContractCallDecoder(spec: ContractSpec): (invocation: Pick<Invocation, "entrypoint" | "calldata">) => SpecDecodedCall | null;
|
|
93
|
+
declare function createContractCallDecoder(spec: ContractSpec$1): (invocation: Pick<Invocation, "entrypoint" | "calldata">) => SpecDecodedCall | null;
|
|
62
94
|
//#endregion
|
|
63
95
|
//#region src/contract/codegen.d.ts
|
|
64
96
|
/**
|
|
@@ -71,7 +103,7 @@ declare function createContractCallDecoder(spec: ContractSpec): (invocation: Pic
|
|
|
71
103
|
*
|
|
72
104
|
* @throws If two definitions share a spec id.
|
|
73
105
|
*/
|
|
74
|
-
declare function buildNamedCodecs(typeDefs: ContractTypeDef[]): Record<string, XdrCodec<unknown>>;
|
|
106
|
+
declare function buildNamedCodecs(typeDefs: ContractTypeDef$1[]): Record<string, XdrCodec<unknown>>;
|
|
75
107
|
//#endregion
|
|
76
108
|
//#region src/contract/hash.d.ts
|
|
77
109
|
/**
|
|
@@ -150,5 +182,5 @@ declare function getContract<T extends Record<string, ContractMethod<any, unknow
|
|
|
150
182
|
client: Pick<ThruputClient, "simulateInvocation">;
|
|
151
183
|
}): ContractInstance<T>;
|
|
152
184
|
//#endregion
|
|
153
|
-
export { decodeCalldata as _, BoundContractMethod as a, SignedToken as c, deriveContractAddress as d, hashContract as f, createContractCallDecoder as g, SpecDecodedCall as h, fixedBytes as i, isSignedToken as l, SpecDeclaredException as m, FixedBytes$1 as n, ContractInstance as o, buildNamedCodecs as p, fixedArray as r, getContract as s, FixedArray as t, signedToken as u, encodeCalldata as v, resolveCodec as y };
|
|
154
|
-
//# sourceMappingURL=index-
|
|
185
|
+
export { decodeCalldata as _, BoundContractMethod as a, ContractArtifactSpec as b, SignedToken as c, deriveContractAddress as d, hashContract as f, createContractCallDecoder as g, SpecDecodedCall as h, fixedBytes as i, isSignedToken as l, SpecDeclaredException as m, FixedBytes$1 as n, ContractInstance as o, buildNamedCodecs as p, fixedArray as r, getContract as s, FixedArray as t, signedToken as u, encodeCalldata as v, readContractArtifactSpec as x, resolveCodec as y };
|
|
186
|
+
//# sourceMappingURL=index-ozfbEuYI.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-ozfbEuYI.d.cts","names":[],"sources":["../src/contract/artifact.ts","../src/contract/encode.ts","../src/contract/specMethod.ts","../src/contract/codegen.ts","../src/contract/hash.ts","../src/derivation/contractAddress.ts","../src/contract/signedToken.ts","../src/contract/instance.ts"],"mappings":"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"}
|
package/dist/index.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const require_size = require("./size-OAFfOthl.cjs");
|
|
|
8
8
|
const require_transactionHash = require("./transactionHash-D5yf4KoL.cjs");
|
|
9
9
|
const require_readError = require("./readError-COcEDNoZ.cjs");
|
|
10
10
|
const require_sendInvocation = require("./sendInvocation-185ZJrta.cjs");
|
|
11
|
-
const require_actions = require("./actions-
|
|
11
|
+
const require_actions = require("./actions-CIaI049y.cjs");
|
|
12
12
|
const require_validation = require("./validation-CZqtmMLJ.cjs");
|
|
13
13
|
const require_wallet = require("./wallet-UvyXtxh5.cjs");
|
|
14
14
|
const require_signedOp = require("./signedOp-CVyeJ5ig.cjs");
|
|
@@ -285,6 +285,7 @@ exports.deriveContractAddress = require_contract.deriveContractAddress;
|
|
|
285
285
|
exports.deriveEntrypointID = require_contract.deriveEntrypointID;
|
|
286
286
|
exports.derivePubkeyAccountAddress = require_validation.derivePubkeyAccountAddress;
|
|
287
287
|
exports.derivePublicKeyHash = require_size.derivePublicKeyHash;
|
|
288
|
+
exports.describeDefaultWalletRequests = require_actions.describeDefaultWalletRequests;
|
|
288
289
|
exports.deserializeSignedTransaction = require_transaction.deserializeSignedTransaction;
|
|
289
290
|
exports.deserializeTransaction = require_transaction.deserializeTransaction;
|
|
290
291
|
exports.devWalletAdapter = require_sendInvocation.devWalletAdapter;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { $ as AirdropActions, $n as NetworkConfigParams, $r as RpcDescendingAnchor, $t as ContractUnionDef, A as WalletErrorContext, Ai as RpcSimulationBatchLimits, An as AirdropPending, Ar as RpcBalanceResult, At as topicRepresentation, B as ContractMethodInputs, Bi as RpcTransactionRefPage, Bn as ConflictCode, Br as RpcBlockStart, Bt as ContractSpec, C as NativeRpcErrorContext, Ci as RpcRegisteredAuthResult, Cn as ReceiptObserver, Cr as RpcAdmission, Ct as ContractEventTopicMetadata, D as ThruputErrorContext, Di as RpcSchedulerErrorSource, Dn as AddressAuthDataInfo, Dr as RpcAssumedAuth, Dt as bytesEqual, E as ThruputErrorCode, Ei as RpcSchedulerError, En as waitForTransactionReceipt, Er as RpcAscendingAnchor, Et as SpecDecodedEvent, F as ContractException, Fi as RpcStorageResult, Fn as BalanceResponse, Fr as RpcBase58_ValidatorID, Ft as ContractEnumDef, G as ContractViewFailure, Gi as isUnsupportedRpcValue, Gn as EventPage, Gr as RpcConflictCode, Gt as ContractStructDef, H as ContractReceiptFailure, Hi as RpcTxHash, Hn as ContractRejectCode, Hr as RpcChainConfig, Ht as ContractSpecInterface, I as ContractExceptionMetadata, Ii as RpcTopicFilter, In as BlockInfo, Ir as RpcBlockClock, It as ContractEnumVariant, J as ContractViewRequest, Jn as FundAccountRequest, Jr as RpcContractDeployment, Jt as ContractTypeDefKind, K as ContractViewOptions, Kn as EventQuery, Kr as RpcConflictDiagnostic, Kt as ContractType, L as ContractFailure, Li as RpcTransactionInputResult, Ln as BlockTransactionQuery, Lr as RpcBlockDriverMode, Lt as ContractExceptionType, M as ContractArgumentMetadata, Mi as RpcSimulationResults, Mn as AirdropSucceeded, Mr as RpcBase58_Ed25519PublicKey, Mt as ContractCodecContext, N as ContractCall, Ni as RpcStorageCosts, Nn as AuthPublicKey, Nr as RpcBase58_PublicKeyHash, Nt as createContractCodecContext, O as TransactionErrorCode, Oi as RpcSendTransactionResult, On as AirdropAttemptRequest, Or as RpcAuthConfiguration, Ot as createContractEventDecoder, P as ContractCallOptions, Pi as RpcStorageItem, Pn as AuthSigner, Pr as RpcBase58_SHA256Hash, Pt as ContractArrayType, Q as defineContractMethod, Qn as IterationOrder, Qr as RpcDecimalU64, Qt as ContractUnionCaseType, R as ContractMethod, Ri as RpcTransactionReceipt, Rn as ChainConfig, Rr as RpcBlockDriverStatus, Rt as ContractField, S as FundingStoppedContext, Si as RpcRecentAttemptFailure, Sn as KnownCommitment, Sr as RpcActiveBlockDriverMode, St as ContractEventReceiptOptions, T as RpcIncompatibleKind, Ti as RpcResults, Tn as waitForCommitment, Tr as RpcAirdropExecution, Tt as DecodedContractEvent, U as ContractReceiptOutcome, Ui as RpcVersionInfo, Un as EmittedEvent, Ur as RpcChainTip, Ut as ContractSpecMethod, V as ContractReceipt, Vi as RpcTransactionStatus, Vn as ConflictDiagnostic, Vr as RpcBlockTimeStep, Vt as ContractSpecId, W as ContractView, Wi as UnsupportedRpcValue, Wn as EventFilter, Wr as RpcConfigLimits, Wt as ContractSpecString, X as MethodArgs, Xn as HistoryStart, Xr as RpcContractRejectCode, Xt as ContractUnionCase, Y as ContractViewRequestOptions, Yn as FundAccountResponse, Yr as RpcContractDeploymentResult, Yt as ContractTypeKind, Z as UnknownContractException, Zn as IdentifiedEvent, Zr as RpcDecimalTimePoint, Zt as ContractUnionCaseKind, _ as TransactionReason, _i as RpcPendingTransactionCount, _n as defineCluster, _r as ViewBatchResponse, _t as ContractEvent, a as RpcClientOptions, ai as RpcEventPage, an as readViews, ar as ServerLimits, at as createThruputClient, b as SubmissionEvidence, bi as RpcPublicKey, bn as localnet, br as ViewRequest, bt as ContractEventFilterInput, c as RpcMethods, ci as RpcFundingSubmission, cn as TransportRequestOptions, cr as StorageItemInfo, ct as BlockTransactionWalkQuery, d as ThruputErrorOf, di as RpcInvocation, dn as ClusterHasCapability, dr as TransactionReceipt, dt as iterateTransactionsByRootAddress, ei as RpcEffectiveContract, en as ContractVectorType, er as NetworkInfo, et as ClusterThruputClientOptions, f as ThruputErrorOptions, fi as RpcInvocationContext, fn as DEVNET_RPC_URL, fr as TransactionRef, ft as HistoryCompletion, g as TransactionOutcome, gi as RpcNetworkInfo, gn as assertNetworkMatchesCluster, gr as ViewBatchRequest, gt as getContractEvents, h as TransactionFactsInput, hi as RpcIterationOrder, hn as PredefinedClusterOptions, hr as VersionInfo, ht as IdentifiedContractEvent, i as RpcClient, ii as RpcEventFilter, in as ReadViewsResponse, ir as SchedulerTransactionError, it as ThruputClientOptions, j as transactionErrorCodes, ji as RpcSimulationResult, jn as AirdropResponse, jr as RpcBase58_ContractAddress, jt as ContractCodec, k as TransactionOutcomeUnknownContext, ki as RpcServerLimits, kn as AirdropExecutionStatus, kr as RpcAuthSigner, kt as defineContractEvent, l as createRpcClient, li as RpcHistoryStart, ln as Cluster, lr as StorageItemRead, lt as RootAddressWalkQuery, m as TransactionFacts, mi as RpcInvocationResult, mn as LOCALNET_RPC_URL, mr as TransactionStatus, mt as ContractEventQuery, n as requestAirdrop, ni as RpcEmittedEvent, nn as specIdKey, nr as RegisteredAuthResult, nt as CoreThruputClient, o as RpcDiscovery, oi as RpcExecutionConfig, on as RpcParams, or as SimulationBatchLimits, ot as EventWalkQuery, p as isThruputError, pi as RpcInvocationOutput, pn as FUTURENET_RPC_URL, pr as TransactionRefPage, pt as ContractEventPage, q as ContractViewOutcome, qn as ExecutionConfig, qr as RpcContractArtifactResult, qt as ContractTypeDef, r as requestAirdropAttempt, ri as RpcErrorData, rn as ReadViewsRequest, rr as RootAddressTransactionQuery, rt as ThruputClient, s as RpcMethod, si as RpcFailureCause, sn as Transport, sr as StorageCosts, st as iterateEventPages, t as RequestAirdropOptions, ti as RpcEffectiveContractResult, tn as formatSpecId, tr as RecentAttemptFailure, tt as ConnectedThruputClient, u as ThruputError, ui as RpcIdentifiedEvent, un as ClusterCapability, ur as TransactionFailureCause, ut as iterateTransactionsByBlock, v as transactionOutcomes, vi as RpcProducedBlock, vn as devnet, vr as ViewCall, vt as ContractEventDefinition, w as RpcErrorFields, wi as RpcRequests, wn as WaitForTransactionReceiptOptions, wr as RpcAirdropAttempt, wt as ContractReceiptEvent, x as createSubmissionEvidence, xi as RpcReceiptExecution, xn as mainnet, xr as ViewResponse, xt as ContractEventFilterValue, y as transactionReasons, yi as RpcProducedBlocks, yn as futurenet, yr as ViewOutput, yt as ContractEventFieldMetadata, z as ContractMethodDefinition, zi as RpcTransactionRef, zn as ChainTip, zr as RpcBlockInfo, zt as ContractMethodEffect } from "./requestAirdrop-T1eVn3l5.cjs";
|
|
2
|
-
import { n as
|
|
3
|
-
import { a as
|
|
2
|
+
import { _ as decodeCalldata, a as BoundContractMethod, b as ContractArtifactSpec, c as SignedToken, d as deriveContractAddress, f as hashContract, g as createContractCallDecoder, h as SpecDecodedCall, i as fixedBytes, l as isSignedToken, m as SpecDeclaredException, n as FixedBytes, o as ContractInstance, p as buildNamedCodecs, r as fixedArray, s as getContract, t as FixedArray, u as signedToken, v as encodeCalldata, x as readContractArtifactSpec, y as resolveCodec } from "./index-ozfbEuYI.cjs";
|
|
3
|
+
import { a as WalletMint, c as decodeDefaultWalletRequests, d as getEffectiveContractSpec, f as ContractSpecResult, i as readTransactionInput, l as describeDefaultWalletRequests, n as sendTransaction, o as WalletRequestDescription, p as getContractSpec, r as VerifiedTransactionInput, s as WalletRequests, t as sendInvocation, u as EffectiveContractSpecResult } from "./index-JKm4TBlY.cjs";
|
|
4
4
|
import { t as Signer } from "./types-BE40oD_Q.cjs";
|
|
5
5
|
import { n as signTransaction, t as SignerEntry } from "./sign-eUT0iGQG.cjs";
|
|
6
6
|
import { C as CreatePubkeyAccountOptions, D as WalletAccount, E as SourceAddressAccount, O as createPubkeyAccount, S as prepareTransaction, T as PubkeyAccount, _ as DeploymentOptions, a as decodeExecution, b as rv32Contract, c as walletGasLimit, d as WalletInvocationAdapter, f as createDefaultWalletBatchInvocation, g as ContractDeployment, h as devWalletAdapter, i as assertTransactionSuccess, k as createSourceAddressAccount, l as WalletBatchExecutionRequest, m as defineWalletInvocationAdapter, n as ExecutionResult, o as submitAndObserve, p as defaultWalletAdapter, r as assertTransactionAdmission, s as waitForExecution, t as CallResults, u as WalletExecutionRequest, v as decodeDeployment, w as CreateSourceAddressAccountOptions, x as PrepareTransactionRequest, y as prepareContractDeployment } from "./execution-pSt6k620.cjs";
|
|
7
|
-
import {
|
|
8
|
-
import { n as spec, r as thruput_signed_op_if, t as SignedOp } from "./signed_op-DoHFpSH4.cjs";
|
|
7
|
+
import { n as spec, r as thruput_signed_op_if, t as SignedOp } from "./signed_op-DHb4n2JO.cjs";
|
|
9
8
|
import { a as serializeSignedTransaction, c as createTransaction, i as deserializeTransaction, n as transactionSignaturePreimage, o as serializeTransaction, r as deserializeSignedTransaction, s as createInvocation, t as pubkeySignatureEnvelopeBytes } from "./index-DzrLv3EA.cjs";
|
|
10
9
|
import { a as WalletClient, c as WalletRequestAirdropOptions, d as ExecuteCallsRequest, f as PendingWalletTransaction, g as createProviderWalletClient, h as ProviderWalletClient, i as WalletAirdropActions, l as createWalletClient, m as ProviderExecutionOptions, n as PrepareExecutionRequest, o as WalletExecutionActions, p as PrepareBatchExecutionRequest, r as WalletActions, s as WalletNetworkOptions, t as ExecutableWalletClient, u as CreateProviderWalletClientOptions } from "./index-DBKsOzCN.cjs";
|
|
11
10
|
import { a as Operation, c as SignedOperationType, i as DefineSignedOperationOptions, l as defineSignedOperation, n as signedOperationPreimage, o as SignedOperation, r as ContractTypeSelector, s as SignedOperationRequest, t as SignedOperationPreimage, u as randomNonce } from "./index-BsvYcU_Y.cjs";
|
|
@@ -165,5 +164,5 @@ declare function publicKeyToStrkey(bytes: Uint8Array): string;
|
|
|
165
164
|
/** Explicitly export a seed as an S StrKey. Treat the returned string as secret. */
|
|
166
165
|
declare function secretSeedToStrkey(bytes: Uint8Array): string;
|
|
167
166
|
//#endregion
|
|
168
|
-
export { type AddressAuthDataInfo, type AirdropActions, type AirdropAttemptRequest, type AirdropExecutionStatus, type AirdropPending, type AirdropResponse, type AirdropSucceeded, type AuthPublicKey, type AuthSigner, type BalanceResponse, type BlockHeight, type BlockInfo, type BlockTransactionQuery, type BlockTransactionWalkQuery, type BoundContractMethod, CallResults, type Calldata, type ChainConfig, type ChainTip, type Cluster, type ClusterCapability, type ClusterHasCapability, type ClusterThruputClientOptions, type ConflictCode, type ConflictDiagnostic, type ConnectedThruputClient, type ContractAddress, type ContractArgumentMetadata, type ContractArrayType, type ContractArtifactSpec, type ContractCall, type ContractCallOptions, type ContractCodec, type ContractCodecContext, type ContractDeployment, type ContractEntrypointID, type ContractEnumDef, type ContractEnumVariant, type ContractEvent, type ContractEventDefinition, type ContractEventFieldMetadata, type ContractEventFilterInput, type ContractEventFilterValue, type ContractEventPage, type ContractEventQuery, type ContractEventReceiptOptions, type ContractEventTopicMetadata, type ContractException, type ContractExceptionMetadata, type ContractExceptionType, type ContractFailure, type ContractField, type ContractInstance, type ContractMethod, type ContractMethodDefinition, ContractMethodEffect, type ContractMethodInputs, type ContractReceipt, type ContractReceiptEvent, type ContractReceiptFailure, type ContractReceiptOutcome, type ContractRejectCode, type ContractSpec, type ContractSpecId, type ContractSpecInterface, type ContractSpecMethod, type ContractSpecResult, type ContractSpecString, type ContractStructDef, type ContractType, type ContractTypeDef, ContractTypeDefKind, ContractTypeKind, type ContractTypeSelector, type ContractUnionCase, ContractUnionCaseKind, type ContractUnionCaseType, type ContractUnionDef, type ContractVectorType, type ContractView, type ContractViewFailure, type ContractViewOptions, type ContractViewOutcome, type ContractViewRequest, type ContractViewRequestOptions, type CoreThruputClient, type CreateProviderWalletClientOptions, type CreatePubkeyAccountOptions, type CreateSourceAddressAccountOptions, DEVNET_RPC_URL, type DecodedContractEvent, type DefineSignedOperationOptions, type DeploymentOptions, Ed25519Signer, type EffectiveContractSpecResult, type EmittedEvent, type EventFilter, type EventPage, type EventQuery, type EventWalkQuery, ExecResult, type ExecutableWalletClient, type ExecuteCallsRequest, type ExecutionConfig, ExecutionResult, FUTURENET_RPC_URL, type FixedArray, type FixedBytes, type FundAccountRequest, type FundAccountResponse, type FundingStoppedContext, type GasAmount, type HistoryCompletion, type HistoryStart, type HttpBatchOptions, HttpTransport, type HttpTransportOptions, type IdentifiedContractEvent, type IdentifiedEvent, type Invocation, InvokeFlag, type InvokeFlagSet, type IterationOrder, type KnownCommitment, LOCALNET_RPC_URL, type MethodArgs, MlDsa65Signer, MockTransport, NativeRpcErrorCode, type NativeRpcErrorContext, type NetworkConfigParams, type NetworkHash, type NetworkInfo, type Operation, type PendingWalletTransaction, type PredefinedClusterOptions, type PrepareBatchExecutionRequest, type PrepareExecutionRequest, type PrepareTransactionRequest, type ProviderExecutionOptions, type ProviderWalletClient, type PubkeyAccount, type ReadErrorKind, type ReadViewsRequest, type ReadViewsResponse, type ReceiptObserver, type RecentAttemptFailure, type RegisteredAuthResult, type RequestAirdropOptions, type RootAddressTransactionQuery, type RootAddressWalkQuery, type RpcActiveBlockDriverMode, type RpcAdmission, type RpcAirdropAttempt, type RpcAirdropExecution, type RpcAscendingAnchor, type RpcAssumedAuth, type RpcAuthConfiguration, type RpcAuthSigner, type RpcBalanceResult, type RpcBase58_ContractAddress, type RpcBase58_Ed25519PublicKey, type RpcBase58_PublicKeyHash, type RpcBase58_SHA256Hash, type RpcBase58_ValidatorID, type RpcBlockClock, type RpcBlockDriverMode, type RpcBlockDriverStatus, type RpcBlockInfo, type RpcBlockStart, type RpcBlockTimeStep, type RpcChainConfig, type RpcChainTip, type RpcClient, type RpcClientOptions, type RpcConfigLimits, type RpcConflictCode, type RpcConflictDiagnostic, type RpcContractArtifactResult, type RpcContractDeployment, type RpcContractDeploymentResult, type RpcContractRejectCode, type RpcDecimalTimePoint, type RpcDecimalU64, type RpcDescendingAnchor, type RpcDiscovery, type RpcEffectiveContract, type RpcEffectiveContractResult, type RpcEmittedEvent, type RpcErrorData, type RpcErrorFields, type RpcEventFilter, type RpcEventPage, type RpcExecutionConfig, type RpcFailureCause, type RpcFundingSubmission, type RpcHistoryStart, type RpcIdentifiedEvent, type RpcIncompatibleKind, type RpcInvocation, type RpcInvocationContext, type RpcInvocationOutput, type RpcInvocationResult, type RpcIterationOrder, type RpcMethod, type RpcMethods, type RpcNetworkInfo, type RpcParams, type RpcPendingTransactionCount, type RpcProducedBlock, type RpcProducedBlocks, type RpcPublicKey, type RpcReceiptExecution, type RpcRecentAttemptFailure, type RpcRegisteredAuthResult, type RpcRequests, type RpcResults, type RpcSchedulerError, type RpcSchedulerErrorSource, type RpcSendTransactionResult, type RpcServerLimits, type RpcSimulationBatchLimits, type RpcSimulationResult, type RpcSimulationResults, type RpcStorageCosts, type RpcStorageItem, type RpcStorageResult, type RpcTopicFilter, type RpcTransactionInputResult, type RpcTransactionReceipt, type RpcTransactionRef, type RpcTransactionRefPage, type RpcTransactionStatus, type RpcTxHash, type RpcVersionInfo, type SHA256Hash, type SchedulerTransactionError, type ServerLimits, SignedOp, spec as SignedOpSpec, type SignedOperation, type SignedOperationPreimage, type SignedOperationRequest, type SignedOperationType, type SignedToken, type SignedTransaction, type Signer, type SignerEntry, type SimulationBatchLimits, type SourceAddressAccount, type SpecDeclaredException, type SpecDecodedCall, type SpecDecodedEvent, type StorageCosts, type StorageItemInfo, type StorageItemRead, type SubmissionEvidence, type ThruputClient, type ThruputClientOptions, ThruputError, type ThruputErrorCode, type ThruputErrorContext, type ThruputErrorOf, type ThruputErrorOptions, type TimePoint, type Transaction, type TransactionErrorCode, type TransactionFacts, type TransactionFactsInput, type TransactionFailureCause, type TransactionOutcome, type TransactionOutcomeUnknownContext, type TransactionReason, type TransactionReceipt, type TransactionRef, type TransactionRefPage, type TransactionStatus, type Transport, type TransportRequestOptions, type TxInvalidDetail, type UnknownContractException, UnsupportedRpcValue, type VerifiedTransactionInput, type VersionInfo, type ViewBatchRequest, type ViewBatchResponse, type ViewCall, type ViewOutput, type ViewRequest, type ViewResponse, type WaitForTransactionReceiptOptions, type WalletAccount, type WalletActions, type WalletAirdropActions, type WalletBatchExecutionRequest, type WalletClient, type WalletErrorContext, type WalletExecutionActions, type WalletExecutionRequest, type WalletInvocationAdapter, type WalletNetworkOptions, type WalletRequestAirdropOptions, type WalletRequests, addressFromBase58, addressFromHex, addressToStrkey, assertNetworkMatchesCluster, assertTransactionAdmission, assertTransactionSuccess, blockHeight, buildNamedCodecs, bytesEqual, calldata, classifyReadError, contractAddress, contractEntrypointID, createContractCallDecoder, createContractCodecContext, createContractEventDecoder, createDefaultWalletBatchInvocation, createInvocation, createProviderWalletClient, createPubkeyAccount, createRpcClient, createSourceAddressAccount, createSubmissionEvidence, createThruputClient, createTransaction, createWalletClient, decodeCalldata, decodeDefaultWalletRequests, decodeDeployment, decodeExecution, defaultWalletAdapter, defineCluster, defineContractEvent, defineContractMethod, defineSignedOperation, defineWalletInvocationAdapter, deriveContractAddress, deriveEntrypointID, derivePubkeyAccountAddress, derivePublicKeyHash, deserializeSignedTransaction, deserializeTransaction, devWalletAdapter, devnet, encodeCalldata, fixedArray, fixedBytes, fixedFromBase58, formatSpecId, formatUnits, fromBase58, fromHex0x, futurenet, gasAmount, getContract, getContractEvents, getContractSpec, getEffectiveContractSpec, hashContract, hashFromBase58, hashFromHex, hashSignedTransaction, invokeFlagSet, isSignedToken, isThruputError, isUnsupportedRpcValue, iterateEventPages, iterateTransactionsByBlock, iterateTransactionsByRootAddress, localnet, mainnet, majorVersionFromSemver, maxBase58Length, networkHash, parseAddress, parsePublicKey, parseSecretSeed, parseUnits, prepareContractDeployment, prepareTransaction, pubkeyAccountPreimage, pubkeySignatureEnvelopeBytes, publicKeyToStrkey, randomNonce, readContractArtifactSpec, readTransactionInput, readViews, requestAirdrop, requestAirdropAttempt, resolveCodec, rv32Contract, secretSeedToStrkey, sendInvocation, sendTransaction, serializeSignedTransaction, serializeTransaction, sha256Hash, signTransaction, signedOperationPreimage, signedToken, specIdKey, submitAndObserve, thruput_signed_op_if, timePoint, toBase58, toHex0x, topicRepresentation, transactionErrorCodes, transactionOutcomes, transactionReasons, transactionSignaturePreimage, txInvalidDetail, verifyMlDsa65, waitForCommitment, waitForExecution, waitForTransactionReceipt, walletGasLimit };
|
|
167
|
+
export { type AddressAuthDataInfo, type AirdropActions, type AirdropAttemptRequest, type AirdropExecutionStatus, type AirdropPending, type AirdropResponse, type AirdropSucceeded, type AuthPublicKey, type AuthSigner, type BalanceResponse, type BlockHeight, type BlockInfo, type BlockTransactionQuery, type BlockTransactionWalkQuery, type BoundContractMethod, CallResults, type Calldata, type ChainConfig, type ChainTip, type Cluster, type ClusterCapability, type ClusterHasCapability, type ClusterThruputClientOptions, type ConflictCode, type ConflictDiagnostic, type ConnectedThruputClient, type ContractAddress, type ContractArgumentMetadata, type ContractArrayType, type ContractArtifactSpec, type ContractCall, type ContractCallOptions, type ContractCodec, type ContractCodecContext, type ContractDeployment, type ContractEntrypointID, type ContractEnumDef, type ContractEnumVariant, type ContractEvent, type ContractEventDefinition, type ContractEventFieldMetadata, type ContractEventFilterInput, type ContractEventFilterValue, type ContractEventPage, type ContractEventQuery, type ContractEventReceiptOptions, type ContractEventTopicMetadata, type ContractException, type ContractExceptionMetadata, type ContractExceptionType, type ContractFailure, type ContractField, type ContractInstance, type ContractMethod, type ContractMethodDefinition, ContractMethodEffect, type ContractMethodInputs, type ContractReceipt, type ContractReceiptEvent, type ContractReceiptFailure, type ContractReceiptOutcome, type ContractRejectCode, type ContractSpec, type ContractSpecId, type ContractSpecInterface, type ContractSpecMethod, type ContractSpecResult, type ContractSpecString, type ContractStructDef, type ContractType, type ContractTypeDef, ContractTypeDefKind, ContractTypeKind, type ContractTypeSelector, type ContractUnionCase, ContractUnionCaseKind, type ContractUnionCaseType, type ContractUnionDef, type ContractVectorType, type ContractView, type ContractViewFailure, type ContractViewOptions, type ContractViewOutcome, type ContractViewRequest, type ContractViewRequestOptions, type CoreThruputClient, type CreateProviderWalletClientOptions, type CreatePubkeyAccountOptions, type CreateSourceAddressAccountOptions, DEVNET_RPC_URL, type DecodedContractEvent, type DefineSignedOperationOptions, type DeploymentOptions, Ed25519Signer, type EffectiveContractSpecResult, type EmittedEvent, type EventFilter, type EventPage, type EventQuery, type EventWalkQuery, ExecResult, type ExecutableWalletClient, type ExecuteCallsRequest, type ExecutionConfig, ExecutionResult, FUTURENET_RPC_URL, type FixedArray, type FixedBytes, type FundAccountRequest, type FundAccountResponse, type FundingStoppedContext, type GasAmount, type HistoryCompletion, type HistoryStart, type HttpBatchOptions, HttpTransport, type HttpTransportOptions, type IdentifiedContractEvent, type IdentifiedEvent, type Invocation, InvokeFlag, type InvokeFlagSet, type IterationOrder, type KnownCommitment, LOCALNET_RPC_URL, type MethodArgs, MlDsa65Signer, MockTransport, NativeRpcErrorCode, type NativeRpcErrorContext, type NetworkConfigParams, type NetworkHash, type NetworkInfo, type Operation, type PendingWalletTransaction, type PredefinedClusterOptions, type PrepareBatchExecutionRequest, type PrepareExecutionRequest, type PrepareTransactionRequest, type ProviderExecutionOptions, type ProviderWalletClient, type PubkeyAccount, type ReadErrorKind, type ReadViewsRequest, type ReadViewsResponse, type ReceiptObserver, type RecentAttemptFailure, type RegisteredAuthResult, type RequestAirdropOptions, type RootAddressTransactionQuery, type RootAddressWalkQuery, type RpcActiveBlockDriverMode, type RpcAdmission, type RpcAirdropAttempt, type RpcAirdropExecution, type RpcAscendingAnchor, type RpcAssumedAuth, type RpcAuthConfiguration, type RpcAuthSigner, type RpcBalanceResult, type RpcBase58_ContractAddress, type RpcBase58_Ed25519PublicKey, type RpcBase58_PublicKeyHash, type RpcBase58_SHA256Hash, type RpcBase58_ValidatorID, type RpcBlockClock, type RpcBlockDriverMode, type RpcBlockDriverStatus, type RpcBlockInfo, type RpcBlockStart, type RpcBlockTimeStep, type RpcChainConfig, type RpcChainTip, type RpcClient, type RpcClientOptions, type RpcConfigLimits, type RpcConflictCode, type RpcConflictDiagnostic, type RpcContractArtifactResult, type RpcContractDeployment, type RpcContractDeploymentResult, type RpcContractRejectCode, type RpcDecimalTimePoint, type RpcDecimalU64, type RpcDescendingAnchor, type RpcDiscovery, type RpcEffectiveContract, type RpcEffectiveContractResult, type RpcEmittedEvent, type RpcErrorData, type RpcErrorFields, type RpcEventFilter, type RpcEventPage, type RpcExecutionConfig, type RpcFailureCause, type RpcFundingSubmission, type RpcHistoryStart, type RpcIdentifiedEvent, type RpcIncompatibleKind, type RpcInvocation, type RpcInvocationContext, type RpcInvocationOutput, type RpcInvocationResult, type RpcIterationOrder, type RpcMethod, type RpcMethods, type RpcNetworkInfo, type RpcParams, type RpcPendingTransactionCount, type RpcProducedBlock, type RpcProducedBlocks, type RpcPublicKey, type RpcReceiptExecution, type RpcRecentAttemptFailure, type RpcRegisteredAuthResult, type RpcRequests, type RpcResults, type RpcSchedulerError, type RpcSchedulerErrorSource, type RpcSendTransactionResult, type RpcServerLimits, type RpcSimulationBatchLimits, type RpcSimulationResult, type RpcSimulationResults, type RpcStorageCosts, type RpcStorageItem, type RpcStorageResult, type RpcTopicFilter, type RpcTransactionInputResult, type RpcTransactionReceipt, type RpcTransactionRef, type RpcTransactionRefPage, type RpcTransactionStatus, type RpcTxHash, type RpcVersionInfo, type SHA256Hash, type SchedulerTransactionError, type ServerLimits, SignedOp, spec as SignedOpSpec, type SignedOperation, type SignedOperationPreimage, type SignedOperationRequest, type SignedOperationType, type SignedToken, type SignedTransaction, type Signer, type SignerEntry, type SimulationBatchLimits, type SourceAddressAccount, type SpecDeclaredException, type SpecDecodedCall, type SpecDecodedEvent, type StorageCosts, type StorageItemInfo, type StorageItemRead, type SubmissionEvidence, type ThruputClient, type ThruputClientOptions, ThruputError, type ThruputErrorCode, type ThruputErrorContext, type ThruputErrorOf, type ThruputErrorOptions, type TimePoint, type Transaction, type TransactionErrorCode, type TransactionFacts, type TransactionFactsInput, type TransactionFailureCause, type TransactionOutcome, type TransactionOutcomeUnknownContext, type TransactionReason, type TransactionReceipt, type TransactionRef, type TransactionRefPage, type TransactionStatus, type Transport, type TransportRequestOptions, type TxInvalidDetail, type UnknownContractException, UnsupportedRpcValue, type VerifiedTransactionInput, type VersionInfo, type ViewBatchRequest, type ViewBatchResponse, type ViewCall, type ViewOutput, type ViewRequest, type ViewResponse, type WaitForTransactionReceiptOptions, type WalletAccount, type WalletActions, type WalletAirdropActions, type WalletBatchExecutionRequest, type WalletClient, type WalletErrorContext, type WalletExecutionActions, type WalletExecutionRequest, type WalletInvocationAdapter, type WalletMint, type WalletNetworkOptions, type WalletRequestAirdropOptions, type WalletRequestDescription, type WalletRequests, addressFromBase58, addressFromHex, addressToStrkey, assertNetworkMatchesCluster, assertTransactionAdmission, assertTransactionSuccess, blockHeight, buildNamedCodecs, bytesEqual, calldata, classifyReadError, contractAddress, contractEntrypointID, createContractCallDecoder, createContractCodecContext, createContractEventDecoder, createDefaultWalletBatchInvocation, createInvocation, createProviderWalletClient, createPubkeyAccount, createRpcClient, createSourceAddressAccount, createSubmissionEvidence, createThruputClient, createTransaction, createWalletClient, decodeCalldata, decodeDefaultWalletRequests, decodeDeployment, decodeExecution, defaultWalletAdapter, defineCluster, defineContractEvent, defineContractMethod, defineSignedOperation, defineWalletInvocationAdapter, deriveContractAddress, deriveEntrypointID, derivePubkeyAccountAddress, derivePublicKeyHash, describeDefaultWalletRequests, deserializeSignedTransaction, deserializeTransaction, devWalletAdapter, devnet, encodeCalldata, fixedArray, fixedBytes, fixedFromBase58, formatSpecId, formatUnits, fromBase58, fromHex0x, futurenet, gasAmount, getContract, getContractEvents, getContractSpec, getEffectiveContractSpec, hashContract, hashFromBase58, hashFromHex, hashSignedTransaction, invokeFlagSet, isSignedToken, isThruputError, isUnsupportedRpcValue, iterateEventPages, iterateTransactionsByBlock, iterateTransactionsByRootAddress, localnet, mainnet, majorVersionFromSemver, maxBase58Length, networkHash, parseAddress, parsePublicKey, parseSecretSeed, parseUnits, prepareContractDeployment, prepareTransaction, pubkeyAccountPreimage, pubkeySignatureEnvelopeBytes, publicKeyToStrkey, randomNonce, readContractArtifactSpec, readTransactionInput, readViews, requestAirdrop, requestAirdropAttempt, resolveCodec, rv32Contract, secretSeedToStrkey, sendInvocation, sendTransaction, serializeSignedTransaction, serializeTransaction, sha256Hash, signTransaction, signedOperationPreimage, signedToken, specIdKey, submitAndObserve, thruput_signed_op_if, timePoint, toBase58, toHex0x, topicRepresentation, transactionErrorCodes, transactionOutcomes, transactionReasons, transactionSignaturePreimage, txInvalidDetail, verifyMlDsa65, waitForCommitment, waitForExecution, waitForTransactionReceipt, walletGasLimit };
|
|
169
168
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/actions/hex.ts","../src/derivation/pubkeyAccount.ts","../src/derivation/publicKeyHash.ts","../src/derivation/transactionHash.ts","../src/derivation/entrypointId.ts","../src/units.ts","../src/encoding.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/actions/hex.ts","../src/derivation/pubkeyAccount.ts","../src/derivation/publicKeyHash.ts","../src/derivation/transactionHash.ts","../src/derivation/entrypointId.ts","../src/units.ts","../src/encoding.ts"],"mappings":";;;;;;;;;;;;;;;;;iBAWgB,OAAA,CAAQ,KAAiB,EAAV,UAAU;;iBAKzB,SAAA,CAAU,GAAA,WAAc,UAAU;;iBAOlC,WAAA,CAAY,GAAA,WAAc,YAAU;;iBAKpC,cAAA,CAAe,GAAA,WAAc,iBAAe;;;;;;;;;;iBCZ5C,qBAAA,CACd,MAAA,EAAQ,SAAA,EACR,KAAA,YACC,qBAAqB;;;;;;;;ADRxB;;;;AAAyC;AAKzC;;;;AAAkD;AAOlD;;;iBCoBgB,0BAAA,CACd,QAAA,EAAU,qBAAA,GACT,iBAAe;;;;;;;;;;;;;;;;;;ADlClB;iBESgB,mBAAA,CAAoB,MAAA,EAAQ,SAAA,GAAY,aAAa;;;;;;;;;;;;;;;;;iBCFrD,qBAAA,CAAsB,GAAA,EAAK,mBAAA,GAAoB,YAAU;;;;;;;;;;;;;;;iBCFzD,sBAAA,CAAuB,UAAkB;;;AJLzD;;;;AAAyC;AAKzC;;;;iBI6BgB,kBAAA,CACd,aAAA,iBACA,UAAA,UACA,UAAA,WACC,sBAAoB;;;;;;;;;;;;;iBCxBP,UAAA,CAAW,IAAA,UAAc,QAAgB;;;;;;ALdzD;iBKoCgB,WAAA,CAAY,KAAA,UAAe,QAAgB;;;;iBCjC3C,eAAA,CAAgB,IAAA,UAAc,UAAA,WAAqB,UAAU;;iBAU7D,iBAAA,CAAkB,IAAA,WAAe,iBAAe;;iBAKhD,cAAA,CAAe,IAAA,WAAe,YAAU;;;;;iBAqExC,YAAA,CAAa,IAAA,WAAe,iBAAe;;iBAK3C,cAAA,CAAe,IAAA,WAAe,UAAU;;AN5FxD;;;;iBMqGgB,eAAA,CAAgB,IAAA,WAAe,UAAU;ANhGzD;AAAA,iBMqGgB,eAAA,CAAgB,KAAiB,EAAV,UAAU;;iBAKjC,iBAAA,CAAkB,KAAiB,EAAV,UAAU;AN1GD;AAAA,iBM+GlC,kBAAA,CAAmB,KAAiB,EAAV,UAAU"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { $ as AirdropActions, $n as NetworkConfigParams, $r as RpcDescendingAnchor, $t as ContractUnionDef, A as WalletErrorContext, Ai as RpcSimulationBatchLimits, An as AirdropPending, Ar as RpcBalanceResult, At as topicRepresentation, B as ContractMethodInputs, Bi as RpcTransactionRefPage, Bn as ConflictCode, Br as RpcBlockStart, Bt as ContractSpec, C as NativeRpcErrorContext, Ci as RpcRegisteredAuthResult, Cn as ReceiptObserver, Cr as RpcAdmission, Ct as ContractEventTopicMetadata, D as ThruputErrorContext, Di as RpcSchedulerErrorSource, Dn as AddressAuthDataInfo, Dr as RpcAssumedAuth, Dt as bytesEqual, E as ThruputErrorCode, Ei as RpcSchedulerError, En as waitForTransactionReceipt, Er as RpcAscendingAnchor, Et as SpecDecodedEvent, F as ContractException, Fi as RpcStorageResult, Fn as BalanceResponse, Fr as RpcBase58_ValidatorID, Ft as ContractEnumDef, G as ContractViewFailure, Gi as isUnsupportedRpcValue, Gn as EventPage, Gr as RpcConflictCode, Gt as ContractStructDef, H as ContractReceiptFailure, Hi as RpcTxHash, Hn as ContractRejectCode, Hr as RpcChainConfig, Ht as ContractSpecInterface, I as ContractExceptionMetadata, Ii as RpcTopicFilter, In as BlockInfo, Ir as RpcBlockClock, It as ContractEnumVariant, J as ContractViewRequest, Jn as FundAccountRequest, Jr as RpcContractDeployment, Jt as ContractTypeDefKind, K as ContractViewOptions, Kn as EventQuery, Kr as RpcConflictDiagnostic, Kt as ContractType, L as ContractFailure, Li as RpcTransactionInputResult, Ln as BlockTransactionQuery, Lr as RpcBlockDriverMode, Lt as ContractExceptionType, M as ContractArgumentMetadata, Mi as RpcSimulationResults, Mn as AirdropSucceeded, Mr as RpcBase58_Ed25519PublicKey, Mt as ContractCodecContext, N as ContractCall, Ni as RpcStorageCosts, Nn as AuthPublicKey, Nr as RpcBase58_PublicKeyHash, Nt as createContractCodecContext, O as TransactionErrorCode, Oi as RpcSendTransactionResult, On as AirdropAttemptRequest, Or as RpcAuthConfiguration, Ot as createContractEventDecoder, P as ContractCallOptions, Pi as RpcStorageItem, Pn as AuthSigner, Pr as RpcBase58_SHA256Hash, Pt as ContractArrayType, Q as defineContractMethod, Qn as IterationOrder, Qr as RpcDecimalU64, Qt as ContractUnionCaseType, R as ContractMethod, Ri as RpcTransactionReceipt, Rn as ChainConfig, Rr as RpcBlockDriverStatus, Rt as ContractField, S as FundingStoppedContext, Si as RpcRecentAttemptFailure, Sn as KnownCommitment, Sr as RpcActiveBlockDriverMode, St as ContractEventReceiptOptions, T as RpcIncompatibleKind, Ti as RpcResults, Tn as waitForCommitment, Tr as RpcAirdropExecution, Tt as DecodedContractEvent, U as ContractReceiptOutcome, Ui as RpcVersionInfo, Un as EmittedEvent, Ur as RpcChainTip, Ut as ContractSpecMethod, V as ContractReceipt, Vi as RpcTransactionStatus, Vn as ConflictDiagnostic, Vr as RpcBlockTimeStep, Vt as ContractSpecId, W as ContractView, Wi as UnsupportedRpcValue, Wn as EventFilter, Wr as RpcConfigLimits, Wt as ContractSpecString, X as MethodArgs, Xn as HistoryStart, Xr as RpcContractRejectCode, Xt as ContractUnionCase, Y as ContractViewRequestOptions, Yn as FundAccountResponse, Yr as RpcContractDeploymentResult, Yt as ContractTypeKind, Z as UnknownContractException, Zn as IdentifiedEvent, Zr as RpcDecimalTimePoint, Zt as ContractUnionCaseKind, _ as TransactionReason, _i as RpcPendingTransactionCount, _n as defineCluster, _r as ViewBatchResponse, _t as ContractEvent, a as RpcClientOptions, ai as RpcEventPage, an as readViews, ar as ServerLimits, at as createThruputClient, b as SubmissionEvidence, bi as RpcPublicKey, bn as localnet, br as ViewRequest, bt as ContractEventFilterInput, c as RpcMethods, ci as RpcFundingSubmission, cn as TransportRequestOptions, cr as StorageItemInfo, ct as BlockTransactionWalkQuery, d as ThruputErrorOf, di as RpcInvocation, dn as ClusterHasCapability, dr as TransactionReceipt, dt as iterateTransactionsByRootAddress, ei as RpcEffectiveContract, en as ContractVectorType, er as NetworkInfo, et as ClusterThruputClientOptions, f as ThruputErrorOptions, fi as RpcInvocationContext, fn as DEVNET_RPC_URL, fr as TransactionRef, ft as HistoryCompletion, g as TransactionOutcome, gi as RpcNetworkInfo, gn as assertNetworkMatchesCluster, gr as ViewBatchRequest, gt as getContractEvents, h as TransactionFactsInput, hi as RpcIterationOrder, hn as PredefinedClusterOptions, hr as VersionInfo, ht as IdentifiedContractEvent, i as RpcClient, ii as RpcEventFilter, in as ReadViewsResponse, ir as SchedulerTransactionError, it as ThruputClientOptions, j as transactionErrorCodes, ji as RpcSimulationResult, jn as AirdropResponse, jr as RpcBase58_ContractAddress, jt as ContractCodec, k as TransactionOutcomeUnknownContext, ki as RpcServerLimits, kn as AirdropExecutionStatus, kr as RpcAuthSigner, kt as defineContractEvent, l as createRpcClient, li as RpcHistoryStart, ln as Cluster, lr as StorageItemRead, lt as RootAddressWalkQuery, m as TransactionFacts, mi as RpcInvocationResult, mn as LOCALNET_RPC_URL, mr as TransactionStatus, mt as ContractEventQuery, n as requestAirdrop, ni as RpcEmittedEvent, nn as specIdKey, nr as RegisteredAuthResult, nt as CoreThruputClient, o as RpcDiscovery, oi as RpcExecutionConfig, on as RpcParams, or as SimulationBatchLimits, ot as EventWalkQuery, p as isThruputError, pi as RpcInvocationOutput, pn as FUTURENET_RPC_URL, pr as TransactionRefPage, pt as ContractEventPage, q as ContractViewOutcome, qn as ExecutionConfig, qr as RpcContractArtifactResult, qt as ContractTypeDef, r as requestAirdropAttempt, ri as RpcErrorData, rn as ReadViewsRequest, rr as RootAddressTransactionQuery, rt as ThruputClient, s as RpcMethod, si as RpcFailureCause, sn as Transport, sr as StorageCosts, st as iterateEventPages, t as RequestAirdropOptions, ti as RpcEffectiveContractResult, tn as formatSpecId, tr as RecentAttemptFailure, tt as ConnectedThruputClient, u as ThruputError, ui as RpcIdentifiedEvent, un as ClusterCapability, ur as TransactionFailureCause, ut as iterateTransactionsByBlock, v as transactionOutcomes, vi as RpcProducedBlock, vn as devnet, vr as ViewCall, vt as ContractEventDefinition, w as RpcErrorFields, wi as RpcRequests, wn as WaitForTransactionReceiptOptions, wr as RpcAirdropAttempt, wt as ContractReceiptEvent, x as createSubmissionEvidence, xi as RpcReceiptExecution, xn as mainnet, xr as ViewResponse, xt as ContractEventFilterValue, y as transactionReasons, yi as RpcProducedBlocks, yn as futurenet, yr as ViewOutput, yt as ContractEventFieldMetadata, z as ContractMethodDefinition, zi as RpcTransactionRef, zn as ChainTip, zr as RpcBlockInfo, zt as ContractMethodEffect } from "./requestAirdrop-DBCOST2B.js";
|
|
2
|
-
import { n as
|
|
3
|
-
import { a as
|
|
2
|
+
import { _ as decodeCalldata, a as BoundContractMethod, b as ContractArtifactSpec, c as SignedToken, d as deriveContractAddress, f as hashContract, g as createContractCallDecoder, h as SpecDecodedCall, i as fixedBytes, l as isSignedToken, m as SpecDeclaredException, n as FixedBytes, o as ContractInstance, p as buildNamedCodecs, r as fixedArray, s as getContract, t as FixedArray, u as signedToken, v as encodeCalldata, x as readContractArtifactSpec, y as resolveCodec } from "./index-BmOG68Hd.js";
|
|
3
|
+
import { a as WalletMint, c as decodeDefaultWalletRequests, d as getEffectiveContractSpec, f as ContractSpecResult, i as readTransactionInput, l as describeDefaultWalletRequests, n as sendTransaction, o as WalletRequestDescription, p as getContractSpec, r as VerifiedTransactionInput, s as WalletRequests, t as sendInvocation, u as EffectiveContractSpecResult } from "./index-Dtv_GV6M.js";
|
|
4
4
|
import { t as Signer } from "./types-BE40oD_Q.js";
|
|
5
5
|
import { n as signTransaction, t as SignerEntry } from "./sign-Ve0eetRO.js";
|
|
6
6
|
import { C as CreatePubkeyAccountOptions, D as WalletAccount, E as SourceAddressAccount, O as createPubkeyAccount, S as prepareTransaction, T as PubkeyAccount, _ as DeploymentOptions, a as decodeExecution, b as rv32Contract, c as walletGasLimit, d as WalletInvocationAdapter, f as createDefaultWalletBatchInvocation, g as ContractDeployment, h as devWalletAdapter, i as assertTransactionSuccess, k as createSourceAddressAccount, l as WalletBatchExecutionRequest, m as defineWalletInvocationAdapter, n as ExecutionResult, o as submitAndObserve, p as defaultWalletAdapter, r as assertTransactionAdmission, s as waitForExecution, t as CallResults, u as WalletExecutionRequest, v as decodeDeployment, w as CreateSourceAddressAccountOptions, x as PrepareTransactionRequest, y as prepareContractDeployment } from "./execution-uiuFPV0d.js";
|
|
7
|
-
import {
|
|
8
|
-
import { n as spec, r as thruput_signed_op_if, t as SignedOp } from "./signed_op-BvbOHWKK.js";
|
|
7
|
+
import { n as spec, r as thruput_signed_op_if, t as SignedOp } from "./signed_op-Dfa8WD0j.js";
|
|
9
8
|
import { a as serializeSignedTransaction, c as createTransaction, i as deserializeTransaction, n as transactionSignaturePreimage, o as serializeTransaction, r as deserializeSignedTransaction, s as createInvocation, t as pubkeySignatureEnvelopeBytes } from "./index-DzrLv3EA.js";
|
|
10
9
|
import { a as WalletClient, c as WalletRequestAirdropOptions, d as ExecuteCallsRequest, f as PendingWalletTransaction, g as createProviderWalletClient, h as ProviderWalletClient, i as WalletAirdropActions, l as createWalletClient, m as ProviderExecutionOptions, n as PrepareExecutionRequest, o as WalletExecutionActions, p as PrepareBatchExecutionRequest, r as WalletActions, s as WalletNetworkOptions, t as ExecutableWalletClient, u as CreateProviderWalletClientOptions } from "./index-B1efA-Y_.js";
|
|
11
10
|
import { a as Operation, c as SignedOperationType, i as DefineSignedOperationOptions, l as defineSignedOperation, n as signedOperationPreimage, o as SignedOperation, r as ContractTypeSelector, s as SignedOperationRequest, t as SignedOperationPreimage, u as randomNonce } from "./index--5LsCotr.js";
|
|
@@ -165,5 +164,5 @@ declare function publicKeyToStrkey(bytes: Uint8Array): string;
|
|
|
165
164
|
/** Explicitly export a seed as an S StrKey. Treat the returned string as secret. */
|
|
166
165
|
declare function secretSeedToStrkey(bytes: Uint8Array): string;
|
|
167
166
|
//#endregion
|
|
168
|
-
export { type AddressAuthDataInfo, type AirdropActions, type AirdropAttemptRequest, type AirdropExecutionStatus, type AirdropPending, type AirdropResponse, type AirdropSucceeded, type AuthPublicKey, type AuthSigner, type BalanceResponse, type BlockHeight, type BlockInfo, type BlockTransactionQuery, type BlockTransactionWalkQuery, type BoundContractMethod, CallResults, type Calldata, type ChainConfig, type ChainTip, type Cluster, type ClusterCapability, type ClusterHasCapability, type ClusterThruputClientOptions, type ConflictCode, type ConflictDiagnostic, type ConnectedThruputClient, type ContractAddress, type ContractArgumentMetadata, type ContractArrayType, type ContractArtifactSpec, type ContractCall, type ContractCallOptions, type ContractCodec, type ContractCodecContext, type ContractDeployment, type ContractEntrypointID, type ContractEnumDef, type ContractEnumVariant, type ContractEvent, type ContractEventDefinition, type ContractEventFieldMetadata, type ContractEventFilterInput, type ContractEventFilterValue, type ContractEventPage, type ContractEventQuery, type ContractEventReceiptOptions, type ContractEventTopicMetadata, type ContractException, type ContractExceptionMetadata, type ContractExceptionType, type ContractFailure, type ContractField, type ContractInstance, type ContractMethod, type ContractMethodDefinition, ContractMethodEffect, type ContractMethodInputs, type ContractReceipt, type ContractReceiptEvent, type ContractReceiptFailure, type ContractReceiptOutcome, type ContractRejectCode, type ContractSpec, type ContractSpecId, type ContractSpecInterface, type ContractSpecMethod, type ContractSpecResult, type ContractSpecString, type ContractStructDef, type ContractType, type ContractTypeDef, ContractTypeDefKind, ContractTypeKind, type ContractTypeSelector, type ContractUnionCase, ContractUnionCaseKind, type ContractUnionCaseType, type ContractUnionDef, type ContractVectorType, type ContractView, type ContractViewFailure, type ContractViewOptions, type ContractViewOutcome, type ContractViewRequest, type ContractViewRequestOptions, type CoreThruputClient, type CreateProviderWalletClientOptions, type CreatePubkeyAccountOptions, type CreateSourceAddressAccountOptions, DEVNET_RPC_URL, type DecodedContractEvent, type DefineSignedOperationOptions, type DeploymentOptions, Ed25519Signer, type EffectiveContractSpecResult, type EmittedEvent, type EventFilter, type EventPage, type EventQuery, type EventWalkQuery, ExecResult, type ExecutableWalletClient, type ExecuteCallsRequest, type ExecutionConfig, ExecutionResult, FUTURENET_RPC_URL, type FixedArray, type FixedBytes, type FundAccountRequest, type FundAccountResponse, type FundingStoppedContext, type GasAmount, type HistoryCompletion, type HistoryStart, type HttpBatchOptions, HttpTransport, type HttpTransportOptions, type IdentifiedContractEvent, type IdentifiedEvent, type Invocation, InvokeFlag, type InvokeFlagSet, type IterationOrder, type KnownCommitment, LOCALNET_RPC_URL, type MethodArgs, MlDsa65Signer, MockTransport, NativeRpcErrorCode, type NativeRpcErrorContext, type NetworkConfigParams, type NetworkHash, type NetworkInfo, type Operation, type PendingWalletTransaction, type PredefinedClusterOptions, type PrepareBatchExecutionRequest, type PrepareExecutionRequest, type PrepareTransactionRequest, type ProviderExecutionOptions, type ProviderWalletClient, type PubkeyAccount, type ReadErrorKind, type ReadViewsRequest, type ReadViewsResponse, type ReceiptObserver, type RecentAttemptFailure, type RegisteredAuthResult, type RequestAirdropOptions, type RootAddressTransactionQuery, type RootAddressWalkQuery, type RpcActiveBlockDriverMode, type RpcAdmission, type RpcAirdropAttempt, type RpcAirdropExecution, type RpcAscendingAnchor, type RpcAssumedAuth, type RpcAuthConfiguration, type RpcAuthSigner, type RpcBalanceResult, type RpcBase58_ContractAddress, type RpcBase58_Ed25519PublicKey, type RpcBase58_PublicKeyHash, type RpcBase58_SHA256Hash, type RpcBase58_ValidatorID, type RpcBlockClock, type RpcBlockDriverMode, type RpcBlockDriverStatus, type RpcBlockInfo, type RpcBlockStart, type RpcBlockTimeStep, type RpcChainConfig, type RpcChainTip, type RpcClient, type RpcClientOptions, type RpcConfigLimits, type RpcConflictCode, type RpcConflictDiagnostic, type RpcContractArtifactResult, type RpcContractDeployment, type RpcContractDeploymentResult, type RpcContractRejectCode, type RpcDecimalTimePoint, type RpcDecimalU64, type RpcDescendingAnchor, type RpcDiscovery, type RpcEffectiveContract, type RpcEffectiveContractResult, type RpcEmittedEvent, type RpcErrorData, type RpcErrorFields, type RpcEventFilter, type RpcEventPage, type RpcExecutionConfig, type RpcFailureCause, type RpcFundingSubmission, type RpcHistoryStart, type RpcIdentifiedEvent, type RpcIncompatibleKind, type RpcInvocation, type RpcInvocationContext, type RpcInvocationOutput, type RpcInvocationResult, type RpcIterationOrder, type RpcMethod, type RpcMethods, type RpcNetworkInfo, type RpcParams, type RpcPendingTransactionCount, type RpcProducedBlock, type RpcProducedBlocks, type RpcPublicKey, type RpcReceiptExecution, type RpcRecentAttemptFailure, type RpcRegisteredAuthResult, type RpcRequests, type RpcResults, type RpcSchedulerError, type RpcSchedulerErrorSource, type RpcSendTransactionResult, type RpcServerLimits, type RpcSimulationBatchLimits, type RpcSimulationResult, type RpcSimulationResults, type RpcStorageCosts, type RpcStorageItem, type RpcStorageResult, type RpcTopicFilter, type RpcTransactionInputResult, type RpcTransactionReceipt, type RpcTransactionRef, type RpcTransactionRefPage, type RpcTransactionStatus, type RpcTxHash, type RpcVersionInfo, type SHA256Hash, type SchedulerTransactionError, type ServerLimits, SignedOp, spec as SignedOpSpec, type SignedOperation, type SignedOperationPreimage, type SignedOperationRequest, type SignedOperationType, type SignedToken, type SignedTransaction, type Signer, type SignerEntry, type SimulationBatchLimits, type SourceAddressAccount, type SpecDeclaredException, type SpecDecodedCall, type SpecDecodedEvent, type StorageCosts, type StorageItemInfo, type StorageItemRead, type SubmissionEvidence, type ThruputClient, type ThruputClientOptions, ThruputError, type ThruputErrorCode, type ThruputErrorContext, type ThruputErrorOf, type ThruputErrorOptions, type TimePoint, type Transaction, type TransactionErrorCode, type TransactionFacts, type TransactionFactsInput, type TransactionFailureCause, type TransactionOutcome, type TransactionOutcomeUnknownContext, type TransactionReason, type TransactionReceipt, type TransactionRef, type TransactionRefPage, type TransactionStatus, type Transport, type TransportRequestOptions, type TxInvalidDetail, type UnknownContractException, UnsupportedRpcValue, type VerifiedTransactionInput, type VersionInfo, type ViewBatchRequest, type ViewBatchResponse, type ViewCall, type ViewOutput, type ViewRequest, type ViewResponse, type WaitForTransactionReceiptOptions, type WalletAccount, type WalletActions, type WalletAirdropActions, type WalletBatchExecutionRequest, type WalletClient, type WalletErrorContext, type WalletExecutionActions, type WalletExecutionRequest, type WalletInvocationAdapter, type WalletNetworkOptions, type WalletRequestAirdropOptions, type WalletRequests, addressFromBase58, addressFromHex, addressToStrkey, assertNetworkMatchesCluster, assertTransactionAdmission, assertTransactionSuccess, blockHeight, buildNamedCodecs, bytesEqual, calldata, classifyReadError, contractAddress, contractEntrypointID, createContractCallDecoder, createContractCodecContext, createContractEventDecoder, createDefaultWalletBatchInvocation, createInvocation, createProviderWalletClient, createPubkeyAccount, createRpcClient, createSourceAddressAccount, createSubmissionEvidence, createThruputClient, createTransaction, createWalletClient, decodeCalldata, decodeDefaultWalletRequests, decodeDeployment, decodeExecution, defaultWalletAdapter, defineCluster, defineContractEvent, defineContractMethod, defineSignedOperation, defineWalletInvocationAdapter, deriveContractAddress, deriveEntrypointID, derivePubkeyAccountAddress, derivePublicKeyHash, deserializeSignedTransaction, deserializeTransaction, devWalletAdapter, devnet, encodeCalldata, fixedArray, fixedBytes, fixedFromBase58, formatSpecId, formatUnits, fromBase58, fromHex0x, futurenet, gasAmount, getContract, getContractEvents, getContractSpec, getEffectiveContractSpec, hashContract, hashFromBase58, hashFromHex, hashSignedTransaction, invokeFlagSet, isSignedToken, isThruputError, isUnsupportedRpcValue, iterateEventPages, iterateTransactionsByBlock, iterateTransactionsByRootAddress, localnet, mainnet, majorVersionFromSemver, maxBase58Length, networkHash, parseAddress, parsePublicKey, parseSecretSeed, parseUnits, prepareContractDeployment, prepareTransaction, pubkeyAccountPreimage, pubkeySignatureEnvelopeBytes, publicKeyToStrkey, randomNonce, readContractArtifactSpec, readTransactionInput, readViews, requestAirdrop, requestAirdropAttempt, resolveCodec, rv32Contract, secretSeedToStrkey, sendInvocation, sendTransaction, serializeSignedTransaction, serializeTransaction, sha256Hash, signTransaction, signedOperationPreimage, signedToken, specIdKey, submitAndObserve, thruput_signed_op_if, timePoint, toBase58, toHex0x, topicRepresentation, transactionErrorCodes, transactionOutcomes, transactionReasons, transactionSignaturePreimage, txInvalidDetail, verifyMlDsa65, waitForCommitment, waitForExecution, waitForTransactionReceipt, walletGasLimit };
|
|
167
|
+
export { type AddressAuthDataInfo, type AirdropActions, type AirdropAttemptRequest, type AirdropExecutionStatus, type AirdropPending, type AirdropResponse, type AirdropSucceeded, type AuthPublicKey, type AuthSigner, type BalanceResponse, type BlockHeight, type BlockInfo, type BlockTransactionQuery, type BlockTransactionWalkQuery, type BoundContractMethod, CallResults, type Calldata, type ChainConfig, type ChainTip, type Cluster, type ClusterCapability, type ClusterHasCapability, type ClusterThruputClientOptions, type ConflictCode, type ConflictDiagnostic, type ConnectedThruputClient, type ContractAddress, type ContractArgumentMetadata, type ContractArrayType, type ContractArtifactSpec, type ContractCall, type ContractCallOptions, type ContractCodec, type ContractCodecContext, type ContractDeployment, type ContractEntrypointID, type ContractEnumDef, type ContractEnumVariant, type ContractEvent, type ContractEventDefinition, type ContractEventFieldMetadata, type ContractEventFilterInput, type ContractEventFilterValue, type ContractEventPage, type ContractEventQuery, type ContractEventReceiptOptions, type ContractEventTopicMetadata, type ContractException, type ContractExceptionMetadata, type ContractExceptionType, type ContractFailure, type ContractField, type ContractInstance, type ContractMethod, type ContractMethodDefinition, ContractMethodEffect, type ContractMethodInputs, type ContractReceipt, type ContractReceiptEvent, type ContractReceiptFailure, type ContractReceiptOutcome, type ContractRejectCode, type ContractSpec, type ContractSpecId, type ContractSpecInterface, type ContractSpecMethod, type ContractSpecResult, type ContractSpecString, type ContractStructDef, type ContractType, type ContractTypeDef, ContractTypeDefKind, ContractTypeKind, type ContractTypeSelector, type ContractUnionCase, ContractUnionCaseKind, type ContractUnionCaseType, type ContractUnionDef, type ContractVectorType, type ContractView, type ContractViewFailure, type ContractViewOptions, type ContractViewOutcome, type ContractViewRequest, type ContractViewRequestOptions, type CoreThruputClient, type CreateProviderWalletClientOptions, type CreatePubkeyAccountOptions, type CreateSourceAddressAccountOptions, DEVNET_RPC_URL, type DecodedContractEvent, type DefineSignedOperationOptions, type DeploymentOptions, Ed25519Signer, type EffectiveContractSpecResult, type EmittedEvent, type EventFilter, type EventPage, type EventQuery, type EventWalkQuery, ExecResult, type ExecutableWalletClient, type ExecuteCallsRequest, type ExecutionConfig, ExecutionResult, FUTURENET_RPC_URL, type FixedArray, type FixedBytes, type FundAccountRequest, type FundAccountResponse, type FundingStoppedContext, type GasAmount, type HistoryCompletion, type HistoryStart, type HttpBatchOptions, HttpTransport, type HttpTransportOptions, type IdentifiedContractEvent, type IdentifiedEvent, type Invocation, InvokeFlag, type InvokeFlagSet, type IterationOrder, type KnownCommitment, LOCALNET_RPC_URL, type MethodArgs, MlDsa65Signer, MockTransport, NativeRpcErrorCode, type NativeRpcErrorContext, type NetworkConfigParams, type NetworkHash, type NetworkInfo, type Operation, type PendingWalletTransaction, type PredefinedClusterOptions, type PrepareBatchExecutionRequest, type PrepareExecutionRequest, type PrepareTransactionRequest, type ProviderExecutionOptions, type ProviderWalletClient, type PubkeyAccount, type ReadErrorKind, type ReadViewsRequest, type ReadViewsResponse, type ReceiptObserver, type RecentAttemptFailure, type RegisteredAuthResult, type RequestAirdropOptions, type RootAddressTransactionQuery, type RootAddressWalkQuery, type RpcActiveBlockDriverMode, type RpcAdmission, type RpcAirdropAttempt, type RpcAirdropExecution, type RpcAscendingAnchor, type RpcAssumedAuth, type RpcAuthConfiguration, type RpcAuthSigner, type RpcBalanceResult, type RpcBase58_ContractAddress, type RpcBase58_Ed25519PublicKey, type RpcBase58_PublicKeyHash, type RpcBase58_SHA256Hash, type RpcBase58_ValidatorID, type RpcBlockClock, type RpcBlockDriverMode, type RpcBlockDriverStatus, type RpcBlockInfo, type RpcBlockStart, type RpcBlockTimeStep, type RpcChainConfig, type RpcChainTip, type RpcClient, type RpcClientOptions, type RpcConfigLimits, type RpcConflictCode, type RpcConflictDiagnostic, type RpcContractArtifactResult, type RpcContractDeployment, type RpcContractDeploymentResult, type RpcContractRejectCode, type RpcDecimalTimePoint, type RpcDecimalU64, type RpcDescendingAnchor, type RpcDiscovery, type RpcEffectiveContract, type RpcEffectiveContractResult, type RpcEmittedEvent, type RpcErrorData, type RpcErrorFields, type RpcEventFilter, type RpcEventPage, type RpcExecutionConfig, type RpcFailureCause, type RpcFundingSubmission, type RpcHistoryStart, type RpcIdentifiedEvent, type RpcIncompatibleKind, type RpcInvocation, type RpcInvocationContext, type RpcInvocationOutput, type RpcInvocationResult, type RpcIterationOrder, type RpcMethod, type RpcMethods, type RpcNetworkInfo, type RpcParams, type RpcPendingTransactionCount, type RpcProducedBlock, type RpcProducedBlocks, type RpcPublicKey, type RpcReceiptExecution, type RpcRecentAttemptFailure, type RpcRegisteredAuthResult, type RpcRequests, type RpcResults, type RpcSchedulerError, type RpcSchedulerErrorSource, type RpcSendTransactionResult, type RpcServerLimits, type RpcSimulationBatchLimits, type RpcSimulationResult, type RpcSimulationResults, type RpcStorageCosts, type RpcStorageItem, type RpcStorageResult, type RpcTopicFilter, type RpcTransactionInputResult, type RpcTransactionReceipt, type RpcTransactionRef, type RpcTransactionRefPage, type RpcTransactionStatus, type RpcTxHash, type RpcVersionInfo, type SHA256Hash, type SchedulerTransactionError, type ServerLimits, SignedOp, spec as SignedOpSpec, type SignedOperation, type SignedOperationPreimage, type SignedOperationRequest, type SignedOperationType, type SignedToken, type SignedTransaction, type Signer, type SignerEntry, type SimulationBatchLimits, type SourceAddressAccount, type SpecDeclaredException, type SpecDecodedCall, type SpecDecodedEvent, type StorageCosts, type StorageItemInfo, type StorageItemRead, type SubmissionEvidence, type ThruputClient, type ThruputClientOptions, ThruputError, type ThruputErrorCode, type ThruputErrorContext, type ThruputErrorOf, type ThruputErrorOptions, type TimePoint, type Transaction, type TransactionErrorCode, type TransactionFacts, type TransactionFactsInput, type TransactionFailureCause, type TransactionOutcome, type TransactionOutcomeUnknownContext, type TransactionReason, type TransactionReceipt, type TransactionRef, type TransactionRefPage, type TransactionStatus, type Transport, type TransportRequestOptions, type TxInvalidDetail, type UnknownContractException, UnsupportedRpcValue, type VerifiedTransactionInput, type VersionInfo, type ViewBatchRequest, type ViewBatchResponse, type ViewCall, type ViewOutput, type ViewRequest, type ViewResponse, type WaitForTransactionReceiptOptions, type WalletAccount, type WalletActions, type WalletAirdropActions, type WalletBatchExecutionRequest, type WalletClient, type WalletErrorContext, type WalletExecutionActions, type WalletExecutionRequest, type WalletInvocationAdapter, type WalletMint, type WalletNetworkOptions, type WalletRequestAirdropOptions, type WalletRequestDescription, type WalletRequests, addressFromBase58, addressFromHex, addressToStrkey, assertNetworkMatchesCluster, assertTransactionAdmission, assertTransactionSuccess, blockHeight, buildNamedCodecs, bytesEqual, calldata, classifyReadError, contractAddress, contractEntrypointID, createContractCallDecoder, createContractCodecContext, createContractEventDecoder, createDefaultWalletBatchInvocation, createInvocation, createProviderWalletClient, createPubkeyAccount, createRpcClient, createSourceAddressAccount, createSubmissionEvidence, createThruputClient, createTransaction, createWalletClient, decodeCalldata, decodeDefaultWalletRequests, decodeDeployment, decodeExecution, defaultWalletAdapter, defineCluster, defineContractEvent, defineContractMethod, defineSignedOperation, defineWalletInvocationAdapter, deriveContractAddress, deriveEntrypointID, derivePubkeyAccountAddress, derivePublicKeyHash, describeDefaultWalletRequests, deserializeSignedTransaction, deserializeTransaction, devWalletAdapter, devnet, encodeCalldata, fixedArray, fixedBytes, fixedFromBase58, formatSpecId, formatUnits, fromBase58, fromHex0x, futurenet, gasAmount, getContract, getContractEvents, getContractSpec, getEffectiveContractSpec, hashContract, hashFromBase58, hashFromHex, hashSignedTransaction, invokeFlagSet, isSignedToken, isThruputError, isUnsupportedRpcValue, iterateEventPages, iterateTransactionsByBlock, iterateTransactionsByRootAddress, localnet, mainnet, majorVersionFromSemver, maxBase58Length, networkHash, parseAddress, parsePublicKey, parseSecretSeed, parseUnits, prepareContractDeployment, prepareTransaction, pubkeyAccountPreimage, pubkeySignatureEnvelopeBytes, publicKeyToStrkey, randomNonce, readContractArtifactSpec, readTransactionInput, readViews, requestAirdrop, requestAirdropAttempt, resolveCodec, rv32Contract, secretSeedToStrkey, sendInvocation, sendTransaction, serializeSignedTransaction, serializeTransaction, sha256Hash, signTransaction, signedOperationPreimage, signedToken, specIdKey, submitAndObserve, thruput_signed_op_if, timePoint, toBase58, toHex0x, topicRepresentation, transactionErrorCodes, transactionOutcomes, transactionReasons, transactionSignaturePreimage, txInvalidDetail, verifyMlDsa65, waitForCommitment, waitForExecution, waitForTransactionReceipt, walletGasLimit };
|
|
169
168
|
//# sourceMappingURL=index.d.ts.map
|