@mean-finance/dca-v2-periphery
Version:
💱 Periphery smart contracts of DCA V2 by mean.finance
133 lines (132 loc) • 3.12 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IDCAKeep3rJob__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
inputs: [],
name: "NotAKeeper",
type: "error",
},
{
inputs: [],
name: "SignerCannotSignWork",
type: "error",
},
{
inputs: [],
name: "ZeroAddress",
type: "error",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "newSwapper",
type: "address",
},
],
name: "NewSwapperSet",
type: "event",
},
{
inputs: [],
name: "DOMAIN_SEPARATOR",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "keep3r",
outputs: [
{
internalType: "contract IKeep3r",
name: "",
type: "address",
},
],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "swapper",
type: "address",
},
],
name: "setSwapper",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "swapperAndNonce",
outputs: [
{
internalType: "address",
name: "swapper",
type: "address",
},
{
internalType: "uint96",
name: "nonce",
type: "uint96",
},
],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "bytes",
name: "call",
type: "bytes",
},
{
internalType: "uint8",
name: "v",
type: "uint8",
},
{
internalType: "bytes32",
name: "r",
type: "bytes32",
},
{
internalType: "bytes32",
name: "s",
type: "bytes32",
},
],
name: "work",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
class IDCAKeep3rJob__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IDCAKeep3rJob__factory = IDCAKeep3rJob__factory;
IDCAKeep3rJob__factory.abi = _abi;