/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumberish,
  BytesLike,
  FunctionFragment,
  Result,
  Interface,
  EventFragment,
  AddressLike,
  ContractRunner,
  ContractMethod,
  Listener,
} from "ethers";
import type {
  TypedContractEvent,
  TypedDeferredTopicFilter,
  TypedEventLog,
  TypedLogDescription,
  TypedListener,
  TypedContractMethod,
} from "../common";

export type CollateralStruct = {
  _collateralType: BigNumberish;
  _amount: BigNumberish;
  _tokenId: BigNumberish;
  _collateralAddress: AddressLike;
};

export type CollateralStructOutput = [
  _collateralType: bigint,
  _amount: bigint,
  _tokenId: bigint,
  _collateralAddress: string
] & {
  _collateralType: bigint;
  _amount: bigint;
  _tokenId: bigint;
  _collateralAddress: string;
};

export interface CollateralManagerInterface extends Interface {
  getFunction(
    nameOrSignature:
      | "_escrows"
      | "checkBalances"
      | "commitCollateral(uint256,(uint8,uint256,uint256,address)[])"
      | "commitCollateral(uint256,(uint8,uint256,uint256,address))"
      | "deployAndDeposit"
      | "getCollateralAmount"
      | "getCollateralInfo"
      | "getEscrow"
      | "initialize"
      | "isBidCollateralBacked"
      | "lenderClaimCollateral"
      | "liquidateCollateral"
      | "onERC1155BatchReceived"
      | "onERC1155Received"
      | "onERC721Received"
      | "owner"
      | "renounceOwnership"
      | "revalidateCollateral"
      | "setCollateralEscrowBeacon"
      | "tellerV2"
      | "transferOwnership"
      | "withdraw"
  ): FunctionFragment;

  getEvent(
    nameOrSignatureOrTopic:
      | "CollateralClaimed"
      | "CollateralCommitted"
      | "CollateralDeposited"
      | "CollateralEscrowDeployed"
      | "CollateralWithdrawn"
      | "Initialized"
      | "OwnershipTransferred"
  ): EventFragment;

