diff --git a/js/contracts.js b/js/contracts.js index 9d2a37a..b671795 100644 --- a/js/contracts.js +++ b/js/contracts.js @@ -5,6 +5,7 @@ const LiquidPledgingArtifact = require('../build/LiquidPledging.json'); const LPVaultArtifact = require('../build/LPVault.json'); const KernelArtifact = require('../build/Kernel.json'); const ACLArtifact = require('../build/ACL.json'); +const AppProxyUpgradeableArtifact = require('../build/AppProxyUpgradeable.json'); const StandardTokenTestAtifact = require('../build/StandardToken.json'); const LiquidPledgingMockArtifact = require('../build/LiquidPledgingMock.json'); const RecoveryVaultArtifact = require('../build/RecoveryVault.json'); @@ -31,6 +32,10 @@ module.exports = { ACLArtifact.compilerOutput.abi, ACLArtifact.compilerOutput.evm.bytecode.object, ), + AppProxyUpgradeable: generateClass( + AppProxyUpgradeableArtifact.compilerOutput.abi, + AppProxyUpgradeableArtifact.compilerOutput.evm.bytecode.object, + ), test: { RecoveryVault: generateClass( RecoveryVaultArtifact.compilerOutput.abi, diff --git a/package.json b/package.json index 9aeb07a..ab04cec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "giveth-liquidpledging", - "version": "1.0.0-beta.4", + "version": "1.0.0-beta.5", "description": "Liquid Pledging Smart Contract", "main": "index.js", "directories": { @@ -9,7 +9,7 @@ }, "scripts": { "test": "npm run build && mocha --harmony", - "compile:sol": "solcpiler --solc-version v0.4.18+commit.9cf6e910 -i './contracts/**/*.sol' ./node_modules/@aragon/os/contracts/{kernel/Kernel.sol,acl/ACL.sol} --output-sol-dir build/contracts", + "compile:sol": "solcpiler --solc-version v0.4.18+commit.9cf6e910 -i './contracts/**/*.sol' ./node_modules/@aragon/os/contracts/{kernel/Kernel.sol,acl/ACL.sol,apps/AppProxyUpgradeable.sol} --output-sol-dir build/contracts", "compile:js": "babel -d lib/ js/", "compile": "npm run compile:sol && npm run compile:js", "build": "npm run compile",