UNPKG

randomness-js

Version:

A library for consuming, verifying and using randomness from the dcipher network

44 lines (40 loc) 1 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { ISignatureReceiver, ISignatureReceiverInterface, } from "../ISignatureReceiver"; const _abi = [ { type: "function", name: "receiveSignature", inputs: [ { name: "requestID", type: "uint256", internalType: "uint256", }, { name: "signature", type: "bytes", internalType: "bytes", }, ], outputs: [], stateMutability: "nonpayable", }, ] as const; export class ISignatureReceiver__factory { static readonly abi = _abi; static createInterface(): ISignatureReceiverInterface { return new Interface(_abi) as ISignatureReceiverInterface; } static connect( address: string, runner?: ContractRunner | null ): ISignatureReceiver { return new Contract(address, _abi, runner) as unknown as ISignatureReceiver; } }