randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
63 lines (62 loc) • 2.73 kB
TypeScript
import { ContractFactory, ContractTransactionResponse } from "ethers";
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
import type { NonPayableOverrides } from "../../common";
import type { StdStorageSafe, StdStorageSafeInterface } from "../../StdStorage.sol/StdStorageSafe";
type StdStorageSafeConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class StdStorageSafe__factory extends ContractFactory {
constructor(...args: StdStorageSafeConstructorParams);
getDeployTransaction(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<ContractDeployTransaction>;
deploy(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<StdStorageSafe & {
deploymentTransaction(): ContractTransactionResponse;
}>;
connect(runner: ContractRunner | null): StdStorageSafe__factory;
static readonly bytecode = "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220582391eb6bfc80987e544aeaa0ff177d313377eeed33c6deddd4de41030d71fa64736f6c634300081c0033";
static readonly abi: readonly [{
readonly type: "event";
readonly name: "SlotFound";
readonly inputs: readonly [{
readonly name: "who";
readonly type: "address";
readonly indexed: false;
readonly internalType: "address";
}, {
readonly name: "fsig";
readonly type: "bytes4";
readonly indexed: false;
readonly internalType: "bytes4";
}, {
readonly name: "keysHash";
readonly type: "bytes32";
readonly indexed: false;
readonly internalType: "bytes32";
}, {
readonly name: "slot";
readonly type: "uint256";
readonly indexed: false;
readonly internalType: "uint256";
}];
readonly anonymous: false;
}, {
readonly type: "event";
readonly name: "WARNING_UninitedSlot";
readonly inputs: readonly [{
readonly name: "who";
readonly type: "address";
readonly indexed: false;
readonly internalType: "address";
}, {
readonly name: "slot";
readonly type: "uint256";
readonly indexed: false;
readonly internalType: "uint256";
}];
readonly anonymous: false;
}];
static createInterface(): StdStorageSafeInterface;
static connect(address: string, runner?: ContractRunner | null): StdStorageSafe;
}
export {};