starknet 6.13.0 → 6.14.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/CHANGELOG.md +12 -0
- package/dist/index.d.ts +205 -185
- package/dist/index.global.js +358 -334
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +358 -334
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +358 -334
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -861,6 +861,8 @@ declare namespace errors {
|
|
|
861
861
|
export type { errors_BLOCK_NOT_FOUND as BLOCK_NOT_FOUND, errors_CLASS_ALREADY_DECLARED as CLASS_ALREADY_DECLARED, errors_CLASS_HASH_NOT_FOUND as CLASS_HASH_NOT_FOUND, errors_COMPILATION_FAILED as COMPILATION_FAILED, errors_COMPILED_CLASS_HASH_MISMATCH as COMPILED_CLASS_HASH_MISMATCH, errors_CONTRACT_CLASS_SIZE_IS_TOO_LARGE as CONTRACT_CLASS_SIZE_IS_TOO_LARGE, errors_CONTRACT_ERROR as CONTRACT_ERROR, errors_CONTRACT_NOT_FOUND as CONTRACT_NOT_FOUND, errors_DUPLICATE_TX as DUPLICATE_TX, errors_FAILED_TO_RECEIVE_TXN as FAILED_TO_RECEIVE_TXN, errors_INSUFFICIENT_ACCOUNT_BALANCE as INSUFFICIENT_ACCOUNT_BALANCE, errors_INSUFFICIENT_MAX_FEE as INSUFFICIENT_MAX_FEE, errors_INVALID_BLOCK_HASH as INVALID_BLOCK_HASH, errors_INVALID_CALL_DATA as INVALID_CALL_DATA, errors_INVALID_CONTINUATION_TOKEN as INVALID_CONTINUATION_TOKEN, errors_INVALID_MESSAGE_SELECTOR as INVALID_MESSAGE_SELECTOR, errors_INVALID_TRANSACTION_NONCE as INVALID_TRANSACTION_NONCE, errors_INVALID_TXN_INDEX as INVALID_TXN_INDEX, errors_NON_ACCOUNT as NON_ACCOUNT, errors_NO_BLOCKS as NO_BLOCKS, errors_NO_TRACE_AVAILABLE as NO_TRACE_AVAILABLE, errors_PAGE_SIZE_TOO_BIG as PAGE_SIZE_TOO_BIG, errors_TOO_MANY_KEYS_IN_FILTER as TOO_MANY_KEYS_IN_FILTER, errors_TRANSACTION_EXECUTION_ERROR as TRANSACTION_EXECUTION_ERROR, errors_TXN_HASH_NOT_FOUND as TXN_HASH_NOT_FOUND, errors_UNEXPECTED_ERROR as UNEXPECTED_ERROR, errors_UNSUPPORTED_CONTRACT_CLASS_VERSION as UNSUPPORTED_CONTRACT_CLASS_VERSION, errors_UNSUPPORTED_TX_VERSION as UNSUPPORTED_TX_VERSION, errors_VALIDATION_FAILURE as VALIDATION_FAILURE };
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
+
type ValuesType<T extends ReadonlyArray<any> | ArrayLike<any> | Record<any, any>> = T extends ReadonlyArray<any> ? T[number] : T extends ArrayLike<any> ? T[number] : T extends object ? T[keyof T] : never;
|
|
865
|
+
|
|
864
866
|
/**
|
|
865
867
|
* Types that are not in spec but required for UX
|
|
866
868
|
*/
|
|
@@ -927,77 +929,87 @@ type StorageDiffs = Array<CONTRACT_STORAGE_DIFF_ITEM>;
|
|
|
927
929
|
type DeprecatedDeclaredClasses = Array<FELT$1>;
|
|
928
930
|
type NonceUpdates = NONCE_UPDATE[];
|
|
929
931
|
type ReplacedClasses = REPLACED_CLASS[];
|
|
930
|
-
declare
|
|
931
|
-
DECLARE
|
|
932
|
-
DEPLOY
|
|
933
|
-
DEPLOY_ACCOUNT
|
|
934
|
-
INVOKE
|
|
935
|
-
L1_HANDLER
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
declare
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
932
|
+
declare const ETransactionType: {
|
|
933
|
+
readonly DECLARE: "DECLARE";
|
|
934
|
+
readonly DEPLOY: "DEPLOY";
|
|
935
|
+
readonly DEPLOY_ACCOUNT: "DEPLOY_ACCOUNT";
|
|
936
|
+
readonly INVOKE: "INVOKE";
|
|
937
|
+
readonly L1_HANDLER: "L1_HANDLER";
|
|
938
|
+
};
|
|
939
|
+
type ETransactionType = ValuesType<typeof ETransactionType>;
|
|
940
|
+
declare const ESimulationFlag: {
|
|
941
|
+
readonly SKIP_VALIDATE: "SKIP_VALIDATE";
|
|
942
|
+
readonly SKIP_FEE_CHARGE: "SKIP_FEE_CHARGE";
|
|
943
|
+
};
|
|
944
|
+
type ESimulationFlag = ValuesType<typeof ESimulationFlag>;
|
|
945
|
+
declare const ETransactionStatus: {
|
|
946
|
+
readonly RECEIVED: "RECEIVED";
|
|
947
|
+
readonly REJECTED: "REJECTED";
|
|
948
|
+
readonly ACCEPTED_ON_L2: "ACCEPTED_ON_L2";
|
|
949
|
+
readonly ACCEPTED_ON_L1: "ACCEPTED_ON_L1";
|
|
950
|
+
};
|
|
951
|
+
type ETransactionStatus = ValuesType<typeof ETransactionStatus>;
|
|
952
|
+
declare const ETransactionFinalityStatus: {
|
|
953
|
+
readonly ACCEPTED_ON_L2: "ACCEPTED_ON_L2";
|
|
954
|
+
readonly ACCEPTED_ON_L1: "ACCEPTED_ON_L1";
|
|
955
|
+
};
|
|
956
|
+
type ETransactionFinalityStatus = ValuesType<typeof ETransactionFinalityStatus>;
|
|
957
|
+
declare const ETransactionExecutionStatus: {
|
|
958
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
959
|
+
readonly REVERTED: "REVERTED";
|
|
960
|
+
};
|
|
961
|
+
type ETransactionExecutionStatus = ValuesType<typeof ETransactionExecutionStatus>;
|
|
962
|
+
declare const EBlockTag: {
|
|
963
|
+
readonly PENDING: "pending";
|
|
964
|
+
readonly LATEST: "latest";
|
|
965
|
+
};
|
|
966
|
+
type EBlockTag = ValuesType<typeof EBlockTag>;
|
|
967
|
+
declare const EDataAvailabilityMode: {
|
|
968
|
+
readonly L1: "L1";
|
|
969
|
+
readonly L2: "L2";
|
|
970
|
+
};
|
|
971
|
+
type EDataAvailabilityMode = ValuesType<typeof EDataAvailabilityMode>;
|
|
972
|
+
declare const EDAMode: {
|
|
973
|
+
readonly L1: 0;
|
|
974
|
+
readonly L2: 1;
|
|
975
|
+
};
|
|
976
|
+
type EDAMode = ValuesType<typeof EDAMode>;
|
|
967
977
|
/**
|
|
968
978
|
* V_ Transaction versions HexString
|
|
969
979
|
* F_ Fee Transaction Versions HexString (2 ** 128 + TRANSACTION_VERSION)
|
|
970
980
|
*/
|
|
971
|
-
declare
|
|
972
|
-
V0
|
|
973
|
-
V1
|
|
974
|
-
V2
|
|
975
|
-
V3
|
|
976
|
-
F0
|
|
977
|
-
F1
|
|
978
|
-
F2
|
|
979
|
-
F3
|
|
980
|
-
}
|
|
981
|
+
declare const ETransactionVersion: {
|
|
982
|
+
readonly V0: "0x0";
|
|
983
|
+
readonly V1: "0x1";
|
|
984
|
+
readonly V2: "0x2";
|
|
985
|
+
readonly V3: "0x3";
|
|
986
|
+
readonly F0: "0x100000000000000000000000000000000";
|
|
987
|
+
readonly F1: "0x100000000000000000000000000000001";
|
|
988
|
+
readonly F2: "0x100000000000000000000000000000002";
|
|
989
|
+
readonly F3: "0x100000000000000000000000000000003";
|
|
990
|
+
};
|
|
991
|
+
type ETransactionVersion = ValuesType<typeof ETransactionVersion>;
|
|
981
992
|
/**
|
|
982
993
|
* Old Transaction Versions
|
|
983
994
|
*/
|
|
984
|
-
declare
|
|
985
|
-
V0
|
|
986
|
-
V1
|
|
987
|
-
V2
|
|
988
|
-
F0
|
|
989
|
-
F1
|
|
990
|
-
F2
|
|
991
|
-
}
|
|
995
|
+
declare const ETransactionVersion2: {
|
|
996
|
+
readonly V0: "0x0";
|
|
997
|
+
readonly V1: "0x1";
|
|
998
|
+
readonly V2: "0x2";
|
|
999
|
+
readonly F0: "0x100000000000000000000000000000000";
|
|
1000
|
+
readonly F1: "0x100000000000000000000000000000001";
|
|
1001
|
+
readonly F2: "0x100000000000000000000000000000002";
|
|
1002
|
+
};
|
|
1003
|
+
type ETransactionVersion2 = ValuesType<typeof ETransactionVersion2>;
|
|
992
1004
|
/**
|
|
993
1005
|
* V3 Transaction Versions
|
|
994
1006
|
*/
|
|
995
|
-
declare
|
|
996
|
-
V3
|
|
997
|
-
F3
|
|
998
|
-
}
|
|
1007
|
+
declare const ETransactionVersion3: {
|
|
1008
|
+
readonly V3: "0x3";
|
|
1009
|
+
readonly F3: "0x100000000000000000000000000000003";
|
|
1010
|
+
};
|
|
1011
|
+
type ETransactionVersion3 = ValuesType<typeof ETransactionVersion3>;
|
|
999
1012
|
|
|
1000
|
-
type Methods = ReadMethods & WriteMethods & TraceMethods;
|
|
1001
1013
|
type ReadMethods = {
|
|
1002
1014
|
starknet_specVersion: {
|
|
1003
1015
|
params: [];
|
|
@@ -1200,6 +1212,7 @@ type TraceMethods = {
|
|
|
1200
1212
|
errors: BLOCK_NOT_FOUND | TRANSACTION_EXECUTION_ERROR;
|
|
1201
1213
|
};
|
|
1202
1214
|
};
|
|
1215
|
+
type Methods = ReadMethods & WriteMethods & TraceMethods;
|
|
1203
1216
|
|
|
1204
1217
|
/**
|
|
1205
1218
|
* TypeScript Representation of Cairo1 v2+ Starknet Contract ABI
|
|
@@ -1301,27 +1314,16 @@ type index$4_ContractAddress = ContractAddress;
|
|
|
1301
1314
|
type index$4_DeployedAccountTransaction = DeployedAccountTransaction;
|
|
1302
1315
|
type index$4_DeprecatedDeclaredClasses = DeprecatedDeclaredClasses;
|
|
1303
1316
|
type index$4_EBlockTag = EBlockTag;
|
|
1304
|
-
declare const index$4_EBlockTag: typeof EBlockTag;
|
|
1305
1317
|
type index$4_EDAMode = EDAMode;
|
|
1306
|
-
declare const index$4_EDAMode: typeof EDAMode;
|
|
1307
1318
|
type index$4_EDataAvailabilityMode = EDataAvailabilityMode;
|
|
1308
|
-
declare const index$4_EDataAvailabilityMode: typeof EDataAvailabilityMode;
|
|
1309
1319
|
type index$4_ESimulationFlag = ESimulationFlag;
|
|
1310
|
-
declare const index$4_ESimulationFlag: typeof ESimulationFlag;
|
|
1311
1320
|
type index$4_ETransactionExecutionStatus = ETransactionExecutionStatus;
|
|
1312
|
-
declare const index$4_ETransactionExecutionStatus: typeof ETransactionExecutionStatus;
|
|
1313
1321
|
type index$4_ETransactionFinalityStatus = ETransactionFinalityStatus;
|
|
1314
|
-
declare const index$4_ETransactionFinalityStatus: typeof ETransactionFinalityStatus;
|
|
1315
1322
|
type index$4_ETransactionStatus = ETransactionStatus;
|
|
1316
|
-
declare const index$4_ETransactionStatus: typeof ETransactionStatus;
|
|
1317
1323
|
type index$4_ETransactionType = ETransactionType;
|
|
1318
|
-
declare const index$4_ETransactionType: typeof ETransactionType;
|
|
1319
1324
|
type index$4_ETransactionVersion = ETransactionVersion;
|
|
1320
|
-
declare const index$4_ETransactionVersion: typeof ETransactionVersion;
|
|
1321
1325
|
type index$4_ETransactionVersion2 = ETransactionVersion2;
|
|
1322
|
-
declare const index$4_ETransactionVersion2: typeof ETransactionVersion2;
|
|
1323
1326
|
type index$4_ETransactionVersion3 = ETransactionVersion3;
|
|
1324
|
-
declare const index$4_ETransactionVersion3: typeof ETransactionVersion3;
|
|
1325
1327
|
type index$4_EmittedEvent = EmittedEvent;
|
|
1326
1328
|
type index$4_Event = Event;
|
|
1327
1329
|
type index$4_EventFilter = EventFilter;
|
|
@@ -1341,7 +1343,7 @@ type index$4_Transaction = Transaction;
|
|
|
1341
1343
|
type index$4_TransactionHash = TransactionHash;
|
|
1342
1344
|
type index$4_TransactionTrace = TransactionTrace;
|
|
1343
1345
|
declare namespace index$4 {
|
|
1344
|
-
export { type index$4_ABI as ABI, type index$4_BaseTransaction as BaseTransaction, type index$4_BlockHash as BlockHash, type index$4_BlockHashAndNumber as BlockHashAndNumber, type index$4_BlockTransactionsTraces as BlockTransactionsTraces, type BlockWithTxHashes$1 as BlockWithTxHashes, type index$4_BlockWithTxs as BlockWithTxs, type index$4_ChainId as ChainId, type index$4_ContractAddress as ContractAddress, type ContractClass$1 as ContractClass, type DeclaredTransaction$1 as DeclaredTransaction, type index$4_DeployedAccountTransaction as DeployedAccountTransaction, type index$4_DeprecatedDeclaredClasses as DeprecatedDeclaredClasses, index$4_EBlockTag as EBlockTag, index$4_EDAMode as EDAMode, index$4_EDataAvailabilityMode as EDataAvailabilityMode, index$4_ESimulationFlag as ESimulationFlag, index$4_ETransactionExecutionStatus as ETransactionExecutionStatus, index$4_ETransactionFinalityStatus as ETransactionFinalityStatus, index$4_ETransactionStatus as ETransactionStatus, index$4_ETransactionType as ETransactionType, index$4_ETransactionVersion as ETransactionVersion, index$4_ETransactionVersion2 as ETransactionVersion2, index$4_ETransactionVersion3 as ETransactionVersion3, type index$4_EmittedEvent as EmittedEvent, errors as Errors, type index$4_Event as Event, type index$4_EventFilter as EventFilter, type index$4_Events as Events, type FeeEstimate$1 as FeeEstimate, type index$4_FeePayment as FeePayment, type index$4_Felt as Felt, type InvokedTransaction$1 as InvokedTransaction, type index$4_L1Message as L1Message, type index$4_Methods as Methods, type Nonce$1 as Nonce, type index$4_NonceUpdates as NonceUpdates, type index$4_PendingReceipt as PendingReceipt, type index$4_PriceUnit as PriceUnit, type index$4_Receipt as Receipt, type index$4_ReplacedClasses as ReplacedClasses, type ResourceBounds$1 as ResourceBounds, components as SPEC, type SimulateTransaction$1 as SimulateTransaction, type SimulateTransactionResponse$1 as SimulateTransactionResponse, type SimulationFlags$1 as SimulationFlags, type StateUpdate$1 as StateUpdate, type index$4_StorageDiffs as StorageDiffs, type index$4_Syncing as Syncing, type index$4_Transaction as Transaction, type index$4_TransactionHash as TransactionHash, type TransactionReceipt$1 as TransactionReceipt, type TransactionStatus$1 as TransactionStatus, type index$4_TransactionTrace as TransactionTrace, type TransactionWithHash$1 as TransactionWithHash };
|
|
1346
|
+
export { type index$4_ABI as ABI, type index$4_BaseTransaction as BaseTransaction, type index$4_BlockHash as BlockHash, type index$4_BlockHashAndNumber as BlockHashAndNumber, type index$4_BlockTransactionsTraces as BlockTransactionsTraces, type BlockWithTxHashes$1 as BlockWithTxHashes, type index$4_BlockWithTxs as BlockWithTxs, type index$4_ChainId as ChainId, type index$4_ContractAddress as ContractAddress, type ContractClass$1 as ContractClass, type DeclaredTransaction$1 as DeclaredTransaction, type index$4_DeployedAccountTransaction as DeployedAccountTransaction, type index$4_DeprecatedDeclaredClasses as DeprecatedDeclaredClasses, type index$4_EBlockTag as EBlockTag, type index$4_EDAMode as EDAMode, type index$4_EDataAvailabilityMode as EDataAvailabilityMode, type index$4_ESimulationFlag as ESimulationFlag, type index$4_ETransactionExecutionStatus as ETransactionExecutionStatus, type index$4_ETransactionFinalityStatus as ETransactionFinalityStatus, type index$4_ETransactionStatus as ETransactionStatus, type index$4_ETransactionType as ETransactionType, type index$4_ETransactionVersion as ETransactionVersion, type index$4_ETransactionVersion2 as ETransactionVersion2, type index$4_ETransactionVersion3 as ETransactionVersion3, type index$4_EmittedEvent as EmittedEvent, errors as Errors, type index$4_Event as Event, type index$4_EventFilter as EventFilter, type index$4_Events as Events, type FeeEstimate$1 as FeeEstimate, type index$4_FeePayment as FeePayment, type index$4_Felt as Felt, type InvokedTransaction$1 as InvokedTransaction, type index$4_L1Message as L1Message, type index$4_Methods as Methods, type Nonce$1 as Nonce, type index$4_NonceUpdates as NonceUpdates, type index$4_PendingReceipt as PendingReceipt, type index$4_PriceUnit as PriceUnit, type index$4_Receipt as Receipt, type index$4_ReplacedClasses as ReplacedClasses, type ResourceBounds$1 as ResourceBounds, components as SPEC, type SimulateTransaction$1 as SimulateTransaction, type SimulateTransactionResponse$1 as SimulateTransactionResponse, type SimulationFlags$1 as SimulationFlags, type StateUpdate$1 as StateUpdate, type index$4_StorageDiffs as StorageDiffs, type index$4_Syncing as Syncing, type index$4_Transaction as Transaction, type index$4_TransactionHash as TransactionHash, type TransactionReceipt$1 as TransactionReceipt, type TransactionStatus$1 as TransactionStatus, type index$4_TransactionTrace as TransactionTrace, type TransactionWithHash$1 as TransactionWithHash };
|
|
1345
1347
|
}
|
|
1346
1348
|
|
|
1347
1349
|
var index$3 = /*#__PURE__*/_mergeNamespaces({
|
|
@@ -1729,10 +1731,11 @@ declare class CairoCustomEnum {
|
|
|
1729
1731
|
activeVariant(): string;
|
|
1730
1732
|
}
|
|
1731
1733
|
|
|
1732
|
-
declare
|
|
1733
|
-
Some
|
|
1734
|
-
None
|
|
1735
|
-
}
|
|
1734
|
+
declare const CairoOptionVariant: {
|
|
1735
|
+
readonly Some: 0;
|
|
1736
|
+
readonly None: 1;
|
|
1737
|
+
};
|
|
1738
|
+
type CairoOptionVariant = ValuesType<typeof CairoOptionVariant>;
|
|
1736
1739
|
/**
|
|
1737
1740
|
* Class to handle Cairo Option
|
|
1738
1741
|
* @param variant CairoOptionVariant.Some or CairoOptionVariant.None
|
|
@@ -1746,7 +1749,7 @@ declare enum CairoOptionVariant {
|
|
|
1746
1749
|
declare class CairoOption<T> {
|
|
1747
1750
|
readonly Some?: T;
|
|
1748
1751
|
readonly None?: boolean;
|
|
1749
|
-
constructor(variant: CairoOptionVariant, someContent?: T);
|
|
1752
|
+
constructor(variant: CairoOptionVariant | number, someContent?: T);
|
|
1750
1753
|
/**
|
|
1751
1754
|
*
|
|
1752
1755
|
* @returns the content of the valid variant of a Cairo custom Enum.
|
|
@@ -1765,10 +1768,11 @@ declare class CairoOption<T> {
|
|
|
1765
1768
|
isNone(): boolean;
|
|
1766
1769
|
}
|
|
1767
1770
|
|
|
1768
|
-
declare
|
|
1769
|
-
Ok
|
|
1770
|
-
Err
|
|
1771
|
-
}
|
|
1771
|
+
declare const CairoResultVariant: {
|
|
1772
|
+
readonly Ok: 0;
|
|
1773
|
+
readonly Err: 1;
|
|
1774
|
+
};
|
|
1775
|
+
type CairoResultVariant = ValuesType<typeof CairoResultVariant>;
|
|
1772
1776
|
/**
|
|
1773
1777
|
* Class to handle Cairo Result
|
|
1774
1778
|
* @param variant CairoResultVariant.Ok or CairoResultVariant.Err
|
|
@@ -1782,7 +1786,7 @@ declare enum CairoResultVariant {
|
|
|
1782
1786
|
declare class CairoResult<T, U> {
|
|
1783
1787
|
readonly Ok?: T;
|
|
1784
1788
|
readonly Err?: U;
|
|
1785
|
-
constructor(variant: CairoResultVariant, resultContent: T | U);
|
|
1789
|
+
constructor(variant: CairoResultVariant | number, resultContent: T | U);
|
|
1786
1790
|
/**
|
|
1787
1791
|
*
|
|
1788
1792
|
* @returns the content of the valid variant of a Cairo Result.
|
|
@@ -1970,11 +1974,12 @@ type CompiledContract = LegacyCompiledContract | CompiledSierra;
|
|
|
1970
1974
|
* Compressed or decompressed Cairo0 or Cairo1 Contract
|
|
1971
1975
|
*/
|
|
1972
1976
|
type CairoContract = ContractClass | CompiledContract;
|
|
1973
|
-
declare
|
|
1974
|
-
EXTERNAL
|
|
1975
|
-
L1_HANDLER
|
|
1976
|
-
CONSTRUCTOR
|
|
1977
|
-
}
|
|
1977
|
+
declare const EntryPointType: {
|
|
1978
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
1979
|
+
readonly L1_HANDLER: "L1_HANDLER";
|
|
1980
|
+
readonly CONSTRUCTOR: "CONSTRUCTOR";
|
|
1981
|
+
};
|
|
1982
|
+
type EntryPointType = ValuesType<typeof EntryPointType>;
|
|
1978
1983
|
|
|
1979
1984
|
type WeierstrassSignatureType = weierstrass.SignatureType;
|
|
1980
1985
|
type ArraySignatureType = string[];
|
|
@@ -2050,6 +2055,12 @@ type DeclareContractPayload = {
|
|
|
2050
2055
|
casm?: CompiledSierraCasm;
|
|
2051
2056
|
compiledClassHash?: string;
|
|
2052
2057
|
};
|
|
2058
|
+
/**
|
|
2059
|
+
* DeclareContractPayload with classHash or contract defined
|
|
2060
|
+
*/
|
|
2061
|
+
type ContractClassIdentifier = DeclareContractPayload | {
|
|
2062
|
+
classHash: string;
|
|
2063
|
+
};
|
|
2053
2064
|
type CompleteDeclareContractPayload = {
|
|
2054
2065
|
contract: CompiledContract | string;
|
|
2055
2066
|
classHash: string;
|
|
@@ -2103,45 +2114,51 @@ type Details = {
|
|
|
2103
2114
|
type InvocationsDetailsWithNonce = (InvocationsDetails & {
|
|
2104
2115
|
nonce: BigNumberish;
|
|
2105
2116
|
}) | V3TransactionDetails;
|
|
2106
|
-
declare
|
|
2107
|
-
DECLARE
|
|
2108
|
-
DEPLOY
|
|
2109
|
-
DEPLOY_ACCOUNT
|
|
2110
|
-
INVOKE
|
|
2111
|
-
}
|
|
2117
|
+
declare const TransactionType: {
|
|
2118
|
+
readonly DECLARE: "DECLARE";
|
|
2119
|
+
readonly DEPLOY: "DEPLOY";
|
|
2120
|
+
readonly DEPLOY_ACCOUNT: "DEPLOY_ACCOUNT";
|
|
2121
|
+
readonly INVOKE: "INVOKE_FUNCTION";
|
|
2122
|
+
};
|
|
2123
|
+
type TransactionType = ValuesType<typeof TransactionType>;
|
|
2112
2124
|
/**
|
|
2113
2125
|
* new statuses are defined by props: finality_status and execution_status
|
|
2114
2126
|
* to be #deprecated
|
|
2115
2127
|
*/
|
|
2116
|
-
declare
|
|
2117
|
-
NOT_RECEIVED
|
|
2118
|
-
RECEIVED
|
|
2119
|
-
ACCEPTED_ON_L2
|
|
2120
|
-
ACCEPTED_ON_L1
|
|
2121
|
-
REJECTED
|
|
2122
|
-
REVERTED
|
|
2123
|
-
}
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2128
|
+
declare const TransactionStatus: {
|
|
2129
|
+
readonly NOT_RECEIVED: "NOT_RECEIVED";
|
|
2130
|
+
readonly RECEIVED: "RECEIVED";
|
|
2131
|
+
readonly ACCEPTED_ON_L2: "ACCEPTED_ON_L2";
|
|
2132
|
+
readonly ACCEPTED_ON_L1: "ACCEPTED_ON_L1";
|
|
2133
|
+
readonly REJECTED: "REJECTED";
|
|
2134
|
+
readonly REVERTED: "REVERTED";
|
|
2135
|
+
};
|
|
2136
|
+
type TransactionStatus = ValuesType<typeof TransactionStatus>;
|
|
2137
|
+
declare const TransactionFinalityStatus: {
|
|
2138
|
+
readonly NOT_RECEIVED: "NOT_RECEIVED";
|
|
2139
|
+
readonly RECEIVED: "RECEIVED";
|
|
2140
|
+
readonly ACCEPTED_ON_L2: "ACCEPTED_ON_L2";
|
|
2141
|
+
readonly ACCEPTED_ON_L1: "ACCEPTED_ON_L1";
|
|
2142
|
+
};
|
|
2143
|
+
type TransactionFinalityStatus = ValuesType<typeof TransactionFinalityStatus>;
|
|
2144
|
+
declare const TransactionExecutionStatus: {
|
|
2145
|
+
readonly REJECTED: "REJECTED";
|
|
2146
|
+
readonly REVERTED: "REVERTED";
|
|
2147
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
2148
|
+
};
|
|
2149
|
+
type TransactionExecutionStatus = ValuesType<typeof TransactionExecutionStatus>;
|
|
2150
|
+
declare const BlockStatus: {
|
|
2151
|
+
readonly PENDING: "PENDING";
|
|
2152
|
+
readonly ACCEPTED_ON_L1: "ACCEPTED_ON_L1";
|
|
2153
|
+
readonly ACCEPTED_ON_L2: "ACCEPTED_ON_L2";
|
|
2154
|
+
readonly REJECTED: "REJECTED";
|
|
2155
|
+
};
|
|
2156
|
+
type BlockStatus = ValuesType<typeof BlockStatus>;
|
|
2157
|
+
declare const BlockTag: {
|
|
2158
|
+
readonly PENDING: "pending";
|
|
2159
|
+
readonly LATEST: "latest";
|
|
2160
|
+
};
|
|
2161
|
+
type BlockTag = ValuesType<typeof BlockTag>;
|
|
2145
2162
|
type BlockNumber = BlockTag | null | number;
|
|
2146
2163
|
/**
|
|
2147
2164
|
* hex string and BigInt are detected as block hashes
|
|
@@ -2320,7 +2337,7 @@ interface MessageToL1 {
|
|
|
2320
2337
|
}
|
|
2321
2338
|
type RevertedTransactionReceiptResponse = {
|
|
2322
2339
|
type?: TransactionType | any;
|
|
2323
|
-
execution_status: TransactionExecutionStatus.REVERTED | any;
|
|
2340
|
+
execution_status: typeof TransactionExecutionStatus.REVERTED | any;
|
|
2324
2341
|
finality_status: TransactionFinalityStatus | any;
|
|
2325
2342
|
status?: TransactionStatus;
|
|
2326
2343
|
actual_fee: string;
|
|
@@ -2333,7 +2350,7 @@ type RevertedTransactionReceiptResponse = {
|
|
|
2333
2350
|
revert_reason?: string;
|
|
2334
2351
|
};
|
|
2335
2352
|
type RejectedTransactionReceiptResponse = {
|
|
2336
|
-
status:
|
|
2353
|
+
status: typeof TransactionStatus.REJECTED;
|
|
2337
2354
|
transaction_failure_reason: {
|
|
2338
2355
|
code: string;
|
|
2339
2356
|
error_message: string;
|
|
@@ -2440,16 +2457,16 @@ type SimulateTransactionDetails = {
|
|
|
2440
2457
|
skipExecute?: boolean;
|
|
2441
2458
|
} & Partial<V3TransactionDetails>;
|
|
2442
2459
|
type EstimateFeeAction = {
|
|
2443
|
-
type: TransactionType.INVOKE;
|
|
2460
|
+
type: typeof TransactionType.INVOKE;
|
|
2444
2461
|
payload: AllowArray<Call>;
|
|
2445
2462
|
} | {
|
|
2446
|
-
type: TransactionType.DECLARE;
|
|
2463
|
+
type: typeof TransactionType.DECLARE;
|
|
2447
2464
|
payload: DeclareContractPayload;
|
|
2448
2465
|
} | {
|
|
2449
|
-
type: TransactionType.DEPLOY_ACCOUNT;
|
|
2466
|
+
type: typeof TransactionType.DEPLOY_ACCOUNT;
|
|
2450
2467
|
payload: DeployAccountContractPayload;
|
|
2451
2468
|
} | {
|
|
2452
|
-
type: TransactionType.DEPLOY;
|
|
2469
|
+
type: typeof TransactionType.DEPLOY;
|
|
2453
2470
|
payload: UniversalDeployerContractPayload;
|
|
2454
2471
|
};
|
|
2455
2472
|
type StarkProfile = {
|
|
@@ -2461,25 +2478,28 @@ type StarkProfile = {
|
|
|
2461
2478
|
proofOfPersonhood?: boolean;
|
|
2462
2479
|
};
|
|
2463
2480
|
|
|
2464
|
-
declare
|
|
2465
|
-
DEPLOY
|
|
2466
|
-
CALL
|
|
2467
|
-
INVOKE
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2481
|
+
declare const ValidateType: {
|
|
2482
|
+
readonly DEPLOY: "DEPLOY";
|
|
2483
|
+
readonly CALL: "CALL";
|
|
2484
|
+
readonly INVOKE: "INVOKE";
|
|
2485
|
+
};
|
|
2486
|
+
type ValidateType = ValuesType<typeof ValidateType>;
|
|
2487
|
+
declare const Uint: {
|
|
2488
|
+
readonly u8: "core::integer::u8";
|
|
2489
|
+
readonly u16: "core::integer::u16";
|
|
2490
|
+
readonly u32: "core::integer::u32";
|
|
2491
|
+
readonly u64: "core::integer::u64";
|
|
2492
|
+
readonly u128: "core::integer::u128";
|
|
2493
|
+
readonly u256: "core::integer::u256";
|
|
2494
|
+
readonly u512: "core::integer::u512";
|
|
2495
|
+
};
|
|
2496
|
+
type Uint = ValuesType<typeof Uint>;
|
|
2497
|
+
declare const Literal: {
|
|
2498
|
+
readonly ClassHash: "core::starknet::class_hash::ClassHash";
|
|
2499
|
+
readonly ContractAddress: "core::starknet::contract_address::ContractAddress";
|
|
2500
|
+
readonly Secp256k1Point: "core::starknet::secp256k1::Secp256k1Point";
|
|
2501
|
+
};
|
|
2502
|
+
type Literal = ValuesType<typeof Literal>;
|
|
2483
2503
|
|
|
2484
2504
|
type AsyncContractFunction<T = any> = (...args: ArgsOrCalldataWithOptions) => Promise<T>;
|
|
2485
2505
|
type ContractFunction = (...args: ArgsOrCalldataWithOptions) => any;
|
|
@@ -2659,9 +2679,7 @@ type index$2_BigNumberish = BigNumberish;
|
|
|
2659
2679
|
type index$2_BlockIdentifier = BlockIdentifier;
|
|
2660
2680
|
type index$2_BlockNumber = BlockNumber;
|
|
2661
2681
|
type index$2_BlockStatus = BlockStatus;
|
|
2662
|
-
declare const index$2_BlockStatus: typeof BlockStatus;
|
|
2663
2682
|
type index$2_BlockTag = BlockTag;
|
|
2664
|
-
declare const index$2_BlockTag: typeof BlockTag;
|
|
2665
2683
|
type index$2_BlockWithTxHashes = BlockWithTxHashes;
|
|
2666
2684
|
type index$2_Builtins = Builtins;
|
|
2667
2685
|
type index$2_ByteArray = ByteArray;
|
|
@@ -2686,6 +2704,7 @@ type index$2_CompilerVersion = CompilerVersion;
|
|
|
2686
2704
|
type index$2_CompleteDeclareContractPayload = CompleteDeclareContractPayload;
|
|
2687
2705
|
type index$2_CompressedProgram = CompressedProgram;
|
|
2688
2706
|
type index$2_ContractClass = ContractClass;
|
|
2707
|
+
type index$2_ContractClassIdentifier = ContractClassIdentifier;
|
|
2689
2708
|
type index$2_ContractClassPayload = ContractClassPayload;
|
|
2690
2709
|
type index$2_ContractClassResponse = ContractClassResponse;
|
|
2691
2710
|
type index$2_ContractEntryPointFields = ContractEntryPointFields;
|
|
@@ -2708,7 +2727,6 @@ type index$2_DeployContractUDCResponse = DeployContractUDCResponse;
|
|
|
2708
2727
|
type index$2_DeployTransactionReceiptResponse = DeployTransactionReceiptResponse;
|
|
2709
2728
|
type index$2_Details = Details;
|
|
2710
2729
|
type index$2_EntryPointType = EntryPointType;
|
|
2711
|
-
declare const index$2_EntryPointType: typeof EntryPointType;
|
|
2712
2730
|
type index$2_EntryPointsByType = EntryPointsByType;
|
|
2713
2731
|
type index$2_EstimateFee = EstimateFee;
|
|
2714
2732
|
type index$2_EstimateFeeAction = EstimateFeeAction;
|
|
@@ -2737,7 +2755,6 @@ type index$2_LegacyCompiledContract = LegacyCompiledContract;
|
|
|
2737
2755
|
type index$2_LegacyContractClass = LegacyContractClass;
|
|
2738
2756
|
type index$2_LegacyEvent = LegacyEvent;
|
|
2739
2757
|
type index$2_Literal = Literal;
|
|
2740
|
-
declare const index$2_Literal: typeof Literal;
|
|
2741
2758
|
type index$2_MessageToL1 = MessageToL1;
|
|
2742
2759
|
type index$2_MultiDeployContractResponse = MultiDeployContractResponse;
|
|
2743
2760
|
type index$2_MultiType = MultiType;
|
|
@@ -2787,9 +2804,7 @@ type index$2_StateUpdateResponse = StateUpdateResponse;
|
|
|
2787
2804
|
type index$2_Storage = Storage;
|
|
2788
2805
|
type index$2_SuccessfulTransactionReceiptResponse = SuccessfulTransactionReceiptResponse;
|
|
2789
2806
|
type index$2_TransactionExecutionStatus = TransactionExecutionStatus;
|
|
2790
|
-
declare const index$2_TransactionExecutionStatus: typeof TransactionExecutionStatus;
|
|
2791
2807
|
type index$2_TransactionFinalityStatus = TransactionFinalityStatus;
|
|
2792
|
-
declare const index$2_TransactionFinalityStatus: typeof TransactionFinalityStatus;
|
|
2793
2808
|
type index$2_TransactionReceipt = TransactionReceipt;
|
|
2794
2809
|
type index$2_TransactionReceiptCallbacks = TransactionReceiptCallbacks;
|
|
2795
2810
|
type index$2_TransactionReceiptCallbacksDefault = TransactionReceiptCallbacksDefault;
|
|
@@ -2798,15 +2813,12 @@ type index$2_TransactionReceiptStatus = TransactionReceiptStatus;
|
|
|
2798
2813
|
type index$2_TransactionReceiptUtilityInterface = TransactionReceiptUtilityInterface;
|
|
2799
2814
|
type index$2_TransactionReceiptValue = TransactionReceiptValue;
|
|
2800
2815
|
type index$2_TransactionStatus = TransactionStatus;
|
|
2801
|
-
declare const index$2_TransactionStatus: typeof TransactionStatus;
|
|
2802
2816
|
type index$2_TransactionStatusReceiptSets = TransactionStatusReceiptSets;
|
|
2803
2817
|
type index$2_TransactionType = TransactionType;
|
|
2804
|
-
declare const index$2_TransactionType: typeof TransactionType;
|
|
2805
2818
|
type index$2_Tupled = Tupled;
|
|
2806
2819
|
declare const index$2_TypedData: typeof TypedData;
|
|
2807
2820
|
declare const index$2_TypedDataRevision: typeof TypedDataRevision;
|
|
2808
2821
|
type index$2_Uint = Uint;
|
|
2809
|
-
declare const index$2_Uint: typeof Uint;
|
|
2810
2822
|
type index$2_Uint256 = Uint256;
|
|
2811
2823
|
type index$2_Uint512 = Uint512;
|
|
2812
2824
|
type index$2_UniversalDeployerContractPayload = UniversalDeployerContractPayload;
|
|
@@ -2819,14 +2831,13 @@ type index$2_V3DeployAccountSignerDetails = V3DeployAccountSignerDetails;
|
|
|
2819
2831
|
type index$2_V3InvocationsSignerDetails = V3InvocationsSignerDetails;
|
|
2820
2832
|
type index$2_V3TransactionDetails = V3TransactionDetails;
|
|
2821
2833
|
type index$2_ValidateType = ValidateType;
|
|
2822
|
-
declare const index$2_ValidateType: typeof ValidateType;
|
|
2823
2834
|
type index$2_WeierstrassSignatureType = WeierstrassSignatureType;
|
|
2824
2835
|
type index$2_getContractVersionOptions = getContractVersionOptions;
|
|
2825
2836
|
type index$2_getEstimateFeeBulkOptions = getEstimateFeeBulkOptions;
|
|
2826
2837
|
type index$2_getSimulateTransactionOptions = getSimulateTransactionOptions;
|
|
2827
2838
|
type index$2_waitForTransactionOptions = waitForTransactionOptions;
|
|
2828
2839
|
declare namespace index$2 {
|
|
2829
|
-
export { type index$2_Abi as Abi, type index$2_AbiEntry as AbiEntry, type index$2_AbiEnum as AbiEnum, type index$2_AbiEnums as AbiEnums, type index$2_AbiEvent as AbiEvent, type index$2_AbiEvents as AbiEvents, type index$2_AbiInterfaces as AbiInterfaces, type index$2_AbiStruct as AbiStruct, type index$2_AbiStructs as AbiStructs, type index$2_AccountInvocationItem as AccountInvocationItem, type index$2_AccountInvocations as AccountInvocations, type index$2_AccountInvocationsFactoryDetails as AccountInvocationsFactoryDetails, type index$2_AllowArray as AllowArray, type index$2_Args as Args, type index$2_ArgsOrCalldata as ArgsOrCalldata, type index$2_ArgsOrCalldataWithOptions as ArgsOrCalldataWithOptions, type index$2_ArraySignatureType as ArraySignatureType, type index$2_AsyncContractFunction as AsyncContractFunction, type index$2_BigNumberish as BigNumberish, type Block$1 as Block, type index$2_BlockIdentifier as BlockIdentifier, type index$2_BlockNumber as BlockNumber, index$2_BlockStatus as BlockStatus, index$2_BlockTag as BlockTag, type index$2_BlockWithTxHashes as BlockWithTxHashes, type index$2_Builtins as Builtins, type index$2_ByteArray as ByteArray, type index$2_ByteCode as ByteCode, type index$2_CairoAssembly as CairoAssembly, type index$2_CairoContract as CairoContract, type index$2_CairoEnum as CairoEnum, type index$2_CairoEvent as CairoEvent, type index$2_CairoEventDefinition as CairoEventDefinition, type index$2_CairoEventVariant as CairoEventVariant, type index$2_CairoVersion as CairoVersion, type index$2_Call as Call, type index$2_CallContractResponse as CallContractResponse, type index$2_CallDetails as CallDetails, type index$2_CallOptions as CallOptions, type index$2_CallStruct as CallStruct, type index$2_Calldata as Calldata, type index$2_CompiledContract as CompiledContract, type index$2_CompiledSierra as CompiledSierra, type index$2_CompiledSierraCasm as CompiledSierraCasm, type index$2_CompilerVersion as CompilerVersion, type index$2_CompleteDeclareContractPayload as CompleteDeclareContractPayload, type index$2_CompressedProgram as CompressedProgram, type index$2_ContractClass as ContractClass, type index$2_ContractClassPayload as ContractClassPayload, type index$2_ContractClassResponse as ContractClassResponse, type index$2_ContractEntryPointFields as ContractEntryPointFields, type index$2_ContractFunction as ContractFunction, type index$2_ContractOptions as ContractOptions, type index$2_ContractVersion as ContractVersion, type index$2_DeclareAndDeployContractPayload as DeclareAndDeployContractPayload, type index$2_DeclareContractPayload as DeclareContractPayload, type index$2_DeclareContractResponse as DeclareContractResponse, type index$2_DeclareContractTransaction as DeclareContractTransaction, type index$2_DeclareDeployUDCResponse as DeclareDeployUDCResponse, type index$2_DeclareSignerDetails as DeclareSignerDetails, type index$2_DeclareTransactionReceiptResponse as DeclareTransactionReceiptResponse, type index$2_DeployAccountContractPayload as DeployAccountContractPayload, type index$2_DeployAccountContractTransaction as DeployAccountContractTransaction, type index$2_DeployAccountSignerDetails as DeployAccountSignerDetails, type index$2_DeployAccountTransactionReceiptResponse as DeployAccountTransactionReceiptResponse, type index$2_DeployContractResponse as DeployContractResponse, type index$2_DeployContractUDCResponse as DeployContractUDCResponse, type index$2_DeployTransactionReceiptResponse as DeployTransactionReceiptResponse, type index$2_Details as Details, index$2_EntryPointType as EntryPointType, type index$2_EntryPointsByType as EntryPointsByType, type index$2_EstimateFee as EstimateFee, type index$2_EstimateFeeAction as EstimateFeeAction, type index$2_EstimateFeeBulk as EstimateFeeBulk, type index$2_EstimateFeeDetails as EstimateFeeDetails, type index$2_EstimateFeeResponse as EstimateFeeResponse, type index$2_EstimateFeeResponseBulk as EstimateFeeResponseBulk, type index$2_EventEntry as EventEntry, type index$2_FeeEstimate as FeeEstimate, type index$2_FunctionAbi as FunctionAbi, type index$2_GetBlockResponse as GetBlockResponse, type index$2_GetTransactionResponse as GetTransactionResponse, type index$2_GetTxReceiptResponseWithoutHelper as GetTxReceiptResponseWithoutHelper, type index$2_HexCalldata as HexCalldata, type index$2_InterfaceAbi as InterfaceAbi, type index$2_Invocation as Invocation, type index$2_Invocations as Invocations, type index$2_InvocationsDetails as InvocationsDetails, type index$2_InvocationsDetailsWithNonce as InvocationsDetailsWithNonce, type index$2_InvocationsSignerDetails as InvocationsSignerDetails, type index$2_InvokeFunctionResponse as InvokeFunctionResponse, type index$2_InvokeOptions as InvokeOptions, type index$2_InvokeTransactionReceiptResponse as InvokeTransactionReceiptResponse, type index$2_L1HandlerTransactionReceiptResponse as L1HandlerTransactionReceiptResponse, type index$2_LegacyCompiledContract as LegacyCompiledContract, type index$2_LegacyContractClass as LegacyContractClass, type index$2_LegacyEvent as LegacyEvent, index$2_Literal as Literal, type index$2_MessageToL1 as MessageToL1, type index$2_MultiDeployContractResponse as MultiDeployContractResponse, type index$2_MultiType as MultiType, type index$2_Nonce as Nonce, type index$2_OptionalPayload as OptionalPayload, type index$2_OutsideCall as OutsideCall, type index$2_OutsideExecution as OutsideExecution, type index$2_OutsideExecutionOptions as OutsideExecutionOptions, index$2_OutsideExecutionTypesV1 as OutsideExecutionTypesV1, index$2_OutsideExecutionTypesV2 as OutsideExecutionTypesV2, index$2_OutsideExecutionVersion as OutsideExecutionVersion, type index$2_OutsideTransaction as OutsideTransaction, type index$2_ParsedEvent as ParsedEvent, type index$2_ParsedEvents as ParsedEvents, type index$2_ParsedStruct as ParsedStruct, type index$2_PendingBlock as PendingBlock, type index$2_PendingStateUpdate as PendingStateUpdate, type index$2_Program as Program, type index$2_ProviderOptions as ProviderOptions, type index$2_PythonicHints as PythonicHints, index$3 as RPC, type index$2_RawArgs as RawArgs, type index$2_RawArgsArray as RawArgsArray, type index$2_RawArgsObject as RawArgsObject, type index$2_RawCalldata as RawCalldata, type index$2_RejectedTransactionReceiptResponse as RejectedTransactionReceiptResponse, type index$2_Result as Result, type index$2_RevertedTransactionReceiptResponse as RevertedTransactionReceiptResponse, type index$2_RpcProviderOptions as RpcProviderOptions, type index$2_SIMULATION_FLAG as SIMULATION_FLAG, type index$2_SierraContractClass as SierraContractClass, type index$2_SierraContractEntryPointFields as SierraContractEntryPointFields, type index$2_SierraEntryPointsByType as SierraEntryPointsByType, type index$2_SierraProgramDebugInfo as SierraProgramDebugInfo, type index$2_Signature as Signature, type index$2_SimulateTransactionDetails as SimulateTransactionDetails, type index$2_SimulateTransactionResponse as SimulateTransactionResponse, type index$2_SimulatedTransaction as SimulatedTransaction, type index$2_SimulationFlags as SimulationFlags, type index$2_StarkProfile as StarkProfile, index$2_StarknetDomain as StarknetDomain, index$2_StarknetEnumType as StarknetEnumType, index$2_StarknetMerkleType as StarknetMerkleType, index$2_StarknetType as StarknetType, type index$2_StateUpdate as StateUpdate, type index$2_StateUpdateResponse as StateUpdateResponse, type index$2_Storage as Storage, type index$2_SuccessfulTransactionReceiptResponse as SuccessfulTransactionReceiptResponse, index$2_TransactionExecutionStatus as TransactionExecutionStatus, index$2_TransactionFinalityStatus as TransactionFinalityStatus, type index$2_TransactionReceipt as TransactionReceipt, type index$2_TransactionReceiptCallbacks as TransactionReceiptCallbacks, type index$2_TransactionReceiptCallbacksDefault as TransactionReceiptCallbacksDefault, type index$2_TransactionReceiptCallbacksDefined as TransactionReceiptCallbacksDefined, type index$2_TransactionReceiptStatus as TransactionReceiptStatus, type index$2_TransactionReceiptUtilityInterface as TransactionReceiptUtilityInterface, type index$2_TransactionReceiptValue as TransactionReceiptValue, index$2_TransactionStatus as TransactionStatus, type index$2_TransactionStatusReceiptSets as TransactionStatusReceiptSets, index$2_TransactionType as TransactionType, type index$2_Tupled as Tupled, index$2_TypedData as TypedData, index$2_TypedDataRevision as TypedDataRevision, index$2_Uint as Uint, type index$2_Uint256 as Uint256, type index$2_Uint512 as Uint512, type index$2_UniversalDeployerContractPayload as UniversalDeployerContractPayload, type index$2_UniversalDetails as UniversalDetails, type index$2_V2DeclareSignerDetails as V2DeclareSignerDetails, type index$2_V2DeployAccountSignerDetails as V2DeployAccountSignerDetails, type index$2_V2InvocationsSignerDetails as V2InvocationsSignerDetails, type index$2_V3DeclareSignerDetails as V3DeclareSignerDetails, type index$2_V3DeployAccountSignerDetails as V3DeployAccountSignerDetails, type index$2_V3InvocationsSignerDetails as V3InvocationsSignerDetails, type index$2_V3TransactionDetails as V3TransactionDetails, index$2_ValidateType as ValidateType, type index$2_WeierstrassSignatureType as WeierstrassSignatureType, type index$2_getContractVersionOptions as getContractVersionOptions, type index$2_getEstimateFeeBulkOptions as getEstimateFeeBulkOptions, type index$2_getSimulateTransactionOptions as getSimulateTransactionOptions, type index$2_waitForTransactionOptions as waitForTransactionOptions };
|
|
2840
|
+
export { type index$2_Abi as Abi, type index$2_AbiEntry as AbiEntry, type index$2_AbiEnum as AbiEnum, type index$2_AbiEnums as AbiEnums, type index$2_AbiEvent as AbiEvent, type index$2_AbiEvents as AbiEvents, type index$2_AbiInterfaces as AbiInterfaces, type index$2_AbiStruct as AbiStruct, type index$2_AbiStructs as AbiStructs, type index$2_AccountInvocationItem as AccountInvocationItem, type index$2_AccountInvocations as AccountInvocations, type index$2_AccountInvocationsFactoryDetails as AccountInvocationsFactoryDetails, type index$2_AllowArray as AllowArray, type index$2_Args as Args, type index$2_ArgsOrCalldata as ArgsOrCalldata, type index$2_ArgsOrCalldataWithOptions as ArgsOrCalldataWithOptions, type index$2_ArraySignatureType as ArraySignatureType, type index$2_AsyncContractFunction as AsyncContractFunction, type index$2_BigNumberish as BigNumberish, type Block$1 as Block, type index$2_BlockIdentifier as BlockIdentifier, type index$2_BlockNumber as BlockNumber, type index$2_BlockStatus as BlockStatus, type index$2_BlockTag as BlockTag, type index$2_BlockWithTxHashes as BlockWithTxHashes, type index$2_Builtins as Builtins, type index$2_ByteArray as ByteArray, type index$2_ByteCode as ByteCode, type index$2_CairoAssembly as CairoAssembly, type index$2_CairoContract as CairoContract, type index$2_CairoEnum as CairoEnum, type index$2_CairoEvent as CairoEvent, type index$2_CairoEventDefinition as CairoEventDefinition, type index$2_CairoEventVariant as CairoEventVariant, type index$2_CairoVersion as CairoVersion, type index$2_Call as Call, type index$2_CallContractResponse as CallContractResponse, type index$2_CallDetails as CallDetails, type index$2_CallOptions as CallOptions, type index$2_CallStruct as CallStruct, type index$2_Calldata as Calldata, type index$2_CompiledContract as CompiledContract, type index$2_CompiledSierra as CompiledSierra, type index$2_CompiledSierraCasm as CompiledSierraCasm, type index$2_CompilerVersion as CompilerVersion, type index$2_CompleteDeclareContractPayload as CompleteDeclareContractPayload, type index$2_CompressedProgram as CompressedProgram, type index$2_ContractClass as ContractClass, type index$2_ContractClassIdentifier as ContractClassIdentifier, type index$2_ContractClassPayload as ContractClassPayload, type index$2_ContractClassResponse as ContractClassResponse, type index$2_ContractEntryPointFields as ContractEntryPointFields, type index$2_ContractFunction as ContractFunction, type index$2_ContractOptions as ContractOptions, type index$2_ContractVersion as ContractVersion, type index$2_DeclareAndDeployContractPayload as DeclareAndDeployContractPayload, type index$2_DeclareContractPayload as DeclareContractPayload, type index$2_DeclareContractResponse as DeclareContractResponse, type index$2_DeclareContractTransaction as DeclareContractTransaction, type index$2_DeclareDeployUDCResponse as DeclareDeployUDCResponse, type index$2_DeclareSignerDetails as DeclareSignerDetails, type index$2_DeclareTransactionReceiptResponse as DeclareTransactionReceiptResponse, type index$2_DeployAccountContractPayload as DeployAccountContractPayload, type index$2_DeployAccountContractTransaction as DeployAccountContractTransaction, type index$2_DeployAccountSignerDetails as DeployAccountSignerDetails, type index$2_DeployAccountTransactionReceiptResponse as DeployAccountTransactionReceiptResponse, type index$2_DeployContractResponse as DeployContractResponse, type index$2_DeployContractUDCResponse as DeployContractUDCResponse, type index$2_DeployTransactionReceiptResponse as DeployTransactionReceiptResponse, type index$2_Details as Details, type index$2_EntryPointType as EntryPointType, type index$2_EntryPointsByType as EntryPointsByType, type index$2_EstimateFee as EstimateFee, type index$2_EstimateFeeAction as EstimateFeeAction, type index$2_EstimateFeeBulk as EstimateFeeBulk, type index$2_EstimateFeeDetails as EstimateFeeDetails, type index$2_EstimateFeeResponse as EstimateFeeResponse, type index$2_EstimateFeeResponseBulk as EstimateFeeResponseBulk, type index$2_EventEntry as EventEntry, type index$2_FeeEstimate as FeeEstimate, type index$2_FunctionAbi as FunctionAbi, type index$2_GetBlockResponse as GetBlockResponse, type index$2_GetTransactionResponse as GetTransactionResponse, type index$2_GetTxReceiptResponseWithoutHelper as GetTxReceiptResponseWithoutHelper, type index$2_HexCalldata as HexCalldata, type index$2_InterfaceAbi as InterfaceAbi, type index$2_Invocation as Invocation, type index$2_Invocations as Invocations, type index$2_InvocationsDetails as InvocationsDetails, type index$2_InvocationsDetailsWithNonce as InvocationsDetailsWithNonce, type index$2_InvocationsSignerDetails as InvocationsSignerDetails, type index$2_InvokeFunctionResponse as InvokeFunctionResponse, type index$2_InvokeOptions as InvokeOptions, type index$2_InvokeTransactionReceiptResponse as InvokeTransactionReceiptResponse, type index$2_L1HandlerTransactionReceiptResponse as L1HandlerTransactionReceiptResponse, type index$2_LegacyCompiledContract as LegacyCompiledContract, type index$2_LegacyContractClass as LegacyContractClass, type index$2_LegacyEvent as LegacyEvent, type index$2_Literal as Literal, type index$2_MessageToL1 as MessageToL1, type index$2_MultiDeployContractResponse as MultiDeployContractResponse, type index$2_MultiType as MultiType, type index$2_Nonce as Nonce, type index$2_OptionalPayload as OptionalPayload, type index$2_OutsideCall as OutsideCall, type index$2_OutsideExecution as OutsideExecution, type index$2_OutsideExecutionOptions as OutsideExecutionOptions, index$2_OutsideExecutionTypesV1 as OutsideExecutionTypesV1, index$2_OutsideExecutionTypesV2 as OutsideExecutionTypesV2, index$2_OutsideExecutionVersion as OutsideExecutionVersion, type index$2_OutsideTransaction as OutsideTransaction, type index$2_ParsedEvent as ParsedEvent, type index$2_ParsedEvents as ParsedEvents, type index$2_ParsedStruct as ParsedStruct, type index$2_PendingBlock as PendingBlock, type index$2_PendingStateUpdate as PendingStateUpdate, type index$2_Program as Program, type index$2_ProviderOptions as ProviderOptions, type index$2_PythonicHints as PythonicHints, index$3 as RPC, type index$2_RawArgs as RawArgs, type index$2_RawArgsArray as RawArgsArray, type index$2_RawArgsObject as RawArgsObject, type index$2_RawCalldata as RawCalldata, type index$2_RejectedTransactionReceiptResponse as RejectedTransactionReceiptResponse, type index$2_Result as Result, type index$2_RevertedTransactionReceiptResponse as RevertedTransactionReceiptResponse, type index$2_RpcProviderOptions as RpcProviderOptions, type index$2_SIMULATION_FLAG as SIMULATION_FLAG, type index$2_SierraContractClass as SierraContractClass, type index$2_SierraContractEntryPointFields as SierraContractEntryPointFields, type index$2_SierraEntryPointsByType as SierraEntryPointsByType, type index$2_SierraProgramDebugInfo as SierraProgramDebugInfo, type index$2_Signature as Signature, type index$2_SimulateTransactionDetails as SimulateTransactionDetails, type index$2_SimulateTransactionResponse as SimulateTransactionResponse, type index$2_SimulatedTransaction as SimulatedTransaction, type index$2_SimulationFlags as SimulationFlags, type index$2_StarkProfile as StarkProfile, index$2_StarknetDomain as StarknetDomain, index$2_StarknetEnumType as StarknetEnumType, index$2_StarknetMerkleType as StarknetMerkleType, index$2_StarknetType as StarknetType, type index$2_StateUpdate as StateUpdate, type index$2_StateUpdateResponse as StateUpdateResponse, type index$2_Storage as Storage, type index$2_SuccessfulTransactionReceiptResponse as SuccessfulTransactionReceiptResponse, type index$2_TransactionExecutionStatus as TransactionExecutionStatus, type index$2_TransactionFinalityStatus as TransactionFinalityStatus, type index$2_TransactionReceipt as TransactionReceipt, type index$2_TransactionReceiptCallbacks as TransactionReceiptCallbacks, type index$2_TransactionReceiptCallbacksDefault as TransactionReceiptCallbacksDefault, type index$2_TransactionReceiptCallbacksDefined as TransactionReceiptCallbacksDefined, type index$2_TransactionReceiptStatus as TransactionReceiptStatus, type index$2_TransactionReceiptUtilityInterface as TransactionReceiptUtilityInterface, type index$2_TransactionReceiptValue as TransactionReceiptValue, type index$2_TransactionStatus as TransactionStatus, type index$2_TransactionStatusReceiptSets as TransactionStatusReceiptSets, type index$2_TransactionType as TransactionType, type index$2_Tupled as Tupled, index$2_TypedData as TypedData, index$2_TypedDataRevision as TypedDataRevision, type index$2_Uint as Uint, type index$2_Uint256 as Uint256, type index$2_Uint512 as Uint512, type index$2_UniversalDeployerContractPayload as UniversalDeployerContractPayload, type index$2_UniversalDetails as UniversalDetails, type index$2_V2DeclareSignerDetails as V2DeclareSignerDetails, type index$2_V2DeployAccountSignerDetails as V2DeployAccountSignerDetails, type index$2_V2InvocationsSignerDetails as V2InvocationsSignerDetails, type index$2_V3DeclareSignerDetails as V3DeclareSignerDetails, type index$2_V3DeployAccountSignerDetails as V3DeployAccountSignerDetails, type index$2_V3InvocationsSignerDetails as V3InvocationsSignerDetails, type index$2_V3TransactionDetails as V3TransactionDetails, type index$2_ValidateType as ValidateType, type index$2_WeierstrassSignatureType as WeierstrassSignatureType, type index$2_getContractVersionOptions as getContractVersionOptions, type index$2_getEstimateFeeBulkOptions as getEstimateFeeBulkOptions, type index$2_getSimulateTransactionOptions as getSimulateTransactionOptions, type index$2_waitForTransactionOptions as waitForTransactionOptions };
|
|
2830
2841
|
}
|
|
2831
2842
|
|
|
2832
2843
|
declare class RpcChannel$1 {
|
|
@@ -3449,6 +3460,20 @@ declare class RpcProvider$1 implements ProviderInterface {
|
|
|
3449
3460
|
nokResponse: string[];
|
|
3450
3461
|
error: string[];
|
|
3451
3462
|
}): Promise<boolean>;
|
|
3463
|
+
/**
|
|
3464
|
+
* Test if class is already declared from ContractClassIdentifier
|
|
3465
|
+
* Helper method using getClass
|
|
3466
|
+
* @param ContractClassIdentifier
|
|
3467
|
+
* @param blockIdentifier
|
|
3468
|
+
*/
|
|
3469
|
+
isClassDeclared(contractClassIdentifier: ContractClassIdentifier, blockIdentifier?: BlockIdentifier): Promise<boolean>;
|
|
3470
|
+
/**
|
|
3471
|
+
* Build bulk invocations with auto-detect declared class
|
|
3472
|
+
* 1. Test if class is declared if not declare it preventing already declared class error and not declared class errors
|
|
3473
|
+
* 2. Order declarations first
|
|
3474
|
+
* @param invocations
|
|
3475
|
+
*/
|
|
3476
|
+
prepareInvocations(invocations: Invocations): Promise<Invocations>;
|
|
3452
3477
|
}
|
|
3453
3478
|
|
|
3454
3479
|
declare class StarknetId {
|
|
@@ -6298,10 +6323,10 @@ declare function useDecoded(encoded: bigint[]): string;
|
|
|
6298
6323
|
* ```
|
|
6299
6324
|
*/
|
|
6300
6325
|
declare function useEncoded(decoded: string): bigint;
|
|
6301
|
-
declare
|
|
6302
|
-
MAINNET
|
|
6303
|
-
TESTNET_SEPOLIA
|
|
6304
|
-
}
|
|
6326
|
+
declare const StarknetIdContract: {
|
|
6327
|
+
readonly MAINNET: "0x6ac597f8116f886fa1c97a23fa4e08299975ecaf6b598873ca6792b9bbfb678";
|
|
6328
|
+
readonly TESTNET_SEPOLIA: "0x154bc2e1af9260b9e66af0e9c46fc757ff893b3ff6a85718a810baf1474";
|
|
6329
|
+
};
|
|
6305
6330
|
/**
|
|
6306
6331
|
* Returns the Starknet ID contract address based on the provided chain ID.
|
|
6307
6332
|
*
|
|
@@ -6315,10 +6340,10 @@ declare enum StarknetIdContract {
|
|
|
6315
6340
|
* ```
|
|
6316
6341
|
*/
|
|
6317
6342
|
declare function getStarknetIdContract(chainId: StarknetChainId): string;
|
|
6318
|
-
declare
|
|
6319
|
-
MAINNET
|
|
6320
|
-
TESTNET_SEPOLIA
|
|
6321
|
-
}
|
|
6343
|
+
declare const StarknetIdIdentityContract: {
|
|
6344
|
+
readonly MAINNET: "0x05dbdedc203e92749e2e746e2d40a768d966bd243df04a6b712e222bc040a9af";
|
|
6345
|
+
readonly TESTNET_SEPOLIA: "0x3697660a0981d734780731949ecb2b4a38d6a58fc41629ed611e8defda";
|
|
6346
|
+
};
|
|
6322
6347
|
/**
|
|
6323
6348
|
* Returns the Starknet ID identity contract address for the given chain ID.
|
|
6324
6349
|
*
|
|
@@ -6348,10 +6373,10 @@ declare const StarknetIdMulticallContract = "0x034ffb8f4452df7a613a0210824d6414d
|
|
|
6348
6373
|
* ```
|
|
6349
6374
|
*/
|
|
6350
6375
|
declare function getStarknetIdMulticallContract(chainId: StarknetChainId): string;
|
|
6351
|
-
declare
|
|
6352
|
-
MAINNET
|
|
6353
|
-
TESTNET_SEPOLIA
|
|
6354
|
-
}
|
|
6376
|
+
declare const StarknetIdVerifierContract: {
|
|
6377
|
+
readonly MAINNET: "0x07d14dfd8ee95b41fce179170d88ba1f0d5a512e13aeb232f19cfeec0a88f8bf";
|
|
6378
|
+
readonly TESTNET_SEPOLIA: "0x60B94fEDe525f815AE5E8377A463e121C787cCCf3a36358Aa9B18c12c4D566";
|
|
6379
|
+
};
|
|
6355
6380
|
/**
|
|
6356
6381
|
* Returns the address of the Starknet ID Verifier contract based on the specified chain ID.
|
|
6357
6382
|
*
|
|
@@ -6365,10 +6390,10 @@ declare enum StarknetIdVerifierContract {
|
|
|
6365
6390
|
* ```
|
|
6366
6391
|
*/
|
|
6367
6392
|
declare function getStarknetIdVerifierContract(chainId: StarknetChainId): string;
|
|
6368
|
-
declare
|
|
6369
|
-
MAINNET
|
|
6370
|
-
TESTNET_SEPOLIA
|
|
6371
|
-
}
|
|
6393
|
+
declare const StarknetIdPfpContract: {
|
|
6394
|
+
readonly MAINNET: "0x070aaa20ec4a46da57c932d9fd89ca5e6bb9ca3188d3df361a32306aff7d59c7";
|
|
6395
|
+
readonly TESTNET_SEPOLIA: "0x9e7bdb8dabd02ea8cfc23b1d1c5278e46490f193f87516ed5ff2dfec02";
|
|
6396
|
+
};
|
|
6372
6397
|
/**
|
|
6373
6398
|
* Retrieves the contract address of the Starknet.id profile picture verifier contract based on the given chain ID.
|
|
6374
6399
|
*
|
|
@@ -6382,10 +6407,10 @@ declare enum StarknetIdPfpContract {
|
|
|
6382
6407
|
* ```
|
|
6383
6408
|
*/
|
|
6384
6409
|
declare function getStarknetIdPfpContract(chainId: StarknetChainId): string;
|
|
6385
|
-
declare
|
|
6386
|
-
MAINNET
|
|
6387
|
-
TESTNET_SEPOLIA
|
|
6388
|
-
}
|
|
6410
|
+
declare const StarknetIdPopContract: {
|
|
6411
|
+
readonly MAINNET: "0x0293eb2ba9862f762bd3036586d5755a782bd22e6f5028320f1d0405fd47bff4";
|
|
6412
|
+
readonly TESTNET_SEPOLIA: "0x15ae88ae054caa74090b89025c1595683f12edf7a4ed2ad0274de3e1d4a";
|
|
6413
|
+
};
|
|
6389
6414
|
/**
|
|
6390
6415
|
* Retrieves the Starknet ID Proof of Personhood (IdPop) verifier contract address for the given chain ID.
|
|
6391
6416
|
*
|
|
@@ -6455,16 +6480,11 @@ declare function dynamicFelt(hardcoded: BigNumberish | undefined, reference?: nu
|
|
|
6455
6480
|
*/
|
|
6456
6481
|
declare function dynamicCallData(hardcoded: BigNumberish | undefined, reference?: BigNumberish[] | undefined, arrayReference?: BigNumberish[] | undefined): CairoCustomEnum;
|
|
6457
6482
|
|
|
6458
|
-
type starknetId_StarknetIdContract = StarknetIdContract;
|
|
6459
6483
|
declare const starknetId_StarknetIdContract: typeof StarknetIdContract;
|
|
6460
|
-
type starknetId_StarknetIdIdentityContract = StarknetIdIdentityContract;
|
|
6461
6484
|
declare const starknetId_StarknetIdIdentityContract: typeof StarknetIdIdentityContract;
|
|
6462
6485
|
declare const starknetId_StarknetIdMulticallContract: typeof StarknetIdMulticallContract;
|
|
6463
|
-
type starknetId_StarknetIdPfpContract = StarknetIdPfpContract;
|
|
6464
6486
|
declare const starknetId_StarknetIdPfpContract: typeof StarknetIdPfpContract;
|
|
6465
|
-
type starknetId_StarknetIdPopContract = StarknetIdPopContract;
|
|
6466
6487
|
declare const starknetId_StarknetIdPopContract: typeof StarknetIdPopContract;
|
|
6467
|
-
type starknetId_StarknetIdVerifierContract = StarknetIdVerifierContract;
|
|
6468
6488
|
declare const starknetId_StarknetIdVerifierContract: typeof StarknetIdVerifierContract;
|
|
6469
6489
|
declare const starknetId_dynamicCallData: typeof dynamicCallData;
|
|
6470
6490
|
declare const starknetId_dynamicFelt: typeof dynamicFelt;
|
|
@@ -6552,7 +6572,7 @@ declare function parseContract(contract: CompiledContract | string): ContractCla
|
|
|
6552
6572
|
* ```
|
|
6553
6573
|
*/
|
|
6554
6574
|
declare const getDefaultNodeUrl: (networkName?: NetworkName, mute?: boolean) => string;
|
|
6555
|
-
declare const validBlockTags:
|
|
6575
|
+
declare const validBlockTags: ("latest" | "pending")[];
|
|
6556
6576
|
/**
|
|
6557
6577
|
* This class is formatting the identifier of a block.
|
|
6558
6578
|
*
|
|
@@ -7603,4 +7623,4 @@ declare namespace connect {
|
|
|
7603
7623
|
/** @deprecated prefer the 'num' naming */
|
|
7604
7624
|
declare const number: typeof num;
|
|
7605
7625
|
|
|
7606
|
-
export { type Abi, type AbiEntry, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, type AbiStruct, type AbiStructs, Account, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AllowArray, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockWithTxHashes, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint256, CairoUint512, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallStruct, type Calldata, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, ContractFactory, type ContractFactoryParams, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, CustomError, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransactionReceiptResponse, type Details, EntryPointType, type EntryPointsByType, type EstimateFee, type EstimateFeeAction, type EstimateFeeBulk, type EstimateFeeDetails, type EstimateFeeResponse, type EstimateFeeResponseBulk, EthSigner, type EventEntry, type FeeEstimate, type FunctionAbi, GatewayError, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, HttpError, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeOptions, type InvokeTransactionReceiptResponse, type L1HandlerTransactionReceiptResponse, LedgerSigner, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type MessageToL1, type MultiDeployContractResponse, type MultiType, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type ParsedEvent, type ParsedEvents, type ParsedStruct, type PendingBlock, type PendingStateUpdate, type Program, RpcProvider as Provider, ProviderInterface, type ProviderOptions, type PythonicHints, index$3 as RPC, rpc_0_6 as RPC06, rpc_0_7 as RPC07, RPCResponseParser, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, ReceiptTx, type RejectedTransactionReceiptResponse, ResponseParser, type Result, type RevertedTransactionReceiptResponse, RpcChannel, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type SimulateTransactionDetails, type SimulateTransactionResponse, type SimulatedTransaction, type SimulationFlags, type StarkProfile, type StateUpdate, type StateUpdateResponse, type Storage, type SuccessfulTransactionReceiptResponse, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptUtilityInterface, type TransactionReceiptValue, TransactionStatus, type TransactionStatusReceiptSets, TransactionType, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type V2DeclareSignerDetails, type V2DeployAccountSignerDetails, type V2InvocationsSignerDetails, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, type WeierstrassSignatureType, addAddressPadding, buildUrl, byteArray, cairo, constants, contractClassResponseToLegacyCompiledContract, defaultProvider, ec, encode, eth, index as events, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getLedgerPathBuffer, type getSimulateTransactionOptions, index$1 as hash, isSierra, isUrl, json, merkle, num, number, outsideExecution, parseCalldataField, provider, selector, shortString, splitArgsAndOptions, src5, stark, starknetId, transaction, typedData, index$2 as types, uint256$1 as uint256, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, type waitForTransactionOptions, connect as wallet };
|
|
7626
|
+
export { type Abi, type AbiEntry, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, type AbiStruct, type AbiStructs, Account, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AllowArray, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockWithTxHashes, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint256, CairoUint512, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallStruct, type Calldata, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, ContractFactory, type ContractFactoryParams, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, CustomError, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransactionReceiptResponse, type Details, EntryPointType, type EntryPointsByType, type EstimateFee, type EstimateFeeAction, type EstimateFeeBulk, type EstimateFeeDetails, type EstimateFeeResponse, type EstimateFeeResponseBulk, EthSigner, type EventEntry, type FeeEstimate, type FunctionAbi, GatewayError, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, HttpError, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeOptions, type InvokeTransactionReceiptResponse, type L1HandlerTransactionReceiptResponse, LedgerSigner, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type MessageToL1, type MultiDeployContractResponse, type MultiType, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type ParsedEvent, type ParsedEvents, type ParsedStruct, type PendingBlock, type PendingStateUpdate, type Program, RpcProvider as Provider, ProviderInterface, type ProviderOptions, type PythonicHints, index$3 as RPC, rpc_0_6 as RPC06, rpc_0_7 as RPC07, RPCResponseParser, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, ReceiptTx, type RejectedTransactionReceiptResponse, ResponseParser, type Result, type RevertedTransactionReceiptResponse, RpcChannel, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type SimulateTransactionDetails, type SimulateTransactionResponse, type SimulatedTransaction, type SimulationFlags, type StarkProfile, type StateUpdate, type StateUpdateResponse, type Storage, type SuccessfulTransactionReceiptResponse, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptUtilityInterface, type TransactionReceiptValue, TransactionStatus, type TransactionStatusReceiptSets, TransactionType, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type V2DeclareSignerDetails, type V2DeployAccountSignerDetails, type V2InvocationsSignerDetails, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, type WeierstrassSignatureType, addAddressPadding, buildUrl, byteArray, cairo, constants, contractClassResponseToLegacyCompiledContract, defaultProvider, ec, encode, eth, index as events, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getLedgerPathBuffer, type getSimulateTransactionOptions, index$1 as hash, isSierra, isUrl, json, merkle, num, number, outsideExecution, parseCalldataField, provider, selector, shortString, splitArgsAndOptions, src5, stark, starknetId, transaction, typedData, index$2 as types, uint256$1 as uint256, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, type waitForTransactionOptions, connect as wallet };
|