@mean-finance/dca-v2-periphery
Version:
💱 Periphery smart contracts of DCA V2 by mean.finance
192 lines (191 loc) • 4.33 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IKeep3rRoles__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
inputs: [],
name: "DisputerExistent",
type: "error",
},
{
inputs: [],
name: "DisputerUnexistent",
type: "error",
},
{
inputs: [],
name: "OnlyDisputer",
type: "error",
},
{
inputs: [],
name: "OnlySlasher",
type: "error",
},
{
inputs: [],
name: "SlasherExistent",
type: "error",
},
{
inputs: [],
name: "SlasherUnexistent",
type: "error",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "_disputer",
type: "address",
},
],
name: "DisputerAdded",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "_disputer",
type: "address",
},
],
name: "DisputerRemoved",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "_slasher",
type: "address",
},
],
name: "SlasherAdded",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "_slasher",
type: "address",
},
],
name: "SlasherRemoved",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "_disputer",
type: "address",
},
],
name: "addDisputer",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_slasher",
type: "address",
},
],
name: "addSlasher",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_disputer",
type: "address",
},
],
name: "disputers",
outputs: [
{
internalType: "bool",
name: "_isDisputer",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_disputer",
type: "address",
},
],
name: "removeDisputer",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_slasher",
type: "address",
},
],
name: "removeSlasher",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_slasher",
type: "address",
},
],
name: "slashers",
outputs: [
{
internalType: "bool",
name: "_isSlasher",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
];
class IKeep3rRoles__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IKeep3rRoles__factory = IKeep3rRoles__factory;
IKeep3rRoles__factory.abi = _abi;