@wormhole-foundation/sdk-base
Advanced tools
Comparing version 1.3.0-beta.1 to 1.3.0-beta.2
@@ -1,3 +0,3 @@ | ||
import type { Column, Flatten } from "./../utils/index.js"; | ||
import type { Network } from "./networks.js"; | ||
import type { Column, Flatten } from './../utils/index.js'; | ||
import type { Network } from './networks.js'; | ||
export declare const circleAPI: (<const K1 extends "Mainnet" | "Testnet">(args_0: K1) => { | ||
@@ -19,3 +19,2 @@ readonly Mainnet: "https://iris-api.circle.com/v1/attestations"; | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -41,3 +40,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -63,3 +61,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -85,3 +82,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -104,3 +100,3 @@ readonly Testnet: { | ||
readonly has: (args_0: string, args_1: string) => boolean; | ||
readonly get: (args_0: string, args_1: string) => "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" | "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" | "0xaf88d065e77c8cC2239327C5EDb3A432268e5831" | "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" | "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC" | "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238" | "0x5425890298aed601595a70AB815c96711a31Bc65" | "0x5fd84259d66Cd46123540766Be93DFE6D43130D7" | "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" | "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU" | "0x036CbD53842c5426634e7929541eC2318f3dCF7e" | "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97" | "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC" | undefined; | ||
readonly get: (args_0: string, args_1: string) => "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" | "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" | "0xaf88d065e77c8cC2239327C5EDb3A432268e5831" | "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" | "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238" | "0x5425890298aed601595a70AB815c96711a31Bc65" | "0x5fd84259d66Cd46123540766Be93DFE6D43130D7" | "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" | "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU" | "0x036CbD53842c5426634e7929541eC2318f3dCF7e" | "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97" | "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC" | undefined; | ||
} & { | ||
@@ -116,3 +112,2 @@ readonly subMap: <const K extends "Mainnet" | "Testnet">(key: K) => (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) extends infer T_2 ? T_2 extends (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) ? T_2 extends "Mainnet" | "Testnet" ? { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -142,3 +137,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -164,3 +158,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -186,3 +179,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -208,3 +200,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -235,3 +226,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -257,3 +247,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -279,3 +268,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -301,3 +289,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -324,3 +311,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -346,3 +332,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -368,3 +353,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -390,3 +374,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -412,3 +395,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -434,3 +416,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -437,0 +418,0 @@ readonly Testnet: { |
@@ -21,3 +21,2 @@ "use strict"; | ||
["Polygon", "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"], | ||
["Sui", "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"], | ||
] | ||
@@ -24,0 +23,0 @@ ], [ |
@@ -43,4 +43,4 @@ export type CircleContracts = { | ||
}], readonly ["Sui", { | ||
readonly tokenMessenger: "0x2aa6c5d56376c371f88a6cc42e852824994993cb9bab8d3e6450cbe3cb32b94e"; | ||
readonly messageTransmitter: "0x08d87d37ba49e785dde270a83f8e979605b03dc552b5548f26fdf2f49bf7ed1b"; | ||
readonly tokenMessenger: ""; | ||
readonly messageTransmitter: ""; | ||
readonly wormholeRelayer: ""; | ||
@@ -84,4 +84,4 @@ readonly wormhole: ""; | ||
}], readonly ["Sui", { | ||
readonly tokenMessenger: "0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb"; | ||
readonly messageTransmitter: "0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5"; | ||
readonly tokenMessenger: "0x4e16078afc5ebfc244a8107ded4044970df5d84db384e7194b7fc444090683fd"; | ||
readonly messageTransmitter: "0x4741a96a5903c80613f2d013492a47741cf10c6246ea38a724d354a09895cf8f"; | ||
readonly wormholeRelayer: ""; | ||
@@ -88,0 +88,0 @@ readonly wormhole: ""; |
@@ -57,4 +57,4 @@ "use strict"; | ||
"Sui", { | ||
tokenMessenger: "0x2aa6c5d56376c371f88a6cc42e852824994993cb9bab8d3e6450cbe3cb32b94e", | ||
messageTransmitter: "0x08d87d37ba49e785dde270a83f8e979605b03dc552b5548f26fdf2f49bf7ed1b", | ||
tokenMessenger: "", | ||
messageTransmitter: "", | ||
wormholeRelayer: "", | ||
@@ -117,4 +117,4 @@ wormhole: "", | ||
"Sui", { | ||
tokenMessenger: "0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb", | ||
messageTransmitter: "0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5", | ||
tokenMessenger: "0x4e16078afc5ebfc244a8107ded4044970df5d84db384e7194b7fc444090683fd", | ||
messageTransmitter: "0x4741a96a5903c80613f2d013492a47741cf10c6246ea38a724d354a09895cf8f", | ||
wormholeRelayer: "", | ||
@@ -121,0 +121,0 @@ wormhole: "", |
@@ -28,2 +28,3 @@ import type { Chain } from "./chains.js"; | ||
readonly Mantle: 512; | ||
readonly Worldchain: 512; | ||
readonly Polygon: 32; | ||
@@ -51,3 +52,2 @@ readonly Fantom: 1; | ||
readonly Unichain: 512; | ||
readonly Worldchain: 512; | ||
readonly Ink: 512; | ||
@@ -73,3 +73,3 @@ readonly Cosmoshub: 0; | ||
/** The amount of time between block production, in milliseconds */ | ||
export declare const blockTime: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const blockTime: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
readonly Acala: 12000; | ||
@@ -118,2 +118,3 @@ readonly Algorand: 3300; | ||
readonly Xlayer: 3000; | ||
readonly Worldchain: 2000; | ||
readonly Wormchain: 5000; | ||
@@ -120,0 +121,0 @@ readonly Btc: 600000; |
@@ -29,3 +29,3 @@ "use strict"; | ||
["Bsc", 15], | ||
// Checkpointed to L1 after ~512 blocks | ||
// Check-pointed to L1 after ~512 blocks | ||
["Optimism", 512], | ||
@@ -38,3 +38,4 @@ ["Base", 512], | ||
["Mantle", 512], | ||
// Checkpointed after 32 blocks | ||
["Worldchain", 512], | ||
// Check-pointed after 32 blocks | ||
["Polygon", 32], | ||
@@ -64,3 +65,2 @@ // Single block finality | ||
["Unichain", 512], | ||
["Worldchain", 512], | ||
["Ink", 512], | ||
@@ -134,2 +134,3 @@ ["Cosmoshub", 0], | ||
["Xlayer", 3_000], | ||
["Worldchain", 2_000], | ||
["Wormchain", 5_000], | ||
@@ -136,0 +137,0 @@ ["Btc", 600_000], |
@@ -1,3 +0,3 @@ | ||
import type { Column, Flatten } from "./../utils/index.js"; | ||
import type { Network } from "./networks.js"; | ||
import type { Column, Flatten } from './../utils/index.js'; | ||
import type { Network } from './networks.js'; | ||
export declare const circleAPI: (<const K1 extends "Mainnet" | "Testnet">(args_0: K1) => { | ||
@@ -19,3 +19,2 @@ readonly Mainnet: "https://iris-api.circle.com/v1/attestations"; | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -41,3 +40,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -63,3 +61,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -85,3 +82,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -104,3 +100,3 @@ readonly Testnet: { | ||
readonly has: (args_0: string, args_1: string) => boolean; | ||
readonly get: (args_0: string, args_1: string) => "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" | "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" | "0xaf88d065e77c8cC2239327C5EDb3A432268e5831" | "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" | "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC" | "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238" | "0x5425890298aed601595a70AB815c96711a31Bc65" | "0x5fd84259d66Cd46123540766Be93DFE6D43130D7" | "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" | "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU" | "0x036CbD53842c5426634e7929541eC2318f3dCF7e" | "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97" | "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC" | undefined; | ||
readonly get: (args_0: string, args_1: string) => "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" | "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" | "0xaf88d065e77c8cC2239327C5EDb3A432268e5831" | "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" | "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238" | "0x5425890298aed601595a70AB815c96711a31Bc65" | "0x5fd84259d66Cd46123540766Be93DFE6D43130D7" | "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" | "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU" | "0x036CbD53842c5426634e7929541eC2318f3dCF7e" | "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97" | "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC" | undefined; | ||
} & { | ||
@@ -116,3 +112,2 @@ readonly subMap: <const K extends "Mainnet" | "Testnet">(key: K) => (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) extends infer T_2 ? T_2 extends (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) ? T_2 extends "Mainnet" | "Testnet" ? { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -142,3 +137,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -164,3 +158,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -186,3 +179,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -208,3 +200,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -235,3 +226,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -257,3 +247,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -279,3 +268,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -301,3 +289,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -324,3 +311,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -346,3 +332,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -368,3 +353,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -390,3 +374,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -412,3 +395,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -434,3 +416,2 @@ readonly Testnet: { | ||
readonly Polygon: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"; | ||
readonly Sui: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"; | ||
}; | ||
@@ -437,0 +418,0 @@ readonly Testnet: { |
@@ -1,2 +0,2 @@ | ||
import { constMap, zip } from "./../utils/index.js"; | ||
import { constMap, zip } from './../utils/index.js'; | ||
const circleAPIs = [ | ||
@@ -17,3 +17,2 @@ ["Mainnet", "https://iris-api.circle.com/v1/attestations"], | ||
["Polygon", "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"], | ||
["Sui", "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"], | ||
] | ||
@@ -20,0 +19,0 @@ ], [ |
@@ -43,4 +43,4 @@ export type CircleContracts = { | ||
}], readonly ["Sui", { | ||
readonly tokenMessenger: "0x2aa6c5d56376c371f88a6cc42e852824994993cb9bab8d3e6450cbe3cb32b94e"; | ||
readonly messageTransmitter: "0x08d87d37ba49e785dde270a83f8e979605b03dc552b5548f26fdf2f49bf7ed1b"; | ||
readonly tokenMessenger: ""; | ||
readonly messageTransmitter: ""; | ||
readonly wormholeRelayer: ""; | ||
@@ -84,4 +84,4 @@ readonly wormhole: ""; | ||
}], readonly ["Sui", { | ||
readonly tokenMessenger: "0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb"; | ||
readonly messageTransmitter: "0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5"; | ||
readonly tokenMessenger: "0x4e16078afc5ebfc244a8107ded4044970df5d84db384e7194b7fc444090683fd"; | ||
readonly messageTransmitter: "0x4741a96a5903c80613f2d013492a47741cf10c6246ea38a724d354a09895cf8f"; | ||
readonly wormholeRelayer: ""; | ||
@@ -88,0 +88,0 @@ readonly wormhole: ""; |
@@ -54,4 +54,4 @@ // prettier-ignore | ||
"Sui", { | ||
tokenMessenger: "0x2aa6c5d56376c371f88a6cc42e852824994993cb9bab8d3e6450cbe3cb32b94e", | ||
messageTransmitter: "0x08d87d37ba49e785dde270a83f8e979605b03dc552b5548f26fdf2f49bf7ed1b", | ||
tokenMessenger: "", | ||
messageTransmitter: "", | ||
wormholeRelayer: "", | ||
@@ -114,4 +114,4 @@ wormhole: "", | ||
"Sui", { | ||
tokenMessenger: "0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb", | ||
messageTransmitter: "0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5", | ||
tokenMessenger: "0x4e16078afc5ebfc244a8107ded4044970df5d84db384e7194b7fc444090683fd", | ||
messageTransmitter: "0x4741a96a5903c80613f2d013492a47741cf10c6246ea38a724d354a09895cf8f", | ||
wormholeRelayer: "", | ||
@@ -118,0 +118,0 @@ wormhole: "", |
@@ -28,2 +28,3 @@ import type { Chain } from "./chains.js"; | ||
readonly Mantle: 512; | ||
readonly Worldchain: 512; | ||
readonly Polygon: 32; | ||
@@ -51,3 +52,2 @@ readonly Fantom: 1; | ||
readonly Unichain: 512; | ||
readonly Worldchain: 512; | ||
readonly Ink: 512; | ||
@@ -73,3 +73,3 @@ readonly Cosmoshub: 0; | ||
/** The amount of time between block production, in milliseconds */ | ||
export declare const blockTime: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
export declare const blockTime: (<const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadDevnet">(args_0: K1) => { | ||
readonly Acala: 12000; | ||
@@ -118,2 +118,3 @@ readonly Algorand: 3300; | ||
readonly Xlayer: 3000; | ||
readonly Worldchain: 2000; | ||
readonly Wormchain: 5000; | ||
@@ -120,0 +121,0 @@ readonly Btc: 600000; |
@@ -26,3 +26,3 @@ import { constMap } from "./../utils/index.js"; | ||
["Bsc", 15], | ||
// Checkpointed to L1 after ~512 blocks | ||
// Check-pointed to L1 after ~512 blocks | ||
["Optimism", 512], | ||
@@ -35,3 +35,4 @@ ["Base", 512], | ||
["Mantle", 512], | ||
// Checkpointed after 32 blocks | ||
["Worldchain", 512], | ||
// Check-pointed after 32 blocks | ||
["Polygon", 32], | ||
@@ -61,3 +62,2 @@ // Single block finality | ||
["Unichain", 512], | ||
["Worldchain", 512], | ||
["Ink", 512], | ||
@@ -131,2 +131,3 @@ ["Cosmoshub", 0], | ||
["Xlayer", 3_000], | ||
["Worldchain", 2_000], | ||
["Wormchain", 5_000], | ||
@@ -133,0 +134,0 @@ ["Btc", 600_000], |
{ | ||
"name": "@wormhole-foundation/sdk-base", | ||
"version": "1.3.0-beta.1", | ||
"version": "1.3.0-beta.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4106649
75195