@collabland/staking-contracts
Version:
Staking contracts supported by Collab.Land
21 lines (20 loc) • 590 B
TypeScript
import { BigNumber } from 'ethers';
import { BaseStakingContractAdapter, StakingAsset } from '../staking.js';
export declare class CocoStakingContractAdapter extends BaseStakingContractAdapter {
private contract;
/**
* The contract address
*/
contractAddress: string;
/**
* Assets that can be staked to this contract
*/
supportedAssets: StakingAsset[];
constructor();
/**
* Get staked token ids for the given owner
* @param owner - Owner address
* @returns
*/
getStakedTokenIds(owner: string): Promise<BigNumber[]>;
}