generated from storyprotocol/solidity-template
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into license_metadata
- Loading branch information
Showing
38 changed files
with
11,535 additions
and
864 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
2,035 changes: 2,035 additions & 0 deletions
2,035
broadcast/Main.s.sol/11155111/run-1702012251.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,035 changes: 2,035 additions & 0 deletions
2,035
broadcast/Main.s.sol/11155111/run-1702012356.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2,035 changes: 2,035 additions & 0 deletions
2,035
broadcast/Main.s.sol/11155111/run-1702012431.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,035 changes: 2,035 additions & 0 deletions
2,035
broadcast/Main.s.sol/11155111/run-1702012710.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.19; | ||
|
||
import { ModuleDependencies } from "contracts/lib/modules/Module.sol"; | ||
|
||
/// @title Module Gateway Interface | ||
/// @notice Interface for a Story Protocol module gateway, which is a contract | ||
/// that may be granted access by the module registry to call module | ||
/// functions declared by the gateway's module dependency set. | ||
interface IGateway { | ||
|
||
/// @notice Synchronizes all downstream dependencies via the module registry. | ||
/// @dev This function may only be called by the module registry. | ||
/// @return dependencies The freshly updated dependencies needed by the gateway. | ||
function updateDependencies() external returns (ModuleDependencies memory dependencies); | ||
|
||
/// @notice Fetches all module dependencies required by the gateway contract. | ||
/// @return dependencies The dependencies that the gateway requires from the protocol. | ||
function getDependencies() external view returns (ModuleDependencies memory dependencies); | ||
|
||
} |
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
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
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
Oops, something went wrong.