blocklock-js
Version:
A library for encrypting and decrypting data for the future
53 lines (49 loc) • 1.14 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Interface, type ContractRunner } from "ethers";
import type {
IDecryptionReceiver,
IDecryptionReceiverInterface,
} from "../IDecryptionReceiver";
const _abi = [
{
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 IDecryptionReceiver__factory {
static readonly abi = _abi;
static createInterface(): IDecryptionReceiverInterface {
return new Interface(_abi) as IDecryptionReceiverInterface;
}
static connect(
address: string,
runner?: ContractRunner | null
): IDecryptionReceiver {
return new Contract(
address,
_abi,
runner
) as unknown as IDecryptionReceiver;
}
}