@opiumteam/opium-sdk-v2
Version:
one-stop-shop SDK to interact with the Opium-v2 protocol contracts, subgraphs and APIs
20 lines (19 loc) • 679 B
TypeScript
export declare type TProtocolContractAddresses = {
core: string;
opiumProxyFactory: string;
oracleAggregator: string;
syntheticAggregator: string;
tokenSpender: string;
};
export declare type TProtocolAgents = {
protocolExecutionReserveClaimer: string;
protocolRedemptionReserveClaimer: string;
};
export declare type TProtocolAddresses = TProtocolContractAddresses & TProtocolAgents;
export declare type TProtocolParameters = {
noDataCancellationPeriod: number;
derivativeAuthorExecutionFeeCap: number;
derivativeAuthorRedemptionReservePart: number;
protocolExecutionReservePart: number;
protocolRedemptionReservePart: number;
};