blocklock-js
Version:
A library for encrypting and decrypting data for the future
63 lines (62 loc) • 2.65 kB
TypeScript
import { ContractFactory, ContractTransactionResponse } from "ethers";
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
import type { NonPayableOverrides } from "../common";
import type { SafeCast, SafeCastInterface } from "../SafeCast";
type SafeCastConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class SafeCast__factory extends ContractFactory {
constructor(...args: SafeCastConstructorParams);
getDeployTransaction(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<ContractDeployTransaction>;
deploy(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<SafeCast & {
deploymentTransaction(): ContractTransactionResponse;
}>;
connect(runner: ContractRunner | null): SafeCast__factory;
static readonly bytecode = "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220f7f5b5e05d76b8bc54ae353c9d6add39f0cabb39cc838ffeffa85c798345297864736f6c634300081c0033";
static readonly abi: readonly [{
readonly type: "error";
readonly name: "SafeCastOverflowedIntDowncast";
readonly inputs: readonly [{
readonly name: "bits";
readonly type: "uint8";
readonly internalType: "uint8";
}, {
readonly name: "value";
readonly type: "int256";
readonly internalType: "int256";
}];
}, {
readonly type: "error";
readonly name: "SafeCastOverflowedIntToUint";
readonly inputs: readonly [{
readonly name: "value";
readonly type: "int256";
readonly internalType: "int256";
}];
}, {
readonly type: "error";
readonly name: "SafeCastOverflowedUintDowncast";
readonly inputs: readonly [{
readonly name: "bits";
readonly type: "uint8";
readonly internalType: "uint8";
}, {
readonly name: "value";
readonly type: "uint256";
readonly internalType: "uint256";
}];
}, {
readonly type: "error";
readonly name: "SafeCastOverflowedUintToInt";
readonly inputs: readonly [{
readonly name: "value";
readonly type: "uint256";
readonly internalType: "uint256";
}];
}];
static createInterface(): SafeCastInterface;
static connect(address: string, runner?: ContractRunner | null): SafeCast;
}
export {};