UNPKG

blocklock-js

Version:

A library for encrypting and decrypting data for the future

63 lines (62 loc) 2.65 kB
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 = "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220b0304ef4187e10492a66fecf43fc5ee811baf9534a4dc85919865ee3f913bb2864736f6c634300081c0033"; 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 {};