UNPKG

blocklock-js

Version:

A library for encrypting and decrypting data for the future

72 lines (71 loc) 4.74 kB
import { ContractFactory, ContractTransactionResponse } from "ethers"; import type { Signer, BytesLike, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers"; import type { PayableOverrides } from "../common"; import type { ERC1967Proxy, ERC1967ProxyInterface } from "../ERC1967Proxy"; type ERC1967ProxyConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>; export declare class ERC1967Proxy__factory extends ContractFactory { constructor(...args: ERC1967ProxyConstructorParams); getDeployTransaction(implementation: AddressLike, _data: BytesLike, overrides?: PayableOverrides & { from?: string; }): Promise<ContractDeployTransaction>; deploy(implementation: AddressLike, _data: BytesLike, overrides?: PayableOverrides & { from?: string; }): Promise<ERC1967Proxy & { deploymentTransaction(): ContractTransactionResponse; }>; connect(runner: ContractRunner | null): ERC1967Proxy__factory; static readonly bytecode = "0x60806040526040516103d03803806103d08339810160408190526100229161023c565b61002c8282610033565b5050610321565b61003c82610091565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561008557610080828261010c565b505050565b61008d61017f565b5050565b806001600160a01b03163b5f036100cb57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051610128919061030b565b5f60405180830381855af49150503d805f8114610160576040519150601f19603f3d011682016040523d82523d5f602084013e610165565b606091505b5090925090506101768583836101a0565b95945050505050565b341561019e5760405163b398979f60e01b815260040160405180910390fd5b565b6060826101b5576101b0826101ff565b6101f8565b81511580156101cc57506001600160a01b0384163b155b156101f557604051639996b31560e01b81526001600160a01b03851660048201526024016100c2565b50805b9392505050565b80511561020f5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b634e487b7160e01b5f52604160045260245ffd5b5f5f6040838503121561024d575f5ffd5b82516001600160a01b0381168114610263575f5ffd5b60208401519092506001600160401b0381111561027e575f5ffd5b8301601f8101851361028e575f5ffd5b80516001600160401b038111156102a7576102a7610228565b604051601f8201601f19908116603f011681016001600160401b03811182821017156102d5576102d5610228565b6040528181528282016020018710156102ec575f5ffd5b8160208401602083015e5f602083830101528093505050509250929050565b5f82518060208501845e5f920191825250919050565b60a38061032d5f395ff3fe6080604052600a600c565b005b60186014601a565b6050565b565b5f604b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b365f5f375f5f365f845af43d5f5f3e8080156069573d5ff35b3d5ffdfea26469706673582212206dff90a2055082fd24dc79aadb1cbdf480533621d0dc51693475958dfa4afdf664736f6c634300081c0033"; static readonly abi: readonly [{ readonly type: "constructor"; readonly inputs: readonly [{ readonly name: "implementation"; readonly type: "address"; readonly internalType: "address"; }, { readonly name: "_data"; readonly type: "bytes"; readonly internalType: "bytes"; }]; readonly stateMutability: "payable"; }, { readonly type: "fallback"; readonly stateMutability: "payable"; }, { readonly type: "event"; readonly name: "Upgraded"; readonly inputs: readonly [{ readonly name: "implementation"; readonly type: "address"; readonly indexed: true; readonly internalType: "address"; }]; readonly anonymous: false; }, { readonly type: "error"; readonly name: "AddressEmptyCode"; readonly inputs: readonly [{ readonly name: "target"; readonly type: "address"; readonly internalType: "address"; }]; }, { readonly type: "error"; readonly name: "ERC1967InvalidImplementation"; readonly inputs: readonly [{ readonly name: "implementation"; readonly type: "address"; readonly internalType: "address"; }]; }, { readonly type: "error"; readonly name: "ERC1967NonPayable"; readonly inputs: readonly []; }, { readonly type: "error"; readonly name: "FailedCall"; readonly inputs: readonly []; }]; static createInterface(): ERC1967ProxyInterface; static connect(address: string, runner?: ContractRunner | null): ERC1967Proxy; } export {};