UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

164 lines 3.94 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ExceptionStorage__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { inputs: [ { internalType: "uint32", name: "", type: "uint32", }, ], name: "exceptions", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint32", name: "key", type: "uint32", }, { internalType: "string", name: "note", type: "string", }, ], name: "setException", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint32[]", name: "keys", type: "uint32[]", }, { internalType: "string[]", name: "notes", type: "string[]", }, ], name: "setExceptions", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint32", name: "key", type: "uint32", }, ], name: "getException", outputs: [ { internalType: "string", name: "note", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint32", name: "key", type: "uint32", }, ], name: "throwException", outputs: [], stateMutability: "view", type: "function", }, ]; class ExceptionStorage__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ExceptionStorage__factory = ExceptionStorage__factory; ExceptionStorage__factory.abi = _abi; //# sourceMappingURL=ExceptionStorage__factory.js.map