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