Skip to content

Commit

Permalink
added viewer for deployer. up to 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
artman325 committed Jul 12, 2024
1 parent 352ff2f commit 2ef387a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions contracts/CostManagerBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ abstract contract CostManagerBase is Initializable {
}

/**
* @dev viewer the costmanager token
* @return address of costmanager token
* @dev viewer the costmanager address
* @return address of costmanager address
*/
function getCostManager() public view returns(address) {
return costManager;
Expand Down Expand Up @@ -85,6 +85,15 @@ abstract contract CostManagerBase is Initializable {

costManager = costManager_;
}


/**
* @dev viewer the deployer address
* @return address of deployer address
*/
function getDeployer() internal view returns(address) {
return deployer;
}

function _sender() internal virtual returns(address);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"/build/contracts/*.json",
"!/contracts/mocks/**/*"
],
"version": "2.2.0",
"version": "2.2.1",
"description": "Smart contracts and code relating to the Intercoin ITR Token",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 2ef387a

Please sign in to comment.