randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
84 lines (83 loc) • 2.99 kB
TypeScript
import { type ContractRunner } from "ethers";
import type { IVRFV2PlusWrapper, IVRFV2PlusWrapperInterface } from "../IVRFV2PlusWrapper";
export declare class IVRFV2PlusWrapper__factory {
static readonly abi: readonly [{
readonly type: "function";
readonly name: "calculateRequestPriceNative";
readonly inputs: readonly [{
readonly name: "_callbackGasLimit";
readonly type: "uint32";
readonly internalType: "uint32";
}, {
readonly name: "_numWords";
readonly type: "uint32";
readonly internalType: "uint32";
}];
readonly outputs: readonly [{
readonly name: "";
readonly type: "uint256";
readonly internalType: "uint256";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "estimateRequestPriceNative";
readonly inputs: readonly [{
readonly name: "_callbackGasLimit";
readonly type: "uint32";
readonly internalType: "uint32";
}, {
readonly name: "_numWords";
readonly type: "uint32";
readonly internalType: "uint32";
}, {
readonly name: "_requestGasPriceWei";
readonly type: "uint256";
readonly internalType: "uint256";
}];
readonly outputs: readonly [{
readonly name: "";
readonly type: "uint256";
readonly internalType: "uint256";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "lastRequestId";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "uint256";
readonly internalType: "uint256";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "requestRandomWordsInNative";
readonly inputs: readonly [{
readonly name: "_callbackGasLimit";
readonly type: "uint32";
readonly internalType: "uint32";
}, {
readonly name: "_requestConfirmations";
readonly type: "uint16";
readonly internalType: "uint16";
}, {
readonly name: "_numWords";
readonly type: "uint32";
readonly internalType: "uint32";
}, {
readonly name: "extraArgs";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly outputs: readonly [{
readonly name: "requestId";
readonly type: "uint256";
readonly internalType: "uint256";
}];
readonly stateMutability: "payable";
}];
static createInterface(): IVRFV2PlusWrapperInterface;
static connect(address: string, runner?: ContractRunner | null): IVRFV2PlusWrapper;
}