UNPKG

blocklock-js

Version:

A library for encrypting and decrypting data for the future

66 lines (62 loc) 1.41 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { DecryptionReceiverBase, DecryptionReceiverBaseInterface, } from "../DecryptionReceiverBase"; const _abi = [ { type: "function", name: "decryptionSender", inputs: [], outputs: [ { name: "", type: "address", internalType: "contract IDecryptionSender", }, ], stateMutability: "view", }, { type: "function", name: "receiveDecryptionData", inputs: [ { name: "requestId", type: "uint256", internalType: "uint256", }, { name: "decryptionKey", type: "bytes", internalType: "bytes", }, { name: "signature", type: "bytes", internalType: "bytes", }, ], outputs: [], stateMutability: "nonpayable", }, ] as const; export class DecryptionReceiverBase__factory { static readonly abi = _abi; static createInterface(): DecryptionReceiverBaseInterface { return new Interface(_abi) as DecryptionReceiverBaseInterface; } static connect( address: string, runner?: ContractRunner | null ): DecryptionReceiverBase { return new Contract( address, _abi, runner ) as unknown as DecryptionReceiverBase; } }