UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

170 lines 4.26 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.AutolockBaseFactory = void 0; const ethers_1 = require("ethers"); class AutolockBaseFactory { static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.AutolockBaseFactory = AutolockBaseFactory; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address", }, { indexed: false, internalType: "enum AutolockMode", name: "mode", type: "uint8", }, { indexed: false, internalType: "uint32", name: "lockDuration", type: "uint32", }, { indexed: false, internalType: "uint224", name: "param", type: "uint224", }, ], name: "RewardAutolockConfigured", type: "event", }, { inputs: [ { internalType: "uint256", name: "timestamp", type: "uint256", }, { internalType: "uint32", name: "lockDuration", type: "uint32", }, ], name: "autolockAccumulateTill", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "maxAmount", type: "uint256", }, { internalType: "uint32", name: "lockDuration", type: "uint32", }, ], name: "autolockAccumulateUnderlying", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "autolockDefault", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "minAmount", type: "uint256", }, { internalType: "uint32", name: "lockDuration", type: "uint32", }, ], name: "autolockKeepUpBalance", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, ], name: "autolockOf", outputs: [ { internalType: "enum AutolockMode", name: "mode", type: "uint8", }, { internalType: "uint32", name: "lockDuration", type: "uint32", }, { internalType: "uint256", name: "param", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint32", name: "minLockDuration", type: "uint32", }, ], name: "autolockProlongate", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "autolockStop", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "isAutolockEnabled", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, ]; //# sourceMappingURL=AutolockBaseFactory.js.map