@composable-finance/v1-sdk-defi-protocols
Version:
Provides ABIs, Addresses, and Solidity Interfaces to popular DeFi protocols.
78 lines (77 loc) • 2.29 kB
TypeScript
declare const addresses: {
mainnet: {
factory: {
address: string;
abi: ({
name: string;
inputs: {
type: string;
name: string;
indexed: boolean;
}[];
anonymous: boolean;
type: string;
outputs?: undefined;
constant?: undefined;
payable?: undefined;
gas?: undefined;
} | {
name: string;
outputs: {
type: string;
name: string;
}[];
inputs: {
type: string;
name: string;
}[];
constant: boolean;
payable: boolean;
type: string;
gas: number;
anonymous?: undefined;
})[];
};
exchange: {
abi: ({
name: string;
inputs: {
type: string;
name: string;
indexed: boolean;
}[];
anonymous: boolean;
type: string;
outputs?: undefined;
constant?: undefined;
payable?: undefined;
gas?: undefined;
} | {
name: string;
outputs: {
type: string;
name: string;
}[];
inputs: {
type: string;
name: string;
}[];
constant: boolean;
payable: boolean;
type: string;
gas: number;
anonymous?: undefined;
} | {
name: string;
outputs: never[];
inputs: never[];
constant: boolean;
payable: boolean;
type: string;
anonymous?: undefined;
gas?: undefined;
})[];
};
};
};
export default addresses;