UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

486 lines 11.6 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IManagedRewardBoosterFactory = void 0; const ethers_1 = require("ethers"); class IManagedRewardBoosterFactory { static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.IManagedRewardBoosterFactory = IManagedRewardBoosterFactory; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "baseline", type: "uint256", }, { indexed: false, internalType: "uint256", name: "totalRate", type: "uint256", }, { indexed: false, internalType: "uint256", name: "mask", type: "uint256", }, ], name: "BaselineUpdated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "pool", type: "address", }, { indexed: false, internalType: "uint256", name: "mask", type: "uint256", }, { indexed: false, internalType: "uint32", name: "pctFactor", type: "uint32", }, ], name: "BoostFactorSet", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "by", type: "address", }, { indexed: false, internalType: "bool", name: "paused", type: "bool", }, ], name: "EmergencyPaused", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint16", name: "minBoostPct", type: "uint16", }, ], name: "MinBoostUpdated", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "minter", type: "address", }, ], name: "RewardMinterSet", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "pool", type: "address", }, { indexed: false, internalType: "uint256", name: "mask", type: "uint256", }, ], name: "RewardPoolAdded", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "pool", type: "address", }, { indexed: false, internalType: "uint256", name: "mask", type: "uint256", }, ], name: "RewardPoolRemoved", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: true, internalType: "address", name: "fromPool", type: "address", }, ], name: "RewardsAllocated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address", }, { indexed: true, internalType: "address", name: "to", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "RewardsClaimed", type: "event", }, { inputs: [ { internalType: "contract IManagedRewardPool", name: "", type: "address", }, ], name: "addRewardPool", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "holder", type: "address", }, { internalType: "uint256", name: "allocated", type: "uint256", }, { internalType: "uint32", name: "since", type: "uint32", }, { internalType: "enum AllocationMode", name: "mode", type: "uint8", }, ], name: "allocatedByPool", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getAccessController", outputs: [ { internalType: "contract IMarketAccessController", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getBoostPool", outputs: [ { internalType: "address", name: "pool", type: "address", }, { internalType: "uint256", name: "mask", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getMinBoost", outputs: [ { internalType: "uint16", name: "minBoostPct", type: "uint16", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getPools", outputs: [ { internalType: "contract IManagedRewardPool[]", name: "", type: "address[]", }, { internalType: "uint256", name: "ignoreMask", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "isConfigAdmin", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "isPaused", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "isRateAdmin", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "contract IManagedRewardPool", name: "", type: "address", }, ], name: "removeRewardPool", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "target", type: "address", }, { internalType: "bool", name: "mintExcess", type: "bool", }, ], name: "setBoostExcessTarget", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "pool", type: "address", }, { internalType: "uint32", name: "pctFactor", type: "uint32", }, ], name: "setBoostFactor", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "setBoostPool", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint16", name: "minBoostPct", type: "uint16", }, ], name: "setMinBoost", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "paused", type: "bool", }, ], name: "setPaused", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract IRewardMinter", name: "", type: "address", }, ], name: "setRewardMinter", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "", type: "bool", }, ], name: "setUpdateBoostPoolRate", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "baseline", type: "uint256", }, ], name: "updateBaseline", outputs: [ { internalType: "uint256", name: "totalRate", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=IManagedRewardBoosterFactory.js.map