@mean-finance/dca-v2-periphery
Version:
💱 Periphery smart contracts of DCA V2 by mean.finance
128 lines (127 loc) • 3.15 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IKeep3rJobMigration__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
inputs: [],
name: "JobMigrationImpossible",
type: "error",
},
{
inputs: [],
name: "JobMigrationLocked",
type: "error",
},
{
inputs: [],
name: "JobMigrationUnavailable",
type: "error",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "_fromJob",
type: "address",
},
{
indexed: false,
internalType: "address",
name: "_toJob",
type: "address",
},
],
name: "JobMigrationRequested",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "_fromJob",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "_toJob",
type: "address",
},
],
name: "JobMigrationSuccessful",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "_fromJob",
type: "address",
},
{
internalType: "address",
name: "_toJob",
type: "address",
},
],
name: "acceptJobMigration",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_fromJob",
type: "address",
},
{
internalType: "address",
name: "_toJob",
type: "address",
},
],
name: "migrateJob",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_fromJob",
type: "address",
},
],
name: "pendingJobMigrations",
outputs: [
{
internalType: "address",
name: "_toJob",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
];
class IKeep3rJobMigration__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IKeep3rJobMigration__factory = IKeep3rJobMigration__factory;
IKeep3rJobMigration__factory.abi = _abi;