liquid-funding-console/embarkArtifacts/contracts/EVMScriptRunner.js

5 lines
15 KiB
JavaScript

import EmbarkJS from '../embarkjs';
let EVMScriptRunnerJSONConfig = {"contract_name":{"className":"EVMScriptRunner","args":[],"code":"6060604052341561000f57600080fd5b6103718061001e6000396000f30060606040526004361061005e5763ffffffff60e060020a600035041663178e6079811461006357806360b1e0571461008857806380afdea81461009b5780639b3fdf4c146100ae578063d4aae0c4146100c1578063f92a79ff146100fd575b600080fd5b341561006e57600080fd5b61007661014e565b60405190815260200160405180910390f35b341561009357600080fd5b610076610172565b34156100a657600080fd5b610076610196565b34156100b957600080fd5b61007661019c565b34156100cc57600080fd5b6100d46101c0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561010857600080fd5b6100d460046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dc95505050505050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b60015481565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006101e66102c5565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561025a578082015183820152602001610242565b50505050905090810190601f1680156102875780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15156102a557600080fd5b6102c65a03f115156102b657600080fd5b50505060405180519392505050565b60008054819073ffffffffffffffffffffffffffffffffffffffff166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156102a557600080fd00a165627a7a723058203e9800d025123398366d28ac8ab861185e7408b2970414f4c6aaceff5085fc200029","runtimeBytecode":"60606040526004361061005e5763ffffffff60e060020a600035041663178e6079811461006357806360b1e0571461008857806380afdea81461009b5780639b3fdf4c146100ae578063d4aae0c4146100c1578063f92a79ff146100fd575b600080fd5b341561006e57600080fd5b61007661014e565b60405190815260200160405180910390f35b341561009357600080fd5b610076610172565b34156100a657600080fd5b610076610196565b34156100b957600080fd5b61007661019c565b34156100cc57600080fd5b6100d46101c0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561010857600080fd5b6100d460046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dc95505050505050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b60015481565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006101e66102c5565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561025a578082015183820152602001610242565b50505050905090810190601f1680156102875780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15156102a557600080fd5b6102c65a03f115156102b657600080fd5b50505060405180519392505050565b60008054819073ffffffffffffffffffffffffffffffffffffffff166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156102a557600080fd00a165627a7a723058203e9800d025123398366d28ac8ab861185e7408b2970414f4c6aaceff5085fc200029","realRuntimeBytecode":"60606040526004361061005e5763ffffffff60e060020a600035041663178e6079811461006357806360b1e0571461008857806380afdea81461009b5780639b3fdf4c146100ae578063d4aae0c4146100c1578063f92a79ff146100fd575b600080fd5b341561006e57600080fd5b61007661014e565b60405190815260200160405180910390f35b341561009357600080fd5b610076610172565b34156100a657600080fd5b610076610196565b34156100b957600080fd5b61007661019c565b34156100cc57600080fd5b6100d46101c0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561010857600080fd5b6100d460046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dc95505050505050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b60015481565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006101e66102c5565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561025a578082015183820152602001610242565b50505050905090810190601f1680156102875780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15156102a557600080fd5b6102c65a03f115156102b657600080fd5b50505060405180519392505050565b60008054819073ffffffffffffffffffffffffffffffffffffffff166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156102a557600080fd00a165627a7a72305820","linkReferences":{},"swarmHash":"3e9800d025123398366d28ac8ab861185e7408b2970414f4c6aaceff5085fc20","gasEstimates":{"creation":{"codeDepositCost":"176200","executionCost":"215","totalCost":"176415"},"external":{"APP_ADDR_NAMESPACE()":"236","EVMSCRIPT_REGISTRY_APP()":"302","EVMSCRIPT_REGISTRY_APP_ID()":"258","appId()":"480","getExecutor(bytes)":"infinite","kernel()":"539"},"internal":{"getExecutorRegistry()":"infinite","returnedDataDecoded()":"infinite","runScript(bytes memory,bytes memory,address[] memory)":"infinite"}},"functionHashes":{"APP_ADDR_NAMESPACE()":"178e6079","EVMSCRIPT_REGISTRY_APP()":"9b3fdf4c","EVMSCRIPT_REGISTRY_APP_ID()":"60b1e057","appId()":"80afdea8","getExecutor(bytes)":"f92a79ff","kernel()":"d4aae0c4"},"abiDefinition":[{"constant":true,"inputs":[],"name":"APP_ADDR_NAMESPACE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x178e6079"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP_ID","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x60b1e057"},{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x80afdea8"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x9b3fdf4c"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xd4aae0c4"},{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xf92a79ff"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/EVMScriptRunner.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/EVMScriptRunner.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/evmscript/EVMScriptRunner.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"6060604052341561000f57600080fd5b6103718061001e6000396000f30060606040526004361061005e5763ffffffff60e060020a600035041663178e6079811461006357806360b1e0571461008857806380afdea81461009b5780639b3fdf4c146100ae578063d4aae0c4146100c1578063f92a79ff146100fd575b600080fd5b341561006e57600080fd5b61007661014e565b60405190815260200160405180910390f35b341561009357600080fd5b610076610172565b34156100a657600080fd5b610076610196565b34156100b957600080fd5b61007661019c565b34156100cc57600080fd5b6100d46101c0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561010857600080fd5b6100d460046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dc95505050505050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b60015481565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006101e66102c5565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561025a578082015183820152602001610242565b50505050905090810190601f1680156102875780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15156102a557600080fd5b6102c65a03f115156102b657600080fd5b50505060405180519392505050565b60008054819073ffffffffffffffffffffffffffffffffffffffff166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156102a557600080fd00a165627a7a723058203e9800d025123398366d28ac8ab861185e7408b2970414f4c6aaceff5085fc200029","runtime_bytecode":"60606040526004361061005e5763ffffffff60e060020a600035041663178e6079811461006357806360b1e0571461008857806380afdea81461009b5780639b3fdf4c146100ae578063d4aae0c4146100c1578063f92a79ff146100fd575b600080fd5b341561006e57600080fd5b61007661014e565b60405190815260200160405180910390f35b341561009357600080fd5b610076610172565b34156100a657600080fd5b610076610196565b34156100b957600080fd5b61007661019c565b34156100cc57600080fd5b6100d46101c0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561010857600080fd5b6100d460046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dc95505050505050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b60015481565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006101e66102c5565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561025a578082015183820152602001610242565b50505050905090810190601f1680156102875780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15156102a557600080fd5b6102c65a03f115156102b657600080fd5b50505060405180519392505050565b60008054819073ffffffffffffffffffffffffffffffffffffffff166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156102a557600080fd00a165627a7a723058203e9800d025123398366d28ac8ab861185e7408b2970414f4c6aaceff5085fc200029","real_runtime_bytecode":"60606040526004361061005e5763ffffffff60e060020a600035041663178e6079811461006357806360b1e0571461008857806380afdea81461009b5780639b3fdf4c146100ae578063d4aae0c4146100c1578063f92a79ff146100fd575b600080fd5b341561006e57600080fd5b61007661014e565b60405190815260200160405180910390f35b341561009357600080fd5b610076610172565b34156100a657600080fd5b610076610196565b34156100b957600080fd5b61007661019c565b34156100cc57600080fd5b6100d46101c0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561010857600080fd5b6100d460046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dc95505050505050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b60015481565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60006101e66102c5565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561025a578082015183820152602001610242565b50505050905090810190601f1680156102875780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15156102a557600080fd5b6102c65a03f115156102b657600080fd5b50505060405180519392505050565b60008054819073ffffffffffffffffffffffffffffffffffffffff166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156102a557600080fd00a165627a7a72305820","swarm_hash":"3e9800d025123398366d28ac8ab861185e7408b2970414f4c6aaceff5085fc20","gas_estimates":{"creation":{"codeDepositCost":"176200","executionCost":"215","totalCost":"176415"},"external":{"APP_ADDR_NAMESPACE()":"236","EVMSCRIPT_REGISTRY_APP()":"302","EVMSCRIPT_REGISTRY_APP_ID()":"258","appId()":"480","getExecutor(bytes)":"infinite","kernel()":"539"},"internal":{"getExecutorRegistry()":"infinite","returnedDataDecoded()":"infinite","runScript(bytes memory,bytes memory,address[] memory)":"infinite"}},"function_hashes":{"APP_ADDR_NAMESPACE()":"178e6079","EVMSCRIPT_REGISTRY_APP()":"9b3fdf4c","EVMSCRIPT_REGISTRY_APP_ID()":"60b1e057","appId()":"80afdea8","getExecutor(bytes)":"f92a79ff","kernel()":"d4aae0c4"},"abi":[{"constant":true,"inputs":[],"name":"APP_ADDR_NAMESPACE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x178e6079"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP_ID","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x60b1e057"},{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x80afdea8"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x9b3fdf4c"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xd4aae0c4"},{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xf92a79ff"}]};
let EVMScriptRunner = new EmbarkJS.Blockchain.Contract(EVMScriptRunnerJSONConfig);
export default EVMScriptRunner;