@parifi/synthetix-sdk-ts
Version:
A Typescript SDK for interactions with the Synthetix protocol
34 lines (31 loc) • 1.11 kB
text/typescript
import { ABI } from './v3-contracts/8453/index.mjs';
interface Meta {
name: string;
preset: string;
version: string;
generator: string;
timestamp: number;
miscUrl: string;
contracts: {
CoreProxy: string;
AccountProxy: string;
USDProxy: string;
OracleManagerProxy: string;
TrustedMulticallForwarder: string;
SpotMarketProxy: string;
PerpsMarketProxy: string;
PerpsAccountProxy: string;
PythERC7412Wrapper: string;
CollateralToken_USDC: string;
CollateralToken_sUSDC: string;
CollateralToken_stataBasUSDC: string;
CollateralToken_sStataUSDC: string;
SynthToken_sUSDC: string;
SynthToken_sStataUSDC: string;
RewardsDistributor_1_sUSDC_USDC: string;
RewardsDistributor_1_sUSDC_SNX: string;
};
}
declare function dynamicImportMeta(chainId: number, preset?: string): Promise<Meta>;
declare function dynamicImportAbi(chainId: number, preset: string | undefined, contractName: string): Promise<ABI>;
export { dynamicImportAbi, dynamicImportMeta };