evm: { Address: typeof EvmAddress; ChainContext: typeof EvmChain; Platform: typeof EvmPlatform; Signer: typeof EvmNativeSigner; getSigner: ((rpc,
privateKey) => Promise<Signer>); getSignerForSigner: ((chain,
signer) => Promise<Signer>); protocols: { cctp: Promise<{ EvmAutomaticCircleBridge: any; EvmCircleBridge: any; ethers_contracts: any; default: any; }>; core: Promise<{ EvmWormholeCore: any; ethers_contracts: any; default: any; }>; portico: Promise<{ EvmPorticoBridge: any; default: any; }>; tokenbridge: Promise<{ EvmAutomaticTokenBridge: any; EvmTokenBridge: any; ethers_contracts: any; default: any; }>; }; } = ...
Type declaration
-
Address: typeof EvmAddress
-
ChainContext: typeof EvmChain
-
-
Signer: typeof EvmNativeSigner
-
getSigner: ((rpc, privateKey) => Promise<Signer>)
-
- (rpc, privateKey): Promise<Signer>
-
Parameters
-
rpc: Provider
-
privateKey: string
Returns Promise<Signer>
-
getSignerForSigner: ((chain, signer) => Promise<Signer>)
-
- (chain, signer): Promise<Signer>
-
Parameters
-
chain: "Acala" | "Arbitrum" | "Aurora" | "Avalanche" | "Base" | "Bsc" | "Celo" | "Ethereum" | "Fantom" | "Gnosis" | "Karura" | "Klaytn" | "Moonbeam" | "Neon" | "Oasis" | "Optimism" | "Polygon" | "Rootstock" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky"
-
signer: Signer
Returns Promise<Signer>
-
protocols: {
cctp: Promise<{
EvmAutomaticCircleBridge: any;
EvmCircleBridge: any;
ethers_contracts: any;
default: any;
}>;
core: Promise<{
EvmWormholeCore: any;
ethers_contracts: any;
default: any;
}>;
portico: Promise<{
EvmPorticoBridge: any;
default: any;
}>;
tokenbridge: Promise<{
EvmAutomaticTokenBridge: any;
EvmTokenBridge: any;
ethers_contracts: any;
default: any;
}>;
}
-
cctp: Promise<{
EvmAutomaticCircleBridge: any;
EvmCircleBridge: any;
ethers_contracts: any;
default: any;
}>
-
core: Promise<{
EvmWormholeCore: any;
ethers_contracts: any;
default: any;
}>
-
portico: Promise<{
EvmPorticoBridge: any;
default: any;
}>
-
tokenbridge: Promise<{
EvmAutomaticTokenBridge: any;
EvmTokenBridge: any;
ethers_contracts: any;
default: any;
}>
Platform and protocol definitions for Evm