Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAR2 committed Jul 19, 2023
1 parent 3328cee commit d09d3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
24 changes: 1 addition & 23 deletions contracts/Boilerplate/Catalogue.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,29 +83,7 @@ contract Catalogue {

function change(address _from, address _to) public {
require(fees.isAdmin(msg.sender));
if (_from == address(kycWhitelist)) {
kycWhitelist = KycWhitelist(_to);
} else if (_from == address(roles)) {
roles = Roles(_to);
} else if (_from == address(fees)) {
fees = Fees(_to);
} else if (_from == address(challenges)) {
challenges = Challenges(_to);
} else if (_from == address(payouts)) {
payouts = Payouts(_to);
} else if (_from == address(shelteringTransfers)) {
shelteringTransfers = ShelteringTransfers(_to);
} else if (_from == address(sheltering)) {
sheltering = Sheltering(_to);
} else if (_from == address(uploads)) {
uploads = Uploads(_to);
} else if (_from == address(config)) {
config = Config(_to);
} else if (_from == address(validatorProxy)) {
validatorProxy = ValidatorProxy(_to);
} else if (_from == address(time)) {
time = Time(_to);
} else if (_from == address(poolsNodesManager)) {
if (_from == address(poolsNodesManager)) {
poolsNodesManager = PoolsNodesManager(_to);
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ambrosus-node-contracts",
"author": "Ambrosus",
"description": "Smart contracts used in AMB-NET",
"version": "0.0.95",
"version": "0.0.96",
"license": "MPL-2.0-no-copyleft-exception",
"repository": "git@github.com:ambrosus/ambrosus-node-contracts.git",
"main": "dist/index.js",
Expand Down

0 comments on commit d09d3fd

Please sign in to comment.