UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

110 lines 2.71 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DefaultAllocationProxy__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Allocated", type: "event", }, { inputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], name: "beneficiaries", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], name: "shares", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { stateMutability: "payable", type: "receive", }, { inputs: [ { internalType: "address", name: "_registry", type: "address", }, { internalType: "string[]", name: "_beneficiaries", type: "string[]", }, { internalType: "string[]", name: "_shares", type: "string[]", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "allocate", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class DefaultAllocationProxy__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.DefaultAllocationProxy__factory = DefaultAllocationProxy__factory; DefaultAllocationProxy__factory.abi = _abi; //# sourceMappingURL=DefaultAllocationProxy__factory.js.map