Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ensip-16-offchain-metadata.md #166

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions ens-improvement-proposals/ensip-16-offchain-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ interface IOffChainResolver {
function isApprovedFor(bytes context, bytes32 node, bytes delegate) returns (bool);

/** @dev Returns the owner of the resolver on L2
* @return name can be l2 chain name or url if offchain
* @return coinType according to https://github.com/ensdomains/address-encoder
* @return graphqlUrl url of graphql endpoint that provides additional information about the offchain name and its subdomains
* @return storageType 0 = EVM, 1 = Non blockchain, 2 = Starknet
Expand All @@ -69,14 +68,13 @@ interface IOffChainResolver {
function metadata(bytes calldata name)
external
view
returns (string memory, uint256, string memory, uint8, bytes memory, bytes memory)
returns (uint256, string memory, uint8, bytes memory, bytes memory)
{
return (name, coinType, graphqlUrl, storageType, storageLocation, context);
return (coinType, graphqlUrl, storageType, storageLocation, context);
}

// Optional. If context is dynamic, the event won't be emitted.
event MetadataChanged(
string name,
bytes name,
uint256 coinType,
string graphqlUrl,
uint8 storageType,
Expand Down