/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { RewardsDistributor, RewardsDistributorInterface, } from "../RewardsDistributor"; const _abi = [ { inputs: [ { internalType: "address", name: "_morpho", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "AlreadyClaimed", type: "error", }, { inputs: [], name: "ProofInvalidOrExpired", type: "error", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "to", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "MorphoWithdrawn", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "RewardsClaimed", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "newRoot", type: "bytes32", }, ], name: "RootUpdated", type: "event", }, { inputs: [], name: "MORPHO", outputs: [ { internalType: "contract ERC20", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, { internalType: "uint256", name: "_claimable", type: "uint256", }, { internalType: "bytes32[]", name: "_proof", type: "bytes32[]", }, ], name: "claim", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "claimed", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "currRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "prevRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "_newRoot", type: "bytes32", }, ], name: "updateRoot", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_to", type: "address", }, { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "withdrawMorphoTokens", outputs: [], stateMutability: "nonpayable", type: "function", }, ] as const; export class RewardsDistributor__factory { static readonly abi = _abi; static createInterface(): RewardsDistributorInterface { return new utils.Interface(_abi) as RewardsDistributorInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): RewardsDistributor { return new Contract(address, _abi, signerOrProvider) as RewardsDistributor; } }