UNPKG

blocklock-js

Version:

A library for encrypting and decrypting data for the future

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