-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from makerdao/managed_gem_join
Add managed GemJoin abstract
- Loading branch information
Showing
3 changed files
with
21 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
pragma solidity >=0.5.12; | ||
|
||
// https://github.com/makerdao/dss-gem-joins/blob/master/src/join-managed.sol | ||
interface GemJoinManagedAbstract { | ||
function wards(address) external view returns (uint256); | ||
function rely(address) external; | ||
function deny(address) external; | ||
function vat() external view returns (address); | ||
function ilk() external view returns (bytes32); | ||
function gem() external view returns (address); | ||
function dec() external view returns (uint256); | ||
function live() external view returns (uint256); | ||
function cage() external; | ||
function join(address, uint256) external; | ||
function exit(address, address, uint256) external; | ||
} |
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