Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ContractFactory
    • MockWETH9__factory

Index

Constructors

constructor

  • Parameters

    • Optional signer: Signer

    Returns MockWETH9__factory

Properties

Readonly bytecode

bytecode: string

Readonly interface

interface: Interface

Readonly signer

signer: Signer

Static Readonly abi

abi: ({ anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string }[]; name: string; outputs: undefined; stateMutability: undefined; type: string } | { anonymous: undefined; inputs: undefined; name: undefined; outputs: undefined; stateMutability: string; type: string } | { anonymous: undefined; inputs: { internalType: string; name: string; type: string }[]; name: string; outputs: { internalType: string; name: string; type: string }[]; stateMutability: string; type: string })[] = ...

Static Readonly bytecode

bytecode: "0x60c0604052600d60808190526c2bb930b83832b21022ba3432b960991b60a090815261002e916000919061007a565b50604080518082019091526004808252630ae8aa8960e31b602090920191825261005a9160019161007a565b506002805460ff1916601217905534801561007457600080fd5b5061014e565b82805461008690610113565b90600052602060002090601f0160209004810192826100a857600085556100ee565b82601f106100c157805160ff19168380011785556100ee565b828001600101855582156100ee579182015b828111156100ee5782518255916020019190600101906100d3565b506100fa9291506100fe565b5090565b5b808211156100fa57600081556001016100ff565b600181811c9082168061012757607f821691505b6020821081141561014857634e487b7160e01b600052602260045260246000fd5b50919050565b6107c28061015d6000396000f3fe6080604052600436106100a05760003560e01c8063313ce56711610064578063313ce5671461016f57806370a082311461019b57806395d89b41146101c8578063a9059cbb146101dd578063d0e30db0146100af578063dd62ed3e146101fd576100af565b806306fdde03146100b7578063095ea7b3146100e257806318160ddd1461011257806323b872dd1461012f5780632e1a7d4d1461014f576100af565b366100af576100ad610235565b005b6100ad610235565b3480156100c357600080fd5b506100cc610290565b6040516100d991906106b9565b60405180910390f35b3480156100ee57600080fd5b506101026100fd366004610678565b61031e565b60405190151581526020016100d9565b34801561011e57600080fd5b50475b6040519081526020016100d9565b34801561013b57600080fd5b5061010261014a36600461063d565b61038a565b34801561015b57600080fd5b506100ad61016a3660046106a1565b61050e565b34801561017b57600080fd5b506002546101899060ff1681565b60405160ff90911681526020016100d9565b3480156101a757600080fd5b506101216101b63660046105f1565b60036020526000908152604090205481565b3480156101d457600080fd5b506100cc6105b4565b3480156101e957600080fd5b506101026101f8366004610678565b6105c1565b34801561020957600080fd5b5061012161021836600461060b565b600460209081526000928352604080842090915290825290205481565b336000908152600360205260408120805434929061025490849061070c565b909155505060405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b6000805461029d9061073b565b80601f01602080910402602001604051908101604052809291908181526020018280546102c99061073b565b80156103165780601f106102eb57610100808354040283529160200191610316565b820191906000526020600020905b8154815290600101906020018083116102f957829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103799086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600360205260408120548211156103af57600080fd5b6001600160a01b03841633148015906103ed57506001600160a01b038416600090815260046020908152604080832033845290915290205460001914155b1561045b576001600160a01b038416600090815260046020908152604080832033845290915290205482111561042257600080fd5b6001600160a01b038416600090815260046020908152604080832033845290915281208054849290610455908490610724565b90915550505b6001600160a01b03841660009081526003602052604081208054849290610483908490610724565b90915550506001600160a01b038316600090815260036020526040812080548492906104b090849061070c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516104fc91815260200190565b60405180910390a35060019392505050565b3360009081526003602052604090205481111561052a57600080fd5b3360009081526003602052604081208054839290610549908490610724565b9091555050604051339082156108fc029083906000818181858888f1935050505015801561057b573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a250565b6001805461029d9061073b565b60006105ce33848461038a565b9392505050565b80356001600160a01b03811681146105ec57600080fd5b919050565b600060208284031215610602578081fd5b6105ce826105d5565b6000806040838503121561061d578081fd5b610626836105d5565b9150610634602084016105d5565b90509250929050565b600080600060608486031215610651578081fd5b61065a846105d5565b9250610668602085016105d5565b9150604084013590509250925092565b6000806040838503121561068a578182fd5b610693836105d5565b946020939093013593505050565b6000602082840312156106b2578081fd5b5035919050565b6000602080835283518082850152825b818110156106e5578581018301518582016040015282016106c9565b818111156106f65783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561071f5761071f610776565b500190565b60008282101561073657610736610776565b500390565b600181811c9082168061074f57607f821691505b6020821081141561077057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220fb11d18616c0306f05fe172934e64141f4f7628eb7706449dd8e2fdd717caa6e64736f6c63430008040033" = ...

Methods

attach

  • Parameters

    • address: string

    Returns MockWETH9

connect

  • Parameters

    • signer: Signer

    Returns MockWETH9__factory

deploy

  • deploy(overrides?: Overrides & { from?: string | Promise<string> }): Promise<MockWETH9>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<MockWETH9>

getDeployTransaction

  • getDeployTransaction(overrides?: Overrides & { from?: string | Promise<string> }): TransactionRequest
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns TransactionRequest

Static connect

  • connect(address: string, signerOrProvider: Signer | Provider): MockWETH9
  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns MockWETH9

Static createInterface

  • createInterface(): MockWETH9Interface
  • Returns MockWETH9Interface

Static fromSolidity

  • fromSolidity(compilerOutput: any, signer?: Signer): ContractFactory
  • Parameters

    • compilerOutput: any
    • Optional signer: Signer

    Returns ContractFactory

Static getContract

  • getContract(address: string, contractInterface: ContractInterface, signer?: Signer): Contract
  • Parameters

    • address: string
    • contractInterface: ContractInterface
    • Optional signer: Signer

    Returns Contract

Static getContractAddress

  • getContractAddress(tx: { from: string; nonce: number | BigNumber | BytesLike }): string
  • Parameters

    • tx: { from: string; nonce: number | BigNumber | BytesLike }
      • from: string
      • nonce: number | BigNumber | BytesLike

    Returns string

Static getInterface

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

Generated using TypeDoc