@bayswap/sdk
Version:
SDK for BaySwap smart contract
33 lines (32 loc) • 697 B
TypeScript
export interface StakeRegistry {
packageID: string;
storageID: string;
}
export interface SwapRegistry {
packageID: string;
testPackage: string;
globalStorage: string;
routerPackageID?: string;
}
export interface LimitOrderRegistry {
packageID: string;
storageID: string;
}
export interface Registry {
swapRegistry: SwapRegistry;
stakeRegistry: StakeRegistry;
limitOrderRegistry: LimitOrderRegistry;
}
export interface TurbofishTypes {
coinX: string;
coinY: string;
curve: string;
}
export interface GasTable {
swap: number;
addLiquidity: number;
removeLiquidity: number;
zap: number;
stake: number;
claim: number;
}