You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aiming to be more aligned with the ENSv2, we should break the interfaces into smaller versions and interact with them through multicall.
Describe Preferred Solution
interfaceOffchainRegister {
/** * Registers a domain on the L2 contracts * @param name DNS-encoded name to be registered. * @param owner Owner of the domain * @param duration The duration in seconds of the registration. * @param secret The secret to be used for the registration based on commit/reveal * @param resolver The address of the resolver to set for this name. * @param fuses The fuses to set for this name. * @param extraData Any encoded additional data */function register(
bytescalldataname,
addressowner,
uint256duration,
bytes32secret,
addressresolver,
uint16fuses,
bytesmemoryextraData
)
externalpayable;
/** * Sets the primary name for the given address * @param name DNS-encoded name to be set as primary. * @param owner Owner of the domain */function setPrimaryName(bytescalldataname, addressowner) external;
/** * Sets records in the associated resolver * @param name DNS-encoded name for which to set records. * @param data Multicallable data bytes for setting records in the associated resolver. */function setRecords(bytescalldataname, bytes[] calldatadata) external;
}
Architecture Diagram
The text was updated successfully, but these errors were encountered:
Feature Request
Aiming to be more aligned with the ENSv2, we should break the interfaces into smaller versions and interact with them through
multicall
.Describe Preferred Solution
Architecture Diagram
The text was updated successfully, but these errors were encountered: