UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

99 lines (95 loc) 1.97 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { ENSPubKeyResolver, ENSPubKeyResolverInterface, } from "../ENSPubKeyResolver"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "node", type: "bytes32", }, { indexed: false, internalType: "bytes32", name: "x", type: "bytes32", }, { indexed: false, internalType: "bytes32", name: "y", type: "bytes32", }, ], name: "PubkeyChanged", type: "event", }, { inputs: [ { internalType: "bytes32", name: "node", type: "bytes32", }, ], name: "pubkey", outputs: [ { internalType: "bytes32", name: "x", type: "bytes32", }, { internalType: "bytes32", name: "y", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "node", type: "bytes32", }, { internalType: "bytes32", name: "x", type: "bytes32", }, { internalType: "bytes32", name: "y", type: "bytes32", }, ], name: "setPubkey", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export class ENSPubKeyResolver__factory { static readonly abi = _abi; static createInterface(): ENSPubKeyResolverInterface { return new utils.Interface(_abi) as ENSPubKeyResolverInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): ENSPubKeyResolver { return new Contract(address, _abi, signerOrProvider) as ENSPubKeyResolver; } }