@q-dev/q-js-sdk
Version:
Typescript Library to interact with Q System Contracts
18 lines (17 loc) • 1.04 kB
TypeScript
import type { ContractTransaction } from 'ethers';
import { QNonPayableTx, SignerOrProvider } from '../../types';
import { DefaultAllocationProxy } from '../../ethers-contracts/DefaultAllocationProxy';
import { SystemContractInstance } from '../SystemContractInstance';
/**
* Default allocation proxy instance to interact with Default allocation proxy contract.
* See [onchain documentation](@system-contracts-repo/@network/DefaultAllocationProxy/) for more details.
* An instance of this class for a deployed network can be obtained via {@link ContractRegistryInstance.defaultAllocationProxy}
*/
export declare class DefaultAllocationProxyInstance extends SystemContractInstance<DefaultAllocationProxy> {
static readonly registryKey = "tokeneconomics.defaultAllocationProxy";
constructor(signerOrProvider: SignerOrProvider, address: string);
/**
* [External documentation](@system-contracts-repo/@network/DefaultAllocationProxy/#allocate)
*/
allocate(txOptions?: QNonPayableTx): Promise<ContractTransaction>;
}