@vechain/vebetterdao-contracts
Version:
Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.
10 lines (9 loc) • 644 B
TypeScript
import { HardhatEthersSigner } from "@nomicfoundation/hardhat-ethers/signers";
import { ContractTransactionResponse } from "ethers";
export declare const getNodeIdFromStakeTx: (tx: ContractTransactionResponse) => Promise<any>;
export declare const endorseApp: (appId: string, endorser: HardhatEthersSigner, useLegacyNode?: boolean) => Promise<{
nodeId: bigint;
txReceipt: import("ethers").ContractTransactionReceipt;
}>;
export declare const createNodeHolder: (level: number, endorser: HardhatEthersSigner) => Promise<any>;
export declare const createLegacyNodeHolder: (level: number, endorser: HardhatEthersSigner) => Promise<bigint>;