randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
86 lines (82 loc) • 1.8 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Interface, type ContractRunner } from "ethers";
import type {
ISignatureSchemeAddressProvider,
ISignatureSchemeAddressProviderInterface,
} from "../ISignatureSchemeAddressProvider";
const _abi = [
{
type: "function",
name: "getSignatureSchemeAddress",
inputs: [
{
name: "schemeID",
type: "string",
internalType: "string",
},
],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "view",
},
{
type: "function",
name: "isSupportedScheme",
inputs: [
{
name: "schemeID",
type: "string",
internalType: "string",
},
],
outputs: [
{
name: "",
type: "bool",
internalType: "bool",
},
],
stateMutability: "view",
},
{
type: "function",
name: "updateSignatureScheme",
inputs: [
{
name: "schemeID",
type: "string",
internalType: "string",
},
{
name: "schemeAddress",
type: "address",
internalType: "address",
},
],
outputs: [],
stateMutability: "nonpayable",
},
] as const;
export class ISignatureSchemeAddressProvider__factory {
static readonly abi = _abi;
static createInterface(): ISignatureSchemeAddressProviderInterface {
return new Interface(_abi) as ISignatureSchemeAddressProviderInterface;
}
static connect(
address: string,
runner?: ContractRunner | null
): ISignatureSchemeAddressProvider {
return new Contract(
address,
_abi,
runner
) as unknown as ISignatureSchemeAddressProvider;
}
}