randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
113 lines (112 loc) • 5.49 kB
TypeScript
import { ContractFactory, ContractTransactionResponse } from "ethers";
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
import type { NonPayableOverrides } from "../../common";
import type { StdError, StdErrorInterface } from "../../StdError.sol/StdError";
type StdErrorConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class StdError__factory extends ContractFactory {
constructor(...args: StdErrorConstructorParams);
getDeployTransaction(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<ContractDeployTransaction>;
deploy(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<StdError & {
deploymentTransaction(): ContractTransactionResponse;
}>;
connect(runner: ContractRunner | null): StdError__factory;
static readonly bytecode = "0x6102ac610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100aa575f3560e01c8063986c5f681161007d578063b67689da11610063578063b67689da146100f4578063d160e4de146100fc578063fa784a4414610104575f5ffd5b8063986c5f68146100e4578063b22dc54d146100ec575f5ffd5b806305ee8612146100ae57806310332977146100cc5780631de45560146100d45780638995290f146100dc575b5f5ffd5b6100b661010c565b6040516100c39190610223565b60405180910390f35b6100b6610193565b6100b66101a5565b6100b66101b7565b6100b66101c9565b6100b66101db565b6100b66101ed565b6100b66101ff565b6100b6610211565b604051603260248201526044015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f4e487b710000000000000000000000000000000000000000000000000000000017905281565b6040516001602482015260440161011a565b6040516021602482015260440161011a565b6040516011602482015260440161011a565b6040516041602482015260440161011a565b6040516031602482015260440161011a565b6040516051602482015260440161011a565b6040516022602482015260440161011a565b6040516012602482015260440161011a565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168401019150509291505056fea2646970667358221220c6885851e88b96ab82ead2af13c28ee25d6ef15f76e4816fb0f541561b0dee9964736f6c634300081c0033";
static readonly abi: readonly [{
readonly type: "function";
readonly name: "arithmeticError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "assertionError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "divisionError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "encodeStorageError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "enumConversionError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "indexOOBError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "memOverflowError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "popError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "zeroVarError";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bytes";
readonly internalType: "bytes";
}];
readonly stateMutability: "view";
}];
static createInterface(): StdErrorInterface;
static connect(address: string, runner?: ContractRunner | null): StdError;
}
export {};