/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Signer, BigNumberish, Contract, ContractFactory, Overrides, } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import type { Reservoir } from "../Reservoir"; export class Reservoir__factory extends ContractFactory { constructor(signer?: Signer) { super(_abi, _bytecode, signer); } deploy( dripRate_: BigNumberish, token_: string, target_: string, overrides?: Overrides & { from?: string | Promise } ): Promise { return super.deploy( dripRate_, token_, target_, overrides || {} ) as Promise; } getDeployTransaction( dripRate_: BigNumberish, token_: string, target_: string, overrides?: Overrides & { from?: string | Promise } ): TransactionRequest { return super.getDeployTransaction( dripRate_, token_, target_, overrides || {} ); } attach(address: string): Reservoir { return super.attach(address) as Reservoir; } connect(signer: Signer): Reservoir__factory { return super.connect(signer) as Reservoir__factory; } static connect( address: string, signerOrProvider: Signer | Provider ): Reservoir { return new Contract(address, _abi, signerOrProvider) as Reservoir; } } const _abi = [ { inputs: [ { internalType: "uint256", name: "dripRate_", type: "uint256", }, { internalType: "contract EIP20Interface", name: "token_", type: "address", }, { internalType: "address", name: "target_", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "drip", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "dripRate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "dripStart", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "dripped", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "target", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "token", outputs: [ { internalType: "contract EIP20Interface", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ]; const _bytecode = "0x608060405234801561001057600080fd5b5060405161056738038061056783398101604081905261002f91610087565b436000908155600193909355600280546001600160a01b039384166001600160a01b031991821617909155600380549290931691161790556004556100ca565b6001600160a01b038116811461008457600080fd5b50565b60008060006060848603121561009c57600080fd5b8351925060208401516100ae8161006f565b60408501519092506100bf8161006f565b809150509250925092565b61048e806100d96000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806388a91a8a1461006757806395f632b3146100835780639f678cca1461008c578063d326159214610094578063d4b839921461009d578063fc0c546a146100c8575b600080fd5b61007060005481565b6040519081526020015b60405180910390f35b61007060045481565b6100706100db565b61007060015481565b6003546100b0906001600160a01b031681565b6040516001600160a01b03909116815260200161007a565b6002546100b0906001600160a01b031681565b6002546040516370a0823160e01b81523060048201526000916001600160a01b031690829082906370a0823190602401602060405180830381865afa158015610128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014c9190610381565b6001546000805460045460035494955092939092916001600160a01b039091169043906101ad8661017d878561039a565b6040518060400160405280601281526020017164726970546f74616c206f766572666c6f7760701b8152506102b6565b905060006101e782866040518060400160405280601381526020017264656c74614472697020756e646572666c6f7760681b815250610307565b905060006101f58983610341565b9050600061022887836040518060400160405280600c81526020016b1d185d5d1bdb1bd9da58d85b60a21b81525061035a565b600481815560405163a9059cbb60e01b81526001600160a01b0389811692820192909252602481018590529192508c169063a9059cbb906044016020604051808303816000875af1158015610281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a591906103bf565b50909b9a5050505050505050505050565b6000836102c557506000610300565b838302836102d386836103e1565b1483906102fc5760405162461bcd60e51b81526004016102f39190610403565b60405180910390fd5b5090505b9392505050565b6000818484111561032b5760405162461bcd60e51b81526004016102f39190610403565b506000610338848661039a565b95945050505050565b6000818311610351575081610354565b50805b92915050565b600083830182858210156102fc5760405162461bcd60e51b81526004016102f39190610403565b60006020828403121561039357600080fd5b5051919050565b6000828210156103ba57634e487b7160e01b600052601160045260246000fd5b500390565b6000602082840312156103d157600080fd5b8151801515811461030057600080fd5b6000826103fe57634e487b7160e01b600052601260045260246000fd5b500490565b600060208083528351808285015260005b8181101561043057858101830151858201604001528201610414565b81811115610442576000604083870101525b50601f01601f191692909201604001939250505056fea264697066735822122099a61bfc5efc054554e1fc900246c603f60186a1eb5ef769f3da2462769cb72c64736f6c634300080a0033";