UNPKG

@vechain/vebetterdao-contracts

Version:

Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.

25 lines (24 loc) 751 B
import { Address } from "@vechain/sdk-core"; export type TestPk = { pk: Uint8Array; address: Address; }; export type SeedAccount = { key: TestPk; amount: bigint; }; export declare enum SeedStrategy { RANDOM = 0, FIXED = 1, LINEAR = 2 } export declare const getTestKey: (index: number) => TestPk; export declare const getTestKeys: (count: number) => TestPk[]; /** * Get seed accounts based on the strategy * @param strategy the strategy to use * @param numAccounts the number of accounts to generate * @param acctOffset the offset to start the account index * @returns a list of seed accounts */ export declare const getSeedAccounts: (strategy: SeedStrategy, numAccounts: number, acctOffset: number) => SeedAccount[];