Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
c63f41bf
Commit
c63f41bf
authored
Dec 09, 2022
by
Will Cory
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix value -> val typo
prettier comments
parent
52fbbc50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
AttestationStation.t.sol
...eriphery/contracts/foundry-tests/AttestationStation.t.sol
+1
-1
AttestationStation.sol
...riphery/contracts/universal/op-nft/AttestationStation.sol
+6
-6
No files found.
packages/contracts-periphery/contracts/foundry-tests/AttestationStation.t.sol
View file @
c63f41bf
...
@@ -47,7 +47,7 @@ contract AssetReceiverTest is AssetReceiver_Initializer {
...
@@ -47,7 +47,7 @@ contract AssetReceiverTest is AssetReceiver_Initializer {
attestationStation.attestations(
attestationStation.attestations(
attestationData.about,
attestationData.about,
attestationData.key,
attestationData.key,
attestationData.val
ue
attestationData.val
),
),
""
""
);
);
...
...
packages/contracts-periphery/contracts/universal/op-nft/AttestationStation.sol
View file @
c63f41bf
...
@@ -4,15 +4,15 @@ pragma solidity 0.8.15;
...
@@ -4,15 +4,15 @@ pragma solidity 0.8.15;
import { Semver } from "@eth-optimism/contracts-bedrock/contracts/universal/Semver.sol";
import { Semver } from "@eth-optimism/contracts-bedrock/contracts/universal/Semver.sol";
/**
/**
* @title AttestationStation
* @title
AttestationStation
* @dev Contract for creating attestations.
* @dev
Contract for creating attestations.
* @notice The AttestationStation contract is a contract for creating on chain attestations
* @notice The AttestationStation contract is a contract for creating on chain attestations
* It has a very simple interface for creating attestations.
* It has a very simple interface for creating attestations.
* This contract is not yet audited
* This contract is not yet audited
*/
*/
contract AttestationStation is Semver {
contract AttestationStation is Semver {
/**
/**
* @notice Struct representing data that is being attested
* @notice
Struct representing data that is being attested
*
*
* @custom:field about Address being attested about (not creator/msg.sender)
* @custom:field about Address being attested about (not creator/msg.sender)
* @custom:field key A bytes32 key for the attestation.
* @custom:field key A bytes32 key for the attestation.
...
@@ -26,9 +26,9 @@ contract AttestationStation is Semver {
...
@@ -26,9 +26,9 @@ contract AttestationStation is Semver {
/**
/**
* @notice Maps addresses to attestations
* @notice Maps addresses to attestations
* @dev addresses map to attestations map of
* @dev
addresses map to attestations map of
*
`about`
addresses to key/values
*
about
addresses to key/values
* key/values are a map of bytes32 to bytes
*
key/values are a map of bytes32 to bytes
*/
*/
mapping(address => mapping(address => mapping(bytes32 => bytes))) public attestations;
mapping(address => mapping(address => mapping(bytes32 => bytes))) public attestations;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment