@usewhisk/cctp 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -35,6 +35,13 @@ declare function isStarknetNonceUsed(chain: StarknetChain, nonce: `0x${string}`,
|
|
|
35
35
|
*/
|
|
36
36
|
declare function isStellarNonceUsed(chain: StellarChain, nonce: `0x${string}`, options?: RpcOptions): Promise<boolean>;
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* The class hash of the contract at `address`, or `null` when nothing is
|
|
40
|
+
* deployed there. An account that has not been deployed yet still holds
|
|
41
|
+
* tokens sent to it, but only its owner's wallet can tell that it is one.
|
|
42
|
+
*/
|
|
43
|
+
declare function getStarknetClassHashAt(chain: StarknetChain, address: string, options?: RpcOptions): Promise<string | null>;
|
|
44
|
+
|
|
38
45
|
/** `pending` until the sequencer has accepted the transaction on L2. */
|
|
39
46
|
type StarknetTransactionStatus = {
|
|
40
47
|
state: "pending";
|
|
@@ -937,4 +944,4 @@ declare function parseTokenMessengerFeeRecipient(accountData: Uint8Array): Publi
|
|
|
937
944
|
*/
|
|
938
945
|
declare const VERSION = "0.1.0";
|
|
939
946
|
|
|
940
|
-
export { ANY_DESTINATION_CALLER$1 as ANY_DESTINATION_CALLER, Address, type BuildBurnIntentInput, type BuildBurnWithFeesIntentInput, type BuildMintIntentInput, type BuildSolanaBurnIntentInput, type BuildSolanaReceiveIntentInput, type BuildStarknetBurnIntentInput, type BuildStarknetReceiveIntentInput, type BuildStellarBurnIntentInput, type BuildStellarMintIntentInput, BurnFeeTier, type BurnIntent, type BurnWithFeesIntent, CCTP_FORWARD_HOOK_DATA, CCTP_FORWARD_HOOK_DATA_LENGTH, CctpChain, type ComputeMaxFeeInput, type ComputeMaxFeeResult, DISCRIMINATOR_DEPOSIT_FOR_BURN, DISCRIMINATOR_DEPOSIT_FOR_BURN_WITH_HOOK, DISCRIMINATOR_RECEIVE_MESSAGE, type DecodedBurnMessage, type EvmCall, EvmChain, FinalityThreshold, ForwarderFeeTier, type GetStandardMinFeeOptions, InvalidAddressError, InvalidBytes32Error, InvalidInputError, type MintIntent, type RpcOptions, ANY_DESTINATION_CALLER as SOLANA_ANY_DESTINATION_CALLER, SEEDS as SOLANA_CCTP_PDA_SEEDS, type SolanaBurnIntent, SolanaChain, type SolanaInstruction, type SolanaReceiveIntent, type StarknetBurnIntent, type StarknetCall, StarknetChain, StarknetFelt, type StarknetReceiveIntent, type StarknetTransactionStatus, type StellarBurnIntent, StellarChain, type StellarInvocation, type StellarMintIntent, type StellarStrkeyType, type TransactionStatus, VERSION, anchorDiscriminator, assertStarknetFelt, buildBurnIntent, buildBurnWithFeesIntent, buildForwarderHookData, buildMintIntent, buildSolanaBurnIntent, buildSolanaReceiveIntent, buildStarknetApproveCall, buildStarknetBurnIntent, buildStarknetReceiveIntent, buildStellarApproveInvocation, buildStellarBurnIntent, buildStellarForwarderHookData, buildStellarMintIntent, burnIntentToTransactionInstruction, bytes32HexToFelt, bytesToByteArrayFelts, canonicalToStellarSubunits, computeBurnFee, computeMaxFee, contractStrkeyToBytes32Hex, decodeBurnMessage, decodeStrkeyToBytes32, deriveCustodyTokenAccount, deriveDenylistAccount, deriveEventAuthority, deriveLocalToken, deriveMessageTransmitter, deriveMessageTransmitterAuthority, deriveRemoteTokenMessenger, deriveSenderAuthority, deriveTokenMessenger, deriveTokenMinter, deriveTokenPair, deriveUsedNonce, encodeContractStrkey, feltToBigInt, feltToBytes32Hex, fromBytes32, getBlockNumber, getGasPrice, getStandardMinFee, getStarknetTransactionStatus, getTransactionStatus, getUsdcBalance, hexToByteArrayFelts, isAddress, isForwarderHookData, isNonceUsed, isStarknetNonceUsed, isStellarNonceUsed, isValidStarknetFelt, isValidStellarStrkey, parseFeeBps, parseForwarderFee, parseTokenMessengerFeeRecipient, receiveIntentToTransactionInstruction, selectForwarderFee, feltToString as starknetFeltToString, stellarBurnDust, stellarSubunitsToCanonical, strkeyTo32Bytes, strkeyType, toBytes32, tryFromBytes32, u256ToFelts };
|
|
947
|
+
export { ANY_DESTINATION_CALLER$1 as ANY_DESTINATION_CALLER, Address, type BuildBurnIntentInput, type BuildBurnWithFeesIntentInput, type BuildMintIntentInput, type BuildSolanaBurnIntentInput, type BuildSolanaReceiveIntentInput, type BuildStarknetBurnIntentInput, type BuildStarknetReceiveIntentInput, type BuildStellarBurnIntentInput, type BuildStellarMintIntentInput, BurnFeeTier, type BurnIntent, type BurnWithFeesIntent, CCTP_FORWARD_HOOK_DATA, CCTP_FORWARD_HOOK_DATA_LENGTH, CctpChain, type ComputeMaxFeeInput, type ComputeMaxFeeResult, DISCRIMINATOR_DEPOSIT_FOR_BURN, DISCRIMINATOR_DEPOSIT_FOR_BURN_WITH_HOOK, DISCRIMINATOR_RECEIVE_MESSAGE, type DecodedBurnMessage, type EvmCall, EvmChain, FinalityThreshold, ForwarderFeeTier, type GetStandardMinFeeOptions, InvalidAddressError, InvalidBytes32Error, InvalidInputError, type MintIntent, type RpcOptions, ANY_DESTINATION_CALLER as SOLANA_ANY_DESTINATION_CALLER, SEEDS as SOLANA_CCTP_PDA_SEEDS, type SolanaBurnIntent, SolanaChain, type SolanaInstruction, type SolanaReceiveIntent, type StarknetBurnIntent, type StarknetCall, StarknetChain, StarknetFelt, type StarknetReceiveIntent, type StarknetTransactionStatus, type StellarBurnIntent, StellarChain, type StellarInvocation, type StellarMintIntent, type StellarStrkeyType, type TransactionStatus, VERSION, anchorDiscriminator, assertStarknetFelt, buildBurnIntent, buildBurnWithFeesIntent, buildForwarderHookData, buildMintIntent, buildSolanaBurnIntent, buildSolanaReceiveIntent, buildStarknetApproveCall, buildStarknetBurnIntent, buildStarknetReceiveIntent, buildStellarApproveInvocation, buildStellarBurnIntent, buildStellarForwarderHookData, buildStellarMintIntent, burnIntentToTransactionInstruction, bytes32HexToFelt, bytesToByteArrayFelts, canonicalToStellarSubunits, computeBurnFee, computeMaxFee, contractStrkeyToBytes32Hex, decodeBurnMessage, decodeStrkeyToBytes32, deriveCustodyTokenAccount, deriveDenylistAccount, deriveEventAuthority, deriveLocalToken, deriveMessageTransmitter, deriveMessageTransmitterAuthority, deriveRemoteTokenMessenger, deriveSenderAuthority, deriveTokenMessenger, deriveTokenMinter, deriveTokenPair, deriveUsedNonce, encodeContractStrkey, feltToBigInt, feltToBytes32Hex, fromBytes32, getBlockNumber, getGasPrice, getStandardMinFee, getStarknetClassHashAt, getStarknetTransactionStatus, getTransactionStatus, getUsdcBalance, hexToByteArrayFelts, isAddress, isForwarderHookData, isNonceUsed, isStarknetNonceUsed, isStellarNonceUsed, isValidStarknetFelt, isValidStellarStrkey, parseFeeBps, parseForwarderFee, parseTokenMessengerFeeRecipient, receiveIntentToTransactionInstruction, selectForwarderFee, feltToString as starknetFeltToString, stellarBurnDust, stellarSubunitsToCanonical, strkeyTo32Bytes, strkeyType, toBytes32, tryFromBytes32, u256ToFelts };
|
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,13 @@ declare function isStarknetNonceUsed(chain: StarknetChain, nonce: `0x${string}`,
|
|
|
35
35
|
*/
|
|
36
36
|
declare function isStellarNonceUsed(chain: StellarChain, nonce: `0x${string}`, options?: RpcOptions): Promise<boolean>;
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* The class hash of the contract at `address`, or `null` when nothing is
|
|
40
|
+
* deployed there. An account that has not been deployed yet still holds
|
|
41
|
+
* tokens sent to it, but only its owner's wallet can tell that it is one.
|
|
42
|
+
*/
|
|
43
|
+
declare function getStarknetClassHashAt(chain: StarknetChain, address: string, options?: RpcOptions): Promise<string | null>;
|
|
44
|
+
|
|
38
45
|
/** `pending` until the sequencer has accepted the transaction on L2. */
|
|
39
46
|
type StarknetTransactionStatus = {
|
|
40
47
|
state: "pending";
|
|
@@ -937,4 +944,4 @@ declare function parseTokenMessengerFeeRecipient(accountData: Uint8Array): Publi
|
|
|
937
944
|
*/
|
|
938
945
|
declare const VERSION = "0.1.0";
|
|
939
946
|
|
|
940
|
-
export { ANY_DESTINATION_CALLER$1 as ANY_DESTINATION_CALLER, Address, type BuildBurnIntentInput, type BuildBurnWithFeesIntentInput, type BuildMintIntentInput, type BuildSolanaBurnIntentInput, type BuildSolanaReceiveIntentInput, type BuildStarknetBurnIntentInput, type BuildStarknetReceiveIntentInput, type BuildStellarBurnIntentInput, type BuildStellarMintIntentInput, BurnFeeTier, type BurnIntent, type BurnWithFeesIntent, CCTP_FORWARD_HOOK_DATA, CCTP_FORWARD_HOOK_DATA_LENGTH, CctpChain, type ComputeMaxFeeInput, type ComputeMaxFeeResult, DISCRIMINATOR_DEPOSIT_FOR_BURN, DISCRIMINATOR_DEPOSIT_FOR_BURN_WITH_HOOK, DISCRIMINATOR_RECEIVE_MESSAGE, type DecodedBurnMessage, type EvmCall, EvmChain, FinalityThreshold, ForwarderFeeTier, type GetStandardMinFeeOptions, InvalidAddressError, InvalidBytes32Error, InvalidInputError, type MintIntent, type RpcOptions, ANY_DESTINATION_CALLER as SOLANA_ANY_DESTINATION_CALLER, SEEDS as SOLANA_CCTP_PDA_SEEDS, type SolanaBurnIntent, SolanaChain, type SolanaInstruction, type SolanaReceiveIntent, type StarknetBurnIntent, type StarknetCall, StarknetChain, StarknetFelt, type StarknetReceiveIntent, type StarknetTransactionStatus, type StellarBurnIntent, StellarChain, type StellarInvocation, type StellarMintIntent, type StellarStrkeyType, type TransactionStatus, VERSION, anchorDiscriminator, assertStarknetFelt, buildBurnIntent, buildBurnWithFeesIntent, buildForwarderHookData, buildMintIntent, buildSolanaBurnIntent, buildSolanaReceiveIntent, buildStarknetApproveCall, buildStarknetBurnIntent, buildStarknetReceiveIntent, buildStellarApproveInvocation, buildStellarBurnIntent, buildStellarForwarderHookData, buildStellarMintIntent, burnIntentToTransactionInstruction, bytes32HexToFelt, bytesToByteArrayFelts, canonicalToStellarSubunits, computeBurnFee, computeMaxFee, contractStrkeyToBytes32Hex, decodeBurnMessage, decodeStrkeyToBytes32, deriveCustodyTokenAccount, deriveDenylistAccount, deriveEventAuthority, deriveLocalToken, deriveMessageTransmitter, deriveMessageTransmitterAuthority, deriveRemoteTokenMessenger, deriveSenderAuthority, deriveTokenMessenger, deriveTokenMinter, deriveTokenPair, deriveUsedNonce, encodeContractStrkey, feltToBigInt, feltToBytes32Hex, fromBytes32, getBlockNumber, getGasPrice, getStandardMinFee, getStarknetTransactionStatus, getTransactionStatus, getUsdcBalance, hexToByteArrayFelts, isAddress, isForwarderHookData, isNonceUsed, isStarknetNonceUsed, isStellarNonceUsed, isValidStarknetFelt, isValidStellarStrkey, parseFeeBps, parseForwarderFee, parseTokenMessengerFeeRecipient, receiveIntentToTransactionInstruction, selectForwarderFee, feltToString as starknetFeltToString, stellarBurnDust, stellarSubunitsToCanonical, strkeyTo32Bytes, strkeyType, toBytes32, tryFromBytes32, u256ToFelts };
|
|
947
|
+
export { ANY_DESTINATION_CALLER$1 as ANY_DESTINATION_CALLER, Address, type BuildBurnIntentInput, type BuildBurnWithFeesIntentInput, type BuildMintIntentInput, type BuildSolanaBurnIntentInput, type BuildSolanaReceiveIntentInput, type BuildStarknetBurnIntentInput, type BuildStarknetReceiveIntentInput, type BuildStellarBurnIntentInput, type BuildStellarMintIntentInput, BurnFeeTier, type BurnIntent, type BurnWithFeesIntent, CCTP_FORWARD_HOOK_DATA, CCTP_FORWARD_HOOK_DATA_LENGTH, CctpChain, type ComputeMaxFeeInput, type ComputeMaxFeeResult, DISCRIMINATOR_DEPOSIT_FOR_BURN, DISCRIMINATOR_DEPOSIT_FOR_BURN_WITH_HOOK, DISCRIMINATOR_RECEIVE_MESSAGE, type DecodedBurnMessage, type EvmCall, EvmChain, FinalityThreshold, ForwarderFeeTier, type GetStandardMinFeeOptions, InvalidAddressError, InvalidBytes32Error, InvalidInputError, type MintIntent, type RpcOptions, ANY_DESTINATION_CALLER as SOLANA_ANY_DESTINATION_CALLER, SEEDS as SOLANA_CCTP_PDA_SEEDS, type SolanaBurnIntent, SolanaChain, type SolanaInstruction, type SolanaReceiveIntent, type StarknetBurnIntent, type StarknetCall, StarknetChain, StarknetFelt, type StarknetReceiveIntent, type StarknetTransactionStatus, type StellarBurnIntent, StellarChain, type StellarInvocation, type StellarMintIntent, type StellarStrkeyType, type TransactionStatus, VERSION, anchorDiscriminator, assertStarknetFelt, buildBurnIntent, buildBurnWithFeesIntent, buildForwarderHookData, buildMintIntent, buildSolanaBurnIntent, buildSolanaReceiveIntent, buildStarknetApproveCall, buildStarknetBurnIntent, buildStarknetReceiveIntent, buildStellarApproveInvocation, buildStellarBurnIntent, buildStellarForwarderHookData, buildStellarMintIntent, burnIntentToTransactionInstruction, bytes32HexToFelt, bytesToByteArrayFelts, canonicalToStellarSubunits, computeBurnFee, computeMaxFee, contractStrkeyToBytes32Hex, decodeBurnMessage, decodeStrkeyToBytes32, deriveCustodyTokenAccount, deriveDenylistAccount, deriveEventAuthority, deriveLocalToken, deriveMessageTransmitter, deriveMessageTransmitterAuthority, deriveRemoteTokenMessenger, deriveSenderAuthority, deriveTokenMessenger, deriveTokenMinter, deriveTokenPair, deriveUsedNonce, encodeContractStrkey, feltToBigInt, feltToBytes32Hex, fromBytes32, getBlockNumber, getGasPrice, getStandardMinFee, getStarknetClassHashAt, getStarknetTransactionStatus, getTransactionStatus, getUsdcBalance, hexToByteArrayFelts, isAddress, isForwarderHookData, isNonceUsed, isStarknetNonceUsed, isStellarNonceUsed, isValidStarknetFelt, isValidStellarStrkey, parseFeeBps, parseForwarderFee, parseTokenMessengerFeeRecipient, receiveIntentToTransactionInstruction, selectForwarderFee, feltToString as starknetFeltToString, stellarBurnDust, stellarSubunitsToCanonical, strkeyTo32Bytes, strkeyType, toBytes32, tryFromBytes32, u256ToFelts };
|
package/dist/index.js
CHANGED
|
@@ -2491,6 +2491,20 @@ async function isStellarNonceUsed(chain, nonce, options = {}) {
|
|
|
2491
2491
|
);
|
|
2492
2492
|
}
|
|
2493
2493
|
|
|
2494
|
+
// src/rpc/starknetClass.ts
|
|
2495
|
+
var CONTRACT_NOT_FOUND = 20;
|
|
2496
|
+
var FELT = /^0x[0-9a-fA-F]{1,64}$/;
|
|
2497
|
+
async function getStarknetClassHashAt(chain, address, options = {}) {
|
|
2498
|
+
return callRpc(
|
|
2499
|
+
chain,
|
|
2500
|
+
"starknet_getClassHashAt",
|
|
2501
|
+
{ block_id: "latest", contract_address: address },
|
|
2502
|
+
(r) => typeof r === "string" && FELT.test(r) ? r : void 0,
|
|
2503
|
+
options,
|
|
2504
|
+
(code) => code === CONTRACT_NOT_FOUND ? null : void 0
|
|
2505
|
+
);
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2494
2508
|
// src/rpc/starknetTx.ts
|
|
2495
2509
|
var TXN_HASH_NOT_FOUND = 29;
|
|
2496
2510
|
var ACCEPTED = /* @__PURE__ */ new Set(["ACCEPTED_ON_L2", "ACCEPTED_ON_L1"]);
|
|
@@ -3780,6 +3794,6 @@ function parseTokenMessengerFeeRecipient(accountData) {
|
|
|
3780
3794
|
// src/index.ts
|
|
3781
3795
|
var VERSION2 = "0.1.0";
|
|
3782
3796
|
|
|
3783
|
-
export { ANY_DESTINATION_CALLER, Arbitrum, ArbitrumSepolia, Arc, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, CCTP_FORWARDER_STELLAR_MAINNET, CCTP_FORWARDER_STELLAR_TESTNET, CCTP_FORWARD_HOOK_DATA, CCTP_FORWARD_HOOK_DATA_LENGTH, CCTP_USDC_DECIMALS, CHAINS, CctpError, Codex, CodexTestnet, Cronos, CronosTestnet, DISCRIMINATOR_DEPOSIT_FOR_BURN, DISCRIMINATOR_DEPOSIT_FOR_BURN_WITH_HOOK, DISCRIMINATOR_RECEIVE_MESSAGE, EVM_MAINNET_CHAINS, EVM_TESTNET_CHAINS, Edge, EdgeTestnet, Ethereum, EthereumSepolia, FINALITY_FAST, FINALITY_STANDARD, HyperEVM, HyperEVMTestnet, IRIS_MAINNET_URL, IRIS_SANDBOX_URL, Injective, InjectiveTestnet, Ink, InkTestnet, InvalidAddressError, InvalidBytes32Error, InvalidInputError, IrisAbortedError, IrisError, IrisHttpError, IrisNetworkError, IrisParseError, IrisRateLimitedError, Linea, LineaSepolia, MESSAGE_TRANSMITTER_STELLAR_MAINNET, MESSAGE_TRANSMITTER_STELLAR_TESTNET, MESSAGE_TRANSMITTER_V2_EVM_MAINNET, MESSAGE_TRANSMITTER_V2_EVM_TESTNET, MESSAGE_TRANSMITTER_V2_SOLANA, MESSAGE_TRANSMITTER_V2_STARKNET_MAINNET, MESSAGE_TRANSMITTER_V2_STARKNET_SEPOLIA, Monad, MonadTestnet, Morph, MorphTestnet, Optimism, OptimismSepolia, Pharos, PharosTestnet, Plasma, PlasmaTestnet, Plume, PlumeTestnet, Polygon, PolygonAmoyTestnet, ProtocolError, ANY_DESTINATION_CALLER2 as SOLANA_ANY_DESTINATION_CALLER, SOLANA_CCTP_DOMAIN, SEEDS as SOLANA_CCTP_PDA_SEEDS, STARKNET_CCTP_DOMAIN, STARKNET_CHAIN_ID_MAINNET, STARKNET_CHAIN_ID_SEPOLIA, STELLAR_CCTP_DOMAIN, STELLAR_NETWORK_PASSPHRASE_MAINNET, STELLAR_NETWORK_PASSPHRASE_TESTNET, STELLAR_USDC_DECIMALS, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Starknet, StarknetSepolia, Stellar, StellarTestnet, TOKEN_MESSENGER_MINTER_STELLAR_MAINNET, TOKEN_MESSENGER_MINTER_STELLAR_TESTNET, TOKEN_MESSENGER_MINTER_V2_SOLANA, TOKEN_MESSENGER_MINTER_V2_STARKNET_MAINNET, TOKEN_MESSENGER_MINTER_V2_STARKNET_SEPOLIA, TOKEN_MESSENGER_V2_EVM_MAINNET, TOKEN_MESSENGER_V2_EVM_TESTNET, TOKEN_MESSENGER_WITH_FEES_EVM_MAINNET, TOKEN_MESSENGER_WITH_FEES_EVM_TESTNET, USDC_ISSUER_STELLAR_MAINNET, USDC_ISSUER_STELLAR_TESTNET, USDC_SPL_DEVNET, USDC_SPL_MAINNET, USDC_STARKNET_MAINNET, USDC_STARKNET_SEPOLIA, Unichain, UnichainSepolia, UnknownChainError, UnsupportedError, VERSION2 as VERSION, WorldChain, WorldChainSepolia, XDC, XDCApothem, XLayer, XLayerTestnet, anchorDiscriminator, assertStarknetFelt, attestationSeconds, buildBurnIntent, buildBurnWithFeesIntent, buildForwarderHookData, buildMintIntent, buildSolanaBurnIntent, buildSolanaReceiveIntent, buildStarknetApproveCall, buildStarknetBurnIntent, buildStarknetReceiveIntent, buildStellarApproveInvocation, buildStellarBurnIntent, buildStellarForwarderHookData, buildStellarMintIntent, burnIntentToTransactionInstruction, bytes32HexToFelt, bytesToByteArrayFelts, canonicalToStellarSubunits, chainByDomain, chainByEvmChainId, chainsByNetwork, computeBurnFee, computeMaxFee, contractStrkeyToBytes32Hex, createIrisLimiter, decodeBurnMessage, decodeStrkeyToBytes32, defaultIrisLimiter, deriveCustodyTokenAccount, deriveDenylistAccount, deriveEventAuthority, deriveLocalToken, deriveMessageTransmitter, deriveMessageTransmitterAuthority, deriveRemoteTokenMessenger, deriveSenderAuthority, deriveTokenMessenger, deriveTokenMinter, deriveTokenPair, deriveUsedNonce, encodeContractStrkey, explorerAddressUrl, explorerTxUrl, feltToBigInt, feltToBytes32Hex, fetchIrisJson, fromBytes32, getBlockNumber, getBurnFees, getChain, getFastBurnAllowance, getGasPrice, getMessages, getSignedBurnQuote, getStandardMinFee, getStarknetTransactionStatus, getTransactionStatus, getUsdcBalance, hexToByteArrayFelts, irisBaseUrl, isAddress, isCctpError, isChainId, isEvmChain, isForwardDone, isForwarderHookData, isNonceUsed, isSolanaChain, isStarknetChain, isStarknetNonceUsed, isStellarChain, isStellarNonceUsed, isValidStarknetFelt, isValidStellarStrkey, messageTransmitterV2Abi, parseFeeBps, parseForwarderFee, parseTokenMessengerFeeRecipient, pickFeeTier, pickForwarderFee, pollBudget, pollMessages, reattest, receiveIntentToTransactionInstruction, selectForwarderFee, feltToString as starknetFeltToString, stellarBurnDust, stellarSubunitsToCanonical, strkeyTo32Bytes, strkeyType, toBytes32, tokenMessengerV2Abi, tokenMessengerWithFeesAbi, tryChainByEvmChainId, tryFromBytes32, u256ToFelts, usdcAbi };
|
|
3797
|
+
export { ANY_DESTINATION_CALLER, Arbitrum, ArbitrumSepolia, Arc, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, CCTP_FORWARDER_STELLAR_MAINNET, CCTP_FORWARDER_STELLAR_TESTNET, CCTP_FORWARD_HOOK_DATA, CCTP_FORWARD_HOOK_DATA_LENGTH, CCTP_USDC_DECIMALS, CHAINS, CctpError, Codex, CodexTestnet, Cronos, CronosTestnet, DISCRIMINATOR_DEPOSIT_FOR_BURN, DISCRIMINATOR_DEPOSIT_FOR_BURN_WITH_HOOK, DISCRIMINATOR_RECEIVE_MESSAGE, EVM_MAINNET_CHAINS, EVM_TESTNET_CHAINS, Edge, EdgeTestnet, Ethereum, EthereumSepolia, FINALITY_FAST, FINALITY_STANDARD, HyperEVM, HyperEVMTestnet, IRIS_MAINNET_URL, IRIS_SANDBOX_URL, Injective, InjectiveTestnet, Ink, InkTestnet, InvalidAddressError, InvalidBytes32Error, InvalidInputError, IrisAbortedError, IrisError, IrisHttpError, IrisNetworkError, IrisParseError, IrisRateLimitedError, Linea, LineaSepolia, MESSAGE_TRANSMITTER_STELLAR_MAINNET, MESSAGE_TRANSMITTER_STELLAR_TESTNET, MESSAGE_TRANSMITTER_V2_EVM_MAINNET, MESSAGE_TRANSMITTER_V2_EVM_TESTNET, MESSAGE_TRANSMITTER_V2_SOLANA, MESSAGE_TRANSMITTER_V2_STARKNET_MAINNET, MESSAGE_TRANSMITTER_V2_STARKNET_SEPOLIA, Monad, MonadTestnet, Morph, MorphTestnet, Optimism, OptimismSepolia, Pharos, PharosTestnet, Plasma, PlasmaTestnet, Plume, PlumeTestnet, Polygon, PolygonAmoyTestnet, ProtocolError, ANY_DESTINATION_CALLER2 as SOLANA_ANY_DESTINATION_CALLER, SOLANA_CCTP_DOMAIN, SEEDS as SOLANA_CCTP_PDA_SEEDS, STARKNET_CCTP_DOMAIN, STARKNET_CHAIN_ID_MAINNET, STARKNET_CHAIN_ID_SEPOLIA, STELLAR_CCTP_DOMAIN, STELLAR_NETWORK_PASSPHRASE_MAINNET, STELLAR_NETWORK_PASSPHRASE_TESTNET, STELLAR_USDC_DECIMALS, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Starknet, StarknetSepolia, Stellar, StellarTestnet, TOKEN_MESSENGER_MINTER_STELLAR_MAINNET, TOKEN_MESSENGER_MINTER_STELLAR_TESTNET, TOKEN_MESSENGER_MINTER_V2_SOLANA, TOKEN_MESSENGER_MINTER_V2_STARKNET_MAINNET, TOKEN_MESSENGER_MINTER_V2_STARKNET_SEPOLIA, TOKEN_MESSENGER_V2_EVM_MAINNET, TOKEN_MESSENGER_V2_EVM_TESTNET, TOKEN_MESSENGER_WITH_FEES_EVM_MAINNET, TOKEN_MESSENGER_WITH_FEES_EVM_TESTNET, USDC_ISSUER_STELLAR_MAINNET, USDC_ISSUER_STELLAR_TESTNET, USDC_SPL_DEVNET, USDC_SPL_MAINNET, USDC_STARKNET_MAINNET, USDC_STARKNET_SEPOLIA, Unichain, UnichainSepolia, UnknownChainError, UnsupportedError, VERSION2 as VERSION, WorldChain, WorldChainSepolia, XDC, XDCApothem, XLayer, XLayerTestnet, anchorDiscriminator, assertStarknetFelt, attestationSeconds, buildBurnIntent, buildBurnWithFeesIntent, buildForwarderHookData, buildMintIntent, buildSolanaBurnIntent, buildSolanaReceiveIntent, buildStarknetApproveCall, buildStarknetBurnIntent, buildStarknetReceiveIntent, buildStellarApproveInvocation, buildStellarBurnIntent, buildStellarForwarderHookData, buildStellarMintIntent, burnIntentToTransactionInstruction, bytes32HexToFelt, bytesToByteArrayFelts, canonicalToStellarSubunits, chainByDomain, chainByEvmChainId, chainsByNetwork, computeBurnFee, computeMaxFee, contractStrkeyToBytes32Hex, createIrisLimiter, decodeBurnMessage, decodeStrkeyToBytes32, defaultIrisLimiter, deriveCustodyTokenAccount, deriveDenylistAccount, deriveEventAuthority, deriveLocalToken, deriveMessageTransmitter, deriveMessageTransmitterAuthority, deriveRemoteTokenMessenger, deriveSenderAuthority, deriveTokenMessenger, deriveTokenMinter, deriveTokenPair, deriveUsedNonce, encodeContractStrkey, explorerAddressUrl, explorerTxUrl, feltToBigInt, feltToBytes32Hex, fetchIrisJson, fromBytes32, getBlockNumber, getBurnFees, getChain, getFastBurnAllowance, getGasPrice, getMessages, getSignedBurnQuote, getStandardMinFee, getStarknetClassHashAt, getStarknetTransactionStatus, getTransactionStatus, getUsdcBalance, hexToByteArrayFelts, irisBaseUrl, isAddress, isCctpError, isChainId, isEvmChain, isForwardDone, isForwarderHookData, isNonceUsed, isSolanaChain, isStarknetChain, isStarknetNonceUsed, isStellarChain, isStellarNonceUsed, isValidStarknetFelt, isValidStellarStrkey, messageTransmitterV2Abi, parseFeeBps, parseForwarderFee, parseTokenMessengerFeeRecipient, pickFeeTier, pickForwarderFee, pollBudget, pollMessages, reattest, receiveIntentToTransactionInstruction, selectForwarderFee, feltToString as starknetFeltToString, stellarBurnDust, stellarSubunitsToCanonical, strkeyTo32Bytes, strkeyType, toBytes32, tokenMessengerV2Abi, tokenMessengerWithFeesAbi, tryChainByEvmChainId, tryFromBytes32, u256ToFelts, usdcAbi };
|
|
3784
3798
|
//# sourceMappingURL=index.js.map
|
|
3785
3799
|
//# sourceMappingURL=index.js.map
|