UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

122 lines 2.86 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IRoots__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "_exp", type: "address", }, ], name: "addMember", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getMembers", outputs: [ { internalType: "address[]", name: "", type: "address[]", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getSize", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_exp", type: "address", }, ], name: "isMember", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_exp", type: "address", }, ], name: "removeMember", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_oldExp", type: "address", }, { internalType: "address", name: "_newExp", type: "address", }, ], name: "swapMember", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class IRoots__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.IRoots__factory = IRoots__factory; IRoots__factory.abi = _abi; //# sourceMappingURL=IRoots__factory.js.map