randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
54 lines (53 loc) • 2.08 kB
TypeScript
import { type ContractRunner } from "ethers";
import type { ChainlinkVRFV2PlusWrapperConsumerBaseStub, ChainlinkVRFV2PlusWrapperConsumerBaseStubInterface } from "../ChainlinkVRFV2PlusWrapperConsumerBaseStub";
export declare class ChainlinkVRFV2PlusWrapperConsumerBaseStub__factory {
static readonly abi: readonly [{
readonly type: "function";
readonly name: "getBalance";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "uint256";
readonly internalType: "uint256";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "i_vrfV2PlusWrapper";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address";
readonly internalType: "contract IVRFV2PlusWrapper";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "rawFulfillRandomWords";
readonly inputs: readonly [{
readonly name: "_requestId";
readonly type: "uint256";
readonly internalType: "uint256";
}, {
readonly name: "_randomWords";
readonly type: "uint256[]";
readonly internalType: "uint256[]";
}];
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
}, {
readonly type: "error";
readonly name: "OnlyVRFWrapperCanFulfill";
readonly inputs: readonly [{
readonly name: "have";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "want";
readonly type: "address";
readonly internalType: "address";
}];
}];
static createInterface(): ChainlinkVRFV2PlusWrapperConsumerBaseStubInterface;
static connect(address: string, runner?: ContractRunner | null): ChainlinkVRFV2PlusWrapperConsumerBaseStub;
}