randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
55 lines (51 loc) • 1.16 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Interface, type ContractRunner } from "ethers";
import type { Multicall, MulticallInterface } from "../Multicall";
const _abi = [
{
type: "function",
name: "multicall",
inputs: [
{
name: "data",
type: "bytes[]",
internalType: "bytes[]",
},
],
outputs: [
{
name: "results",
type: "bytes[]",
internalType: "bytes[]",
},
],
stateMutability: "nonpayable",
},
{
type: "error",
name: "AddressEmptyCode",
inputs: [
{
name: "target",
type: "address",
internalType: "address",
},
],
},
{
type: "error",
name: "FailedCall",
inputs: [],
},
] as const;
export class Multicall__factory {
static readonly abi = _abi;
static createInterface(): MulticallInterface {
return new Interface(_abi) as MulticallInterface;
}
static connect(address: string, runner?: ContractRunner | null): Multicall {
return new Contract(address, _abi, runner) as unknown as Multicall;
}
}