UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

78 lines (77 loc) 2.72 kB
import { Signer } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { DefaultAllocationProxy, DefaultAllocationProxyInterface } from "../DefaultAllocationProxy"; export declare class DefaultAllocationProxy__factory { static readonly abi: readonly [{ readonly inputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "amount"; readonly type: "uint256"; }]; readonly name: "Allocated"; readonly type: "event"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly name: "beneficiaries"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly name: "shares"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly stateMutability: "payable"; readonly type: "receive"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_registry"; readonly type: "address"; }, { readonly internalType: "string[]"; readonly name: "_beneficiaries"; readonly type: "string[]"; }, { readonly internalType: "string[]"; readonly name: "_shares"; readonly type: "string[]"; }]; readonly name: "initialize"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "allocate"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }]; static createInterface(): DefaultAllocationProxyInterface; static connect(address: string, signerOrProvider: Signer | Provider): DefaultAllocationProxy; }