@mean-finance/dca-v2-periphery
Version:
💱 Periphery smart contracts of DCA V2 by mean.finance
326 lines (325 loc) • 7.79 kB
JavaScript
"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IKeep3rAccountance__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
inputs: [],
name: "JobDisputed",
type: "error",
},
{
inputs: [],
name: "JobUnavailable",
type: "error",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "_keeper",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "_bonding",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "_amount",
type: "uint256",
},
],
name: "Bonding",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "_keeperOrJob",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "_unbonding",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "_amount",
type: "uint256",
},
],
name: "Unbonding",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
{
internalType: "address",
name: "_bond",
type: "address",
},
],
name: "bonds",
outputs: [
{
internalType: "uint256",
name: "_bonds",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
{
internalType: "address",
name: "_bonding",
type: "address",
},
],
name: "canActivateAfter",
outputs: [
{
internalType: "uint256",
name: "_timestamp",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
{
internalType: "address",
name: "_bonding",
type: "address",
},
],
name: "canWithdrawAfter",
outputs: [
{
internalType: "uint256",
name: "_timestamp",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeperOrJob",
type: "address",
},
],
name: "disputes",
outputs: [
{
internalType: "bool",
name: "_disputed",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
],
name: "firstSeen",
outputs: [
{
internalType: "uint256",
name: "timestamp",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
],
name: "hasBonded",
outputs: [
{
internalType: "bool",
name: "_hasBonded",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_job",
type: "address",
},
{
internalType: "address",
name: "_token",
type: "address",
},
],
name: "jobTokenCredits",
outputs: [
{
internalType: "uint256",
name: "_amount",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "jobs",
outputs: [
{
internalType: "address[]",
name: "_jobList",
type: "address[]",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "keepers",
outputs: [
{
internalType: "address[]",
name: "_keeperList",
type: "address[]",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
{
internalType: "address",
name: "_bonding",
type: "address",
},
],
name: "pendingBonds",
outputs: [
{
internalType: "uint256",
name: "_pendingBonds",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
{
internalType: "address",
name: "_bonding",
type: "address",
},
],
name: "pendingUnbonds",
outputs: [
{
internalType: "uint256",
name: "_pendingUnbonds",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_keeper",
type: "address",
},
],
name: "workCompleted",
outputs: [
{
internalType: "uint256",
name: "_workCompleted",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
];
class IKeep3rAccountance__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IKeep3rAccountance__factory = IKeep3rAccountance__factory;
IKeep3rAccountance__factory.abi = _abi;