-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
060c154
commit 26e94c7
Showing
2 changed files
with
90 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-only | ||
pragma solidity 0.8.19; | ||
|
||
library Metadata { | ||
struct MetaPtr { | ||
/// @notice Protocol ID corresponding to a specific protocol. | ||
/// More info at https://github.com/allo-protocol/contracts/tree/main/docs/MetaPtrProtocol.md | ||
uint256 protocol; | ||
/// @notice Pointer to fetch metadata for the specified protocol | ||
string pointer; | ||
} | ||
} | ||
struct Metadata { | ||
/// @notice Protocol ID corresponding to a specific protocol. | ||
/// More info at https://github.com/allo-protocol/contracts/tree/main/docs/MetaPtrProtocol.md | ||
uint256 protocol; | ||
/// @notice Pointer to fetch metadata for the specified protocol | ||
string pointer; | ||
} |