  encodeFunctionData(
    functionFragment: "_escrows",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "checkBalances",
    values: [AddressLike, CollateralStruct[]]
  ): string;
  encodeFunctionData(
    functionFragment: "commitCollateral(uint256,(uint8,uint256,uint256,address)[])",
    values: [BigNumberish, CollateralStruct[]]
  ): string;
  encodeFunctionData(
    functionFragment: "commitCollateral(uint256,(uint8,uint256,uint256,address))",
    values: [BigNumberish, CollateralStruct]
  ): string;
  encodeFunctionData(
    functionFragment: "deployAndDeposit",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getCollateralAmount",
    values: [BigNumberish, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getCollateralInfo",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "getEscrow",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "initialize",
    values: [AddressLike, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "isBidCollateralBacked",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "lenderClaimCollateral",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "liquidateCollateral",
    values: [BigNumberish, AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "onERC1155BatchReceived",
    values: [
      AddressLike,
      AddressLike,
      BigNumberish[],
      BigNumberish[],
      BytesLike
    ]
  ): string;
  encodeFunctionData(
    functionFragment: "onERC1155Received",
    values: [AddressLike, AddressLike, BigNumberish, BigNumberish, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "onERC721Received",
    values: [AddressLike, AddressLike, BigNumberish, BytesLike]
  ): string;
  encodeFunctionData(functionFragment: "owner", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "renounceOwnership",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "revalidateCollateral",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setCollateralEscrowBeacon",
    values: [AddressLike]
  ): string;
  encodeFunctionData(functionFragment: "tellerV2", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "transferOwnership",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "withdraw",
    values: [BigNumberish]
  ): string;

  decodeFunctionResult(functionFragment: "_escrows", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "checkBalances",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "commitCollateral(uint256,(uint8,uint256,uint256,address)[])",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "commitCollateral(uint256,(uint8,uint256,uint256,address))",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "deployAndDeposit",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCollateralAmount",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCollateralInfo",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "getEscrow", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "isBidCollateralBacked",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "lenderClaimCollateral",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "liquidateCollateral",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "onERC1155BatchReceived",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "onERC1155Received",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "onERC721Received",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "renounceOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "revalidateCollateral",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setCollateralEscrowBeacon",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "tellerV2", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "transferOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
}

export namespace CollateralClaimedEvent {
  export type InputTuple = [_bidId: BigNumberish];
  export type OutputTuple = [_bidId: bigint];
  export interface OutputObject {
    _bidId: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace CollateralCommittedEvent {
  export type InputTuple = [
    _bidId: BigNumberish,
    _type: BigNumberish,
    _collateralAddress: AddressLike,
    _amount: BigNumberish,
    _tokenId: BigNumberish
  ];
  export type OutputTuple = [
    _bidId: bigint,
    _type: bigint,
    _collateralAddress: string,
    _amount: bigint,
    _tokenId: bigint
  ];
  export interface OutputObject {
    _bidId: bigint;
    _type: bigint;
    _collateralAddress: string;
    _amount: bigint;
    _tokenId: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace CollateralDepositedEvent {
  export type InputTuple = [
    _bidId: BigNumberish,
    _type: BigNumberish,
    _collateralAddress: AddressLike,
    _amount: BigNumberish,
    _tokenId: BigNumberish
  ];
  export type OutputTuple = [
    _bidId: bigint,
    _type: bigint,
    _collateralAddress: string,
    _amount: bigint,
    _tokenId: bigint
  ];
  export interface OutputObject {
    _bidId: bigint;
    _type: bigint;
    _collateralAddress: string;
    _amount: bigint;
    _tokenId: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace CollateralEscrowDeployedEvent {
  export type InputTuple = [
    _bidId: BigNumberish,
    _collateralEscrow: AddressLike
  ];
  export type OutputTuple = [_bidId: bigint, _collateralEscrow: string];
  export interface OutputObject {
    _bidId: bigint;
    _collateralEscrow: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace CollateralWithdrawnEvent {
  export type InputTuple = [
    _bidId: BigNumberish,
    _type: BigNumberish,
    _collateralAddress: AddressLike,
    _amount: BigNumberish,
    _tokenId: BigNumberish,
    _recipient: AddressLike
  ];
  export type OutputTuple = [
    _bidId: bigint,
    _type: bigint,
    _collateralAddress: string,
    _amount: bigint,
    _tokenId: bigint,
    _recipient: string
  ];
  export interface OutputObject {
    _bidId: bigint;
    _type: bigint;
    _collateralAddress: string;
    _amount: bigint;
    _tokenId: bigint;
    _recipient: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace InitializedEvent {
  export type InputTuple = [version: BigNumberish];
  export type OutputTuple = [version: bigint];
  export interface OutputObject {
    version: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace OwnershipTransferredEvent {
  export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
  export type OutputTuple = [previousOwner: string, newOwner: string];
  export interface OutputObject {
    previousOwner: string;
    newOwner: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export interface CollateralManager extends BaseContract {
  connect(runner?: ContractRunner | null): CollateralManager;
  waitForDeployment(): Promise<this>;

  interface: CollateralManagerInterface;

  queryFilter<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;
  queryFilter<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;

  on<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  on<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  once<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  once<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  listeners<TCEvent extends TypedContractEvent>(
    event: TCEvent
  ): Promise<Array<TypedListener<TCEvent>>>;
  listeners(eventName?: string): Promise<Array<Listener>>;
  removeAllListeners<TCEvent extends TypedContractEvent>(
    event?: TCEvent
  ): Promise<this>;

  _escrows: TypedContractMethod<[arg0: BigNumberish], [string], "view">;

  checkBalances: TypedContractMethod<
    [_borrowerAddress: AddressLike, _collateralInfo: CollateralStruct[]],
    [[boolean, boolean[]] & { validated_: boolean; checks_: boolean[] }],
    "nonpayable"
  >;

  "commitCollateral(uint256,(uint8,uint256,uint256,address)[])": TypedContractMethod<
    [_bidId: BigNumberish, _collateralInfo: CollateralStruct[]],
    [boolean],
    "nonpayable"
  >;

  "commitCollateral(uint256,(uint8,uint256,uint256,address))": TypedContractMethod<
    [_bidId: BigNumberish, _collateralInfo: CollateralStruct],
    [boolean],
    "nonpayable"
  >;

  deployAndDeposit: TypedContractMethod<
    [_bidId: BigNumberish],
    [void],
    "nonpayable"
  >;

  getCollateralAmount: TypedContractMethod<
    [_bidId: BigNumberish, _collateralAddress: AddressLike],
    [bigint],
    "view"
  >;

  getCollateralInfo: TypedContractMethod<
    [_bidId: BigNumberish],
    [CollateralStructOutput[]],
    "view"
  >;

  getEscrow: TypedContractMethod<[_bidId: BigNumberish], [string], "view">;

  initialize: TypedContractMethod<
    [_collateralEscrowBeacon: AddressLike, _tellerV2: AddressLike],
    [void],
    "nonpayable"
  >;

  isBidCollateralBacked: TypedContractMethod<
    [_bidId: BigNumberish],
    [boolean],
    "nonpayable"
  >;

  lenderClaimCollateral: TypedContractMethod<
    [_bidId: BigNumberish],
    [void],
    "nonpayable"
  >;

  liquidateCollateral: TypedContractMethod<
    [_bidId: BigNumberish, _liquidatorAddress: AddressLike],
    [void],
    "nonpayable"
  >;

  onERC1155BatchReceived: TypedContractMethod<
    [
      arg0: AddressLike,
      arg1: AddressLike,
      _ids: BigNumberish[],
      _values: BigNumberish[],
      arg4: BytesLike
    ],
    [string],
    "nonpayable"
  >;

  onERC1155Received: TypedContractMethod<
    [
      arg0: AddressLike,
      arg1: AddressLike,
      id: BigNumberish,
      value: BigNumberish,
      arg4: BytesLike
    ],
    [string],
    "nonpayable"
  >;

  onERC721Received: TypedContractMethod<
    [arg0: AddressLike, arg1: AddressLike, arg2: BigNumberish, arg3: BytesLike],
    [string],
    "view"
  >;

  owner: TypedContractMethod<[], [string], "view">;

  renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;

  revalidateCollateral: TypedContractMethod<
    [_bidId: BigNumberish],
    [boolean],
    "nonpayable"
  >;

  setCollateralEscrowBeacon: TypedContractMethod<
    [_collateralEscrowBeacon: AddressLike],
    [void],
    "nonpayable"
  >;

  tellerV2: TypedContractMethod<[], [string], "view">;

  transferOwnership: TypedContractMethod<
    [newOwner: AddressLike],
    [void],
    "nonpayable"
  >;

  withdraw: TypedContractMethod<[_bidId: BigNumberish], [void], "nonpayable">;

  getFunction<T extends ContractMethod = ContractMethod>(
    key: string | FunctionFragment
  ): T;

  getFunction(
    nameOrSignature: "_escrows"
  ): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
  getFunction(
    nameOrSignature: "checkBalances"
  ): TypedContractMethod<
    [_borrowerAddress: AddressLike, _collateralInfo: CollateralStruct[]],
    [[boolean, boolean[]] & { validated_: boolean; checks_: boolean[] }],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "commitCollateral(uint256,(uint8,uint256,uint256,address)[])"
  ): TypedContractMethod<
    [_bidId: BigNumberish, _collateralInfo: CollateralStruct[]],
    [boolean],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "commitCollateral(uint256,(uint8,uint256,uint256,address))"
  ): TypedContractMethod<
    [_bidId: BigNumberish, _collateralInfo: CollateralStruct],
    [boolean],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "deployAndDeposit"
  ): TypedContractMethod<[_bidId: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "getCollateralAmount"
  ): TypedContractMethod<
    [_bidId: BigNumberish, _collateralAddress: AddressLike],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "getCollateralInfo"
  ): TypedContractMethod<
    [_bidId: BigNumberish],
    [CollateralStructOutput[]],
    "view"
  >;
  getFunction(
    nameOrSignature: "getEscrow"
  ): TypedContractMethod<[_bidId: BigNumberish], [string], "view">;
  getFunction(
    nameOrSignature: "initialize"
  ): TypedContractMethod<
    [_collateralEscrowBeacon: AddressLike, _tellerV2: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "isBidCollateralBacked"
  ): TypedContractMethod<[_bidId: BigNumberish], [boolean], "nonpayable">;
  getFunction(
    nameOrSignature: "lenderClaimCollateral"
  ): TypedContractMethod<[_bidId: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "liquidateCollateral"
  ): TypedContractMethod<
    [_bidId: BigNumberish, _liquidatorAddress: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "onERC1155BatchReceived"
  ): TypedContractMethod<
    [
      arg0: AddressLike,
      arg1: AddressLike,
      _ids: BigNumberish[],
      _values: BigNumberish[],
      arg4: BytesLike
    ],
    [string],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "onERC1155Received"
  ): TypedContractMethod<
    [
      arg0: AddressLike,
      arg1: AddressLike,
      id: BigNumberish,
      value: BigNumberish,
      arg4: BytesLike
    ],
    [string],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "onERC721Received"
  ): TypedContractMethod<
    [arg0: AddressLike, arg1: AddressLike, arg2: BigNumberish, arg3: BytesLike],
    [string],
    "view"
  >;
  getFunction(
    nameOrSignature: "owner"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "renounceOwnership"
  ): TypedContractMethod<[], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "revalidateCollateral"
  ): TypedContractMethod<[_bidId: BigNumberish], [boolean], "nonpayable">;
  getFunction(
    nameOrSignature: "setCollateralEscrowBeacon"
  ): TypedContractMethod<
    [_collateralEscrowBeacon: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "tellerV2"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "transferOwnership"
  ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "withdraw"
  ): TypedContractMethod<[_bidId: BigNumberish], [void], "nonpayable">;

  getEvent(
    key: "CollateralClaimed"
  ): TypedContractEvent<
    CollateralClaimedEvent.InputTuple,
    CollateralClaimedEvent.OutputTuple,
    CollateralClaimedEvent.OutputObject
  >;
  getEvent(
    key: "CollateralCommitted"
  ): TypedContractEvent<
    CollateralCommittedEvent.InputTuple,
    CollateralCommittedEvent.OutputTuple,
    CollateralCommittedEvent.OutputObject
  >;
  getEvent(
    key: "CollateralDeposited"
  ): TypedContractEvent<
    CollateralDepositedEvent.InputTuple,
    CollateralDepositedEvent.OutputTuple,
    CollateralDepositedEvent.OutputObject
  >;
  getEvent(
    key: "CollateralEscrowDeployed"
  ): TypedContractEvent<
    CollateralEscrowDeployedEvent.InputTuple,
    CollateralEscrowDeployedEvent.OutputTuple,
    CollateralEscrowDeployedEvent.OutputObject
  >;
  getEvent(
    key: "CollateralWithdrawn"
  ): TypedContractEvent<
    CollateralWithdrawnEvent.InputTuple,
    CollateralWithdrawnEvent.OutputTuple,
    CollateralWithdrawnEvent.OutputObject
  >;
  getEvent(
    key: "Initialized"
  ): TypedContractEvent<
    InitializedEvent.InputTuple,
    InitializedEvent.OutputTuple,
    InitializedEvent.OutputObject
  >;
  getEvent(
    key: "OwnershipTransferred"
  ): TypedContractEvent<
    OwnershipTransferredEvent.InputTuple,
    OwnershipTransferredEvent.OutputTuple,
    OwnershipTransferredEvent.OutputObject
  >;

  filters: {
    "CollateralClaimed(uint256)": TypedContractEvent<
      CollateralClaimedEvent.InputTuple,
      CollateralClaimedEvent.OutputTuple,
      CollateralClaimedEvent.OutputObject
    >;
    CollateralClaimed: TypedContractEvent<
      CollateralClaimedEvent.InputTuple,
      CollateralClaimedEvent.OutputTuple,
      CollateralClaimedEvent.OutputObject
    >;

    "CollateralCommitted(uint256,uint8,address,uint256,uint256)": TypedContractEvent<
      CollateralCommittedEvent.InputTuple,
      CollateralCommittedEvent.OutputTuple,
      CollateralCommittedEvent.OutputObject
    >;
    CollateralCommitted: TypedContractEvent<
      CollateralCommittedEvent.InputTuple,
      CollateralCommittedEvent.OutputTuple,
      CollateralCommittedEvent.OutputObject
    >;

    "CollateralDeposited(uint256,uint8,address,uint256,uint256)": TypedContractEvent<
      CollateralDepositedEvent.InputTuple,
      CollateralDepositedEvent.OutputTuple,
      CollateralDepositedEvent.OutputObject
    >;
    CollateralDeposited: TypedContractEvent<
      CollateralDepositedEvent.InputTuple,
      CollateralDepositedEvent.OutputTuple,
      CollateralDepositedEvent.OutputObject
    >;

    "CollateralEscrowDeployed(uint256,address)": TypedContractEvent<
      CollateralEscrowDeployedEvent.InputTuple,
      CollateralEscrowDeployedEvent.OutputTuple,
      CollateralEscrowDeployedEvent.OutputObject
    >;
    CollateralEscrowDeployed: TypedContractEvent<
      CollateralEscrowDeployedEvent.InputTuple,
      CollateralEscrowDeployedEvent.OutputTuple,
      CollateralEscrowDeployedEvent.OutputObject
    >;

    "CollateralWithdrawn(uint256,uint8,address,uint256,uint256,address)": TypedContractEvent<
      CollateralWithdrawnEvent.InputTuple,
      CollateralWithdrawnEvent.OutputTuple,
      CollateralWithdrawnEvent.OutputObject
    >;
    CollateralWithdrawn: TypedContractEvent<
      CollateralWithdrawnEvent.InputTuple,
      CollateralWithdrawnEvent.OutputTuple,
      CollateralWithdrawnEvent.OutputObject
    >;

    "Initialized(uint8)": TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;
    Initialized: TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;

    "OwnershipTransferred(address,address)": TypedContractEvent<
      OwnershipTransferredEvent.InputTuple,
      OwnershipTransferredEvent.OutputTuple,
      OwnershipTransferredEvent.OutputObject
    >;
    OwnershipTransferred: TypedContractEvent<
      OwnershipTransferredEvent.InputTuple,
      OwnershipTransferredEvent.OutputTuple,
      OwnershipTransferredEvent.OutputObject
    >;
  };
}
