Skip to content

Commit

Permalink
Merge pull request #157 from Bananapus/ci/V0.0.18
Browse files Browse the repository at this point in the history
ci: bump npm version, modified deployment helper
  • Loading branch information
mejango authored Jun 10, 2024
2 parents 9548d47 + ab4fad7 commit babab7b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bananapus/core",
"version": "0.0.17",
"version": "0.0.18",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
28 changes: 16 additions & 12 deletions script/helpers/CoreDeploymentLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,32 +65,36 @@ library CoreDeploymentLib {
view
returns (CoreDeployment memory deployment)
{
deployment.permissions = JBPermissions(_getDeploymentAddress(path, "nana-core", network_name, "JBPermissions"));
deployment.permissions =
JBPermissions(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBPermissions"));

deployment.projects = JBProjects(_getDeploymentAddress(path, "nana-core", network_name, "JBProjects"));
deployment.projects = JBProjects(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBProjects"));

deployment.directory = JBDirectory(_getDeploymentAddress(path, "nana-core", network_name, "JBDirectory"));
deployment.directory =
JBDirectory(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBDirectory"));

deployment.splits = JBSplits(_getDeploymentAddress(path, "nana-core", network_name, "JBSplits"));
deployment.splits = JBSplits(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBSplits"));

deployment.rulesets = JBRulesets(_getDeploymentAddress(path, "nana-core", network_name, "JBRulesets"));
deployment.rulesets = JBRulesets(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBRulesets"));

deployment.controller = JBController(_getDeploymentAddress(path, "nana-core", network_name, "JBController"));
deployment.controller =
JBController(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBController"));

deployment.terminal = JBMultiTerminal(_getDeploymentAddress(path, "nana-core", network_name, "JBMultiTerminal"));
deployment.terminal =
JBMultiTerminal(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBMultiTerminal"));

deployment.terminalStore =
JBTerminalStore(_getDeploymentAddress(path, "nana-core", network_name, "JBTerminalStore"));
JBTerminalStore(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBTerminalStore"));

deployment.prices = JBPrices(_getDeploymentAddress(path, "nana-core", network_name, "JBPrices"));
deployment.prices = JBPrices(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBPrices"));

deployment.feeless =
JBFeelessAddresses(_getDeploymentAddress(path, "nana-core", network_name, "JBFeelessAddresses"));
JBFeelessAddresses(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBFeelessAddresses"));

deployment.fundAccess =
JBFundAccessLimits(_getDeploymentAddress(path, "nana-core", network_name, "JBFundAccessLimits"));
JBFundAccessLimits(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBFundAccessLimits"));

deployment.tokens = JBTokens(_getDeploymentAddress(path, "nana-core", network_name, "JBTokens"));
deployment.tokens = JBTokens(_getDeploymentAddress(path, "nana-core-testnet", network_name, "JBTokens"));
}

/// @notice Get the address of a contract that was deployed by the Deploy script.
Expand Down

0 comments on commit babab7b

Please sign in to comment.