UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

106 lines (102 loc) 2.45 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { IDiamondCut, IDiamondCutInterface } from "../IDiamondCut"; const _abi = [ { anonymous: false, inputs: [ { components: [ { internalType: "address", name: "facetAddress", type: "address", }, { internalType: "enum IDiamondCut.FacetCutAction", name: "action", type: "uint8", }, { internalType: "bytes4[]", name: "functionSelectors", type: "bytes4[]", }, ], indexed: false, internalType: "struct IDiamondCut.FacetCut[]", name: "_diamondCut", type: "tuple[]", }, { indexed: false, internalType: "address", name: "_init", type: "address", }, { indexed: false, internalType: "bytes", name: "_calldata", type: "bytes", }, ], name: "DiamondCut", type: "event", }, { inputs: [ { components: [ { internalType: "address", name: "facetAddress", type: "address", }, { internalType: "enum IDiamondCut.FacetCutAction", name: "action", type: "uint8", }, { internalType: "bytes4[]", name: "functionSelectors", type: "bytes4[]", }, ], internalType: "struct IDiamondCut.FacetCut[]", name: "_diamondCut", type: "tuple[]", }, { internalType: "address", name: "_init", type: "address", }, { internalType: "bytes", name: "_calldata", type: "bytes", }, ], name: "diamondCut", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export class IDiamondCut__factory { static readonly abi = _abi; static createInterface(): IDiamondCutInterface { return new utils.Interface(_abi) as IDiamondCutInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IDiamondCut { return new Contract(address, _abi, signerOrProvider) as IDiamondCut; } }