import type { AllowanceCrowdsale , AllowanceCrowdsaleInterface , } from "../AllowanceCrowdsale" ; import { Provider } from "@ethersproject/providers" ; import { Contract , Signer , utils } from "ethers" ; const _abi = [ { anonymous : false , inputs : [ { indexed : true , internalType : "address" , name : "purchaser" , type : "address" , } , { indexed : true , internalType : "address" , name : "beneficiary" , type : "address" , } , { indexed : false , internalType : "uint256" , name : "value" , type : "uint256" , } , { indexed : false , internalType : "uint256" , name : "amount" , type : "uint256" , } , ] , name : "TokensPurchased" , type : "event" , } , { inputs : [ { internalType : "address" , name : "beneficiary" , type : "address" , } , ] , name : "buyTokens" , outputs : [ ] , stateMutability : "payable" , type : "function" , } , { inputs : [ ] , name : "rate" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "remainingTokens" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "token" , outputs : [ { internalType : "contract IERC20" , name : "" , type : "address" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "tokenWallet" , outputs : [ { internalType : "address" , name : "" , type : "address" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "wallet" , outputs : [ { internalType : "address payable" , name : "" , type : "address" , } , ] , stateMutability : "view" , type : "function" , } , { inputs : [ ] , name : "weiRaised" , outputs : [ { internalType : "uint256" , name : "" , type : "uint256" , } , ] , stateMutability : "view" , type : "function" , } , { stateMutability : "payable" , type : "receive" , } , ] ; export class AllowanceCrowdsale__factory { static readonly abi = _abi ; static createInterface ( ) { return new utils . Interface ( _abi ) as AllowanceCrowdsaleInterface ; } static connect ( address , signerOrProvider ) { return new Contract ( address , _abi , signerOrProvider ) as AllowanceCrowdsale ; } }