UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

388 lines 9.07 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Constitution__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "getAddr", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getAddrKeys", outputs: [ { internalType: "string[]", name: "", type: "string[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "getBool", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getBoolKeys", outputs: [ { internalType: "string[]", name: "", type: "string[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "getBytes32", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getBytes32Keys", outputs: [ { internalType: "string[]", name: "", type: "string[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "getString", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getStringKeys", outputs: [ { internalType: "string[]", name: "", type: "string[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "getUint", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getUintKeys", outputs: [ { internalType: "string[]", name: "", type: "string[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "removeAddr", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "removeBool", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "removeBytes32", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "removeString", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, ], name: "removeUint", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, { internalType: "address", name: "_val", type: "address", }, ], name: "setAddr", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, { internalType: "bool", name: "_val", type: "bool", }, ], name: "setBool", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, { internalType: "bytes32", name: "_val", type: "bytes32", }, ], name: "setBytes32", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, { internalType: "string", name: "_val", type: "string", }, ], name: "setString", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_key", type: "string", }, { internalType: "uint256", name: "_val", type: "uint256", }, ], name: "setUint", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_registry", type: "address", }, { internalType: "string[]", name: "_uintKeys", type: "string[]", }, { internalType: "uint256[]", name: "_uintVals", type: "uint256[]", }, { internalType: "string[]", name: "_addrKeys", type: "string[]", }, { internalType: "address[]", name: "_addrVals", type: "address[]", }, { internalType: "string[]", name: "_strKeys", type: "string[]", }, { internalType: "string[]", name: "_strVals", type: "string[]", }, { internalType: "string[]", name: "_boolKeys", type: "string[]", }, { internalType: "bool[]", name: "_boolVals", type: "bool[]", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class Constitution__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.Constitution__factory = Constitution__factory; Constitution__factory.abi = _abi; //# sourceMappingURL=Constitution__factory.js.map