import { ContractTransaction, providers, Signer } from "ethers"; import { SystemContractInstance } from "../SystemContractInstance"; import { TxOptions } from "../../types"; import { DAOVault, IDAOVault } from "../../ethers-contracts/DAOVault"; export declare class DAOVaultInstance extends SystemContractInstance { constructor(signer: Signer | providers.Provider, address: string); /** * Constructor * @param signer ethers signer, basically the one who wants to sign the constitution hash. * @param signature signature of the constitution hash. * @param txOptions transaction options * * Constitution hash is retrieved from the DAOParameterStorage contract. * The name of this contract in the registry is "DAO_CONF_PARAMETER_STORAGE:DAO Token Holder". * This is the main storage for all constitution parameters. */ signConstitution(signer: string, signature: string, txOptions?: TxOptions): Promise; depositNative(txOptions?: TxOptions): Promise; depositERC20(tokenAddress: string, amount: string, txOptions?: TxOptions): Promise; depositNFT(tokenAddress: string, tokenId: string, txOptions?: TxOptions): Promise; authorizeBySBT(tokenAddress: string, txOptions?: TxOptions): Promise; withdrawNative(amount: string, txOptions?: TxOptions): Promise; withdrawERC20(tokenAddress: string, amount: string, txOptions?: TxOptions): Promise; withdrawNFT(tokenAddress: string, tokenId: string, txOptions?: TxOptions): Promise; revokeSBTAuthorization(tokenAddress: string, txOptions?: TxOptions): Promise; getTimeLockInfo(user: string, tokenAddress: string): Promise; getUserConstitutionData(user: string): Promise; }