@q-dev/q-js-sdk
Version:
Typescript Library to interact with Q System Contracts
90 lines • 2.23 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IVetoable__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "uint256",
name: "id",
type: "uint256",
},
{
indexed: true,
internalType: "address",
name: "sender",
type: "address",
},
],
name: "VetoOccurred",
type: "event",
},
{
inputs: [
{
internalType: "uint256",
name: "_proposalId",
type: "uint256",
},
],
name: "veto",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "_proposalId",
type: "uint256",
},
],
name: "getVetosNumber",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "_proposalId",
type: "uint256",
},
],
name: "getVetosPercentage",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
];
class IVetoable__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IVetoable__factory = IVetoable__factory;
IVetoable__factory.abi = _abi;
//# sourceMappingURL=IVetoable__factory.js.map