UNPKG

@vechain/vebetterdao-contracts

Version:

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

12 lines (11 loc) 2.25 kB
import { HardhatEthersSigner } from "@nomicfoundation/hardhat-ethers/signers"; import { B3TR, B3TRGovernor, Emissions, GalaxyMember, TimeLock, Treasury, VeBetterPassport, VOT3, VoterRewards, X2EarnApps, X2EarnCreator, X2EarnRewardsPool, XAllocationPool, XAllocationVoting, NodeManagementV3 } from "../../typechain-types"; export declare const transferAdminRole: (contract: B3TR | VOT3 | GalaxyMember | Emissions | VoterRewards | XAllocationPool | XAllocationVoting | Treasury | B3TRGovernor | X2EarnApps | X2EarnRewardsPool | X2EarnCreator | TimeLock, oldAdmin: HardhatEthersSigner, newAdminAddress: string) => Promise<void>; export declare const transferMinterRole: (contract: Emissions | B3TR, admin: HardhatEthersSigner, oldMinterAddress: string, newMinterAddress?: string) => Promise<void>; export declare const transferGovernanceRole: (contract: Treasury | X2EarnApps, admin: HardhatEthersSigner, oldAddress: string, newAddress?: string) => Promise<void>; export declare const transferContractsAddressManagerRole: (contract: GalaxyMember | XAllocationPool | XAllocationVoting | Emissions | X2EarnRewardsPool | VoterRewards, admin: HardhatEthersSigner, newAddress: string) => Promise<void>; export declare const transferDecaySettingsManagerRole: (contract: Emissions, admin: HardhatEthersSigner, newAddress: string) => Promise<void>; export declare const transferGovernorFunctionSettingsRole: (contract: B3TRGovernor, admin: HardhatEthersSigner, newAddress: string) => Promise<void>; export declare const validateContractRole: (contract: B3TR | VOT3 | GalaxyMember | Emissions | VoterRewards | XAllocationPool | XAllocationVoting | Treasury | TimeLock | B3TRGovernor | X2EarnRewardsPool | X2EarnApps | VeBetterPassport | X2EarnCreator | NodeManagementV3, expectedAddress: string, tempAdmin: string, role: string) => Promise<void>; export declare const transferSettingsManagerRole: (contract: VeBetterPassport, admin: HardhatEthersSigner, newAddress: string) => Promise<void>; export declare const transferUpgraderRole: (contract: Emissions | XAllocationPool | XAllocationVoting | NodeManagementV3 | X2EarnApps | X2EarnCreator | GalaxyMember | VoterRewards | X2EarnRewardsPool, admin: HardhatEthersSigner, newAddress: string) => Promise<void>;