UNPKG

@collabland/staking-contracts

Version:
21 lines (20 loc) 590 B
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[]>; }