UNPKG

@arbitrum/sdk

Version:

Typescript library client-side interactions with Arbitrum

68 lines (67 loc) 4.91 kB
import { Signer, ContractFactory, Overrides } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import type { UpgradeableBeacon, UpgradeableBeaconInterface } from "../UpgradeableBeacon"; type UpgradeableBeaconConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>; export declare class UpgradeableBeacon__factory extends ContractFactory { constructor(...args: UpgradeableBeaconConstructorParams); deploy(implementation_: string, overrides?: Overrides & { from?: string | Promise<string>; }): Promise<UpgradeableBeacon>; getDeployTransaction(implementation_: string, overrides?: Overrides & { from?: string | Promise<string>; }): TransactionRequest; attach(address: string): UpgradeableBeacon; connect(signer: Signer): UpgradeableBeacon__factory; static readonly contractName: "UpgradeableBeacon"; readonly contractName: "UpgradeableBeacon"; static readonly bytecode = "0x608060405234801561001057600080fd5b5060405161052738038061052783398101604081905261002f91610151565b61003833610047565b61004181610097565b50610181565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100aa8161014260201b61020a1760201c565b6101205760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03163b151590565b60006020828403121561016357600080fd5b81516001600160a01b038116811461017a57600080fd5b9392505050565b610397806101906000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633659cfe61461005c5780635c60da1b14610071578063715018a61461009a5780638da5cb5b146100a2578063f2fde38b146100b3575b600080fd5b61006f61006a3660046102fc565b6100c6565b005b6001546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b61006f610139565b6000546001600160a01b031661007e565b61006f6100c13660046102fc565b61016f565b6000546001600160a01b031633146100f95760405162461bcd60e51b81526004016100f09061032c565b60405180910390fd5b61010281610219565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6000546001600160a01b031633146101635760405162461bcd60e51b81526004016100f09061032c565b61016d60006102ac565b565b6000546001600160a01b031633146101995760405162461bcd60e51b81526004016100f09061032c565b6001600160a01b0381166101fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100f0565b610207816102ac565b50565b6001600160a01b03163b151590565b6102228161020a565b61028a5760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6044820152721b881a5cc81b9bdd08184818dbdb9d1c9858dd606a1b60648201526084016100f0565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561030e57600080fd5b81356001600160a01b038116811461032557600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220791f11b0385ff4a001d4ed0faef3e5f2a532064a67177ab52f2c6da37212666a64736f6c63430008090033"; static readonly abi: ({ inputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; name?: undefined; outputs?: undefined; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; type: string; stateMutability?: undefined; outputs?: undefined; } | { inputs: never[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: never[]; stateMutability: string; type: string; anonymous?: undefined; })[]; static createInterface(): UpgradeableBeaconInterface; static connect(address: string, signerOrProvider: Signer | Provider): UpgradeableBeacon; } export {};