blocklock-js
Version:
A library for encrypting and decrypting data for the future
39 lines (38 loc) • 4.16 kB
TypeScript
import { ContractFactory, ContractTransactionResponse } from "ethers";
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
import type { NonPayableOverrides } from "../../common";
import type { DeployFactory, DeployFactoryInterface } from "../../DeployFactory.s.sol/DeployFactory";
type DeployFactoryConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class DeployFactory__factory extends ContractFactory {
constructor(...args: DeployFactoryConstructorParams);
getDeployTransaction(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<ContractDeployTransaction>;
deploy(overrides?: NonPayableOverrides & {
from?: string;
}): Promise<DeployFactory & {
deploymentTransaction(): ContractTransactionResponse;
}>;
connect(runner: ContractRunner | null): DeployFactory__factory;
static readonly bytecode = "0x6080604052600c805462ff00ff191662010001179055348015601f575f5ffd5b506104b98061002d5f395ff3fe608060405234801561000f575f5ffd5b5060043610610034575f3560e01c8063c040622614610038578063f8ccbf4714610042575b5f5ffd5b610040610069565b005b600c546100559062010000900460ff1681565b604051901515815260200160405180910390f35b610071610073565b565b737109709ecfa91a80626ff3989d68f67f5b1dd12d6001600160a01b031663afc980406040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156100bf575f5ffd5b505af11580156100d1573d5f5f3e3d5ffd5b505050505f6040516100e2906101ac565b604051809103905ff0801580156100fb573d5f5f3e3d5ffd5b50905061013d6040518060400160405280601d81526020017f4352454154453220466163746f7279206465706c6f7965642061743a2000000081525082610140565b50565b61018582826040516024016101569291906101b9565b60408051601f198184030181529190526020810180516001600160e01b031663319af33360e01b179052610189565b5050565b61013d815f6a636f6e736f6c652e6c6f6790505f5f835160208501845afa505050565b6102838061020183390190565b604081525f83518060408401528060208601606085015e5f60608285018101919091526001600160a01b03949094166020840152601f01601f19169091019091019291505056fe6080604052348015600e575f5ffd5b506102678061001c5f395ff3fe608060405260043610610028575f3560e01c8063481286e61461002c578063cdcb760a14610067575b5f5ffd5b348015610037575f5ffd5b5061004b610046366004610140565b61007a565b6040516001600160a01b03909116815260200160405180910390f35b61004b610075366004610174565b6100a4565b6040805190810182905260208101839052308082525f91600b0160ff815360559020949350505050565b5f81515f036100c657604051631328927760e21b815260040160405180910390fd5b8282516020840134f590506001600160a01b0381166100f857604051633a0ba96160e11b815260040160405180910390fd5b604080516001600160a01b0383168152602081018590527f4108529e399e9cd5343c48ae06aa62a23c8c1b7c93f59d4691a0ea1e6f5b4603910160405180910390a192915050565b5f5f60408385031215610151575f5ffd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f5f60408385031215610185575f5ffd5b82359150602083013567ffffffffffffffff8111156101a2575f5ffd5b8301601f810185136101b2575f5ffd5b803567ffffffffffffffff8111156101cc576101cc610160565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156101fb576101fb610160565b604052818152828201602001871015610212575f5ffd5b816020840160208301375f60208383010152809350505050925092905056fea2646970667358221220b6b4f5de71e8ac337dd845cc23b73f6808935dd762517a951944059c04b08a3b64736f6c634300081c0033a2646970667358221220a0c71abecf75177f927671a83d632426b8479bda2759908bd1ce7977185b794c64736f6c634300081c0033";
static readonly abi: readonly [{
readonly type: "function";
readonly name: "IS_SCRIPT";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "bool";
readonly internalType: "bool";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "run";
readonly inputs: readonly [];
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
}];
static createInterface(): DeployFactoryInterface;
static connect(address: string, runner?: ContractRunner | null): DeployFactory;
}
export {};