initial test script

This commit is contained in:
Iuri Matias 2019-05-21 18:20:25 -04:00
parent da4f4f1ad9
commit 1078c5725c
69 changed files with 593 additions and 1 deletions

View File

@ -23,5 +23,5 @@
"optimize-runs": 200 "optimize-runs": 200
} }
}, },
"generationDir": "src/embarkArtifacts" "generationDir": "embarkArtifacts"
} }

View File

@ -0,0 +1,10 @@
{
"dappConnection": [
"$WEB3",
"ws://localhost:8546",
"http://localhost:8545"
],
"dappAutoEnable": true,
"warnIfMetamask": true,
"blockchainClient": "geth"
}

View File

@ -0,0 +1,7 @@
{
"connection": {
"host": "localhost",
"port": 8546,
"type": "ws"
}
}

View File

@ -0,0 +1,10 @@
{
"dappConnection": [
{
"provider": "ipfs",
"host": "localhost",
"port": 5001,
"getUrl": "http://localhost:8080/ipfs/"
}
]
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ACLHelpersJSONConfig = {"contract_name":{"className":"ACLHelpers","args":[],"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a723058208ed555ad85e60821d3d613f43946658d6ce90181da6119598b9c2abc67de632d0029","runtimeBytecode":"6060604052600080fd00a165627a7a723058208ed555ad85e60821d3d613f43946658d6ce90181da6119598b9c2abc67de632d0029","realRuntimeBytecode":"6060604052600080fd00a165627a7a72305820","linkReferences":{},"swarmHash":"8ed555ad85e60821d3d613f43946658d6ce90181da6119598b9c2abc67de632d","gasEstimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"decodeParamId(uint256)":"infinite","decodeParamOp(uint256)":"infinite","decodeParamsList(uint256)":"infinite"}},"functionHashes":{},"abiDefinition":[],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/acl/ACLSyntaxSugar.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/acl/ACLSyntaxSugar.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/acl/ACLSyntaxSugar.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a723058208ed555ad85e60821d3d613f43946658d6ce90181da6119598b9c2abc67de632d0029","runtime_bytecode":"6060604052600080fd00a165627a7a723058208ed555ad85e60821d3d613f43946658d6ce90181da6119598b9c2abc67de632d0029","real_runtime_bytecode":"6060604052600080fd00a165627a7a72305820","swarm_hash":"8ed555ad85e60821d3d613f43946658d6ce90181da6119598b9c2abc67de632d","gas_estimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"decodeParamId(uint256)":"infinite","decodeParamOp(uint256)":"infinite","decodeParamsList(uint256)":"infinite"}},"function_hashes":{},"abi":[]};
let ACLHelpers = new EmbarkJS.Blockchain.Contract(ACLHelpersJSONConfig);
export default ACLHelpers;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ACLOracleJSONConfig = {"contract_name":{"className":"ACLOracle","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"canPerform(address,address,bytes32,uint256[])":"2a151090"},"abiDefinition":[{"constant":true,"inputs":[{"name":"who","type":"address"},{"name":"where","type":"address"},{"name":"what","type":"bytes32"},{"name":"how","type":"uint256[]"}],"name":"canPerform","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/acl/ACL.sol","originalFilename":"node_modules/@aragon/os/contracts/acl/ACL.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/node_modules/@aragon/os/contracts/acl/ACL.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"canPerform(address,address,bytes32,uint256[])":"2a151090"},"abi":[{"constant":true,"inputs":[{"name":"who","type":"address"},{"name":"where","type":"address"},{"name":"what","type":"bytes32"},{"name":"how","type":"uint256[]"}],"name":"canPerform","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]};
let ACLOracle = new EmbarkJS.Blockchain.Contract(ACLOracleJSONConfig);
export default ACLOracle;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ACLSyntaxSugarJSONConfig = {"contract_name":{"className":"ACLSyntaxSugar","args":[],"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a72305820052d1ee738d6a6f8f1722143128470ee13cef4e47c8722a40843a6d08f00e8b40029","runtimeBytecode":"6060604052600080fd00a165627a7a72305820052d1ee738d6a6f8f1722143128470ee13cef4e47c8722a40843a6d08f00e8b40029","realRuntimeBytecode":"6060604052600080fd00a165627a7a72305820","linkReferences":{},"swarmHash":"052d1ee738d6a6f8f1722143128470ee13cef4e47c8722a40843a6d08f00e8b4","gasEstimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"arr()":"infinite","arr(address)":"infinite","arr(address,address)":"infinite","arr(address,address,address)":"infinite","arr(address,address,uint256)":"infinite","arr(address,address,uint256,uint256,uint256)":"infinite","arr(address,uint256)":"infinite","arr(address,uint256,uint256)":"infinite","arr(bytes32)":"infinite","arr(bytes32,bytes32)":"infinite","arr(uint256)":"infinite","arr(uint256,uint256)":"infinite","arr(uint256,uint256,uint256)":"infinite","arr(uint256,uint256,uint256,uint256)":"infinite","arr(uint256,uint256,uint256,uint256,uint256)":"infinite"}},"functionHashes":{},"abiDefinition":[],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/acl/ACLSyntaxSugar.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/acl/ACLSyntaxSugar.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/acl/ACLSyntaxSugar.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a72305820052d1ee738d6a6f8f1722143128470ee13cef4e47c8722a40843a6d08f00e8b40029","runtime_bytecode":"6060604052600080fd00a165627a7a72305820052d1ee738d6a6f8f1722143128470ee13cef4e47c8722a40843a6d08f00e8b40029","real_runtime_bytecode":"6060604052600080fd00a165627a7a72305820","swarm_hash":"052d1ee738d6a6f8f1722143128470ee13cef4e47c8722a40843a6d08f00e8b4","gas_estimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"arr()":"infinite","arr(address)":"infinite","arr(address,address)":"infinite","arr(address,address,address)":"infinite","arr(address,address,uint256)":"infinite","arr(address,address,uint256,uint256,uint256)":"infinite","arr(address,uint256)":"infinite","arr(address,uint256,uint256)":"infinite","arr(bytes32)":"infinite","arr(bytes32,bytes32)":"infinite","arr(uint256)":"infinite","arr(uint256,uint256)":"infinite","arr(uint256,uint256,uint256)":"infinite","arr(uint256,uint256,uint256,uint256)":"infinite","arr(uint256,uint256,uint256,uint256,uint256)":"infinite"}},"function_hashes":{},"abi":[]};
let ACLSyntaxSugar = new EmbarkJS.Blockchain.Contract(ACLSyntaxSugarJSONConfig);
export default ACLSyntaxSugar;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let AppStorageJSONConfig = {"contract_name":{"className":"AppStorage","args":[],"code":"6060604052341561000f57600080fd5b60f68061001d6000396000f30060606040526004361060485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114604d578063d4aae0c414606f575b600080fd5b3415605757600080fd5b605d60a8565b60405190815260200160405180910390f35b3415607957600080fd5b607f60ae565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820e4c09f6b06a53b91227aba368314600717b240d6174817629c6fab1c6be0891a0029","runtimeBytecode":"60606040526004361060485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114604d578063d4aae0c414606f575b600080fd5b3415605757600080fd5b605d60a8565b60405190815260200160405180910390f35b3415607957600080fd5b607f60ae565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820e4c09f6b06a53b91227aba368314600717b240d6174817629c6fab1c6be0891a0029","realRuntimeBytecode":"60606040526004361060485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114604d578063d4aae0c414606f575b600080fd5b3415605757600080fd5b605d60a8565b60405190815260200160405180910390f35b3415607957600080fd5b607f60ae565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820","linkReferences":{},"swarmHash":"e4c09f6b06a53b91227aba368314600717b240d6174817629c6fab1c6be0891a","gasEstimates":{"creation":{"codeDepositCost":"49200","executionCost":"94","totalCost":"49294"},"external":{"appId()":"373","kernel()":"410"}},"functionHashes":{"appId()":"80afdea8","kernel()":"d4aae0c4"},"abiDefinition":[{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/apps/AppStorage.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/apps/AppStorage.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/apps/AppStorage.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"6060604052341561000f57600080fd5b60f68061001d6000396000f30060606040526004361060485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114604d578063d4aae0c414606f575b600080fd5b3415605757600080fd5b605d60a8565b60405190815260200160405180910390f35b3415607957600080fd5b607f60ae565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820e4c09f6b06a53b91227aba368314600717b240d6174817629c6fab1c6be0891a0029","runtime_bytecode":"60606040526004361060485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114604d578063d4aae0c414606f575b600080fd5b3415605757600080fd5b605d60a8565b60405190815260200160405180910390f35b3415607957600080fd5b607f60ae565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820e4c09f6b06a53b91227aba368314600717b240d6174817629c6fab1c6be0891a0029","real_runtime_bytecode":"60606040526004361060485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114604d578063d4aae0c414606f575b600080fd5b3415605757600080fd5b605d60a8565b60405190815260200160405180910390f35b3415607957600080fd5b607f60ae565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820","swarm_hash":"e4c09f6b06a53b91227aba368314600717b240d6174817629c6fab1c6be0891a","gas_estimates":{"creation":{"codeDepositCost":"49200","executionCost":"94","totalCost":"49294"},"external":{"appId()":"373","kernel()":"410"}},"function_hashes":{"appId()":"80afdea8","kernel()":"d4aae0c4"},"abi":[{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]};
let AppStorage = new EmbarkJS.Blockchain.Contract(AppStorageJSONConfig);
export default AppStorage;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let DelegateProxyJSONConfig = {"contract_name":{"className":"DelegateProxy","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"FORWARDING()":"2b2584f6","FWD_GAS_LIMIT()":"0ceafa2a","UPGRADEABLE()":"7e84a4ff","implementation()":"5c60da1b","proxyType()":"4555d5c9"},"abiDefinition":[{"constant":true,"inputs":[],"name":"FWD_GAS_LIMIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FORWARDING","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"name":"proxyTypeId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"codeAddr","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UPGRADEABLE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/DelegateProxy.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/DelegateProxy.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/common/DelegateProxy.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"FORWARDING()":"2b2584f6","FWD_GAS_LIMIT()":"0ceafa2a","UPGRADEABLE()":"7e84a4ff","implementation()":"5c60da1b","proxyType()":"4555d5c9"},"abi":[{"constant":true,"inputs":[],"name":"FWD_GAS_LIMIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FORWARDING","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"name":"proxyTypeId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"codeAddr","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UPGRADEABLE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]};
let DelegateProxy = new EmbarkJS.Blockchain.Contract(DelegateProxyJSONConfig);
export default DelegateProxy;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let DelegateScriptTargetJSONConfig = {"contract_name":{"className":"DelegateScriptTarget","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"exec()":"c1c0e9c4"},"abiDefinition":[{"constant":false,"inputs":[],"name":"exec","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/executors/DelegateScript.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/executors/DelegateScript.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/evmscript/executors/DelegateScript.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"exec()":"c1c0e9c4"},"abi":[{"constant":false,"inputs":[],"name":"exec","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let DelegateScriptTarget = new EmbarkJS.Blockchain.Contract(DelegateScriptTargetJSONConfig);
export default DelegateScriptTarget;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let DepositableDelegateProxyJSONConfig = {"contract_name":{"className":"DepositableDelegateProxy","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"FORWARDING()":"2b2584f6","FWD_GAS_LIMIT()":"0ceafa2a","UPGRADEABLE()":"7e84a4ff","implementation()":"5c60da1b","proxyType()":"4555d5c9"},"abiDefinition":[{"constant":true,"inputs":[],"name":"FWD_GAS_LIMIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FORWARDING","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"name":"proxyTypeId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"codeAddr","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UPGRADEABLE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"ProxyDeposit","type":"event"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/DepositableDelegateProxy.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/DepositableDelegateProxy.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/common/DepositableDelegateProxy.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"FORWARDING()":"2b2584f6","FWD_GAS_LIMIT()":"0ceafa2a","UPGRADEABLE()":"7e84a4ff","implementation()":"5c60da1b","proxyType()":"4555d5c9"},"abi":[{"constant":true,"inputs":[],"name":"FWD_GAS_LIMIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FORWARDING","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"name":"proxyTypeId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"codeAddr","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UPGRADEABLE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"ProxyDeposit","type":"event"}]};
let DepositableDelegateProxy = new EmbarkJS.Blockchain.Contract(DepositableDelegateProxyJSONConfig);
export default DepositableDelegateProxy;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ERC20JSONConfig = {"contract_name":{"className":"ERC20","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"},"abiDefinition":[{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/lib/zeppelin/token/ERC20.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/lib/zeppelin/token/ERC20.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/lib/zeppelin/token/ERC20.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"},"abi":[{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]};
let ERC20 = new EmbarkJS.Blockchain.Contract(ERC20JSONConfig);
export default ERC20;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ERC20BasicJSONConfig = {"contract_name":{"className":"ERC20Basic","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"balanceOf(address)":"70a08231","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb"},"abiDefinition":[{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/lib/zeppelin/token/ERC20Basic.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/lib/zeppelin/token/ERC20Basic.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/lib/zeppelin/token/ERC20Basic.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"balanceOf(address)":"70a08231","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb"},"abi":[{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]};
let ERC20Basic = new EmbarkJS.Blockchain.Contract(ERC20BasicJSONConfig);
export default ERC20Basic;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ERCProxyJSONConfig = {"contract_name":{"className":"ERCProxy","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"FORWARDING()":"2b2584f6","UPGRADEABLE()":"7e84a4ff","implementation()":"5c60da1b","proxyType()":"4555d5c9"},"abiDefinition":[{"constant":true,"inputs":[],"name":"FORWARDING","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"name":"proxyTypeId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"codeAddr","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UPGRADEABLE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/lib/misc/ERCProxy.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/lib/misc/ERCProxy.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/lib/misc/ERCProxy.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"FORWARDING()":"2b2584f6","UPGRADEABLE()":"7e84a4ff","implementation()":"5c60da1b","proxyType()":"4555d5c9"},"abi":[{"constant":true,"inputs":[],"name":"FORWARDING","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"name":"proxyTypeId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"codeAddr","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UPGRADEABLE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]};
let ERCProxy = new EmbarkJS.Blockchain.Contract(ERCProxyJSONConfig);
export default ERCProxy;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let EtherTokenConstantJSONConfig = {"contract_name":{"className":"EtherTokenConstant","args":[],"code":"6060604052341561000f57600080fd5b60ad8061001d6000396000f300606060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638322fff281146043575b600080fd5b3415604d57600080fd5b6053607c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000815600a165627a7a72305820be285ee427cc0a62ee77bb105bfaf04eb00820d65f7e123f2b0648ff5ed05f300029","runtimeBytecode":"606060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638322fff281146043575b600080fd5b3415604d57600080fd5b6053607c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000815600a165627a7a72305820be285ee427cc0a62ee77bb105bfaf04eb00820d65f7e123f2b0648ff5ed05f300029","realRuntimeBytecode":"606060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638322fff281146043575b600080fd5b3415604d57600080fd5b6053607c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000815600a165627a7a72305820","linkReferences":{},"swarmHash":"be285ee427cc0a62ee77bb105bfaf04eb00820d65f7e123f2b0648ff5ed05f30","gasEstimates":{"creation":{"codeDepositCost":"34600","executionCost":"82","totalCost":"34682"},"external":{"ETH()":"182"}},"functionHashes":{"ETH()":"8322fff2"},"abiDefinition":[{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/EtherTokenConstant.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/EtherTokenConstant.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/common/EtherTokenConstant.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"6060604052341561000f57600080fd5b60ad8061001d6000396000f300606060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638322fff281146043575b600080fd5b3415604d57600080fd5b6053607c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000815600a165627a7a72305820be285ee427cc0a62ee77bb105bfaf04eb00820d65f7e123f2b0648ff5ed05f300029","runtime_bytecode":"606060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638322fff281146043575b600080fd5b3415604d57600080fd5b6053607c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000815600a165627a7a72305820be285ee427cc0a62ee77bb105bfaf04eb00820d65f7e123f2b0648ff5ed05f300029","real_runtime_bytecode":"606060405260043610603e5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638322fff281146043575b600080fd5b3415604d57600080fd5b6053607c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000815600a165627a7a72305820","swarm_hash":"be285ee427cc0a62ee77bb105bfaf04eb00820d65f7e123f2b0648ff5ed05f30","gas_estimates":{"creation":{"codeDepositCost":"34600","executionCost":"82","totalCost":"34682"},"external":{"ETH()":"182"}},"function_hashes":{"ETH()":"8322fff2"},"abi":[{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]};
let EtherTokenConstant = new EmbarkJS.Blockchain.Contract(EtherTokenConstantJSONConfig);
export default EtherTokenConstant;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let IACLJSONConfig = {"contract_name":{"className":"IACL","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"hasPermission(address,address,bytes32,bytes)":"fdef9106","initialize(address)":"c4d66de8"},"abiDefinition":[{"constant":false,"inputs":[{"name":"permissionsCreator","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"},{"name":"where","type":"address"},{"name":"what","type":"bytes32"},{"name":"how","type":"bytes"}],"name":"hasPermission","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/acl/IACL.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/acl/IACL.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/acl/IACL.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"hasPermission(address,address,bytes32,bytes)":"fdef9106","initialize(address)":"c4d66de8"},"abi":[{"constant":false,"inputs":[{"name":"permissionsCreator","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"},{"name":"where","type":"address"},{"name":"what","type":"bytes32"},{"name":"how","type":"bytes"}],"name":"hasPermission","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]};
let IACL = new EmbarkJS.Blockchain.Contract(IACLJSONConfig);
export default IACL;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let IEVMScriptExecutorJSONConfig = {"contract_name":{"className":"IEVMScriptExecutor","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"execScript(bytes,bytes,address[])":"279cea35"},"abiDefinition":[{"constant":false,"inputs":[{"name":"script","type":"bytes"},{"name":"input","type":"bytes"},{"name":"blacklist","type":"address[]"}],"name":"execScript","outputs":[{"name":"","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"execScript(bytes,bytes,address[])":"279cea35"},"abi":[{"constant":false,"inputs":[{"name":"script","type":"bytes"},{"name":"input","type":"bytes"},{"name":"blacklist","type":"address[]"}],"name":"execScript","outputs":[{"name":"","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let IEVMScriptExecutor = new EmbarkJS.Blockchain.Contract(IEVMScriptExecutorJSONConfig);
export default IEVMScriptExecutor;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let IEVMScriptRegistryJSONConfig = {"contract_name":{"className":"IEVMScriptRegistry","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"addScriptExecutor(address)":"87a16f12","disableScriptExecutor(uint256)":"5ca4d4bb","getScriptExecutor(bytes)":"04bf2a7f"},"abiDefinition":[{"constant":true,"inputs":[{"name":"script","type":"bytes"}],"name":"getScriptExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"executorId","type":"uint256"}],"name":"disableScriptExecutor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"executor","type":"address"}],"name":"addScriptExecutor","outputs":[{"name":"id","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/IEVMScriptRegistry.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/IEVMScriptRegistry.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/evmscript/IEVMScriptRegistry.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"addScriptExecutor(address)":"87a16f12","disableScriptExecutor(uint256)":"5ca4d4bb","getScriptExecutor(bytes)":"04bf2a7f"},"abi":[{"constant":true,"inputs":[{"name":"script","type":"bytes"}],"name":"getScriptExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"executorId","type":"uint256"}],"name":"disableScriptExecutor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"executor","type":"address"}],"name":"addScriptExecutor","outputs":[{"name":"id","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let IEVMScriptRegistry = new EmbarkJS.Blockchain.Contract(IEVMScriptRegistryJSONConfig);
export default IEVMScriptRegistry;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let IKernelJSONConfig = {"contract_name":{"className":"IKernel","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"acl()":"de287359","allowRecoverability(address)":"7e7db6e1","getApp(bytes32)":"42c71f1d","getRecoveryVault()":"32f0a3b5","hasPermission(address,address,bytes32,bytes)":"fdef9106","setApp(bytes32,bytes32,address)":"ae5b2540","transferToVault(address)":"9d4941d8"},"abiDefinition":[{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"id","type":"bytes32"}],"name":"getApp","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"namespace","type":"bytes32"},{"name":"name","type":"bytes32"},{"name":"app","type":"address"}],"name":"setApp","outputs":[{"name":"id","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"acl","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"},{"name":"where","type":"address"},{"name":"what","type":"bytes32"},{"name":"how","type":"bytes"}],"name":"hasPermission","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"namespace","type":"bytes32"},{"indexed":true,"name":"name","type":"bytes32"},{"indexed":true,"name":"id","type":"bytes32"},{"indexed":false,"name":"app","type":"address"}],"name":"SetApp","type":"event"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/kernel/IKernel.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/kernel/IKernel.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/kernel/IKernel.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"acl()":"de287359","allowRecoverability(address)":"7e7db6e1","getApp(bytes32)":"42c71f1d","getRecoveryVault()":"32f0a3b5","hasPermission(address,address,bytes32,bytes)":"fdef9106","setApp(bytes32,bytes32,address)":"ae5b2540","transferToVault(address)":"9d4941d8"},"abi":[{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"id","type":"bytes32"}],"name":"getApp","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"namespace","type":"bytes32"},{"name":"name","type":"bytes32"},{"name":"app","type":"address"}],"name":"setApp","outputs":[{"name":"id","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"acl","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"},{"name":"where","type":"address"},{"name":"what","type":"bytes32"},{"name":"how","type":"bytes"}],"name":"hasPermission","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"namespace","type":"bytes32"},{"indexed":true,"name":"name","type":"bytes32"},{"indexed":true,"name":"id","type":"bytes32"},{"indexed":false,"name":"app","type":"address"}],"name":"SetApp","type":"event"}]};
let IKernel = new EmbarkJS.Blockchain.Contract(IKernelJSONConfig);
export default IKernel;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ILPVaultJSONConfig = {"contract_name":{"className":"ILPVault","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"authorizePayment(bytes32,address,address,uint256)":"a5426df1"},"abiDefinition":[{"constant":false,"inputs":[{"name":"_ref","type":"bytes32"},{"name":"_dest","type":"address"},{"name":"_token","type":"address"},{"name":"_amount","type":"uint256"}],"name":"authorizePayment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/LiquidPledgingStorage.sol","originalFilename":"contracts/LiquidPledgingStorage.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/LiquidPledgingStorage.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"authorizePayment(bytes32,address,address,uint256)":"a5426df1"},"abi":[{"constant":false,"inputs":[{"name":"_ref","type":"bytes32"},{"name":"_dest","type":"address"},{"name":"_token","type":"address"},{"name":"_amount","type":"uint256"}],"name":"authorizePayment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let ILPVault = new EmbarkJS.Blockchain.Contract(ILPVaultJSONConfig);
export default ILPVault;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ILiquidPledgingJSONConfig = {"contract_name":{"className":"ILiquidPledging","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"cancelPayment(uint64,uint256)":"e9c211e2","confirmPayment(uint64,uint256)":"2ee88808"},"abiDefinition":[{"constant":false,"inputs":[{"name":"idPledge","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"confirmPayment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"idPledge","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"cancelPayment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/LPVault.sol","originalFilename":"contracts/LPVault.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/LPVault.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"cancelPayment(uint64,uint256)":"e9c211e2","confirmPayment(uint64,uint256)":"2ee88808"},"abi":[{"constant":false,"inputs":[{"name":"idPledge","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"confirmPayment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"idPledge","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"cancelPayment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let ILiquidPledging = new EmbarkJS.Blockchain.Contract(ILiquidPledgingJSONConfig);
export default ILiquidPledging;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let ILiquidPledgingPluginJSONConfig = {"contract_name":{"className":"ILiquidPledgingPlugin","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"afterTransfer(uint64,uint64,uint64,uint64,address,uint256)":"0da5e18c","beforeTransfer(uint64,uint64,uint64,uint64,address,uint256)":"31c51a00"},"abiDefinition":[{"constant":false,"inputs":[{"name":"pledgeManager","type":"uint64"},{"name":"pledgeFrom","type":"uint64"},{"name":"pledgeTo","type":"uint64"},{"name":"context","type":"uint64"},{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"afterTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"pledgeManager","type":"uint64"},{"name":"pledgeFrom","type":"uint64"},{"name":"pledgeTo","type":"uint64"},{"name":"context","type":"uint64"},{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"beforeTransfer","outputs":[{"name":"maxAllowed","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/ILiquidPledgingPlugin.sol","originalFilename":"contracts/ILiquidPledgingPlugin.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/ILiquidPledgingPlugin.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"afterTransfer(uint64,uint64,uint64,uint64,address,uint256)":"0da5e18c","beforeTransfer(uint64,uint64,uint64,uint64,address,uint256)":"31c51a00"},"abi":[{"constant":false,"inputs":[{"name":"pledgeManager","type":"uint64"},{"name":"pledgeFrom","type":"uint64"},{"name":"pledgeTo","type":"uint64"},{"name":"context","type":"uint64"},{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"afterTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"pledgeManager","type":"uint64"},{"name":"pledgeFrom","type":"uint64"},{"name":"pledgeTo","type":"uint64"},{"name":"context","type":"uint64"},{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"beforeTransfer","outputs":[{"name":"maxAllowed","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let ILiquidPledgingPlugin = new EmbarkJS.Blockchain.Contract(ILiquidPledgingPluginJSONConfig);
export default ILiquidPledgingPlugin;

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let IVaultRecoverableJSONConfig = {"contract_name":{"className":"IVaultRecoverable","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"allowRecoverability(address)":"7e7db6e1","getRecoveryVault()":"32f0a3b5","transferToVault(address)":"9d4941d8"},"abiDefinition":[{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/IVaultRecoverable.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/IVaultRecoverable.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/common/IVaultRecoverable.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"allowRecoverability(address)":"7e7db6e1","getRecoveryVault()":"32f0a3b5","transferToVault(address)":"9d4941d8"},"abi":[{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let IVaultRecoverable = new EmbarkJS.Blockchain.Contract(IVaultRecoverableJSONConfig);
export default IVaultRecoverable;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let IsContractJSONConfig = {"contract_name":{"className":"IsContract","args":[],"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a7230582042b7a664336347555f8e2ee5ca4d7e8ec5020421cf547805720d7734abff54a20029","runtimeBytecode":"6060604052600080fd00a165627a7a7230582042b7a664336347555f8e2ee5ca4d7e8ec5020421cf547805720d7734abff54a20029","realRuntimeBytecode":"6060604052600080fd00a165627a7a72305820","linkReferences":{},"swarmHash":"42b7a664336347555f8e2ee5ca4d7e8ec5020421cf547805720d7734abff54a2","gasEstimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"isContract(address)":"infinite"}},"functionHashes":{},"abiDefinition":[],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/IsContract.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/IsContract.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/common/IsContract.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a7230582042b7a664336347555f8e2ee5ca4d7e8ec5020421cf547805720d7734abff54a20029","runtime_bytecode":"6060604052600080fd00a165627a7a7230582042b7a664336347555f8e2ee5ca4d7e8ec5020421cf547805720d7734abff54a20029","real_runtime_bytecode":"6060604052600080fd00a165627a7a72305820","swarm_hash":"42b7a664336347555f8e2ee5ca4d7e8ec5020421cf547805720d7734abff54a2","gas_estimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"isContract(address)":"infinite"}},"function_hashes":{},"abi":[]};
let IsContract = new EmbarkJS.Blockchain.Contract(IsContractJSONConfig);
export default IsContract;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let LiquidPledgingACLHelpersJSONConfig = {"contract_name":{"className":"LiquidPledgingACLHelpers","args":[],"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a723058201b7170a8f3ef3beaea21027f89a9478080b9dd00e50cbdc0f6f75da62302fefa0029","runtimeBytecode":"6060604052600080fd00a165627a7a723058201b7170a8f3ef3beaea21027f89a9478080b9dd00e50cbdc0f6f75da62302fefa0029","realRuntimeBytecode":"6060604052600080fd00a165627a7a72305820","linkReferences":{},"swarmHash":"1b7170a8f3ef3beaea21027f89a9478080b9dd00e50cbdc0f6f75da62302fefa","gasEstimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"arr(bool)":"infinite","arr(uint64,uint64,address,uint256,address)":"infinite"}},"functionHashes":{},"abiDefinition":[],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/LiquidPledgingACLHelpers.sol","originalFilename":"contracts/LiquidPledgingACLHelpers.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/LiquidPledgingACLHelpers.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a723058201b7170a8f3ef3beaea21027f89a9478080b9dd00e50cbdc0f6f75da62302fefa0029","runtime_bytecode":"6060604052600080fd00a165627a7a723058201b7170a8f3ef3beaea21027f89a9478080b9dd00e50cbdc0f6f75da62302fefa0029","real_runtime_bytecode":"6060604052600080fd00a165627a7a72305820","swarm_hash":"1b7170a8f3ef3beaea21027f89a9478080b9dd00e50cbdc0f6f75da62302fefa","gas_estimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"},"internal":{"arr(bool)":"infinite","arr(uint64,uint64,address,uint256,address)":"infinite"}},"function_hashes":{},"abi":[]};
let LiquidPledgingACLHelpers = new EmbarkJS.Blockchain.Contract(LiquidPledgingACLHelpersJSONConfig);
export default LiquidPledgingACLHelpers;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let LiquidPledgingStorageJSONConfig = {"contract_name":{"className":"LiquidPledgingStorage","args":[],"code":"60606040526005805460ff19169055341561001957600080fd5b610100806100286000396000f30060606040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c8e85688114604d578063fbfa77cf146071575b600080fd5b3415605757600080fd5b605d60aa565b604051901515815260200160405180910390f35b3415607b57600080fd5b608160b3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60055460ff1681565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a7230582063d7e189cca5e6a21102ff9319358b640d622263da1e178e1be05c1d405a394d0029","runtimeBytecode":"60606040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c8e85688114604d578063fbfa77cf146071575b600080fd5b3415605757600080fd5b605d60aa565b604051901515815260200160405180910390f35b3415607b57600080fd5b608160b3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60055460ff1681565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a7230582063d7e189cca5e6a21102ff9319358b640d622263da1e178e1be05c1d405a394d0029","realRuntimeBytecode":"60606040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c8e85688114604d578063fbfa77cf146071575b600080fd5b3415605757600080fd5b605d60aa565b604051901515815260200160405180910390f35b3415607b57600080fd5b608160b3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60055460ff1681565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820","linkReferences":{},"swarmHash":"63d7e189cca5e6a21102ff9319358b640d622263da1e178e1be05c1d405a394d","gasEstimates":{"creation":{"codeDepositCost":"51200","executionCost":"20312","totalCost":"71512"},"external":{"vault()":"421","whitelistDisabled()":"385"}},"functionHashes":{"vault()":"fbfa77cf","whitelistDisabled()":"1c8e8568"},"abiDefinition":[{"constant":true,"inputs":[],"name":"whitelistDisabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/LiquidPledgingStorage.sol","originalFilename":"contracts/LiquidPledgingStorage.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/LiquidPledgingStorage.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"60606040526005805460ff19169055341561001957600080fd5b610100806100286000396000f30060606040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c8e85688114604d578063fbfa77cf146071575b600080fd5b3415605757600080fd5b605d60aa565b604051901515815260200160405180910390f35b3415607b57600080fd5b608160b3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60055460ff1681565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a7230582063d7e189cca5e6a21102ff9319358b640d622263da1e178e1be05c1d405a394d0029","runtime_bytecode":"60606040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c8e85688114604d578063fbfa77cf146071575b600080fd5b3415605757600080fd5b605d60aa565b604051901515815260200160405180910390f35b3415607b57600080fd5b608160b3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60055460ff1681565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a7230582063d7e189cca5e6a21102ff9319358b640d622263da1e178e1be05c1d405a394d0029","real_runtime_bytecode":"60606040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631c8e85688114604d578063fbfa77cf146071575b600080fd5b3415605757600080fd5b605d60aa565b604051901515815260200160405180910390f35b3415607b57600080fd5b608160b3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60055460ff1681565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820","swarm_hash":"63d7e189cca5e6a21102ff9319358b640d622263da1e178e1be05c1d405a394d","gas_estimates":{"creation":{"codeDepositCost":"51200","executionCost":"20312","totalCost":"71512"},"external":{"vault()":"421","whitelistDisabled()":"385"}},"function_hashes":{"vault()":"fbfa77cf","whitelistDisabled()":"1c8e8568"},"abi":[{"constant":true,"inputs":[],"name":"whitelistDisabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]};
let LiquidPledgingStorage = new EmbarkJS.Blockchain.Contract(LiquidPledgingStorageJSONConfig);
export default LiquidPledgingStorage;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let RecoveryVaultJSONConfig = {"contract_name":{"className":"RecoveryVault","args":[],"code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a72305820419d1077bffa11c158d2d530e8af6c39714b8367f4947d0edcd33fe4a2107fe00029","runtimeBytecode":"6060604052600080fd00a165627a7a72305820419d1077bffa11c158d2d530e8af6c39714b8367f4947d0edcd33fe4a2107fe00029","realRuntimeBytecode":"6060604052600080fd00a165627a7a72305820","linkReferences":{},"swarmHash":"419d1077bffa11c158d2d530e8af6c39714b8367f4947d0edcd33fe4a2107fe0","gasEstimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"}},"functionHashes":{},"abiDefinition":[],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/contracts/test/RecoveryVault.sol","originalFilename":"contracts/test/RecoveryVault.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/test/RecoveryVault.sol","gas":"auto","type":"file","deploy":true,"_gasLimit":6000000,"error":false,"deploymentAccount":"0xeb11Dc64B00B769982FA70F6280210Fa457e7753","realArgs":[],"address":"0xAE4670F532F43b3bB72D3aBe5375F0Cc608c94F8","deployedAddress":"0xAE4670F532F43b3bB72D3aBe5375F0Cc608c94F8"},"address":"0xAE4670F532F43b3bB72D3aBe5375F0Cc608c94F8","code":"60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a72305820419d1077bffa11c158d2d530e8af6c39714b8367f4947d0edcd33fe4a2107fe00029","runtime_bytecode":"6060604052600080fd00a165627a7a72305820419d1077bffa11c158d2d530e8af6c39714b8367f4947d0edcd33fe4a2107fe00029","real_runtime_bytecode":"6060604052600080fd00a165627a7a72305820","swarm_hash":"419d1077bffa11c158d2d530e8af6c39714b8367f4947d0edcd33fe4a2107fe0","gas_estimates":{"creation":{"codeDepositCost":"10600","executionCost":"61","totalCost":"10661"}},"function_hashes":{},"abi":[]};
let RecoveryVault = new EmbarkJS.Blockchain.Contract(RecoveryVaultJSONConfig);
export default RecoveryVault;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
import EmbarkJS from '../embarkjs';
let VaultRecoverableJSONConfig = {"contract_name":{"className":"VaultRecoverable","args":[],"code":"","runtimeBytecode":"","realRuntimeBytecode":"","linkReferences":{},"swarmHash":"","gasEstimates":null,"functionHashes":{"ETH()":"8322fff2","allowRecoverability(address)":"7e7db6e1","getRecoveryVault()":"32f0a3b5","transferToVault(address)":"9d4941d8"},"abiDefinition":[{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/VaultRecoverable.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/common/VaultRecoverable.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/common/VaultRecoverable.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"","runtime_bytecode":"","real_runtime_bytecode":"","swarm_hash":"","gas_estimates":null,"function_hashes":{"ETH()":"8322fff2","allowRecoverability(address)":"7e7db6e1","getRecoveryVault()":"32f0a3b5","transferToVault(address)":"9d4941d8"},"abi":[{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]};
let VaultRecoverable = new EmbarkJS.Blockchain.Contract(VaultRecoverableJSONConfig);
export default VaultRecoverable;

View File

@ -0,0 +1,62 @@
module.exports = {
"ERC20Basic": require('./ERC20Basic').default,
"RecoveryVault": require('./RecoveryVault').default,
"StandardToken": require('./StandardToken').default,
"ILiquidPledgingPlugin": require('./ILiquidPledgingPlugin').default,
"LPConstants": require('./LPConstants').default,
"ILiquidPledging": require('./ILiquidPledging').default,
"LiquidPledgingACLHelpers": require('./LiquidPledgingACLHelpers').default,
"ERC20": require('./ERC20').default,
"AppProxyUpgradeable": require('./AppProxyUpgradeable').default,
"ACL": require('./ACL').default,
"LiquidPledgingPlugins": require('./LiquidPledgingPlugins').default,
"ILPVault": require('./ILPVault').default,
"LiquidPledgingBase": require('./LiquidPledgingBase').default,
"LiquidPledgingStorage": require('./LiquidPledgingStorage').default,
"Pledges": require('./Pledges').default,
"PledgeAdmins": require('./PledgeAdmins').default,
"SNT": require('./SNT').default,
"TestSimpleDelegatePlugin": require('./TestSimpleDelegatePlugin').default,
"TestSimpleDelegatePluginFactory": require('./TestSimpleDelegatePluginFactory').default,
"TestSimpleProjectPluginFactory": require('./TestSimpleProjectPluginFactory').default,
"ACLSyntaxSugar": require('./ACLSyntaxSugar').default,
"TestSimpleProjectPlugin": require('./TestSimpleProjectPlugin').default,
"IACL": require('./IACL').default,
"ACLOracle": require('./ACLOracle').default,
"ERCProxy": require('./ERCProxy').default,
"AppStorage": require('./AppStorage').default,
"DelegateProxy": require('./DelegateProxy').default,
"AragonApp": require('./AragonApp').default,
"EtherTokenConstant": require('./EtherTokenConstant').default,
"DepositableDelegateProxy": require('./DepositableDelegateProxy').default,
"IVaultRecoverable": require('./IVaultRecoverable').default,
"IsContract": require('./IsContract').default,
"LiquidPledgingMock": require('./LiquidPledgingMock').default,
"Kernel": require('./Kernel').default,
"ACLHelpers": require('./ACLHelpers').default,
"VaultRecoverable": require('./VaultRecoverable').default,
"EVMScriptRegistry": require('./EVMScriptRegistry').default,
"IEVMScriptExecutor": require('./IEVMScriptExecutor').default,
"EVMScriptRegistryConstants": require('./EVMScriptRegistryConstants').default,
"DelegateScript": require('./DelegateScript').default,
"DelegateScriptTarget": require('./DelegateScriptTarget').default,
"AppProxyPinned": require('./AppProxyPinned').default,
"AppProxyFactory": require('./AppProxyFactory').default,
"DAOFactory": require('./DAOFactory').default,
"AppProxyBase": require('./AppProxyBase').default,
"DeployDelegateScript": require('./DeployDelegateScript').default,
"CallsScript": require('./CallsScript').default,
"IKernel": require('./IKernel').default,
"KernelStorage": require('./KernelStorage').default,
"KernelConstants": require('./KernelConstants').default,
"IEVMScriptRegistry": require('./IEVMScriptRegistry').default,
"KernelProxy": require('./KernelProxy').default,
"EVMScriptRunner": require('./EVMScriptRunner').default,
"ScriptHelpers": require('./ScriptHelpers').default,
"Initializable": require('./Initializable').default,
"LPVault": require('./LPVault').default,
"EVMScriptRegistryFactory": require('./EVMScriptRegistryFactory').default,
"LiquidPledging": require('./LiquidPledging').default,
"LPFactory": require('./LPFactory').default,
};

110
embarkArtifacts/embarkjs.js Normal file
View File

@ -0,0 +1,110 @@
/* eslint-disable */
const EmbarkJS = require("/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/modules/embarkjs").default || require("/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/modules/embarkjs");
global.EmbarkJS = EmbarkJS;
const Web3 = global.__Web3 || require('/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/modules/web3');
global.Web3 = Web3;/*global Web3*/
const embarkJSConnectorWeb3 = {};
embarkJSConnectorWeb3.init = function(config) {
global.web3 = config.web3 || global.web3;
// Check if the global web3 object uses the old web3 (0.x)
if (global.web3 && typeof global.web3.version !== 'string') {
// If so, use a new instance using 1.0, but use its provider
this.web3 = new Web3(global.web3.currentProvider);
} else {
this.web3 = global.web3 || new Web3();
}
global.web3 = this.web3;
};
embarkJSConnectorWeb3.getInstance = function () {
return this.web3;
};
embarkJSConnectorWeb3.getAccounts = function () {
return this.web3.eth.getAccounts(...arguments);
};
embarkJSConnectorWeb3.getNewProvider = function (providerName, ...args) {
return new Web3.providers[providerName](...args);
};
embarkJSConnectorWeb3.setProvider = function (provider) {
return this.web3.setProvider(provider);
};
embarkJSConnectorWeb3.getCurrentProvider = function () {
return this.web3.currentProvider;
};
embarkJSConnectorWeb3.getDefaultAccount = function () {
return this.web3.eth.defaultAccount;
};
embarkJSConnectorWeb3.setDefaultAccount = function (account) {
this.web3.eth.defaultAccount = account;
};
embarkJSConnectorWeb3.newContract = function (options) {
return new this.web3.eth.Contract(options.abi, options.address);
};
embarkJSConnectorWeb3.send = function () {
return this.web3.eth.sendTransaction(...arguments);
};
embarkJSConnectorWeb3.toWei = function () {
return this.web3.toWei(...arguments);
};
embarkJSConnectorWeb3.getNetworkId = function () {
return this.web3.eth.net.getId();
};
EmbarkJS.Blockchain.registerProvider('web3', embarkJSConnectorWeb3);
EmbarkJS.Blockchain.setProvider('web3', {});
if (!global.__Web3) {
const web3ConnectionConfig = require('/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/config/blockchain.json');
EmbarkJS.Blockchain.connect(web3ConnectionConfig, (err) => {if (err) { console.error(err); } });
}
var whenEnvIsLoaded = function(cb) {
if (typeof document !== 'undefined' && document !== null && !/comp|inter|loaded/.test(document.readyState)) {
document.addEventListener('DOMContentLoaded', cb);
} else {
cb();
}
}
var whenEnvIsLoaded = function(cb) {
if (typeof document !== 'undefined' && document !== null && !/comp|inter|loaded/.test(document.readyState)) {
document.addEventListener('DOMContentLoaded', cb);
} else {
cb();
}
}
var whenEnvIsLoaded = function(cb) {
if (typeof document !== 'undefined' && document !== null && !/comp|inter|loaded/.test(document.readyState)) {
document.addEventListener('DOMContentLoaded', cb);
} else {
cb();
}
}
"use strict";
if (typeof WebSocket !== 'undefined') {
const ws = new WebSocket(`${location.protocol === 'https:' ? 'wss' : 'ws'}://${location.hostname}:${location.port}`);
ws.addEventListener('message', evt => {
if (evt.data === 'outputDone') {
location.reload(true);
}
});
}
//# sourceMappingURL=reload-on-change.js.map
export default EmbarkJS;
if (typeof module !== 'undefined' && module.exports) {
module.exports = EmbarkJS;
}
/* eslint-enable */

View File

@ -0,0 +1,131 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/* eslint-disable */
const EmbarkJS = require("/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/modules/embarkjs").default || require("/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/modules/embarkjs");
global.EmbarkJS = EmbarkJS;
const Web3 = global.__Web3 || require('/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/modules/web3');
global.Web3 = Web3;
/*global Web3*/
const embarkJSConnectorWeb3 = {};
embarkJSConnectorWeb3.init = function (config) {
global.web3 = config.web3 || global.web3; // Check if the global web3 object uses the old web3 (0.x)
if (global.web3 && typeof global.web3.version !== 'string') {
// If so, use a new instance using 1.0, but use its provider
this.web3 = new Web3(global.web3.currentProvider);
} else {
this.web3 = global.web3 || new Web3();
}
global.web3 = this.web3;
};
embarkJSConnectorWeb3.getInstance = function () {
return this.web3;
};
embarkJSConnectorWeb3.getAccounts = function () {
return this.web3.eth.getAccounts(...arguments);
};
embarkJSConnectorWeb3.getNewProvider = function (providerName, ...args) {
return new Web3.providers[providerName](...args);
};
embarkJSConnectorWeb3.setProvider = function (provider) {
return this.web3.setProvider(provider);
};
embarkJSConnectorWeb3.getCurrentProvider = function () {
return this.web3.currentProvider;
};
embarkJSConnectorWeb3.getDefaultAccount = function () {
return this.web3.eth.defaultAccount;
};
embarkJSConnectorWeb3.setDefaultAccount = function (account) {
this.web3.eth.defaultAccount = account;
};
embarkJSConnectorWeb3.newContract = function (options) {
return new this.web3.eth.Contract(options.abi, options.address);
};
embarkJSConnectorWeb3.send = function () {
return this.web3.eth.sendTransaction(...arguments);
};
embarkJSConnectorWeb3.toWei = function () {
return this.web3.toWei(...arguments);
};
embarkJSConnectorWeb3.getNetworkId = function () {
return this.web3.eth.net.getId();
};
EmbarkJS.Blockchain.registerProvider('web3', embarkJSConnectorWeb3);
EmbarkJS.Blockchain.setProvider('web3', {});
if (!global.__Web3) {
const web3ConnectionConfig = require('/Users/iurimatias/Projects/Status/liquid-funding-console/embarkArtifacts/config/blockchain.json');
EmbarkJS.Blockchain.connect(web3ConnectionConfig, err => {
if (err) {
console.error(err);
}
});
}
var whenEnvIsLoaded = function (cb) {
if (typeof document !== 'undefined' && document !== null && !/comp|inter|loaded/.test(document.readyState)) {
document.addEventListener('DOMContentLoaded', cb);
} else {
cb();
}
};
var whenEnvIsLoaded = function (cb) {
if (typeof document !== 'undefined' && document !== null && !/comp|inter|loaded/.test(document.readyState)) {
document.addEventListener('DOMContentLoaded', cb);
} else {
cb();
}
};
var whenEnvIsLoaded = function (cb) {
if (typeof document !== 'undefined' && document !== null && !/comp|inter|loaded/.test(document.readyState)) {
document.addEventListener('DOMContentLoaded', cb);
} else {
cb();
}
};
"use strict";
if (typeof WebSocket !== 'undefined') {
const ws = new WebSocket(`${location.protocol === 'https:' ? 'wss' : 'ws'}://${location.hostname}:${location.port}`);
ws.addEventListener('message', evt => {
if (evt.data === 'outputDone') {
location.reload(true);
}
});
}
var _default = EmbarkJS;
exports.default = _default;
if (typeof module !== 'undefined' && module.exports) {
module.exports = EmbarkJS;
}
/* eslint-enable */

View File

@ -0,0 +1 @@
/Users/iurimatias/Projects/Status/liquid-funding-console/node_modules/embarkjs/dist/node

View File

@ -0,0 +1 @@
/Users/iurimatias/Projects/Status/liquid-funding-console/node_modules/embark/node_modules/web3/src

24
test.js Normal file
View File

@ -0,0 +1,24 @@
const Web3 = require("web3");
const LiquidPledgingJSONConfig = require("./dist/contracts/LiquidPledging.json");
const web3 = new Web3();
web3.setProvider("ws://localhost:8556");
setTimeout(async () => {
let accounts = await web3.eth.getAccounts();
web3.eth.defaultAccount = accounts[0]
const LiquidPledging = new web3.eth.Contract(LiquidPledgingJSONConfig.abiDefinition, LiquidPledgingJSONConfig.address);
var projectReceipt = await LiquidPledging.methods.addProject("projectname", "status.im", web3.eth.defaultAccount, 0, 86400, "0x0000000000000000000000000000000000000000").send({from: web3.eth.defaultAccount, gas: 2000000});
// Project ID
var projectId = projectReceipt.events.ProjectAdded.returnValues.idProject;
console.log(projectId);
}, 1000);