UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

19 lines (18 loc) 1.02 kB
import Web3 from 'web3'; import { TransactionReceipt } from 'web3-eth/types'; import { QNonPayableTx } from '../../types'; import { DefaultAllocationProxy } from '../../web3-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(web3: Web3, address: string); /** * [External documentation](@system-contracts-repo/@network/DefaultAllocationProxy/#allocate) */ allocate(txOptions?: QNonPayableTx): Promise<TransactionReceipt>; }