View Source Ethers.Contracts.ENS.ExtendedResolver (Ethers v0.6.2)
Extended ENS resolver as per ENSIP-10
Summary
Functions
Default address of the contract. Returns nil
if not specified.
Prepares contract constructor values for deployment.
Prepares resolve(bytes name, bytes data)
call parameters on the contract.
Functions
@spec __default_address__() :: nil
Default address of the contract. Returns nil
if not specified.
To specify a default address see Ethers.Contract
@spec constructor() :: binary()
Prepares contract constructor values for deployment.
To deploy a contracts use Ethers.deploy/2
and pass the result of this function as
:encoded_constructor
option.
Parameters
@spec resolve(binary(), binary()) :: Ethers.TxData.t()
Prepares resolve(bytes name, bytes data)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- name:
:bytes
- data:
:bytes
Return Types (when called with Ethers.call/2
)
- result:
:bytes