UNPKG

@safe-global/protocol-kit

Version:

SDK that facilitates the interaction with Safe Smart Accounts

32 lines 1.44 kB
import { SingletonDeploymentV2 } from '@safe-global/safe-deployments'; import { Deployment } from '@safe-global/safe-modules-deployments'; import { SafeVersion } from '@safe-global/types-kit'; import { DeploymentType } from '../types'; export declare const DEFAULT_SAFE_VERSION: SafeVersion; type contractNames = { safeSingletonVersion: string; safeSingletonL2Version?: string; safeProxyFactoryVersion: string; compatibilityFallbackHandler: string; extensibleFallbackHandler?: string; multiSendVersion: string; multiSendCallOnlyVersion?: string; signMessageLibVersion?: string; createCallVersion?: string; simulateTxAccessorVersion?: string; safeWebAuthnSignerFactoryVersion?: string; safeWebAuthnSharedSignerVersion?: string; }; type SafeDeploymentsVersions = Record<SafeVersion, contractNames>; export type contractName = keyof contractNames; export type ContractInfo = { version: string; type: DeploymentType; contractName: contractName; }; export declare const safeDeploymentsVersions: SafeDeploymentsVersions; export declare const safeDeploymentsL1ChainIds: bigint[]; export declare function getContractDeployment(safeVersion: SafeVersion, chainId: bigint, contractName: contractName): SingletonDeploymentV2 | Deployment | undefined; export declare function getContractInfo(contractAddress: string): ContractInfo | undefined; export {}; //# sourceMappingURL=config.d.ts.map